# Patent

## Title
Wireless network setup and configuration distribution system

## Abstract

The present invention relates to a wireless network that operates in accordance with the IEEE 802.11n standards and comprises at least one router (2) by which the connections established with the other devices are routed via a wireless network (1), at least one access point (3) which serves as a data transmission point in the network, and at least one client device (4) that uses the network sources; and to a wireless network setup and configuration distribution method (100) which enables to easily configure the devices that connect to the said networks.

## Background
FIELD OF THE INVENTION
The present invention relates to a wireless network that operates in accordance with the IEEE 802.11n standards and a wireless network setup and configuration distribution system, which enables to easily configure devices that connect to the said networks and do not have a user screen.
BACKGROUND OF THE INVENTION
Wireless networks whose areas of use increasingly expand nowadays are basically comprised of a router (A) connected to external networks (A) (for example internet), access points between which mutual data transmission is provided via the router, and client devices which are connected to these points via wire or wirelessly. Day by day increase in the number and kinds of client devices brings along the difficulty of identifying these devices to the network.
The existing wireless network products can create a joint network only as a result of making many mutual configurations manually. Additionally, when a configuration related to the network changes in any device, that device remains out of the network. As long as the configuration related to the network does not match with all of the devices the device can not be included in the network. Creating a secure wireless network in which a plurality of devices are involved and subsequently making configuration changes require too much technical knowledge for an ordinary user. Wireless network connections of the mesh networks, which are used to expand the coverage area of wireless networks, other computers that connect to these networks wirelessly and various wireless multimedia devices should be secure, easy-to-setup and the configurations thereof should be easy-to-change.
In WPS (Wi-Fi Protected Setup) definition defined by Wi-Fi Alliance, a method is described that will connect the access point and the wireless device to each other easily and safely. In this definition, expansion of the coverage area by adding new access points between the secondary areas of use are disclosed, while technical details are not specified. This definition does not provide a direct statement for setup and configuration of mesh networks, however it provides an infrastructure suitable for developing specific applications.
In U.S. Patent Application Publication No. US2003087629A1, known in the state of the art, an additional gateway server is proposed as the control mechanism with the purpose of overcoming the flaws of WEP encryption having low level of security and administering a large-scale wireless network. However this application is not a network setup method that can be used by ordinary home users, but it is a wireless network administration application that requires complicated configurations and setups.
In U.S. Patent Application Publication No. US20060285514A1, known in the state of the art, it is proposed to incorporate wireless network feature to devices that are distant from each other such as computer, pocket computer, printer, server and to remote control them. It is provided that wireless network infrastructure should be already setup for this application to operate. However, setup of a mesh network structure that provides wide coverage is also an application that requires technical knowledge in practice.
SUMMARY OF THE INVENTION
The objective of the present invention is to develop a wireless network setup and configuration distribution system Which facilitates setup of devices that connect to IEEE802.11 wireless networks.
Another objective of the present invention is to develop a wireless network setup and configuration distribution system which automatically transfers the configuration changes in the network to the devices that connect to IEEE802.11 wireless networks.



BRIEF DESCRIPTION OF THE DRAWINGS
“Wireless network setup and configuration distribution method” developed to fulfill the objective of the present invention is illustrated in the accompanying figures, in which:
FIG. 1 is the schematic view of the inventive wireless network setup and configuration distribution system;
FIG. 2 is the flowchart of the method that operates the inventive system;
FIG. 3 is a schematic view of an embodiment of the inventive system;
FIG. 4 is a schematic view of another embodiment of the inventive system; and
FIG. 5 is a block diagram of components that comprise an access point, router, or client device operating in a network.



The parts seen in the figures are each given a reference numeral where the numerals refer to the following:

    
    
        1. Wireless network setup and configuration distribution system
        2. Router
        3. Access point
        4. Client device
    
    


DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
The inventive wireless network setup and configuration distribution system (1) comprises at least one router (2) which establishes connection with other networks (A) and routes the connections that it establishes. The wireless mesh network (1) additionally comprises at least one access point (3) which serves as a data transmission point in the network and/or at least one client device (4) that uses the network sources.
In the preferred embodiment of the invention, the inventive wireless network setup and configuration distribution system (1) comprises at least one router (2) which establishes connection with other networks (A) and routes the connections that it establishes, at least one access point (3) which serves as a data transmission point in the network and at least one client device (4) that uses the network sources (FIG. 1).
In another embodiment of the invention, the inventive wireless network setup and configuration distribution system (1) comprises at least one router (2) which establishes connection with other networks (A) and routes the connections that it establishes, and at least one access point (3) which serves as a data transmission point in the network. (FIG. 3).
In another embodiment of the invention, the inventive wireless network setup and configuration distribution system (1) comprises at least one router (2) which establishes connection with other networks (A) and routes the connections that it establishes, and at least one client device (4) that uses the network sources. (FIG. 4).
Communication of the access points (3) and client devices (4) in the wireless mesh network setup and configuration distribution system (1) with each other and with other networks (A) is provided by the router (2). The communication within the wireless network is enabled by the radio signals carrying the data packets. The data packets sent by the device (source device), which is the initial source of the data packets, reach the final device (target device) that the data packets are intended to reach via the router (2).
The router (2) determines the route of a data packet from one station to another. The router (2) communicates with the other devices (2, 3 and 4) for selection of the route by using routing protocol, and adds the incoming information to the routing table that is present in the router (2) as a standard. The routing table includes the routes towards known targets (2, 3 and 4). When necessary, addresses can also be added manually to the said table and/or addresses can be manually deleted from the table. Wireless mesh network is created by connecting access points (3) to the wireless network (1) in order to expand the coverage area of the wireless network setup and configuration distribution system (1). Access points (3) rebroadcast the data packets that they receive from any source device (2, 3 or 4). Thus, the signals that attenuate until they arrive at the access point (3) can be strengthened and transmitted to the target devices (2, 3 or 4).
While the client devices (4) can directly connect to the router (2) for access to the network sources, they can also connect via access points (3). Client devices (4) are devices which require access to the network sources while operating. These include, but are not limited to, devices such as computer, pocket computer, security camera, mobile phone.
The router (2) connected to the inventive wireless network setup and configuration distribution system (1) constantly broadcasts the configurations of the wireless network setup and configuration distribution system (1) by means of management packets. Management packets are data packets which preferably accommodate manufacturer code, Wireless network identification code, configuration change serial number information and which are generated and broadcasted by the device wherein configuration change is implemented. The manufacturer code is a serial number specific to the manufacturer. This serial number is preferably a SMI (Structure of Management Information) network management serial number recorded in IANA (Internet Assigned Numbers Authority). This code is a 24 bit value.
The wireless network identification code is preferably a 16 digit value, preferably in hexadecimal format, which is randomly selected during setup of the first device in the network. The configuration change serial number is the value which is preferably defined as 1 in the setup of the first device in the network and which is increased at a random value preferably between 1 and 1000 in the device wherein configuration change is implemented. The router (2) writes the manufacturer code, wireless network identification codes and configuration change serial number into this packet before broadcasting the management packet. Then it broadcasts the generated packet wirelessly.
The access point (3) that receives the management data broadcasted by the router (2) sorts out the manufacturer code, wireless network identification codes and configuration change serial number information written in the packet. Then, according to the state of this information, it decides whether there is a change in the configurations and if there is a configuration change, receives the new configurations from the device that broadcasts the configurations. The access point (3) rebroadcasts the management packet that it receives in order to convey it to the client devices (4).
The client device (4) that receives the management packet broadcasted by the router (2) or the access point (3) sorts out the manufacturer code, wireless network identification code and configuration change serial number information written in the packet. Then, according to the state of this information, it decides whether there is a change in the configurations and if there is a configuration change, receives the new configurations by means of a password called PIN.
The configuration distribution method (100), which is used in the wireless network setup and configuration distribution system (1), and which enables the configuration changes in the network to be automatically transferred to the other devices, comprises the steps of:

    
    
        Examining the WPS information in the management packet (101);
        Controlling whether there is an information field specific to the manufacturer (102);
        If there is no information field specific to the manufacturer, renewing the WPS information in the management packet in order for it to be examined (103);
        If there is an information field specific to the manufacturer, controlling whether the manufacturer code matches with the manufacturer code of the device (2, 3 or 4) (104);
        If the manufacturer code does not match with the manufacturer code of the device (2, 3 or 4), renewing the WPS information in the management packet in order for it to be examined (105);
        If the manufacturer code matches, controlling whether the wireless network identification codes match with the wireless network identification code of the device (106);
        If the wireless network identification codes do not match, renewing the WPS information in the management packet in order for it to be examined (107);
        If the wireless network identification codes match, controlling the configuration change serial number (108);
        If the configuration change serial number is smaller than the configuration number in the memory of the device (2, 3 or 4), renewing the WPS information in the management packet in order for it to be examined (109);
        If the configuration change serial number is greater than the configuration number in the memory of the device (2, 3 or 4), determining that there is a configuration change (110), and Receiving the new configurations with the trusted PIN (111). (FIG. 2).
    
    


