CN111314132B - Method for setting intelligent networking configuration between wireless gateway router and wireless amplifier - Google Patents

Method for setting intelligent networking configuration between wireless gateway router and wireless amplifier Download PDF

Info

Publication number
CN111314132B
CN111314132B CN202010092207.1A CN202010092207A CN111314132B CN 111314132 B CN111314132 B CN 111314132B CN 202010092207 A CN202010092207 A CN 202010092207A CN 111314132 B CN111314132 B CN 111314132B
Authority
CN
China
Prior art keywords
wireless
networking
message
amplifier
gateway router
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
CN202010092207.1A
Other languages
Chinese (zh)
Other versions
CN111314132A (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.)
Taicang T&W Electronics Co Ltd
Original Assignee
Shanghai Gongjin Communication 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 Shanghai Gongjin Communication Technology Co Ltd filed Critical Shanghai Gongjin Communication Technology Co Ltd
Priority to CN202010092207.1A priority Critical patent/CN111314132B/en
Publication of CN111314132A publication Critical patent/CN111314132A/en
Application granted granted Critical
Publication of CN111314132B publication Critical patent/CN111314132B/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/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a method for realizing intelligent networking configuration setting between a wireless gateway router and a wireless amplifier based on a UPnP protocol, which comprises the steps that after the wireless gateway router reaches a preset condition, a specific SSDP message is sent to search wireless access equipment supporting intelligent networking configuration in a local area network, the wireless gateway router extracts information of specific fields carried in the SSDP sent or replied by the wireless amplifier and describing equipment information of the wireless amplifier, networking information matched with the information is generated according to the collected networking capability description file and is sent to the wireless amplifier in a message mode, and the extracted key parameters are analyzed, so that networking information to be synchronized is locally executed, and the wireless gateway router is replied in response. By adopting the method for realizing intelligent networking configuration setting between the wireless gateway router and the wireless amplifier based on the UPnP protocol, the invention realizes the autonomous discovery, autonomous synchronization, autonomous maintenance and fully intelligent operation of autonomous networking of all the devices to be networked in the local area network, and improves the convenience of networking configuration.

Description

