CN106686694B - Equipment networking method and device - Google Patents

Equipment networking method and device Download PDF

Info

Publication number
CN106686694B
CN106686694B CN201510753317.7A CN201510753317A CN106686694B CN 106686694 B CN106686694 B CN 106686694B CN 201510753317 A CN201510753317 A CN 201510753317A CN 106686694 B CN106686694 B CN 106686694B
Authority
CN
China
Prior art keywords
access
equipment
information
search
network
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
CN201510753317.7A
Other languages
Chinese (zh)
Other versions
CN106686694A (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.)
Datang Software Technologies Co Ltd
Original Assignee
Datang Software Technologies 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 Datang Software Technologies Co Ltd filed Critical Datang Software Technologies Co Ltd
Priority to CN201510753317.7A priority Critical patent/CN106686694B/en
Publication of CN106686694A publication Critical patent/CN106686694A/en
Application granted granted Critical
Publication of CN106686694B publication Critical patent/CN106686694B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Abstract

The application discloses a device networking method and device. One embodiment of the method comprises: according to each of a plurality of device search protocols, sending a broadcast packet for inquiring device information to access devices in a local area network; receiving equipment information fed back by each access equipment; acquiring device search protocol information and application programming interface information associated with the access device based on the device information; reallocating a network address for the access device based on the device search protocol information; and accessing the access equipment to the management platform based on the application programming interface information. The implementation mode realizes the automatic adaptation networking of the equipment and improves the deployment and maintenance efficiency of the equipment management system.

Description