In case of any configuration change related to the wireless network setup and configuration distribution system (1), this configuration(s) should be transferred to the rest of the network so that the network does not fail. A secure information exchange mechanism defined by WPS specification is utilized for this process. One of the methods used in configuration transfer via WPS requires entry of a password comprising 8 numbers into both of the devices. When a joint special PIN is determined and reported to the devices, which constitute the wireless network and whose configurations are subsequently intended to be matched, and the devices are made to detect the configuration change, the configurations will be matched safely and easily by means of the said PIN. The units with which this specific PIN is shared are named “Trusted Unit” and this specific PIN is named “trusted PIN”.
The trusted PIN may be shared among devices automatically when configuration is first attempted. In this case, an unconfigured device receives the trusted PIN information together with the wireless settings from another device. Thereafter, both devices share the same trusted PIN and wireless credentials. In one embodiment, a device may be preconfigured with the trusted PIN before configuration is undertaken. For example, a device may be preconfigured when such device is manufactured. In some embodiments, devices that are to operate with one another may be preconfigured with the trusted PIN when such devices are manufactured.
“Management packets” that are used in wireless communication are utilized for making the devices detect the configuration change. The configuration change detection process, flowchart of which is given in FIG. 2, is implemented as follows:
The unit (2, 3 or 4) that detects the management packet examines the WPS information in the packet (101). The unit (2, 3 or 4) checks whether there is an information field specific to the manufacturer in the packet (102). If there is no information field specific to the manufacturer in the packet (103), the device receives a new management packet and starts to examine again (101). If the packet includes information field specific to the manufacturer, it is checked whether the manufacturer code matches (104). If the manufacturer code does not match, it is concluded that the packet comes from a device of a different manufacturer (105), and the device receives a new management packet and starts to examine again (101). If the manufacturer code matches, the wireless network identification codes are controlled (106). If the wireless network identification code does not match, it is concluded that the device sending the management packet is included in a different wireless network (107), and the device receives a new management packet and starts to examine again (101). If the wireless network identification code matches, the configuration change serial number is controlled (108). If the configuration change serial number is smaller that the number in the controlling device, it is concluded that there is no configuration change (109), and the device receives a new management packet and starts to examine again (101). If the configuration change serial number is greater than the number in the controlling device, it is concluded that there is a configuration change (110), and the device receives the new configurations via the trusted PIN (111).
Since the WPS specification, which is defined for the wireless access point and the wireless device to be connected both safely and easily, does not provide a direct support for setup of mesh networks, mesh networks are setup easily and safely by adding the information required to setup mesh networks to the information sent as standard via WPS. The easiest configuration method defined by WPS consists of pressing a single button located on the devices (2, 3 or 4) that are desired to be connected to each other.
It is possible to develop a wide variety of embodiments of the inventive “Wireless Network Setup and Configuration Distribution Method (100)”. The invention cannot be limited to the examples described herein and it is essentially according to the claims.
Referring to FIG. 5, as is known to those skilled in the art, a device 500 operating in the wireless network described herein includes a processor 502, a memory 504, and a network interface 506. The memory 504 has stored therein computer executable instructions that, when executed, cause the processor 502 to operate the device 500 as described hereinabove. It should be apparent that the processor 502 and memory 504 may be implemented as separate components, as a single integrated circuit such as ASIC or FPGA, or a combination thereof.
A first exemplary network device in accordance with the present invention operates in a wireless network. Such first exemplary network device includes a memory that has computer executable instructions stored therein and a processor. Execution of the computer executable instructions by the processor causes the processor to examine WPS information in a management packet and determine whether there is an information field specific to a manufacturer in the management packet. If there is an information field specific to a manufacturer, the computer executable instructions cause the processor to determine whether a manufacturer code in the information field matches a manufacturer code associated with the device and, if the manufacturer codes do match, determine whether a wireless network identification code in the management packet matches a wireless network identification code associated with the device. Further, if the wireless network identification codes do match, execution of the computer executable instructions cause the processor to determine if the configuration Change serial number is greater than the configuration number in a memory of the device. If the configuration serial number in the management packet is greater than the configuration number in the memory of the device, the computer executable instructions cause the processor to determine that there is a configuration change and receive a new configuration with a trusted PIN.
In one embodiment, the first exemplary network device includes computer executable instructions, that when executed by the processor, cause the processor to renew the WPS information in the management packet if there is no information field specific to a manufacturer, if the manufacturer codes do not match, if the wireless network identification codes do not match, if the wireless network identification codes do not match, or if the configuration change serial number is smaller than the configuration number in the memory of the device.
In another embodiment, the first exemplary network device is a router that establishes a connection with another network. In some embodiments, the first exemplary network device is a router that routes the connection established thereby. In further embodiment, the first exemplary network device includes computer executable instructions, that when executed, cause the processor to determine a route of a data packet from one station to another, communicate with other devices operating in the wireless network to select a route in accordance with a routing protocol, and modify a routing table stored in the memory.
In a still further embodiment, the first exemplary network device is an access point that serves as a data transmission point in the wireless network. Such access point may be operated to expand the coverage area of the wireless network.
In some embodiments, the first exemplary network device is a client device that uses the wireless network sources. Such client device may communicate with a router operating in the wireless network. In some cases, such client device may communicate with the router via an access point operating in the network.
A second exemplary device operating in a wireless network in accordance with the present invention comprises a memory and a processor. The memory has computer executable instructions stored therein. Execution of the computer executable instructions by the processor cause the process to receive a new configuration with a trusted PIN if: a) a manufacturer code in the information field matches a manufacturer code associated with the device, b) a wireless network identification code in the management packet matches a wireless network identification code associated with the device, and c) the configuration change serial number is greater than the configuration number in a memory of the device.
In one embodiment, the second exemplary device is a router that establishes a connection with another network. In some cases, such router routes the connection established thereby. In still other cases, the execution of the computer executable instructions by the processor causes the processor to determine a route of a data packet from one station to another, communicate with other devices operating in the wireless network to select a route in accordance with a routing protocol, and modify a routing table stored in the memory.
In another embodiment, the second exemplary device is an access point that serves as a data transmission point in the wireless network. In some cases, the device is operated to expand the coverage area of the wireless network.
In a further embodiment, the second exemplary device is a client device that uses wireless network sources. In some cases, the client device communicates with a router operating in the wireless network. In some other cases, the client device communicates with the router operating in the wireless network via an access point operating in the wireless network.
According to an exemplary method of operating a device in a wireless network according to the present invention, the method includes the steps of receiving a management packet. The method includes the further step of receiving a new configuration for the device with a trusted PIN if: a) a manufacturer code in the information field matches a manufacturer code associated with the device, b) a wireless network identification code in the management packet matches a wireless network identification code associated with the device, and c) the configuration change serial number is greater than the configuration number in a memory of the device.
INDUSTRIAL APPLICABILITY
Numerous modifications to the present invention will be apparent to those skilled in the art in view of the foregoing description. Accordingly, this description is to be construed as illustrative only and is presented for the purpose of enabling those skilled in the art to make and use the invention and to teach the best mode of carrying out same. The exclusive rights to all modifications that come within the scope of the present claims are reserved

