CN107528919A - The method and device that a kind of lan device is found and driver is installed automatically - Google Patents

The method and device that a kind of lan device is found and driver is installed automatically Download PDF

Info

Publication number
CN107528919A
CN107528919A CN201710874505.4A CN201710874505A CN107528919A CN 107528919 A CN107528919 A CN 107528919A CN 201710874505 A CN201710874505 A CN 201710874505A CN 107528919 A CN107528919 A CN 107528919A
Authority
CN
China
Prior art keywords
equipment
driver
ancillary equipment
module
found
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.)
Pending
Application number
CN201710874505.4A
Other languages
Chinese (zh)
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.)
Jiangsu Yingsuona Intelligent Technology Co Ltd
Original Assignee
Jiangsu Yingsuona Intelligent 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 Jiangsu Yingsuona Intelligent Technology Co Ltd filed Critical Jiangsu Yingsuona Intelligent Technology Co Ltd
Priority to CN201710874505.4A priority Critical patent/CN107528919A/en
Publication of CN107528919A publication Critical patent/CN107528919A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users

Abstract

The invention discloses the method and device that a kind of lan device finds to install automatically with driver, the LAN has a control device and several ancillary equipment, the ancillary equipment is communicated by control device with other systems, the control device obtains the IP address of ancillary equipment, the messaging parameter of port, and completes to find to install automatically with driver using the specific driver of each ancillary equipment.Present invention reduces the performance requirement of equipment, goes for the embedded system in Internet of Things application.

Description