Method for setting intelligent networking configuration between wireless gateway router and wireless amplifier
Technical Field
The invention relates to the technical field of communication, in particular to the field of communication equipment, and specifically relates to a method for realizing intelligent networking configuration setting between a wireless gateway router and a wireless amplifier based on a UPnP protocol.
Background
Universal Plug and Play (English: Universal Plug and Play, abbreviated as UPnP) is provided by the "Universal Plug and Play Forum" (UPnP) TM Forum) to be used in the network. The goal of this protocol is to enable seamless connectivity between various devices in the home network (data sharing, communication and entertainment) and the corporate network, and to simplify the implementation of the associated networks. UPnP accomplishes this by defining and publishing UPnP device control protocols based on open, internet protocol standards.
With the development of network technology, more and more companies and families select a multi-device networking mode when actually using a network, and the problem of signal dead angles can be perfectly solved only by matching one wireless router with a plurality of wireless amplifiers. However, in an actual networking environment, it is necessary to face that if the same networking information, such as SSID, wireless password and other related information needs to be set, the configuration of the wireless relay amplifier needs to be initially set manually one by one, and when a wireless router modifies a certain networking configuration, all the wireless amplifiers also need to be modified manually one by one, which is time-consuming and labor-consuming in operation mode, and complicated in configuration process, and brings inconvenience to actual use of consumers.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method for realizing intelligent networking configuration setting between a wireless gateway router and a wireless amplifier based on a UPnP protocol, which has the advantages of high efficiency, simple and convenient operation and wide application range.
In order to achieve the above object, the method for implementing intelligent networking configuration setting between a wireless gateway router and a wireless amplifier based on a UPnP protocol of the present invention comprises:
the method for realizing intelligent networking configuration setting between the wireless gateway router and the wireless amplifier based on the UPnP protocol is mainly characterized by comprising the following steps:
after the wireless gateway router reaches a preset condition, a specific SSDP message is sent to search for wireless access equipment supporting intelligent networking configuration in a local area network, the wireless gateway router extracts information of specific fields carried in SSDP sent or replied by a wireless amplifier and describing wireless amplifier equipment information, networking capability information of the wireless amplifier is obtained in a message request mode, then networking information matched with the networking capability description file is generated according to the collected networking capability description file and sent to the wireless amplifier in a message mode, after the wireless amplifier receives the information to be networked, the wireless amplifier analyzes key parameters in extraction, then locally executes networking information to be synchronized and responds to the wireless gateway router.
Preferably, the method further comprises:
the wireless amplifier receiving the wireless gateway router inquiry message locally judges whether the inquiry target in the inquiry message is matched with the local notification type, and if so, the message is processed; otherwise, directly neglecting the message and not processing.
Preferably, the method further comprises:
after receiving a message of SSDP response from a wireless amplifier, a wireless gateway router firstly judges whether the responded equipment is in a networking equipment list, if the networking equipment list has a record, the networking of the equipment is successful, a timestamp field of last networking in the record is directly updated, and the networking record of the equipment is maintained; otherwise, directly entering into the peer-to-peer networking synchronous configuration process;
and the wireless gateway router confirms that the wireless amplifier which finishes replying the query message is equipment supporting the intelligent networking function and is equipment which is not successfully networked, and directly sends a request message to the wireless amplifier to acquire the description file according to the URL describing the networking capability of the equipment in the wireless amplifier reply message.
Preferably, the method further comprises:
if the wireless gateway router can not normally acquire the networking capability description file of the wireless amplifier, the intelligent networking is failed, and the wireless gateway router directly waits for a notification message sent by the wireless amplifier next time in order to avoid network congestion.
Preferably, the method further comprises:
the wireless amplifier sends the survival notice message in a multicast mode in the local area network at regular time, and the wireless gateway router receiving the message actively updates the survival state of the equipment in the record of the local networking equipment.
Preferably, the method further comprises:
when the successfully-networked wireless amplifier needs to leave the networking environment, the wireless amplifier multicasts and sends a leaving notification message in the local area network, and the wireless gateway router receiving the message actively updates the survival state of the equipment in the local networking equipment record and deletes the synchronous record of the equipment;
after normally obtaining a networking capability description file returned by a networking wireless amplifier, the intelligent wireless gateway router dynamically generates networking information matched with the networking information according to a service capability list of equipment in the description file after analyzing, then sends networking data information to the wireless amplifier in a request sending mode, and after receiving the submitted request, the wireless amplifier analyzes and extracts the networking information, returns a confirmation message of the wireless gateway router, then executes synchronous local configuration, and completes networking.
Preferably, the method further comprises:
after the wireless gateway router submits the generated networking configuration information to the wireless amplifier, if a correct answer of the wireless amplifier is received, the wireless gateway router adds the wireless amplifier into the locally stored networking equipment list information, and records the first networking time of the equipment.
Preferably, the method further comprises:
after the networking wireless amplifier normally responds to the message data submitted by the wireless gateway router, the networking wireless amplifier analyzes and extracts networking information in the message data, synchronizes the configuration information in the networking information to local configuration information and executes the configuration information.
Preferably, the preset condition includes restarting the wireless gateway router, modifying and updating networking information on the wireless router, or adding a new wireless amplifier into the network.
The method for realizing intelligent networking configuration setting between the wireless gateway router and the wireless amplifier based on the UPnP protocol confirms the wireless access equipment supporting intelligent networking configuration in the local area network by sending the specific SSDP message based on the UPnP protocol, and the wireless gateway router sends networking configuration information to be synchronized, which is suitable for the performance of the wireless amplifier, to the wireless amplifier according to the collected equipment information of the wireless amplifier. The method can realize the autonomous discovery, autonomous synchronization, autonomous maintenance and fully intelligent operation of autonomous networking of all the devices to be networked in the local area network, and improves the convenience of networking configuration.
Drawings
Fig. 1 is a flowchart of a method for implementing intelligent networking configuration setting between a wireless gateway router and a wireless amplifier based on a UPnP protocol according to the present invention.
Fig. 2 is a flow chart of automatic synchronization of wireless router angles of the method for implementing intelligent networking configuration setting between a wireless gateway router and a wireless amplifier based on a UPnP protocol.
Fig. 3 is a flow chart of automatic configuration synchronization of wireless amplifier angles of the method for implementing intelligent networking configuration setting between a wireless gateway router and a wireless amplifier based on a UPnP protocol.
Fig. 4 is an environment schematic diagram of the method for implementing intelligent networking configuration setting between a wireless gateway router and a wireless amplifier based on the UPnP protocol.
Fig. 5 is a data model information diagram of the method for implementing intelligent networking configuration setting between a wireless gateway router and a wireless amplifier based on the UPnP protocol.
Fig. 6 is a schematic diagram of device reference description file information of a method for implementing intelligent networking configuration setting between a wireless gateway router and a wireless amplifier based on a UPnP protocol according to the present invention.
Detailed Description
In order that the technical contents of the present invention can be more clearly described, the present invention will be further described with reference to specific embodiments.
The invention discloses a method for realizing intelligent networking configuration setting between a wireless gateway router and a wireless amplifier based on a UPnP protocol, which comprises the following steps:
the method for realizing intelligent networking configuration setting between the wireless gateway router and the wireless amplifier based on the UPnP protocol is mainly characterized by comprising the following steps:
after the wireless gateway router reaches a preset condition, a specific SSDP message is sent to search for wireless access equipment supporting intelligent networking configuration in a local area network, the wireless gateway router extracts information of specific fields carried in SSDP sent or replied by a wireless amplifier and describing wireless amplifier equipment information, networking capability information of the wireless amplifier is obtained in a message request mode, then networking information matched with the networking capability description file is generated according to the collected networking capability description file and sent to the wireless amplifier in a message mode, after the wireless amplifier receives the information to be networked, the wireless amplifier analyzes key parameters in extraction, then locally executes networking information to be synchronized and responds to the wireless gateway router.
The method further comprises the following steps:
the wireless amplifier receives the query message of the wireless gateway router, locally judges whether the query target in the query message is matched with the local notification type, and processes the message if the query target in the query message is matched with the local notification type; otherwise, directly neglecting the message and not processing.
The method further comprises the following steps:
after receiving a message of SSDP response from a wireless amplifier, a wireless gateway router firstly judges whether the responded equipment is in a networking equipment list, if the networking equipment list has a record, the networking of the equipment is successful, a timestamp field of last networking in the record is directly updated, and the networking record of the equipment is maintained; otherwise, directly entering a point-to-point networking synchronous configuration process;
and the wireless gateway router confirms that the wireless amplifier which finishes replying the query message is equipment supporting the intelligent networking function and is equipment which is not successfully networked, and directly sends a request message to the wireless amplifier to acquire the description file according to the URL describing the networking capability of the equipment in the wireless amplifier reply message.
The method further comprises the following steps:
if the wireless gateway router can not normally acquire the networking capability description file of the wireless amplifier, the intelligent networking is failed, and the wireless gateway router directly waits for a notification message sent by the wireless amplifier next time in order to avoid network congestion.
The method further comprises the following steps:
the wireless amplifier sends the survival notice message in a multicast mode in the local area network at regular time, and the wireless gateway router receiving the message actively updates the survival state of the equipment in the record of the local networking equipment.
The method further comprises the following steps:
when the successfully-networked wireless amplifier needs to leave the networking environment, the wireless amplifier multicasts and sends a leaving notification message in the local area network, and the wireless gateway router receiving the message actively updates the survival state of the equipment in the local networking equipment record and deletes the synchronous record of the equipment;
after normally acquiring a networking capability description file replied by a networking wireless amplifier, the intelligent wireless gateway router dynamically generates networking information matched with the networking information according to a service capability list of equipment in the description file after the analysis is completed, then transmits the networking data information to the wireless amplifier in a request transmitting mode, and after receiving a submitted request, the wireless amplifier analyzes and extracts the networking information, replies a confirmation message of the wireless gateway router, then executes synchronous local configuration, and completes the networking.
The method further comprises the following steps:
after the wireless gateway router submits the generated networking configuration information to the wireless amplifier, if a correct answer of the wireless amplifier is received, the wireless gateway router adds the wireless amplifier into the locally stored networking equipment list information, and records the first networking time of the equipment.
The method further comprises the following steps:
after the networking wireless amplifier normally responds to the message data submitted by the wireless gateway router, the networking wireless amplifier analyzes and extracts networking information in the message data, synchronizes the configuration information in the networking information to local configuration information and executes the configuration information.
As a preferred embodiment of the present invention, the preset condition includes restarting the wireless gateway router, modifying and updating networking information on the wireless router, or adding a new wireless amplifier into the network.
In the specific implementation mode of the invention, the method is based on UPnP protocol, wireless access equipment supporting intelligent networking configuration in a local area network is searched by sending a specific SSDP message, a wireless gateway router extracts the message of the wireless amplifier equipment information describing the specific field carried in the SSDP sent or replied by the wireless amplifier, networking capability information of the wireless amplifier is obtained by a message request mode,
then generating networking information message matched with the collected performance message according to the collected performance message, sending the networking information message to the wireless amplifier in a message mode,
after receiving the message to be networked, the wireless amplifier equipment analyzes and extracts the key parameters, then locally executes the networking information to be synchronized and replies to the wireless gateway router in response.
The method comprises the steps that after a wireless gateway router supporting the intelligent networking function is normally powered on and operated, a specific SSDP message is sent, and a device list of other wireless amplifiers supporting the intelligent networking function in a local area network is actively searched;
the wireless repeater supporting the intelligent networking function establishes a description file of the networking capability of equipment, creates a random socket port and monitors a request message from a local area network after the system is powered on normally and operates;
the wireless repeater supporting the intelligent networking function establishes a description file for describing networking capability, wherein the file is in an XML format, and the content of the file is required to contain basic equipment information and equipment supporting networking capability information;
after the wireless repeater supporting the intelligent networking function establishes a corresponding networking capability description file, specific SSDP messages are sent at intervals in the local area network and are used for announcing the process of the message supporting the intelligent networking function;
after receiving a message replied by a wireless amplifier supporting the intelligent networking function in a local area network, the wireless gateway router supporting the intelligent networking function judges whether the equipment is the networking equipment, if so, the time stamp of the equipment networking in the local networking equipment record is directly updated, and if not, the intelligent networking synchronous configuration process is started;
when the wireless amplifier is in a non-networking state, the wireless gateway router sends a request message to the wireless amplifier to obtain a description file for describing the networking capability of the wireless amplifier;
when the wireless amplifier is in a non-networking state, the wireless gateway router sends a request message to the wireless amplifier for obtaining a description file describing the networking capability of the wireless amplifier, then generates networking messages matched with the description file according to the description information of the wireless amplifier, and then sends the networking messages to the wireless amplifier in a request sending mode;
when the wireless amplifier is in a non-networking state, the wireless gateway router sends a request message to the wireless amplifier for obtaining a description file describing the networking capability of the wireless amplifier, then generates networking messages matched with the description file according to the description information of the wireless amplifier, and then sends the networking messages to the wireless amplifier in a request sending mode;
after receiving the networking request message sent by the wireless router, the wireless amplifier replies that the wireless router has received the networking request message, then extracts the networking information partial content in the message, executes the networking information content to be synchronized, and completes the first synchronization declaration;
after the wireless repeater supporting the intelligent networking function completes the first synchronization, if the wireless repeater needs to normally leave the networking environment, a specified SSDP multicast message is sent to announce the normal leaving of the wireless repeater;
when detecting the message of declaring leaving sent by the wireless amplifier supporting the intelligent networking function in the local area network, the wireless gateway router supporting the intelligent networking function judges whether the equipment is the equipment already networked, if so, directly deletes the synchronous timestamp stored in the equipment record in the local equipment already networked, otherwise, directly ignores the synchronous timestamp;
after the wireless gateway router supporting the intelligent networking function locally modifies networking information, if a record exists in a local networking device list, the wireless gateway router firstly sends information to be synchronized to a wireless amplifier in a network request mode, and after a normal reply is received, local networking operation can be modified. If no networking record exists, the local modification operation is directly executed.
The invention aims to overcome the defects of the prior art and provides a networking method which meets the requirements of plug-and-play, intelligent networking, autonomous synchronization, autonomous maintenance, high efficiency and convenience.
In order to achieve the above object, the method for setting intelligent networking configuration between a wireless gateway router and a wireless amplifier based on UPnP according to the present invention comprises:
after the system reaches a preset condition, the wireless gateway router supporting the intelligent networking function starts the software at the end of the intelligent wireless gateway router, and after the software finishes initialization operation, the software sends an M-Search message to actively Search other devices of the wireless amplifier supporting the intelligent networking function in the local area network, and simultaneously declares that the router supports the intelligent networking function to all the devices in the local area network;
if the wireless amplifier in the local area network meets the preset condition, the intelligent networking wireless amplifier running on the wireless amplifier receives and analyzes the query message from the wireless gateway router, responds to and replies the query message of the wireless gateway router in time, and responds to and replies a description message capable of describing the networking capability of the equipment;
the wireless amplifier receiving the wireless gateway router inquiry message locally judges whether the inquiry target in the inquiry message is matched with the local notification type, if the inquiry target is consistent with the local notification type, the same networking capability is supported, and if the inquiry target is different from the local notification type, the message is directly ignored and is not processed;
after receiving a message of SSDP response from a wireless amplifier, a wireless gateway router judges whether a device responding to the message is in a networking device list, if a record exists in the networking device list, the record indicates that the device is successfully networked before, directly updates a timestamp field of last networking in the record, and maintains the networking record of the device; if the record of the device does not exist in the networking device record, directly entering a point-to-point networking synchronous configuration process.
And the wireless gateway router confirms that the wireless amplifier which finishes replying the query message is equipment supporting the intelligent networking function and is equipment which is not successfully networked, and directly sends a request message to the wireless amplifier to acquire the description file according to the URL describing the networking capability of the equipment in the wireless amplifier reply message.
The file of the equipment networking capability described by the response of the wireless amplifier is generated by the wireless amplifier after the system normally operates, the file is generated according to the hardware and software capability of the equipment, and all descriptions are in accordance with data model parameters formulated by intelligent networking;
if the wireless gateway router can not normally acquire the networking capability description file of the wireless amplifier, the intelligent networking is failed, and in order to avoid network congestion, the wireless gateway router directly waits for a notification message sent by the wireless amplifier next time;
whether the wireless amplifier successfully builds the network or not, the wireless amplifier will multicast and send the survival notification message in the local area network at regular time, and the wireless gateway router receiving the message will actively update the survival state of the device in the local built network device record;
when the successfully-networked wireless amplifier needs to leave the networking environment, the wireless amplifier multicast and sends a leaving notification message in the local area network, and the wireless gateway router receiving the message actively updates the survival state of the equipment in the local networked equipment record and deletes the synchronous record of the equipment;
after normally obtaining a networking capability description file returned by a networking wireless amplifier, the intelligent wireless gateway router dynamically generates networking information matched with the networking information according to a service capability list of equipment in the description file after analyzing, then sends networking data information to the wireless amplifier in a request sending mode, and after receiving the submitted request, the wireless amplifier analyzes and extracts the networking information, returns a confirmation message of the wireless gateway router, then executes synchronous local configuration, and completes networking.
When the wireless gateway router generates networking information, the wireless gateway router generates related information according to the networking description file of the wireless amplifier, and comprehensively, the generated information must be data which can be responded by the wireless amplifier, so that the wireless amplifier is required to be in line with actual software and hardware conditions when the networking capability description capability is generated, otherwise, intelligent networking failure can be caused.
After the wireless gateway router submits the generated networking configuration information to the wireless amplifier, if a correct answer of the wireless amplifier is received, the wireless gateway router adds the wireless amplifier into the locally stored networking equipment list information, and records the first networking time of the equipment.
After the networking wireless amplifier normally responds to the message data submitted by the wireless gateway router, the networking wireless amplifier analyzes and extracts networking information in the message data, synchronizes the configuration information in the networking information to local configuration information and executes the configuration information.
The preset conditions include: restarting the wireless gateway router, modifying and updating networking information on the wireless router, and adding a new wireless amplifier into at least one of the networks.
The method for setting intelligent networking configuration between the wireless gateway router and the wireless amplifier based on UPnP comprises the steps that the wireless gateway router and the wireless amplifier are matched, the wireless gateway router searches the wireless access equipment supporting the intelligent networking configuration in a local area network by sending a specific SSDP message, the wireless gateway router extracts the information of the equipment information of the wireless amplifier, which is carried in the SSDP sent or replied by the wireless amplifier, of a specific field, acquires the networking capability information of the wireless amplifier in a message request mode, generates a networking information message matched with the networking capability description file according to the collected networking capability description file, sends the networking information message to the wireless amplifier in a message mode, and after the wireless amplifier receives the message to be networked, the wireless amplifier analyzes the extracted key parameters, locally executes the networking information to be synchronized and responds to the wireless gateway router, finally, autonomous networking and autonomous maintenance are achieved without human intervention, and a networking mode is simple and convenient.
In order to more clearly describe the technical contents of the present invention, the following further description is given in conjunction with specific embodiments.
In one embodiment, fig. 1 is a diagram of an environment required for a method of deploying intelligent networking configuration settings between a wireless gateway router and a wireless amplifier.
The figure includes a wireless gateway router, a plurality of wireless amplifiers, wherein the wireless amplifiers are connected to the ethernet interface of the wireless gateway router in a wired manner.
In one embodiment, as shown in fig. 2, a detailed process of intelligently networking the wireless gateway router with the wireless amplifier in the local area network after a preset condition is reached is provided.
The process of actively searching the equipment list of the wireless amplifier supporting the intelligent networking function in the local area network after the system reaches the preset condition by the wireless gateway router supporting the intelligent networking function comprises the following steps:
(1) the wireless gateway router sends an SSDP M-SEARCH message in a multicast mode, searches for a wireless amplifier of a local area network supporting intelligent networking, the multicast address is 239.255.255.250, the port number is 1900, and a request message necessarily comprises an ST field which indicates that the device supports the intelligent networking function and indicates the message service type Man field of the SSDP, wherein the message reference format of the SSDP is as follows:
M-SEARCH*HTTP/1.1
Host:239.255.255.250:1900
Man:"ssdp:discover"
ST:smartsync:WiFiExtender
MX:3
(2) if the wireless amplifier supporting intelligent networking exists in the local area network, the device replies the request of the wireless gateway router in a unicast mode, and a message required to reply must contain an ST field for identifying the intelligent networking supporting function and a Location field for correspondingly describing the information of the wireless amplifier device, wherein the corresponding message reference format is as follows:
HTTP/1.1 200OK
Ext:
Cache-Control:no-cache="Ext",max-age=120
ST:smartsync:WiFiExtender
USN:uuid:abcdefgh-1234-5678-abcd-001122334455
DT:EXT-200
Location:http://192.168.0.11:38914/WiFIExtender.xml
the process of the wireless amplifier supporting the intelligent networking function actively searching the wireless gateway router supporting the intelligent networking function in the local area network after the system is powered on normally and operates comprises the following steps:
(3) the wireless gateway router sends an SSDP NOTIFY message in a multicast manner, searches for a wireless gateway router of a local area network supporting intelligent networking, where the multicast address is 239.255.255.250, the port number is 1900, and the request message necessarily includes an NT field indicating that the device supports an intelligent networking function, an NTs field indicating an SSDP service type, and a Location field correspondingly describing information of a wireless amplifier device, where the reference format of the SSDP message is as follows:
NOTIFY*HTTP/1.1
Host:239.255.255.250:1900
NT:smartsync:WiFiExtender
NTS:ssdp:alive
Location:http://192.168.0.11:38914/WiFIExtender.xml
USN:uuid:abcdefgh-1234-5678-abcd-001122334455
DT:EXT-200
Cache-Control:max-age=1800
after the wireless gateway router and the wireless amplifier mutually confirm that the other party supports the intelligent networking function, the configuration synchronization stage is entered, and the process is as follows:
(4) the wireless gateway router further sends an HTTP request according to a Location field in a multicast sending ssdp (unicast to active) or unicast reply message of the wireless amplifier, and the HTTP request is used for acquiring basic information of the wireless amplifier, wherein the basic information comprises information such as equipment type, equipment name, equipment model, equipment serial number, MAC (media access control) address, equipment description, equipment UUID (UUID), a read-only service list, a read-write service list, an operation service list and the like.
(5) After acquiring the service list information of the wireless relay in the local area network, the wireless gateway router sends setting information required to be synchronized according to the service information of the wireless relay, wherein the setting information comprises a plurality of other information such as wireless radio frequency opening and closing, a wireless channel, an automatic channel opening and closing, a wireless bandwidth, a wireless working mode, SSID opening and closing, an SSID name, SSID hiding opening and closing, an SSID authentication mode, an SSID encryption method, an SSID secret key and the like.
(6) And after the wireless repeater normally responds to the POST message sent by the wireless gateway router, replying a 200OK message, and announcing that the first synchronous operation is finished.
After the wireless gateway router and the wireless amplifier complete the operation of first configuration synchronization, the two parties enter a maintenance stage, and the process is as follows:
(7) the wireless gateway router maintains a synchronized device list in which information indicating that the wireless amplifier has normally completed configuration information synchronization is recorded, the information including the MAC of the device, the IP of the device, the SSID of the device, and the timestamp of the last synchronization.
(8) And the wireless amplifier unicast-sends an SSDP NOTIFY message to the wireless gateway router at a normal interval of 120 seconds, wherein the SSDP NOTIFY message is used for maintaining the state in the synchronized information list at the wireless router side.
(9) When the wireless gateway router receives the SSDP NOTIFY message of the wireless amplifier, whether the device is the synchronized device is firstly confirmed, if so, the timestamp in the record of the synchronized device is directly updated, and if not, the wireless gateway router directly returns to the step (4) according to the first time to start the operation of the first synchronization.
(10) If the wireless gateway router finds that a certain wireless amplifier in the synchronized device list information exceeds the life cycle for 240 seconds, the record of the device in the list is directly deleted.
(11) When the wireless amplifier normally needs to leave the networking environment, the multicast sends an SSDP NOTIFY message to announce the leaving of the wireless amplifier, the multicast address is 239.255.255.250, the port number is 1900, and the request message must include an NT field for indicating that the equipment supports the intelligent networking function and an NTS field for indicating that the SSDP service type is SSDP: byebye
NOTIFY*HTTP/1.1
Host:239.255.255.250:1900
NT:smartsync:WiFiExtender
NTS:ssdp:byebye
USN:uuid:abcdefgh-1234-5678-abcd-001122334455
DT:EXT-200
Cache-Control:max-age=1800
(12) After finding that the NOTIFY message with the NTS of ssdp byebye is received, the wireless gateway router confirms that the equipment is in the synchronized list, and directly deletes the record of the equipment in the list.
The method for realizing intelligent networking configuration setting between the wireless gateway router and the wireless amplifier based on the UPnP protocol confirms the wireless access equipment supporting intelligent networking configuration in the local area network by sending the specific SSDP message based on the UPnP protocol, and the wireless gateway router sends networking configuration information to be synchronized, which is suitable for the performance of the wireless amplifier, to the wireless amplifier according to the collected equipment information of the wireless amplifier. The method can realize the autonomous discovery, autonomous synchronization, autonomous maintenance and fully intelligent operation of autonomous networking of all the devices to be networked in the local area network, and improves the convenience of networking configuration.
In this specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.