## Claims

1. A device configured to operate in a wireless network, the device comprising:
a memory, the memory having computer executable instructions stored therein; and
a processor, wherein execution of the computer executable instructions by the processor causes the processor to receive a new configuration with a trusted Personal Identification Number (PIN) if:
a) a manufacturer code in an information field matches a manufacturer code associated with the device,
b) a wireless network identification code in a management packet matches a wireless network identification code associated with the device, and
c) a configuration change serial number is greater than a configuration number in the memory of the device.

2. The device of claim 1, wherein the device is a router configured to establish a connection with another network.

3. The device of claim 2, wherein the router is configured to route the connection established thereby.

4. The device of claim 2, wherein the execution of the computer executable instructions by the processor causes the processor to determine a route of a data packet from one station to another, communicate with other devices operating in the wireless network to select a route in accordance with a routing protocol, and modify a routing table stored in the memory.

5. The device of claim 1, wherein the device is an access point configured to serve as a data transmission point in the wireless network.

6. The device of claim 5, wherein the access point is configured to expand a coverage area of the wireless network.

7. The device of claim 1, wherein the device is a client device that uses resources of the wireless network.

8. The device of claim 7, wherein the client device is configured to communicate with a router operating in the wireless network.

9. The device of claim 7, wherein the client device is configured to communicate with a router operating in the wireless network via an access point operating in the wireless network.