The method and device that a kind of lan device is found and driver is installed automatically
Technical field
The present invention relates to the application field of lan device, more particularly to a kind of lan device is found with driver certainly The method and device of dynamic installation.
Background technology
At present, in having the LAN of control device, ancillary equipment is communicated by control device with other systems.LAN Typically using DHCP distribution IP address, the address of ancillary equipment is likely to occur change.Tackling this problem just needs using hair Existing agreement, ancillary equipment allow control device not knowing the feelings of specific address by broadcasting the service name and port numbers of oneself Under condition, the parameter of service is identified, discovery agreement general at present is SSDP, and it is based on HTTP.
After solving equipment discovery, ancillary equipment is because manufacturer is different or other reasonses, its access interface agreement are more Kind is various, and control device will such as support an ancillary equipment, it is also necessary to which specific drive software is used for being adapted to its interface communication association View, solve this problem at present and typically use UPNP, the frame system that a multi-layer protocol is formed.
In Internet of things system, cost, the processor calculation resources of external equipment, memory resource, network service are limited to Ability is very limited, tackles some complicated agreements of Internet Age, because occupancy resource is excessive, becomes impossible.Picture On the SSDP that states to have used HTTP, UPNP be also a huge protocol architecture.Therefore one is needed suitable for inexpensive embedding The discovery agreement and driving automatic installation method of embedded system, present invention provides such a method, LAN is found Two functions of installation integrate automatically with driving.
The content of the invention
To solve problem present in above-mentioned background technology, it is an object of the invention to provide a kind of discovery of lan device The method installed automatically with driver, to reach the performance requirement for reducing equipment, go in Internet of Things application The purpose of embedded system.
To reach above-mentioned purpose, technical scheme is as follows:
A kind of method that lan device is found and driver is installed automatically, if the LAN have a control device and Dry ancillary equipment, the ancillary equipment are communicated by control device with other systems, and the control device obtains ancillary equipment IP address, the messaging parameter of port, and using the specific driver of each ancillary equipment complete to find and driver from Dynamic installation;
The mode of the messaging parameter of the control device acquisition ancillary equipment has following several:
1)Control device actively sends " searching request " message, and the ancillary equipment for listening to this order is replied one " search is replied " Message;
2)Ancillary equipment actively sends " notice of reaching the standard grade " message after being triggered in the external world;
3)Ancillary equipment timing sends " notification line " message;
4)Ancillary equipment first sends " offline notification " after IP address changes and retransmits " notice of a reaching the standard grade " message;
" search is replied ", " notice of reaching the standard grade " and " notification line " message all carry the following information of equipment:Equipment it is unique Identifier, IP address, port, device type, equipment manufacturers, unit type, driving file identifier.
Preferably, the message of described " searching request ", " notice of reaching the standard grade ", " notification line " and " offline notification " uses Udp broadcast or UDP multicasts.
Preferably, described " search is replied " uses UDP unicasts.
Preferably, the udp broadcast, UDP multicasts, UDP unicasts are allowed variant using default port numbers and address Ancillary equipment can all be found by same control device.
Preferably, the control device is found that when receiving " search is replied ", " notice of reaching the standard grade " or " notification line " Ancillary equipment, the messaging parameter of IP address and port is got, while also got equipment unique identifier, equipment class Type, equipment manufacturers, unit type and driving file identifier, the equipment that matching can be found according to above- mentioned information control device are driven Dynamic program, loading is completed, the communication with this ancillary equipment can be completed after the completion of loading.
The device that a kind of lan device is found and driver is installed automatically, including equipment detecting module, facility information Receiving module, device drives installation module, equipment probe response module, facility information sending module, the equipment detecting module, Facility information receiving module and device drives installation module are arranged in control device, the equipment probe response module and equipment Information sending module is arranged on ancillary equipment.
Preferably, the equipment detecting module is used to send the search of " searching request " initiating equipment, and the facility information connects Module is received to be used to receive search reply and the/on-line/off-line notice of reaching the standard grade that ancillary equipment is sent, the device drives installation module The drive installation information for parsing to obtain according to facility information receiving module, completes the loading of driver, and the equipment detection rings Answer module to be used for " searching request " that audiomonitor detecting module is sent, " search is replied " is replied after receiving and is received to facility information Module, the facility information sending module sent according to timing and external trigger reach the standard grade/on-line/off-line notifies to connect to facility information Receive module.
Pass through above-mentioned technical proposal, the side that a kind of lan device provided by the invention is found and driver is installed automatically Method and device, the message being related to use UDP rather than HTTP, reduce the performance requirement of equipment, and going for Internet of Things should Embedded system in;In addition to IP address and port, find also to be integrated with equipment manufacturers, product type in agreement, set Standby unique identifier, the activation bit installed automatically etc. so that driver is installed and device discovery procedure is combined into one, and is simplified The interaction of control device and ancillary equipment so that control device can once complete messaging parameter initialization and driving plus Carry.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described.
Fig. 1 is the method that a kind of lan device disclosed in the embodiment of the present invention is found and driver is installed automatically Structured flowchart;
The structural frames for the device that a kind of lan device disclosed in Fig. 2 embodiment of the present invention is found and driver is installed automatically Figure.
In figure:
1st, equipment detecting module;2nd, facility information receiving module;3rd, device drives installation module;4th, equipment probe response module; 5th, facility information sending module;6th, control device;7th, ancillary equipment.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes.
The method that a kind of lan device provided by the invention is found and driver is installed automatically, as shown in figure 1, described LAN has a control device and several ancillary equipment, and the ancillary equipment is led to by control device and other systems Letter, the control device obtains the IP address of ancillary equipment, the messaging parameter of port, and is specifically driven using each ancillary equipment Dynamic program completes to find and driver is installed automatically;
The mode of the messaging parameter of the control device acquisition ancillary equipment has following several:
1)Control device actively sends " searching request " message, and the ancillary equipment for listening to this order is replied one " search is replied " Message;
2)Ancillary equipment actively sends " notice of reaching the standard grade " message after being triggered in the external world;
3)Ancillary equipment timing sends " notification line " message;
4)Ancillary equipment first sends " offline notification " after IP address changes and retransmits " notice of a reaching the standard grade " message;
" search is replied ", " notice of reaching the standard grade " and " notification line " message all carry the following information of equipment:Equipment it is unique Identifier, IP address, port, device type, equipment manufacturers, unit type, driving file identifier.
The message of " searching request ", " notice of reaching the standard grade ", " notification line " and " offline notification " using udp broadcast or UDP multicasts, multicast message use default multicast address, and " search is replied " uses UDP unicasts, the udp broadcast, UDP Multicast, UDP unicasts using default port numbers and address variant ancillary equipment can all be sent out by same control device Existing, the control device has found that ancillary equipment, obtained when receiving " search is replied ", " notice of reaching the standard grade " or " notification line " The messaging parameter of IP address and port has been got, while has also got equipment unique identifier, device type, device fabrication Business, unit type and driving file identifier, the device driver of matching can be found according to above- mentioned information control device, is completed Loading, can complete the communication with this ancillary equipment after the completion of loading.
Present invention also provides the device that a kind of lan device finds to install automatically with driver, as shown in Fig. 2 bag Include equipment detecting module 1, facility information receiving module 2, device drives installation module 3, equipment probe response module 4, equipment letter Sending module 5 is ceased, the equipment detecting module 1, facility information receiving module 2 and device drives installation module 3 are arranged on middle control In equipment 6, the equipment probe response module 4 and facility information sending module 5 are arranged on ancillary equipment 7, and the equipment is visited Survey module 1 to be used to send the search of " searching request " initiating equipment, the facility information receiving module 2 is used to receive ancillary equipment 7 The search reply and/on-line/off-line notice of reaching the standard grade, the device drives sent install module 3 according to facility information receiving module 5 Obtained drive installation information is parsed, completes the loading of driver, the equipment probe response module 4 is visited for audiomonitor " searching request " that module 1 is sent is surveyed, " search is replied " is replied after receiving and gives facility information receiving module 2, the facility information Sending module 5 sent according to timing and external trigger reach the standard grade/on-line/off-line notified to facility information receiving module 2.
The method that a kind of lan device disclosed by the invention is found and driver is installed automatically, the message being related to use UDP rather than HTTP, the performance requirement of equipment is reduced, go for the embedded system in Internet of Things application;Except IP Beyond location and port, find also to be integrated with equipment manufacturers, product type in agreement, equipment unique identifier, install automatically Activation bit etc. so that driver is installed and device discovery procedure is combined into one, and simplifies control device and ancillary equipment Interaction so that control device can once complete the loading of initialization and the driving of messaging parameter.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (7)