Claims (8)

1. A method for realizing intelligent networking configuration setting between a wireless gateway router and a wireless amplifier based on a UPnP protocol is characterized by comprising the following steps:
after the wireless gateway router reaches a preset condition, sending a specific SSDP message to search wireless access equipment supporting intelligent networking configuration in a local area network, extracting a message which describes equipment information of the wireless amplifier and is carried in a specific field in SSDP sent or replied by the wireless amplifier by the wireless gateway router, acquiring networking capability information of the wireless amplifier in a message request mode, generating networking information message matched with the networking capability description file according to the collected networking capability description file, sending the networking information message to the wireless amplifier in a message mode, analyzing and extracting key parameters after the wireless amplifier receives the message to be networked, and then locally executing the networking information to be synchronized and replying the wireless gateway router in response;
the method further comprises the following steps:
after receiving a message of SSDP response from a wireless amplifier, a wireless gateway router firstly judges whether the responded equipment is in a networking equipment list, if the networking equipment list has a record, the networking of the equipment is successful, a timestamp field of last networking in the record is directly updated, and the networking record of the equipment is maintained; otherwise, directly entering a point-to-point networking synchronous configuration process;
and the wireless gateway router confirms that the wireless amplifier which finishes replying the query message is equipment supporting the intelligent networking function and is equipment which is not successfully networked, and directly sends a request message to the wireless amplifier to acquire the description file according to the URL describing the networking capability of the equipment in the wireless amplifier reply message.
2. The method according to claim 1, wherein the method further comprises:
the wireless amplifier receiving the wireless gateway router inquiry message locally judges whether the inquiry target in the inquiry message is matched with the local notification type, and if so, the message is processed; otherwise, directly neglecting the message and not processing.
3. The method according to claim 1, wherein the method further comprises:
if the wireless gateway router can not normally acquire the networking capability description file of the wireless amplifier, the intelligent networking is failed, and the wireless gateway router directly waits for a notification message sent by the wireless amplifier next time in order to avoid network congestion.
4. The method according to claim 1, wherein the method further comprises:
the wireless amplifier sends the survival notice message in a multicast mode in the local area network at regular time, and the wireless gateway router receiving the message actively updates the survival state of the equipment in the record of the local networking equipment.
5. The method according to claim 1, wherein the method further comprises:
when the successfully-networked wireless amplifier needs to leave the networking environment, the wireless amplifier multicasts and sends a leaving notification message in the local area network, and the wireless gateway router receiving the message actively updates the survival state of the equipment in the local networking equipment record and deletes the synchronous record of the equipment;
after normally acquiring a networking capability description file replied by a networking wireless amplifier, the intelligent wireless gateway router dynamically generates networking information matched with the networking information according to a service capability list of equipment in the description file after the analysis is completed, then transmits the networking data information to the wireless amplifier in a request transmitting mode, and after receiving a submitted request, the wireless amplifier analyzes and extracts the networking information, replies a confirmation message of the wireless gateway router, then executes synchronous local configuration, and completes the networking.
6. The method according to claim 1, wherein the method further comprises:
after the wireless gateway router submits the generated networking configuration information to the wireless amplifier, if a correct answer of the wireless amplifier is received, the wireless gateway router adds the wireless amplifier into the locally stored networking equipment list information, and records the first networking time of the equipment.
7. The method according to claim 1, wherein the method further comprises:
after the networking wireless amplifier normally responds to the message data submitted by the wireless gateway router, the networking wireless amplifier analyzes and extracts networking information in the message data, synchronizes the configuration information in the networking information to local configuration information and executes the configuration information.
8. The method according to claim 1, wherein the preset conditions include restarting the wireless gateway router, modifying and updating networking information on the wireless router, or adding a new wireless amplifier into the network.
CN202010092207.1A 2020-02-14 2020-02-14 Method for setting intelligent networking configuration between wireless gateway router and wireless amplifier Active CN111314132B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010092207.1A CN111314132B (en) 2020-02-14 2020-02-14 Method for setting intelligent networking configuration between wireless gateway router and wireless amplifier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010092207.1A CN111314132B (en) 2020-02-14 2020-02-14 Method for setting intelligent networking configuration between wireless gateway router and wireless amplifier

