Patent ID: 9628322
Date: 2017-04-18
CPC Classifications: H04L

Claim:
1. A network synchronization method involving automatic setting via a physical line, the network synchronization method being applicable to a network system, wherein the network system comprises the physical line, a first network apparatus, and a second network apparatus, wherein the first network apparatus is connected to an end of the physical line and stores a first profile, a token, a service code, a time code, and a control code representing a time period therein; wherein the first network apparatus is configured to change the token as soon as the service code or the time code is changed; wherein the first profile comprises a Service Set Identifier (SSID), a pre-shared key, and a channel and wherein the first network apparatus is connectable to the Internet according to the first profile and being configured for sending out the token together with a detection message through the physical line at a predetermined time interval and changing the token as soon as data in the first profile are changed, the second network apparatus being connected to an opposite end of the physical line, the network synchronization method comprising the steps, to be performed by the second network apparatus, of: receiving, through the physical line, the detection message and the token sent by the first network apparatus; storing the token and determining whether it is the first time to receive the token, or whether the token has been changed; when determining that it is the first time to receive the token, or that the token has been changed, generating a request message according to the detection message and sending the request message to the first network apparatus, so as for the first network apparatus to send the first profile to the second network apparatus after receiving the request message; adding a second profile to the second network apparatus according to the first profile, wherein the second profile comprises an SSID and a pre-shared key which are identical to the SSID and the pre-shared key in the first profile and a channel different from the channel in the first profile; and connecting to the Internet through the physical line and the first network apparatus according to the second profile; wherein, once the second network apparatus is connected to the Internet according to the second profile, the second network apparatus further performs the steps of: sending a synchronization message to the first network apparatus, so as for the first network apparatus to send the service code to the second network apparatuses after receiving the synchronization message, and setting a signal processing order of the network apparatuses according to the service code.