Equipment networking method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for device networking.
Background
The networking of the devices is to perform centralized management and control on some original relatively independent devices. In many applications, such as the construction of network video monitoring systems, different devices, such as Internet Protocol Cameras (IPCs), Network Video Recorders (NVRs), hard disk recorders (DVRs), etc., need to be added to the management platform. In the device adding process, basic parameters of each device, such as name, number, network parameters, and the like, need to be specified in advance.
The existing equipment networking method generally adopts a manual access mode, and a user often needs to install and use a plurality of tool software to search and configure parameters of different equipment produced by different manufacturers, so that unified access management of the equipment is realized. For devices with different default parameters, a user needs to log in one by one to modify the settings. The manual access device networking mode has the problem that the deployment and maintenance efficiency of a device management system is low.
Disclosure of Invention
It is an object of the present application to provide an improved device networking method and apparatus to solve the technical problems mentioned in the background section above.
In a first aspect, the present application provides a device networking method, including: according to each of a plurality of device search protocols, sending a broadcast packet for inquiring device information to access devices in a local area network; receiving equipment information fed back by each access equipment; acquiring device search protocol information and application programming interface information associated with the access device based on the device information; reallocating a network address for the access device based on the device search protocol information; and accessing the access equipment to a management platform based on the application programming interface information.
In some embodiments, said accessing said access device to a management platform based on said application programming interface information comprises: establishing a connection with the access device based on the application programming interface information; constructing a directory structure of the access equipment; establishing connection with the management platform; and pushing the directory structure of the access equipment to the management platform.
In some embodiments, the device information comprises at least one of: network parameters, device codes, physical addresses, software version numbers.
In some embodiments, the method further comprises: receiving and responding to a resource access request of a client, wherein the resource access request comprises at least one of the following items: the device control method comprises a device list acquisition request, a device acquisition information acquisition request, a device parameter acquisition request and a device control request.
In some embodiments, said reassigning a network address to said access device based on said device search protocol information comprises: receiving an equipment list acquisition request of the client and returning the equipment list; receiving device grouping information sent by the client based on the device list; grouping the access equipment according to the equipment grouping information; and receiving and executing network address setting of the client to the access equipment according to the grouping.
In a second aspect, the present application provides an apparatus for networking devices, the apparatus comprising: a broadcast packet sending module, configured to send a broadcast packet inquiring about device information to an access device in a local area network according to each of multiple device search protocols; the information receiving module is used for receiving the equipment information fed back by each access equipment; an information obtaining module, configured to obtain device search protocol information and application programming interface information associated with the access device based on the device information; the network address allocation module is used for reallocating the network address for the access equipment based on the equipment search protocol information; and the equipment access module is used for accessing the access equipment to a management platform based on the application programming interface information.
In some embodiments, the device access module comprises: the equipment connection submodule is used for establishing connection with the access equipment based on the application programming interface information; the directory construction submodule is used for constructing a directory structure of the access equipment; the platform connection submodule is used for establishing connection with the management platform; and the directory pushing submodule is used for pushing the directory structure of the access equipment to the management platform.
In some embodiments, the device information comprises at least one of: network parameters, device codes, physical addresses, software version numbers.
In some embodiments, the apparatus further comprises: a resource access receiving module, configured to receive and respond to a resource access request of a client, where the resource access request includes at least one of: the device control method comprises a device list acquisition request, a device acquisition information acquisition request, a device parameter acquisition request and a device control request.
In some embodiments, the network address assignment module is further configured to: receiving an equipment list acquisition request of the client and returning the equipment list; receiving device grouping information sent by the client based on the device list; grouping the access equipment according to the equipment grouping information; and receiving and executing network address setting of the client to the access equipment according to the grouping.
According to the device networking method and device, the broadcast packet is sent to the access devices in the local area network according to each search protocol possibly adopted by the devices, and the device information of each access device is inquired. Search protocol information and application programming interface information associated with the respective access devices are then obtained based on the obtained device information. And then based on the device search protocol information corresponding to each access device, reallocating network addresses to each access device, and further based on the application programming interface information corresponding to each access device, accessing each access device to the management platform, thereby realizing automatic adaptive networking of the access devices in the local area network and improving the deployment and maintenance efficiency of the device management system.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a device networking method according to the present application;
FIG. 3 is a schematic diagram of one application scenario of a device networking method according to the present application;
FIG. 4 is a flow diagram of another embodiment of a device networking method according to the present application;
FIG. 5 is a flow diagram of yet another embodiment of a device networking method according to the present application;
FIG. 6 is a schematic block diagram of one embodiment of a device networking apparatus according to the present application;
fig. 7 is a schematic structural diagram of a computer system suitable for implementing the terminal device or the server according to the embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the device networking methods or devices of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include access devices 101, 102, 103, a network 104, and a management terminal 105. The network 104 is used to provide a medium for communication links between the access devices 101, 102, 103 and the management terminal 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the administration end 105 to interact with the access devices 101, 102, 103 via the network 104 to receive or send messages or the like. The access devices 101, 102, 103 may be different video surveillance devices, such as webcams, hard disk recorders and decoders, etc. The access devices 101, 102, 103 may correspond to different types of device discovery protocols, such as Ethernet frame format Ethernet II, Ethernet media access control protocol and physical layer specification IEEE802.3, user datagram protocol UDP and address resolution protocol ARP, and so on.
The management terminal 105 may be various computer systems or devices, such as a laptop, a desktop, a server, etc., capable of installing the device management platform and supporting its operation. The management terminal 105 may initiate a request such as resource access and device control to the access device through the device management platform according to the user request.
It should be noted that the device networking method provided in the embodiment of the present application is generally executed by the management terminal 105, and accordingly, the device networking apparatus is generally disposed in a device management platform running on the management terminal 105.
It should be understood that the number of access devices, networks, and administration ends in fig. 1 is merely illustrative. There may be any number of access devices, networks, and management endpoints, as desired for the implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a device networking method according to the present application is shown. The equipment networking method comprises the following steps:
step 201, according to each of the plurality of device search protocols, sending a broadcast packet inquiring the device information to the access device in the local area network.
In this embodiment, a computer system or a device (e.g., the management terminal 105 shown in fig. 1) on which the device networking method operates may be connected to each access device in the local area network through a wired connection or a wireless connection.
In this embodiment, the device search protocol may be used to search for access devices in the local area network and set basic network parameters of the access devices.
In this embodiment, a network packet sent by search tool software of a device of a mainstream manufacturer may be analyzed in advance according to a device type (for example, a video monitoring device), so as to obtain search scheme information of the device in a network domain. And then acquiring a device search protocol possibly adopted by the type of device according to the search scheme information, defining the message format of the broadcast packet according to each piece of the search protocol information, and sending the broadcast packet inquiry device information to each access device in the local area network one by one.
In this embodiment, the device search scheme may be implemented by sending network broadcast packets based on Ethernet frame format Ethernet II, Ethernet media access control protocol, physical layer specification IEEE802.3, user datagram protocol UDP, address resolution protocol ARP, and other protocols or standards. The corresponding device search protocol is the above Ethernet II, IEEE802.3, UDP, ARP, etc.
Step 202, receiving device information fed back by each access device.
In this embodiment, when the message format of the broadcast packet is consistent with the search protocol associated with the access device, the access device is able to identify the broadcast packet that is sent in step 201 to query for device information and make feedback. The computer system or device (e.g., the management terminal 105 shown in fig. 1) may receive the device information fed back by each access device.
In some optional implementations of this embodiment, the device information may include at least one of: network parameters, device codes, physical addresses, software version numbers. Wherein, the network parameters of the equipment can be modified according to the requirement in the actual networking process; the physical addresses of the devices are unique to each device and are different from each other, and can be used to identify the respective access devices.
Step 203, based on the device information, obtaining device search protocol information and application programming interface information associated with the access device.
In this embodiment, the api refers to the convention for linking different components of a software system, and is essentially the code that the "computer os" or "library" provides to the application program for calling. Business operations such as accessing information resources of the access device, controlling the access device, and the like may be performed based on the application programming interface.
In this embodiment, based on the device information received in step 202, the device search protocol information and the application programming interface information applicable to the access device may be determined by the manufacturer of the device, the software version number, and the like. Each device can be further associated with its device search protocol and application programming interface version one-to-one using the physical address of the device.
Step 204, based on the device search protocol information, a network address is reallocated for the access device.
In this embodiment, a computer system or a device (e.g., the management side shown in fig. 1) on which the device networking method operates may receive device parameters including a newly assigned network address and the like set and submitted by a user, and then transmit the device parameters set by the user to each access device through a device search protocol corresponding to each access device and save them based on the device search protocol information acquired in step 203.
Step 205, based on the application programming interface information, the access device is accessed to the management platform.
In this embodiment, a connection may be further established with each access device based on the corresponding application programming interface, so as to complete the access of each access device to the management platform, and further maintain the connection state between the management platform and each access device.
In some optional implementations of this embodiment, the computer system or device on which the device networking method operates may receive and respond to a resource access request of the client, and the resource access request may include at least one of: the device control method comprises a device list acquisition request, a device acquisition information acquisition request, a device parameter acquisition request and a device control request. The client can be a remote terminal capable of logging in the equipment management platform; the device list may be formed based on the device search results of step 201 and step 202 of the present embodiment; the device acquisition information may be various types of information acquired by the device from outside the system, for example, for a video monitoring device, audio, video, etc. acquired by the device. The device control request may be different based on different access devices, for example, for a video monitoring device, it may be a pan/tilt control request, etc.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the device networking method according to the present embodiment. In the application scenario of fig. 3, the device networking method of this embodiment may be run in a device management platform of a management end. The user can log in the equipment management platform and start the equipment searching process through the equipment searching button. The management end may then search through steps 201 and 202 of the embodiment of fig. 2 to find each access device in the local area network, and present a device list based on the search result. Meanwhile, the management side may acquire the device search protocol information and the application programming interface information associated with the access device through step 203 of fig. 2.
The user may obtain the detailed parameters for a certain device in the device list, e.g. device 1 in fig. 3. As shown in fig. 3, by clicking a triangle button, device parameters such as a device name, a device number, an internet protocol address (IP address), a subnet mask, and the like corresponding to the device 1 can be displayed. Further, the user may change a particular parameter of the device, which may be re-entered, for example, by double-clicking on the current IP address. The management side may send the modified device parameters to each access device through the device search protocol matched with each device based on the device search protocol information acquired in step 203 of fig. 2 and store the modified device parameters, thereby reallocating the network address of the access device in the local area network.
After reconfiguring the network address of the device, the user can access the device to the management platform. In the application scenario of fig. 3, a user may initiate an access request of a corresponding device by clicking a circle button in the diagram. The management end may establish a connection with the access device through the application programming interface matched with the access device based on the application programming interface information acquired in step 203 of fig. 2, complete the access of the device to the management platform, and maintain the connection state between the management platform and each access device.
The method provided by the embodiment of the application realizes the automatic adaptation networking of the equipment, and improves the deployment and maintenance efficiency of the equipment management system.
With further reference to fig. 4, a flow 400 of another embodiment of a device networking method is shown. In this embodiment, the computer system or device on which the device networking method operates may be a gateway. The process 400 of the device networking method includes the following steps:
step 401, according to each of the plurality of device search protocols, sends a broadcast packet inquiring about device information to the access device in the local area network.
In this embodiment, a network packet sent by search tool software of a device of a mainstream manufacturer may be analyzed according to a device type (e.g., a video monitoring device), so as to obtain search scheme information of the device in a network domain. And then acquiring a device search protocol possibly adopted by the type of device according to the search scheme information, defining the message format of the broadcast packet according to each piece of the search protocol information, and sending the broadcast packet inquiry device information to each access device in the local area network one by one.
Step 402, receiving device information fed back by each access device.
In this embodiment, when the message format of the broadcast packet is consistent with the search protocol associated with the access device, the access device is able to identify the broadcast packet that is sent in step 401 to query for device information and make feedback. A computer system or device, such as a gateway, on which the device networking method operates may receive device information fed back by various access devices.
At step 403, based on the device information, device search protocol information and application programming interface information associated with the access device are obtained.
In this embodiment, based on the device information obtained in step 402, the device search protocol and the api information applicable to the access device may be determined by the manufacturer of the device, the software version number, and the like. Each device can be further associated with its device search protocol and application programming interface version one-to-one using the physical address of the device.
Step 404, re-assigning a network address to the access device based on the device search protocol information.
In this embodiment, the computer system or the device on which the device networking method operates may receive the device parameters including the reallocated network address and the like set by the user, and then transmit the device parameters to the respective access devices through the device search protocol matched with the respective access devices and save them based on the device search protocol information acquired in step 403.
Step 405, establishing a connection with the access device based on the application programming interface information.
In this embodiment, based on the api information associated with the access device obtained in step 403, a connection may be established with the access device in the lan through a different api, and a connection status with each device may be maintained.
Step 406, construct a directory structure of the access device.
In this embodiment, based on the device information of the access device acquired in step 402, a directory structure of the access device may be constructed according to user settings, where the directory structure may include names of the respective access devices, physical addresses of the devices, re-assigned IP addresses, and the like.
Step 407, establish a connection with the management platform.
In this embodiment, a connection request may be initiated to the management platform based on platform parameters such as an interface type of the management platform, and then a connection may be established with the management platform.
Step 408, pushing the directory structure of the access device to the management platform.
In this embodiment, after the connection is established with the management platform in step 407, the directory structure of the access device constructed in step 406 may be further pushed to the management platform. Thus, the management platform can perform operations such as access and parameter configuration on each access device in the local area network through a computer system or device, such as a gateway, on which the device networking method operates.
In the embodiment of the application, the device networking method is operated in the gateway, and the management platform can be used as an access gateway of a superior platform to uniformly access and manage the access devices in the local area network. Furthermore, by adding a plurality of gateways, the management platform can conveniently realize the access and management of the access devices of a plurality of local area networks.
With further reference to fig. 5, a flow 500 of yet another embodiment of a device networking method is shown. As shown in fig. 5, the process 500 of this embodiment first searches for access devices in the discovered local area network through steps 501 to 503 and obtains device search protocol information and application programming interface information associated with each access device, which are similar to steps 201 to 203 of the embodiment of fig. 2 and are not described herein again. On this basis, the process 500 of the present embodiment further includes the following steps:
step 504, receiving the device list obtaining request of the client, and returning the device list.
In this embodiment, the client may be a computer system or device on which the device networking method operates, may be another computer system or device capable of logging in the computer system or device, and may be another computer system or device that provides a Web page (Web page) for a user to interact with the computer system or device on which the device networking method operates through the Web page.
In this embodiment, the computer system or the device on which the device networking method operates may receive a device list acquisition request of the client and return a device list to the client. The device list may be formed based on the device search results of step 501 and step 502 of this embodiment.
And step 505, receiving the device grouping information sent by the client based on the device list.
In the present embodiment, the device group setting may be performed by the user on the Web page of the client based on the list of searched devices. After the user performs the grouping setting, the grouping information can be submitted to the computer system or the device on which the device networking method operates. The computer system or device on which the device networking method operates receives the packet information.
And step 506, grouping the access devices according to the device grouping information.
In this embodiment, based on the device grouping information received in step 505, the grouping structure of the access device may be saved, and the grouping operation for the access device is completed.
Step 507, receiving and executing network address setting of the access device by the client according to the grouping.
In this embodiment, the user may further perform batch setting of device parameters such as network addresses on any one of the device groups on the Web page of the client, for example, a value range of the network address of a certain group of devices is designated as 192.168.100.2-192.168.100.240, and then submit the device parameters. The computer system or equipment on which the equipment networking method operates receives the network address setting information and sends the network address setting information to each access equipment through a corresponding equipment searching protocol, and batch modification and setting of equipment parameters such as network addresses of the equipment are achieved.
And step 508, accessing the access device to the management platform based on the application programming interface information.
In this embodiment, after setting device parameters such as network addresses for access devices in batches, a user may select "one-touch access" to submit a request for accessing all devices to the management platform at one time. The computer system or the equipment on which the equipment networking method operates can establish connection with each access equipment based on the corresponding application programming interface and maintain the connection state with each access equipment; and then, the unified access of all the devices to the management platform is completed by constructing the directory structure of the access device and pushing the directory structure to the management platform.
The above embodiment of the present application further improves the efficiency of deployment and maintenance of the device management system by grouping the access devices, modifying and setting device parameters such as network addresses for the devices according to the groups, and pushing all the access devices to the management platform once to complete access.
With further reference to fig. 6, as an implementation of the method shown in the above figures, the present application provides an embodiment of an apparatus networking device, which corresponds to the embodiment of the method shown in fig. 2, and which can be applied to various computer systems or apparatuses.
As shown in fig. 6, the device networking apparatus 600 according to the present embodiment includes: a broadcast packet sending module 601, an information receiving module 602, an information obtaining module 603, a network address allocating module 604 and a device access module 605. The broadcast packet sending module 601 is configured to send a broadcast packet inquiring about device information to an access device in a local area network according to each of a plurality of device search protocols; the information receiving module 602 is configured to receive device information fed back by each access device; the information obtaining module 603 is configured to obtain device search protocol information and application programming interface information associated with the access device based on the device information; the network address allocating module 604 is configured to reallocate a network address for the access device based on the device search protocol information; the device access module 605 is configured to access the access device to the management platform based on the application programming interface information.
In this embodiment, the broadcast packet sending module 601 of the device networking apparatus 600 may define a message format of the broadcast packet according to each of device search protocols that may be adopted by each access device in the local area network, and send the broadcast packet to each access device in the local area network one by one to inquire device information.
In this embodiment, when the message format of the broadcast packet is consistent with the search protocol associated with the access device, the access device can identify the broadcast packet inquiring about the device information sent by the broadcast packet sending module 601 and make feedback. The information receiving module 602 may receive the device information fed back by each access device.
In this embodiment, based on the device information received by the information receiving module 602, the information obtaining module 603 may determine, through a manufacturer of the device, a software version number, and the like, device search protocol information and application programming interface information applicable to the access device. Each device can be further associated with its device search protocol and application programming interface version one-to-one using the physical address of the device.
In this embodiment, the network address allocating module 604 may receive the device parameters including the newly allocated network address and the like set and submitted by the user, and then transmit the device parameters set by the user to each device and store them through the device search protocol matched with each device based on the device search protocol information acquired by the information acquiring module 603.
In this embodiment, the device accessing module 605 may further establish a connection with each device based on the corresponding application programming interface, complete the access of each device to the management platform, and further maintain the connection state between the management platform and each device.
Those skilled in the art will appreciate that the above-described device networking apparatus 600 also includes some other well-known structures, such as processors, memories, etc., which are not shown in fig. 6 in order to not unnecessarily obscure embodiments of the present disclosure.
Referring now to FIG. 7, shown is a block diagram of a computer system 700 suitable for use in implementing a terminal device or server of an embodiment of the present application.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present application may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor comprises a broadcast packet sending module, an information receiving module, an information obtaining module, a network address distribution module and a device access module. The names of these modules do not constitute a limitation on the unit itself in some cases, and for example, the broadcast packet transmission module may also be described as a "module that transmits a broadcast packet inquiring about device information to an access device in a local area network according to each of a plurality of device search protocols".
As another aspect, the present application also provides a non-volatile computer storage medium, which may be the non-volatile computer storage medium included in the apparatus in the above-described embodiments; or it may be a non-volatile computer storage medium that exists separately and is not incorporated into the terminal. The non-transitory computer storage medium stores one or more programs that, when executed by a device, cause the device to: according to each of a plurality of device search protocols, sending a broadcast packet for inquiring device information to access devices in a local area network; receiving equipment information fed back by each access equipment; acquiring device search protocol information and application programming interface information associated with the access device based on the device information; reallocating a network address for the access device based on the device search protocol information; and accessing the access equipment to a management platform based on the application programming interface information.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (10)