Publications (2)

Publication Number Publication Date
CN111314132A CN111314132A (en) 2020-06-19
CN111314132B true CN111314132B (en) 2022-09-30

Family

ID=71161693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010092207.1A Active CN111314132B (en) 2020-02-14 2020-02-14 Method for setting intelligent networking configuration between wireless gateway router and wireless amplifier

Country Status (1)

Country Link
CN (1) CN111314132B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873554B (en) * 2021-09-27 2024-02-23 天翼数字生活科技有限公司 Method and system for synchronous configuration acquisition and transmission of Mesh networking

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101474840B1 (en) * 2007-11-05 2014-12-19 삼성전자 주식회사 System and method for controlling network device based on UPnP
CN101640601B (en) * 2008-07-30 2012-05-23 Tcl集团股份有限公司 Management method for intelligent device
EP2430531B1 (en) * 2009-04-24 2019-12-04 Dali Systems Co. Ltd. Remotely reconfigurable power amplifier system and method
US9882995B2 (en) * 2012-06-25 2018-01-30 Sonos, Inc. Systems, methods, apparatus, and articles of manufacture to provide automatic wireless configuration
CN103561017A (en) * 2013-10-31 2014-02-05 中国海洋大学 Method for device interconnection supporting double protocol standards of UPnP and IGRS
US9872240B2 (en) * 2014-08-19 2018-01-16 Belkin International Inc. Network device source entity triggered device configuration setup
CN106254407B (en) * 2015-06-15 2020-09-25 南京中兴软件有限责任公司 Method and device for sharing home network service
CN107135529B (en) * 2017-04-27 2020-11-03 深圳市友华通信技术有限公司 Method for realizing automatic connection of AP and STA and synchronizing AP configuration modification