1. a kind of method that lan device is found and driver is installed automatically, it is characterised in that the LAN has one Individual control device and several ancillary equipment, the ancillary equipment are communicated by control device with other systems, and the middle control is set The standby IP address for obtaining ancillary equipment, the messaging parameter of port, and complete hair using the specific driver of each ancillary equipment Now installed automatically with driver;
The mode of the messaging parameter of the control device acquisition ancillary equipment has following several:
1)Control device actively sends " searching request " message, and the ancillary equipment for listening to this order is replied one " search is replied " Message;
2)Ancillary equipment actively sends " notice of reaching the standard grade " message after being triggered in the external world;
3)Ancillary equipment timing sends " notification line " message;
4)Ancillary equipment first sends " offline notification " after IP address changes and retransmits " notice of a reaching the standard grade " message;
" search is replied ", " notice of reaching the standard grade " and " notification line " message all carry the following information of equipment:Equipment it is unique Identifier, IP address, port, device type, equipment manufacturers, unit type, driving file identifier.
The method that 2. a kind of lan device according to claim 1 is found and driver is installed automatically, its feature exist In the message of " searching request ", " notice of reaching the standard grade ", " notification line " and " offline notification " uses udp broadcast or UDP groups Broadcast.
The method that 3. a kind of lan device according to claim 2 is found and driver is installed automatically, its feature exist In " search is replied " uses UDP unicasts.
The method that 4. a kind of lan device according to claim 3 is found and driver is installed automatically, its feature exist In the udp broadcast, UDP multicasts, UDP unicasts allow variant ancillary equipment all may be used using default port numbers and address Found by same control device.
The method that 5. a kind of lan device according to claim 1 is found and driver is installed automatically, its feature exist In the control device has found that ancillary equipment, obtained when receiving " search is replied ", " notice of reaching the standard grade " or " notification line " The messaging parameter of IP address and port has been got, while has also got equipment unique identifier, device type, device fabrication Business, unit type and driving file identifier, the device driver of matching can be found according to above- mentioned information control device, is completed Loading, can complete the communication with this ancillary equipment after the completion of loading.
A kind of 6. device that lan device is found and driver is installed automatically, it is characterised in that including equipment detecting module, Facility information receiving module, device drives installation module, equipment probe response module, facility information sending module, the equipment Detecting module, facility information receiving module and device drives installation module are arranged in control device, the equipment probe response Module and facility information sending module are arranged on ancillary equipment.
The device that 7. a kind of lan device according to claim 6 is found and driver is installed automatically, its feature exist In the equipment detecting module is used to send the search of " searching request " initiating equipment, and the facility information receiving module is used to connect Search reply and the/on-line/off-line notice of reaching the standard grade that ancillary equipment is sent are received, the device drives installation module is according to facility information Receiving module parses obtained drive installation information, completes the loading of driver, and the equipment probe response module is used to supervise " searching request " that equipment detecting module is sent is listened, " search is replied " is replied after receiving and gives facility information receiving module, it is described to set Standby information sending module sent according to timing and external trigger reach the standard grade/on-line/off-line notifies to give facility information receiving module.
CN201710874505.4A 2017-09-25 2017-09-25 The method and device that a kind of lan device is found and driver is installed automatically Pending CN107528919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710874505.4A CN107528919A (en) 2017-09-25 2017-09-25 The method and device that a kind of lan device is found and driver is installed automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710874505.4A CN107528919A (en) 2017-09-25 2017-09-25 The method and device that a kind of lan device is found and driver is installed automatically