1. A method for networking devices, the method comprising:
according to each of a plurality of device search protocols, sending a broadcast packet for inquiring device information to access devices in a local area network;
receiving equipment information fed back by each access equipment;
acquiring device search protocol information and application programming interface information associated with the access device based on the device information;
reallocating a network address for the access device based on the device search protocol information;
accessing the access equipment to a management platform based on the application programming interface information;
the equipment search protocol is obtained through the following steps:
analyzing a network packet sent by search tool software of equipment of a main stream manufacturer according to the type of the equipment, and acquiring search scheme information of the equipment in a network domain;
and acquiring the equipment searching protocol adopted by the type of equipment according to the searching scheme information.
2. The method of claim 1, wherein said accessing the access device to a management platform based on the application programming interface information comprises:
establishing a connection with the access device based on the application programming interface information;
constructing a directory structure of the access equipment;
establishing connection with the management platform;
and pushing the directory structure of the access equipment to the management platform.
3. The method of claim 1, wherein the device information comprises at least one of: network parameters, device codes, physical addresses, software version numbers.
4. The method of claim 1, further comprising:
receiving and responding to a resource access request of a client, wherein the resource access request comprises at least one of the following items: the device control method comprises a device list acquisition request, a device acquisition information acquisition request, a device parameter acquisition request and a device control request.
5. The method of claim 4, wherein the reassigning a network address to the access device based on the device search protocol information comprises:
receiving an equipment list acquisition request of the client and returning the equipment list;
receiving device grouping information sent by the client based on the device list;
grouping the access equipment according to the equipment grouping information;
and receiving and executing network address setting of the client to the access equipment according to the grouping.
6. An apparatus networking device, the apparatus comprising:
a broadcast packet sending module, configured to send a broadcast packet inquiring about device information to an access device in a local area network according to each of multiple device search protocols;
the information receiving module is used for receiving the equipment information fed back by each access equipment;
an information obtaining module, configured to obtain device search protocol information and application programming interface information associated with the access device based on the device information;
the network address allocation module is used for reallocating the network address for the access equipment based on the equipment search protocol information;
the equipment access module is used for accessing the access equipment to a management platform based on the application programming interface information;
the equipment search protocol is obtained through the following steps:
analyzing a network packet sent by search tool software of equipment of a main stream manufacturer according to the type of the equipment, and acquiring search scheme information of the equipment in a network domain;
and acquiring the equipment searching protocol adopted by the type of equipment according to the searching scheme information.
7. The apparatus of claim 6, wherein the device access module comprises:
the equipment connection submodule is used for establishing connection with the access equipment based on the application programming interface information;
the directory construction submodule is used for constructing a directory structure of the access equipment;
the platform connection submodule is used for establishing connection with the management platform;
and the directory pushing submodule is used for pushing the directory structure of the access equipment to the management platform.
8. The apparatus of claim 6, wherein the device information comprises at least one of: network parameters, device codes, physical addresses, software version numbers.
9. The apparatus of claim 6, further comprising:
a resource access receiving module, configured to receive and respond to a resource access request of a client, where the resource access request includes at least one of: the device control method comprises a device list acquisition request, a device acquisition information acquisition request, a device parameter acquisition request and a device control request.
10. The apparatus of claim 9, wherein the network address assignment module is further configured to:
receiving an equipment list acquisition request of the client and returning the equipment list;
receiving device grouping information sent by the client based on the device list;
grouping the access equipment according to the equipment grouping information;
and receiving and executing network address setting of the client to the access equipment according to the grouping.
CN201510753317.7A 2015-11-06 2015-11-06 Equipment networking method and device Active CN106686694B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510753317.7A CN106686694B (en) 2015-11-06 2015-11-06 Equipment networking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510753317.7A CN106686694B (en) 2015-11-06 2015-11-06 Equipment networking method and device