Also Published As

Publication number Publication date
CN111314132A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
US10117206B2 (en) Method for synchronizing content among terminals and terminals
KR101495723B1 (en) UPnP RAS apparatus for supporting multiple remote access and method thereof
US7292859B2 (en) Apparatus and method for managing device information through networks
US20050204065A1 (en) Synchronization method of upnp-based home network
US8060590B2 (en) Distance-aware service discovery mechanism for determining the availability of remote services in wireless personal area networks
KR101424293B1 (en) Mechanism to convey discovery information in a wireless network
RU2524567C2 (en) Improved service detection mechanism in wireless communication systems
KR101424718B1 (en) Apparatus and method for providing accessible home network information in remote access environment
EP2654336B1 (en) Method, apparatus and system for access point (ap) to manage wireless repeater(s)
US9467517B2 (en) Method and apparatus for remote management of device
US7739375B2 (en) System and method for UPnP discovery advertisement byebye by proxy
KR20090078717A (en) Upnp apparatus for providing multiple remote access service to universal plug and play network and method thereof
WO2016169231A1 (en) Method and system for building steady piconet based on bluetooth
EP2640002A1 (en) Method, apparatus and system for configuring device
KR20080112918A (en) Method and apparatus for providing dynamically changed description of universal plug and play
CN111314132B (en) Method for setting intelligent networking configuration between wireless gateway router and wireless amplifier
US8909600B2 (en) Information processing apparatus, information processing method, and storage medium
CN103001959B (en) Method and system for discovering devices among households
KR100533667B1 (en) Efficient home network management system and method
WO2014135003A1 (en) Terminal device and method for sending and receiving frames
KR100772879B1 (en) Apparatus, system and method for executing discovery in network
WO2007071808A1 (en) Instant messaging
US20070274240A1 (en) Upnp Terminal for Ad Hoc Wireless Networks
JP2006203344A (en) Apparatus management device and apparatus management method
JP6802530B2 (en) Communication method

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240103

Address after: 215412 No.89 Jiangnan Road, Ludu Town, Taicang City, Suzhou City, Jiangsu Province

Patentee after: TAICANG T&W ELECTRONICS Co.,Ltd.

Address before: 200235 7th floor, Yuanzhong scientific research building, 1905 Hongmei Road, Xuhui District, Shanghai

Patentee before: SHANGHAI GONGJIN COMMUNICATIONS TECHNOLOGY Co.,Ltd.