Publications (1)

Publication Number Publication Date
CN107528919A true CN107528919A (en) 2017-12-29

Family

ID=60737376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710874505.4A Pending CN107528919A (en) 2017-09-25 2017-09-25 The method and device that a kind of lan device is found and driver is installed automatically

Country Status (1)

Country Link
CN (1) CN107528919A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194648A (en) * 2018-08-31 2019-01-11 北京粉丝互动文化传媒有限公司 A kind of method of Auto-matching streaming media server in local area network
CN109361871A (en) * 2018-11-30 2019-02-19 四川九州电子科技股份有限公司 A method of IP Camera is modeled as USB camera
CN110730116A (en) * 2019-10-21 2020-01-24 杭州鸿雁智能科技有限公司 Operation method of communication equipment in local area network, communication equipment and gateway equipment
CN111092765A (en) * 2019-12-19 2020-05-01 迈普通信技术股份有限公司 Intelligent driving method, system, electronic device and readable storage medium
WO2020198932A1 (en) * 2019-03-29 2020-10-08 Oppo广东移动通信有限公司 Device discovery method and apparatus, control terminal, and internet of things auxiliary device
CN113992508A (en) * 2021-11-23 2022-01-28 四川虹美智能科技有限公司 Local area network automatic networking method of intelligent equipment and intelligent equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1924839A (en) * 2005-09-01 2007-03-07 佳能株式会社 Method for managing device driving program and information processing device
US20090132737A1 (en) * 2007-11-21 2009-05-21 Industrial Technology Research Institute Remote interface apparatus, control system, and the method thereof
US20110208851A1 (en) * 2010-02-23 2011-08-25 Robin Frost System and method for data storage, such as discovery and marking ownership of network storage devices
CN103312573A (en) * 2013-06-14 2013-09-18 西安交通大学 Household network system equipment discovery and recognition protocol
CN104935564A (en) * 2015-04-14 2015-09-23 闪联信息技术工程中心有限公司 Method of enabling devices and services based on mDNS protocol to discover mutually in local area network
CN106506717A (en) * 2016-10-24 2017-03-15 杭州华为数字技术有限公司 A kind of automatic discovering method and equipment
CN106961426A (en) * 2017-03-09 2017-07-18 深圳创维-Rgb电子有限公司 The means of communication and device of smart machine

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1924839A (en) * 2005-09-01 2007-03-07 佳能株式会社 Method for managing device driving program and information processing device
US20090132737A1 (en) * 2007-11-21 2009-05-21 Industrial Technology Research Institute Remote interface apparatus, control system, and the method thereof
US20110208851A1 (en) * 2010-02-23 2011-08-25 Robin Frost System and method for data storage, such as discovery and marking ownership of network storage devices
CN103312573A (en) * 2013-06-14 2013-09-18 西安交通大学 Household network system equipment discovery and recognition protocol
CN104935564A (en) * 2015-04-14 2015-09-23 闪联信息技术工程中心有限公司 Method of enabling devices and services based on mDNS protocol to discover mutually in local area network
CN106506717A (en) * 2016-10-24 2017-03-15 杭州华为数字技术有限公司 A kind of automatic discovering method and equipment
CN106961426A (en) * 2017-03-09 2017-07-18 深圳创维-Rgb电子有限公司 The means of communication and device of smart machine

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194648A (en) * 2018-08-31 2019-01-11 北京粉丝互动文化传媒有限公司 A kind of method of Auto-matching streaming media server in local area network
CN109361871A (en) * 2018-11-30 2019-02-19 四川九州电子科技股份有限公司 A method of IP Camera is modeled as USB camera
CN109361871B (en) * 2018-11-30 2020-07-24 四川九州电子科技股份有限公司 Method for simulating network camera as USB camera
WO2020198932A1 (en) * 2019-03-29 2020-10-08 Oppo广东移动通信有限公司 Device discovery method and apparatus, control terminal, and internet of things auxiliary device
CN110730116A (en) * 2019-10-21 2020-01-24 杭州鸿雁智能科技有限公司 Operation method of communication equipment in local area network, communication equipment and gateway equipment
CN110730116B (en) * 2019-10-21 2021-10-29 杭州鸿雁智能科技有限公司 Operation method of communication equipment in local area network, communication equipment and gateway equipment
CN111092765A (en) * 2019-12-19 2020-05-01 迈普通信技术股份有限公司 Intelligent driving method, system, electronic device and readable storage medium
CN113992508A (en) * 2021-11-23 2022-01-28 四川虹美智能科技有限公司 Local area network automatic networking method of intelligent equipment and intelligent equipment