Publications (2)

Publication Number Publication Date
CN106686694A CN106686694A (en) 2017-05-17
CN106686694B true CN106686694B (en) 2020-01-21

Family

ID=58863006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510753317.7A Active CN106686694B (en) 2015-11-06 2015-11-06 Equipment networking method and device

Country Status (1)

Country Link
CN (1) CN106686694B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912866B (en) * 2018-09-18 2022-10-28 深圳市鸿合创新信息技术有限责任公司 Multi-device network bridge method and device and electronic device
CN109660360B (en) * 2019-01-31 2022-01-07 中国铁塔股份有限公司 Network access method of dynamic ring monitoring equipment and OMC cloud platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030980A (en) * 2007-04-05 2007-09-05 中兴通讯股份有限公司 Wide-band terminal identifier based on Ethernet and its identifying method
CN101119247A (en) * 2006-08-02 2008-02-06 华为技术有限公司 Family network appliance automatic configuration method and system
CN102377647A (en) * 2010-08-12 2012-03-14 康佳集团股份有限公司 Internet-protocol-television-based routing configuration method and system
CN102546267A (en) * 2012-03-26 2012-07-04 杭州华三通信技术有限公司 Automatic configuration method of network device and management server
CN104345717A (en) * 2014-10-17 2015-02-11 武汉华大优能信息有限公司 Intelligent remote data acquisition system based on Internet of Things

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7631181B2 (en) * 2003-09-22 2009-12-08 Canon Kabushiki Kaisha Communication apparatus and method, and program for applying security policy
US8935436B2 (en) * 2009-02-18 2015-01-13 Qualcomm Incorporated Wakeup trigger to support multiple user interfaces, environments, and/or virtual machines
GB2476668B (en) * 2009-12-31 2015-06-17 Sony Europe Ltd Audiovisual multi-room Support
US8761064B2 (en) * 2010-04-14 2014-06-24 Qualcomm Incorporated Power savings through cooperative operation of multiradio devices
WO2013082554A1 (en) * 2011-11-30 2013-06-06 Secureall Corporation Establishment of wireless communications
US10257161B2 (en) * 2012-05-22 2019-04-09 Cisco Technology, Inc. Using neighbor discovery to create trust information for other applications
US10193933B2 (en) * 2012-09-17 2019-01-29 Qualcomm Incorporated System and method for post-discovery communication within a neighborhood-aware network
US9635603B2 (en) * 2012-11-21 2017-04-25 Intel Corporation Systems and methods for implementing multiple band service discovery
US9955408B2 (en) * 2013-02-22 2018-04-24 Samsung Electronics Co., Ltd. Network-assisted multi-cell device discovery protocol for device-to-device communications
US9762532B2 (en) * 2013-08-14 2017-09-12 Coriant Oy Method and network device for configuring a data transfer network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119247A (en) * 2006-08-02 2008-02-06 华为技术有限公司 Family network appliance automatic configuration method and system
CN101030980A (en) * 2007-04-05 2007-09-05 中兴通讯股份有限公司 Wide-band terminal identifier based on Ethernet and its identifying method
CN102377647A (en) * 2010-08-12 2012-03-14 康佳集团股份有限公司 Internet-protocol-television-based routing configuration method and system
CN102546267A (en) * 2012-03-26 2012-07-04 杭州华三通信技术有限公司 Automatic configuration method of network device and management server
CN104345717A (en) * 2014-10-17 2015-02-11 武汉华大优能信息有限公司 Intelligent remote data acquisition system based on Internet of Things