10. A method of operating a device in a wireless network, the method comprising:
receiving a management packet; and
receiving a new configuration for the device with a trusted Personal Identification Number (PIN) if,
a) a manufacturer code in an information field matches a manufacturer code associated with the device,
b) a wireless network identification code in a management packet matches a wireless network identification code associated with the device, and
c) a configuration change serial number is greater than a configuration number in a memory of the device.

11. A device configured to operate in a wireless network, the device comprising:
a memory having computer executable instructions stored thereon, which when executed by a processor, causes the processor to,
examine a plurality of parameters included in Wi-Fi Protected Setup (WPS) information in a management packet, the plurality of parameters including information related to a specific manufacturer, a wireless network identification code and a configuration change serial number, and
determine whether there is a configuration change in the wireless network based on the examined plurality of parameters; and
receive a new configuration with a trusted Personal Identification Number (PIN) if the processor determines that there is the configuration change.

12. The device of claim 11, wherein the execution of the computer executable instructions by the processor causes the processor to,
determine whether the information field specific to a manufacturer is included in the management packet;
if there is the information field specific to a manufacturer, determine whether a manufacturer code in the information field matches a manufacturer code associated with the device;
if the manufacturer codes match, determine whether the wireless network identification code in the management packet matches a wireless network identification code associated with the device;
if the wireless network identification codes match, determine if the configuration change serial number is greater than a configuration number in a memory of the device, wherein
if the configuration change serial number in the management packet is greater than the configuration number in the memory of the device, the processor determines that there is a configuration change in the wireless network.

13. The device of claim 12, wherein the execution of the computer executable instructions by the processor cause the processor to renew the WPS information in the management packet if there is no information field specific to a manufacturer, if the manufacturer codes do not match, if the wireless network identification codes do not match, or if the configuration change serial number is smaller than the configuration number in the memory of the device.

14. The device of claim 11, wherein the device is a router configured to establish a connection to another network.

15. The device of claim 14, wherein the router is configured to route the connection established thereby.

16. The device of claim 14, wherein the execution of the computer executable instructions by the processor causes the processor to,
determine a route of a data packet from one station to another,
communicate with other devices operating in the wireless network to select a route in accordance with a routing protocol, and
modify a routing table stored in the memory.

17. The device of claim 11, wherein the device is an access point configured to serve as a data transmission point in the wireless network.

18. The device of claim 17, wherein the access point is configured to expand a coverage area of the wireless network.

19. The device of claim 11, wherein the device is a client device configured to,
use resources of the wireless network, and
communicate with a router operating in the wireless network.

20. The device of claim 19, wherein the client device is configured to communicate with the router operating in the wireless network via an access point operating in the wireless network.