Similar Documents

Publication Publication Date Title
CN107528919A (en) The method and device that a kind of lan device is found and driver is installed automatically
US20050108331A1 (en) Presence tracking for datagram based protocols with search
EP2751960B1 (en) Constructing a network enabling layer-2 interconnection of data centers
TWI374646B (en) Apparatus for automated service discovery and dynamic connection management and system for the same
CN101227407B (en) Method and apparatus for sending message based on two layer tunnel protocol
US8060588B2 (en) Home network apparatus and system for cooperative work service and method thereof
CN105656680B (en) Network camera control method and device
CN105681484B (en) A kind of IPC Auto-Sensing connection method based on ARP protocol and ONVIF standard
US9693092B2 (en) Method and system for transmitting network video
US7609642B2 (en) Detecting network interfaces capable of channel bonding
US20100054250A1 (en) Relay apparatus and method for connecting client device with server
CN101883158A (en) Method and client for acquiring VLAN (Virtual Local Area Network) IDs (Identifiers) and network protocol addresses
JP2004252974A (en) Control point server system for allowing home network device to be efficiently accessed and method therefor
CN104812021B (en) A kind of method and device of AP access AC
CN102025799A (en) Method for discovery and automatic configuration for IP address of device
US20160119186A1 (en) Zero-configuration networking protocol
CN109379291A (en) The processing method and processing device of service request in a kind of networking
EP1836590A2 (en) Method and apparatus to facilitate universal plug and play interaction between different local networks
EP1843525B1 (en) Apparatus, method and system for managing event information
CN104935564A (en) Method of enabling devices and services based on mDNS protocol to discover mutually in local area network
CN101729507A (en) Method and device for discovering and recognizing network devices
JP2004320741A (en) Apparatus and method for connecting independent networks
CN1781282A (en) An ad-hoc network, a network device and a method of configuration management therefor
JP2004104805A (en) Apparatus and method for connecting device to wireless network
CN102710810A (en) Method for automatically assigning internet protocol (IP) address and relay equipment

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