Also Published As

Publication number Publication date
CN106686694A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
US9491079B2 (en) Remote monitoring and controlling of network utilization
CN109474936B (en) Internet of things communication method and system applied among multiple lora gateways
CN116472592A (en) System and method for remote monitoring and control of electrochromic glazing
US10075410B2 (en) Apparatus and methods for assigning internetwork addresses
CN107094102B (en) Information transmission method and equipment
CN113572835B (en) Data processing method, network element equipment and readable storage medium
CN112333017B (en) Service configuration method, device, equipment and storage medium
CN113660316B (en) Network resource adaptive configuration method, system and medium based on container cloud platform
CN113572864B (en) Data processing method, network element equipment and readable storage medium
US9847963B2 (en) Communicating service denials back to client during MDNS service discovery
CN106686694B (en) Equipment networking method and device
US20220353147A1 (en) Systems and methods for zero touch provisioning (ztp) over trunk/lacp ports
CN107968725B (en) Method and device for returning and configuring configuration information of home gateway unit type terminal device
CN107370647B (en) Method for interconnecting local area internal controller systems and local area network system
US20160028650A1 (en) Method and system for a user to create favorite server lists for multiple services
CN111866856A (en) Mesh device control method and system, storage medium and electronic device
US20080232370A1 (en) Method of communication in LAN without setting IP
US20210044478A1 (en) System and method for initial setup of network devices
CN112953992A (en) Network system, communication and networking method, device and storage medium
CN115225493B (en) Configuration generation method and device of networking node based on wireless
EP3048756B1 (en) Management method and apparatus for dynamic host configuration protocol server and relay
US20210357265A1 (en) Automated instantiation of virtual production control room
US11652693B2 (en) Edge cloud anchoring
CN110324435B (en) Network request processing method and system
CN112929345A (en) Data transmission method, management server and industrial control firewall

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
GR01 Patent grant
GR01 Patent grant