TWI548299B - Method for setting wireless network device and wireless network device using the same - Google Patents
Method for setting wireless network device and wireless network device using the same Download PDFInfo
- Publication number
- TWI548299B TWI548299B TW103124734A TW103124734A TWI548299B TW I548299 B TWI548299 B TW I548299B TW 103124734 A TW103124734 A TW 103124734A TW 103124734 A TW103124734 A TW 103124734A TW I548299 B TWI548299 B TW I548299B
- Authority
- TW
- Taiwan
- Prior art keywords
- wireless network
- network device
- setting
- wireless
- wifi
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 66
- 230000008569 process Effects 0.000 claims description 37
- 238000012545 processing Methods 0.000 claims description 22
- 238000013507 mapping Methods 0.000 claims description 20
- 238000012790 confirmation Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 10
- 230000007246 mechanism Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000021158 dinner Nutrition 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Description
本發明係關於一種無線網路應用之技術,更進一步來說,本發明係關於一種無線網路裝置之設定方法及使用其之無線網路裝置。 The present invention relates to a wireless network application technology, and more particularly to a wireless network device setting method and a wireless network device using the same.
隨著科技的進步,掌上型行動裝置如智慧型手機、平板電腦、個人數位助理(Personal Digital Assistant,PDA)…等的發展也越來越快速。人們對於無線上網的需求也逐漸增加。第1圖繪示為先前技術之無線網路路由器的示意圖。請參考第1圖,一般家用或商用的無線網路路由器在初次使用時,使用者必須先利用桌上型電腦101或筆記型電腦102,透過網路線103,並打入帳號與密碼,登入無線網路路由器104。之後,在個人電腦中進行一連串繁瑣的設定之後,才可以進行讓其他的平版電腦105或智慧型手機透過上述無線網路路由器104對網路進行存取。 With the advancement of technology, the development of handheld mobile devices such as smart phones, tablets, personal digital assistants (PDAs), etc. is also growing faster. The demand for wireless Internet access has also increased. Figure 1 is a schematic diagram of a prior art wireless network router. Please refer to Figure 1. When using a wireless router for home or business, the user must first use the desktop computer 101 or the notebook computer 102, and then enter the account number and password to log in to the wireless device. Network router 104. Thereafter, after a series of complicated settings are made in the personal computer, the other lithographic computer 105 or the smart phone can be accessed through the wireless network router 104.
然而,現今平版電腦與智慧型手機的功 能越來越發達的情況下,許多使用者並未使用個人電腦或是具有有線網路功能的計算裝置。對於這些沒有個人電腦或筆記型電腦的使用者,無線網路路由器104無法進行設定。而且,在沒有進行設定的情況下,使用者根本無法透過無線網路路由器104進行存取網際網路(Internet)。 However, the work of today's lithographic and smart phones In the case of more and more developed, many users do not use personal computers or computing devices with wired network capabilities. For those users who do not have a personal computer or a notebook computer, the wireless network router 104 cannot make settings. Moreover, without setting, the user cannot access the Internet through the wireless network router 104 at all.
本發明的一目的在於提供一種無線網路裝置,用以在不需要有線網路的情況下,使用行動裝置設定無線網路裝置。 It is an object of the present invention to provide a wireless network device for setting up a wireless network device using a mobile device without requiring a wired network.
本發明的另一目的在於提供一種無線網路裝置之設定方法,藉此,達成無須輸入帳號密碼,進入無線網路裝置的設定。 Another object of the present invention is to provide a method of setting a wireless network device whereby a setting for entering a wireless network device without entering an account password is achieved.
有鑒於此,本發明提供一種無線網路裝置設定方法。此無線網路裝置設定方法包括下列動作:由無線網路裝置,提供一設定用之服務識別碼(Service Set Identifier,SSID),其中,設定用之服務識別碼係經過一編碼而成;提供一具有無線網路功能之行動裝置使用之一特定應用程式;當應用程式被執行,解碼設定用之服務識別碼,獲取設定用之服務識別碼內加密之一隨機密碼與無線網路裝置的一機器資訊;透過特定應用程式,登入無線網路裝置,以進行無線網路裝置之設定。 In view of this, the present invention provides a wireless network device setting method. The wireless network device setting method includes the following actions: a wireless network device provides a Service Set Identifier (SSID) for setting, wherein the service identification code for setting is encoded; A mobile device having a wireless network function uses a specific application; when the application is executed, the service identifier for decoding is set, and a machine for encrypting one of the random passwords and the wireless network device in the service identification code for setting is obtained. Information; through a specific application, log in to the wireless network device to set up the wireless network device.
本發明另外提出一種無線網路裝置,此無線網路裝置包括一無線相容認證(WIFI)天線、一無線發射電路、一控制電路以及一編碼電路。無線相容認證 (WIFI)天線用以發射一無線電波。無線發射電路耦接無線相容認證天線,用以發射一無線訊號給無線相容認證(WIFI)天線,使無線相容認證(WIFI)天線發射該無線電波。控制電路用以提供無線網路裝置的一機器資訊以及一隨機密碼。編碼電路耦接控制電路以及無線發射電路,用以接收機器資訊以及隨機密碼,將機器資訊以及該隨機密碼編碼為設定用之服務識別碼(Service Set Identifier,SSID)。當一使用者在一行動裝置啟動一使用一特定應用程式,且行動裝置接收無線電波,行動裝置擷取設定用之服務識別碼。當應用程式被執行,行動裝置解碼設定用之服務識別碼,獲取設定用之服務識別碼內加密之隨機密碼與無線網路裝置的該機器資訊。行動裝置透過特定應用程式所解碼出的隨機密碼與該無線網路裝置的機器資訊,登入無線網路裝置,以進行無線網路裝置之設定。 The present invention further provides a wireless network device including a wireless compatible authentication (WIFI) antenna, a wireless transmission circuit, a control circuit, and an encoding circuit. Wireless compatible certification The (WIFI) antenna is used to transmit a radio wave. The wireless transmitting circuit is coupled to the wireless compatible authentication antenna for transmitting a wireless signal to the wireless compatible authentication (WIFI) antenna, so that the wireless compatible authentication (WIFI) antenna transmits the wireless wave. The control circuit is configured to provide a machine information of the wireless network device and a random password. The encoding circuit is coupled to the control circuit and the wireless transmitting circuit for receiving the device information and the random password, and encoding the machine information and the random password into a Service Set Identifier (SSID) for setting. When a user initiates a use of a particular application on a mobile device and the mobile device receives radio waves, the mobile device retrieves the service identification code for the setup. When the application is executed, the mobile device decodes the service identification code for setting, and obtains the random password encrypted in the service identification code for setting and the machine information of the wireless network device. The mobile device logs into the wireless network device through the random password decoded by the specific application and the machine information of the wireless network device to set the wireless network device.
依照本發明較佳實施例所述之無線網路裝置設定方法及使用其之無線網路裝置,上述無線網路裝置為一無線相容認證(Wireless Fidelity,WIFI)存取基地台(Access Point),其中,無線相容認證存取基地台包括多組服務識別碼。在另一較佳實施例中,上述無線網路裝置為一無線相容認證(Wireless Fidelity,WIFI)鬧鐘,其中,上述無線相容認證鬧鐘透過WIFI連接網際網路以校正時間。另外,此實施例中,無線相容認證鬧鐘之設定至少包括一第一提醒時間,其中,該第一提醒時間係第I季的第J月的第K日;一第二提醒時間,其中,該第二提 醒時間係第L季的第M個月的第N個星期O,其中,I、J、K、L、M、N為自然數,且I<5、J<4、K<32、L<5、M<4、N<6、O={1,2,3,4,5,6,7}。 According to a wireless network device setting method and a wireless network device using the same according to a preferred embodiment of the present invention, the wireless network device is a Wireless Fidelity (WIFI) access base station (Access Point). The wireless compatible authentication access base station includes a plurality of sets of service identifiers. In another preferred embodiment, the wireless network device is a Wireless Fidelity (WIFI) alarm clock, wherein the wireless compatible authentication alarm clock is connected to the Internet through the WIFI to correct the time. In addition, in this embodiment, the setting of the wireless compatible authentication alarm clock includes at least a first reminding time, wherein the first reminding time is the Kth day of the Jth month of the first season; and the second reminding time, wherein, The second mention The wake-up time is the Nth week of the Mth month of the Lth season, where I, J, K, L, M, and N are natural numbers, and I<5, J<4, K<32, L< 5. M<4, N<6, O={1, 2, 3, 4, 5, 6, 7}.
依照本發明較佳實施例所述之無線網路裝置設定方法及使用其之無線網路裝置,上述設定用之服務識別碼係經過一編碼而成,此編碼包括將無線網路裝置的機器名稱、媒體存取控制位址(Media Access Control Address,MAC address)以及隨機密碼進行一編碼處理。在進一步實施例中,上述編碼處理包括:將隨機密碼、無線網路裝置的機器名稱以及無線網路裝置的媒體存取控制位址進行一字串合併處理以獲得一特定字串;以及將特定字串進行一擾亂處理以獲得設定用之服務識別碼。又,在更進一步的實施例中,上述編碼處理更包括:將上述擾亂處理之設定用之服務識別碼,以每N個位元作切割,將N個位元加入一錯誤確認編碼,以編碼為M個位元,使接收到M個位元的解碼端可以判斷是否符合一識別編碼規範。 According to a wireless network device setting method and a wireless network device using the same according to a preferred embodiment of the present invention, the service identification code for the setting is encoded, and the code includes a machine name of the wireless network device. The media access control address (MAC address) and the random password are encoded. In a further embodiment, the encoding process includes: performing a string concatenation process on the random password, the machine name of the wireless network device, and the media access control address of the wireless network device to obtain a specific string; and The string is subjected to a scrambling process to obtain a service identification code for setting. Moreover, in still further embodiments, the encoding process further includes: cutting the service identification code for setting the scrambling process by cutting every N bits, and adding N bits to an error confirmation code to encode For M bits, the decoding end that receives the M bits can determine whether it conforms to an identification coding specification.
本發明的精神在於提供一編碼後的服務識別碼(Service Set Identifier,SSID),使智慧型行動裝置的應用程式,可以藉由解碼的方式,取得無線網路裝置的機器資訊以及隨機密碼。因此,使用者便可以便利地直接登錄上述無線網路裝置,並進行其內部的設定。方便使用者使用此無線網路裝置。 The spirit of the present invention is to provide an encoded Service Set Identifier (SSID), which enables an application of a smart mobile device to obtain machine information and a random password of a wireless network device by means of decoding. Therefore, the user can conveniently log in directly to the above wireless network device and perform internal settings. It is convenient for users to use this wireless network device.
為讓本發明之上述和其他目的、特徵和 優點能更明顯易懂,下文特舉較佳實施例,並配合所附圖式,作詳細說明如下。 The above and other objects, features and features of the present invention are The advantages can be more clearly understood, and the preferred embodiments are described below in conjunction with the drawings and are described in detail below.
101‧‧‧桌上型電腦 101‧‧‧ desktop computer
102‧‧‧筆記型電腦 102‧‧‧Note Computer
103‧‧‧網路線 103‧‧‧Web route
104‧‧‧無線網路路由器 104‧‧‧Wireless Network Router
105‧‧‧平版電腦 105‧‧ lithograph
201‧‧‧無線相容認證天線 201‧‧‧Wireless compatible authentication antenna
202‧‧‧無線發射電路 202‧‧‧Wireless transmitting circuit
203‧‧‧控制電路 203‧‧‧Control circuit
204‧‧‧編碼電路 204‧‧‧Code Circuit
205‧‧‧智慧型手機 205‧‧‧Smart mobile phone
301‧‧‧編碼程序 301‧‧‧ coding procedure
302‧‧‧解碼程序 302‧‧‧Decoding program
50‧‧‧編碼程序電路 50‧‧‧ coding program circuit
501‧‧‧字串合併處理電路 501‧‧‧string merge processing circuit
502‧‧‧擾亂處理電路 502‧‧‧Disruption processing circuit
503‧‧‧識別規範映射處理電路 503‧‧‧ Identification specification mapping processing circuit
SEQ‧‧‧合併字串 SEQ ‧ ‧ merged string
504‧‧‧反識別規範映射處理 504‧‧‧Anti-identification specification mapping processing
505‧‧‧反擾亂處理 505‧‧‧Anti-disruption processing
SCO‧‧‧擾亂編碼 SCO‧‧‧scrambling coding
506‧‧‧判斷處理 506‧‧‧Judgement processing
S600~S606‧‧‧本發明較佳實施例的無線網路裝置之設定方法在無線網路裝置端的各步驟 S600~S606‧‧‧ The setting method of the wireless network device according to the preferred embodiment of the present invention is at each step of the wireless network device
S700~S706‧‧‧本發明較佳實施例的無線網路裝置之設定方法在行動通訊裝置端的各步驟 S700~S706‧‧‧ The setting method of the wireless network device according to the preferred embodiment of the present invention is at each step of the mobile communication device
第1圖繪示為先前技術之無線網路路由器的示意圖。 Figure 1 is a schematic diagram of a prior art wireless network router.
第2圖繪示為本發明一較佳實施例的無線網路裝置的示意圖。 FIG. 2 is a schematic diagram of a wireless network device according to a preferred embodiment of the present invention.
第3圖繪示為本發明一較佳實施例的無線網路裝置之設定用之服務識別碼的編解碼的示意圖。 FIG. 3 is a schematic diagram showing the encoding and decoding of a service identification code for setting a wireless network device according to a preferred embodiment of the present invention.
第4圖繪示為本發明一較佳實施例的無線網路時鐘的外觀示意圖。 FIG. 4 is a schematic diagram showing the appearance of a wireless network clock according to a preferred embodiment of the present invention.
第5圖繪示為本發明一較佳實施例的無線網路裝置之設定用之服務識別碼的詳細編解碼的示意圖。 FIG. 5 is a schematic diagram showing detailed codec of a service identification code for setting a wireless network device according to a preferred embodiment of the present invention.
第6圖繪示為本發明一較佳實施例的無線網路裝置之設定方法在無線網路裝置端的流程圖。 FIG. 6 is a flow chart showing a method for setting a wireless network device on a wireless network device side according to a preferred embodiment of the present invention.
第7圖繪示為本發明一較佳實施例的無線網路裝置之設定方法在行動通訊裝置端的流程圖。 FIG. 7 is a flow chart showing a method for setting a wireless network device on a mobile communication device according to a preferred embodiment of the present invention.
第2圖繪示為本發明一較佳實施例的無線網路裝置之示意圖。請參考第2圖,此無線網路裝置包括一無線相容認證(WIFI)天線201、一無線發射接收電 路202、一控制電路203以及一編碼電路204。無線相容認證天線201用以發射一無線電波。無線發射接收電路202耦接無線相容認證天線201,用以發射一無線訊號給該無線相容認證天線201,使無線相容認證天線201發射無線電波。控制電路203係用以提供無線網路裝置的機器資訊以及隨機密碼。編碼電路204係耦接於控制電路203以及無線發射接收電路202之間,接收機器資訊以及隨機密碼,將該機器資訊以及該隨機密碼編碼為一設定用之服務識別碼(Service Set Identifier,SSID)。為了讓所屬技術領域具有通常知識者瞭解本發明,在此實施例中,額外繪示了一智慧型手機205。 FIG. 2 is a schematic diagram of a wireless network device according to a preferred embodiment of the present invention. Referring to FIG. 2, the wireless network device includes a wireless compatible authentication (WIFI) antenna 201, and a wireless transmitting and receiving power. The circuit 202, a control circuit 203, and an encoding circuit 204. The wireless compatible authentication antenna 201 is used to transmit a radio wave. The wireless transmitting and receiving circuit 202 is coupled to the wireless compatible authentication antenna 201 for transmitting a wireless signal to the wireless compatible authentication antenna 201, so that the wireless compatible authentication antenna 201 transmits radio waves. The control circuit 203 is for providing machine information of the wireless network device and a random password. The encoding circuit 204 is coupled between the control circuit 203 and the wireless transmitting and receiving circuit 202, the receiver information and the random password, and encodes the machine information and the random password into a service set identifier (SSID) for setting. . In order to make the invention known to those of ordinary skill in the art, in this embodiment, a smart phone 205 is additionally illustrated.
第3圖繪示為本發明一較佳實施例的無線網路裝置之設定用之服務識別碼的編解碼的示意圖。請參考第2圖以及第3圖,在此實施例中,控制電路203提供的機器資訊例如是上述無線網路裝置的媒體存取控制(Media Access Control,MAC)位址以及機器名稱。另外,控制電路203亦提供了隨機密碼。經過編碼電路204進行編碼程序301之後,將上述隨機密碼、機器名稱以及媒體存取控制位址編碼成服務識別碼。一般使用者使用行動裝置所見到的上述服務識別碼將會是一組由字串所組成的亂碼。然而,購買此無線網路裝置的使用者,在其智慧型手機205安裝此無線網路裝置對應的一應用程式之後,上述應用程式會對上述服務識別碼進行解碼程序302,並且獲得機器名稱、上述隨機密碼以及媒體存取控制位址。並 且,依照上述媒體存取控制位址、機器名稱以及密碼,無線連接並登入上述無線網路裝置,如此,使用者便可以透過智慧型手機205進行無線網路裝置的設定。 FIG. 3 is a schematic diagram showing the encoding and decoding of a service identification code for setting a wireless network device according to a preferred embodiment of the present invention. Referring to FIG. 2 and FIG. 3, in this embodiment, the machine information provided by the control circuit 203 is, for example, a Media Access Control (MAC) address and a machine name of the wireless network device. In addition, the control circuit 203 also provides a random password. After the encoding circuit 301 performs the encoding process 301, the random password, the machine name, and the media access control address are encoded into a service identification code. The above service identifier seen by a typical user using a mobile device will be a set of garbled characters consisting of strings. However, after the user who purchases the wireless network device installs an application corresponding to the wireless network device in the smart phone 205, the application program performs the decoding process 302 on the service identifier, and obtains the machine name, The above random password and media access control address. and Moreover, the wireless network device is wirelessly connected and logged in according to the media access control address, the machine name and the password, so that the user can set the wireless network device through the smart phone 205.
一般來說,無線網路裝置可以例如是無線網路接取器(Wireless Internet Access Point),或是WIFI時鐘、WIFI喇叭等等。舉例來說,假設此無線網路裝置是無線網路接取器。在此實施例中,無線網路接取器具有至少兩組服務識別碼,第一組服務識別碼係用以連接網際網路使用,第二組服務識別碼則是用來進行無線網路接取器設定的服務識別碼,上述應用程式解碼上述第二組服務識別碼後,會獲得機器名稱『WIFI AP』、上述隨機密碼以及媒體存取控制位址。並且,上述應用程式會利用上述密碼登入該無線網路接取器。使用者便可以進行例如以太網路點對點協定(Point-to-Point Protocol over Ethernet)設定、動態主機設定協定(Dynamic Host Configuration Protocol,DHCP)、第一組服務識別碼名稱設定、WIFI密碼設定等等。由於這些設定係屬於所屬技術領域具有通常知識者所知悉,在此不予贅述。 In general, the wireless network device can be, for example, a Wireless Internet Access Point, or a WIFI clock, a WIFI speaker, or the like. For example, assume that the wireless network device is a wireless network accessor. In this embodiment, the wireless network accessor has at least two sets of service identification codes, the first set of service identification codes are used to connect to the Internet, and the second set of service identification codes are used for wireless network access. The service identifier set by the extractor, after the application decodes the second set of service identifiers, the machine name "WIFI AP", the random password, and the media access control address are obtained. Moreover, the above application will use the above password to log in to the wireless network access device. The user can perform, for example, Point-to-Point Protocol over Ethernet setting, Dynamic Host Configuration Protocol (DHCP), first set of service identifier name setting, WIFI password setting, and the like. . Since these settings are known to those of ordinary skill in the art, they are not described herein.
另外,在本實施例一較佳實施例中,假設此無線網路裝置為一個WIFI時鐘,如第4圖所示。第4圖繪示為本發明一較佳實施例的無線網路時鐘的外觀示意圖。上述智慧型手機205所安裝的應用程式進行上述的解碼之後,會獲得機器名稱『WIFI Clock』、上述隨機密碼以及由媒體存取控制位址所獲得的登入帳號(ID)。並且, 上述應用程式會利用上述密碼登入該無線網路時鐘。使用者便可以進行例如網路連接設定、時間區域設定、日期設置、鬧鐘設置、提醒設置、鈴聲設置等等。上述時間區域設定之後,WIFI時鐘例如可以透過網際網路,定時更新標準的時間與日期。而上述的提醒設置中,使用者例如可以透過應用程式設定WIFI時鐘的事件提醒時間,如『第I季的第J月的第K日』或『第L季的第M週的星期N』,同時,也可以設置提醒事件的名稱,如開會、聚餐以及約會等等。 In addition, in a preferred embodiment of the present embodiment, it is assumed that the wireless network device is a WIFI clock, as shown in FIG. FIG. 4 is a schematic diagram showing the appearance of a wireless network clock according to a preferred embodiment of the present invention. After the above-mentioned decoding is performed by the application installed on the smart phone 205, the machine name "WIFI Clock", the random password, and the login account number (ID) obtained by the media access control address are obtained. and, The above application will use the above password to log in to the wireless network clock. The user can perform, for example, network connection settings, time zone settings, date settings, alarm settings, reminder settings, ringtone settings, and the like. After the above time zone is set, the WIFI clock can periodically update the standard time and date through the Internet. In the above reminder setting, the user can set the event reminding time of the WIFI clock through the application, for example, "the Kth day of the Jth month of the first season" or "the week of the Mth week of the Lth season", At the same time, you can also set the name of the reminder event, such as meetings, dinners, and appointments.
第5圖繪示為本發明一較佳實施例的無線網路裝置之設定用之服務識別碼的詳細編解碼的示意圖。請參考第5圖,在此實施例中,編碼程序部分是以電路的方式實施。編碼程序電路50包括了字串合併處理電路501、擾亂(Scramble)處理電路502以及識別規範映射處理電路503。首先,機器名稱、隨機密碼、以及媒體存取控制位址會先被送到字串合併處理電路501進行字串合併處理,以獲得一合併字串SEQ,之後,合併字串SEQ被送進擾亂處理電路502,進行擾亂處理後,獲得一擾亂編碼SCO。此擾亂編碼SCO被送進識別規範映射處理電路503,進行識別規範映射處理。此識別規範映射處理的主要用意是在於,讓接收端(智慧型手機)能夠預先判斷是否為符合規範的編碼過後的服務識別碼,也就是在編碼中,加入一錯誤確認機制。 FIG. 5 is a schematic diagram showing detailed codec of a service identification code for setting a wireless network device according to a preferred embodiment of the present invention. Referring to FIG. 5, in this embodiment, the encoding program portion is implemented in a circuit manner. The encoding program circuit 50 includes a string merging processing circuit 501, a scramble processing circuit 502, and an identification specification mapping processing circuit 503. First, the machine name, the random password, and the media access control address are first sent to the string concatenation processing circuit 501 for string concatenation processing to obtain a merged string SEQ, after which the merged string SEQ is sent to disturb. The processing circuit 502 obtains a scrambling code SCO after performing the scrambling process. This scrambling code SCO is sent to the identification specification mapping processing circuit 503 to perform identification specification mapping processing. The main purpose of this identification specification mapping process is to enable the receiving end (smartphone) to pre-determine whether it is a coded service identification code that conforms to the specification, that is, to add an error confirmation mechanism in the encoding.
為了讓所屬技術領域具有通常知識者 能夠瞭解上述幾個處理,以下舉一個識別規範映射處理503的例子。首先,假設合併字串SEQ為美國訊息交換標準代碼(ASCII碼),且總共長度是27位元組(byte)。經過擾亂處理502後,擾亂編碼SCO仍為27bytes。識別規範映射處理503則用以將上述27bytes的擾亂編碼SCO編碼為32bytes。在此實施例中,擾亂編碼SCO共216個位元。每6個位元被編碼成8個位元。編碼的方式例如是前後補0。舉例來說,若6個位元為『011110』,此六個位元被編碼後會獲得『00111100』。 In order to have the usual knowledge of the technical field The above several processes can be understood, and an example of the identification specification mapping process 503 will be given below. First, assume that the merge string SEQ is the American Standard Code for Message Interchange (ASCII code) and the total length is 27 bytes. After the scrambling process 502, the scrambling code SCO is still 27 bytes. The identification specification mapping process 503 is used to encode the 27 bytes of the scrambling code SCO into 32 bytes. In this embodiment, the scrambling code SCO has a total of 216 bits. Every 6 bits are encoded into 8 bits. The encoding method is, for example, zero before and after. For example, if 6 bits are "011110", the six bits will be encoded to get "00111100".
智慧型手機205的應用程式在進行反擾亂與解碼處理505之前,會先進行反識別規範映射處理504。反識別規範映射處理504的作法就是,判斷所接收的八位元資料的值是否落在2~127之間。若接收到的八位元資料的值大於127或小於2,則表示所接收的數值並非經過上述識別規範映射處理503,智慧型手機205的應用程式便不予以解碼。若確認所接收到的數值落在2~127之間,上述服務識別碼會被進行反識別規範映射處理504。在此實施例中,會把每八個位元的頭與尾的0去除。服務識別碼經過反識別規範映射處理504後,便會獲得上述擾亂編碼SCO。擾亂編碼SCO再經過反擾亂與解碼處理505之後,便可以獲得機器名稱、隨機密碼以及媒體存取控制位址。 The application of the smart phone 205 performs the anti-identification specification mapping process 504 before performing the descrambling and decoding process 505. The method of the anti-identification specification mapping process 504 is to determine whether the value of the received octet data falls between 2 and 127. If the value of the received octet data is greater than 127 or less than 2, it indicates that the received value is not subjected to the above-described identification specification mapping process 503, and the application of the smart phone 205 is not decoded. If it is confirmed that the received value falls between 2 and 127, the service identification code is subjected to the inverse identification specification mapping process 504. In this embodiment, the head and tail zeros of every eight bits are removed. After the service identification code is subjected to the anti-identification specification mapping process 504, the above-described scrambling code SCO is obtained. After the scrambling code SCO is subjected to the anti-scrambling and decoding process 505, the machine name, random password, and media access control address can be obtained.
最後,判斷處理506是將解碼出來的媒體存取控制位址進行查找,判斷是否是公司生產的機器。 若經過判斷後,確定是公司生產的機器,則利用解碼出來的機器名稱、隨機密碼登入上述機器。之後,使用者便可透過此應用程式進行無線網路裝置的設置。 Finally, the judging process 506 searches for the decoded media access control address to determine whether it is a machine produced by the company. If it is determined that it is a machine produced by the company after the judgment, the machine name and random password are used to log in to the above machine. After that, the user can set up the wireless network device through the application.
上述實施例的識別規範映射處理雖然是以對六位元資料前後補0作舉例,然所屬技術領域具有通常知識者應當知道,前後補1,MSB補兩個0,LSB補兩個0或用其他方法將六位元編碼為八位元,都是可以實施的方式。故本發明不以此為限。 The identification specification mapping process of the above embodiment is an example of adding zeros to and after the six-bit data. However, those skilled in the art should know that the MSB complements two 0s, and the LSB complements two zeros or Other methods encode six-bits into octets, which are all implementable. Therefore, the invention is not limited thereto.
在上述實施例中的編碼程序電路50例如是以電路的方式實施,然所屬技術領域具有通常知識者應當知道,本發明的編碼程序部分並未限定以硬體方式實施,也可以透過軟體方式實施,故本發明不以此為限。 The encoding program circuit 50 in the above embodiment is implemented, for example, in a circuit manner, and those skilled in the art should know that the encoding program portion of the present invention is not limited to being implemented in a hardware manner, and may also be implemented in a software manner. Therefore, the invention is not limited thereto.
上述實施例的編碼程序中,字串合併處理之後,合併字串SEQ將進行擾亂處理以及識別規範映射處理,以增加字串長度以及確認機制,然所屬技術領域具有通常知識者應當知道,上述編碼程序也可使用錯誤訂正碼的編碼處理,同時接收端可以利用字碼當中的同位檢驗區塊來進行確認機制。故本發明不以此為限。 In the encoding procedure of the above embodiment, after the string merging process, the merging string SEQ will perform scrambling processing and identification specification mapping processing to increase the string length and the acknowledgment mechanism, and those skilled in the art should know that the above encoding The program can also use the encoding process of the error correction code, and the receiving end can use the parity check block in the code to perform the confirmation mechanism. Therefore, the invention is not limited thereto.
由上述幾個實施例,可以歸納成一無線網路裝置之設定方法。第6圖繪示為本發明一較佳實施例的無線網路裝置之設定方法在無線網路裝置端的流程圖。請參考第6圖,此無線網路裝置之設定方法包括下列步驟: The above several embodiments can be summarized into a setting method of a wireless network device. FIG. 6 is a flow chart showing a method for setting a wireless network device on a wireless network device side according to a preferred embodiment of the present invention. Please refer to Figure 6, the setting method of the wireless network device includes the following steps:
步驟S600:開始。 Step S600: Start.
步驟S601:由無線網路裝置,提供一設定用之服務識別碼。此設定用之服務識別碼係經過一編碼而成。上述步驟S601包括下列子步驟: Step S601: The wireless network device provides a service identification code for setting. The service identification code used for this setting is encoded. The above step S601 includes the following sub-steps:
步驟S602:提供機器資訊以及隨機密碼。在上述實施例中,機器資訊例如是機器名稱以及媒體存取控制位址。然而,所屬技術領域具有通常知識者可以理解,機器名稱以及媒體存取控制位址僅是一示範性舉例。在另一較佳實施例中,媒體存取控制位址亦可以用通用唯一識別碼(Universally Unique Identifier,UUID)取而代之。 Step S602: providing machine information and a random password. In the above embodiment, the machine information is, for example, a machine name and a media access control address. However, it will be understood by those of ordinary skill in the art that the machine name and media access control address are merely an exemplary example. In another preferred embodiment, the media access control address can also be replaced by a Universally Unique Identifier (UUID).
步驟S603:將上述機器資訊以及隨機密碼進行字串合併以獲得一特定字串SEQ。 Step S603: Combine the above machine information and the random password into a string to obtain a specific string SEQ.
步驟S604:將特定字串SEQ進行一擾亂處理以獲得一擾亂編碼SCO。 Step S604: Perform a scrambling process on the specific string SEQ to obtain a scrambling code SCO.
步驟S605:將擾亂編碼SCO進行一識別規範映射處理,以獲得上述設定用之服務識別碼。 Step S605: Perform a recognition specification mapping process on the scrambling code SCO to obtain the service identification code for setting.
步驟S606:結束。 Step S606: End.
第7圖繪示為本發明一較佳實施例的無線網路裝置之設定方法在行動通訊裝置端的流程圖。請參考第7圖,此方法包括下列步驟: FIG. 7 is a flow chart showing a method for setting a wireless network device on a mobile communication device according to a preferred embodiment of the present invention. Please refer to Figure 7, this method includes the following steps:
步驟S700:開始 Step S700: start
步驟S701:提供具有無線網路功能之行動裝置使用之特定應用程式。 Step S701: Providing a specific application used by the mobile device having the wireless network function.
步驟S702:解碼該設定用之服務識別 碼,獲取該設定用之服務識別碼內加密之一隨機密碼與該無線網路裝置的一機器資訊。 Step S702: Decoding the service identification for the setting And obtaining a random password in the service identifier for the setting and a machine information of the wireless network device.
步驟S703:透過該特定應用程式,登入無線網路裝置,以進行無線網路裝置之設定。 Step S703: Log in to the wireless network device through the specific application to perform setting of the wireless network device.
又,上述步驟S702包括下列步驟: Moreover, the above step S702 includes the following steps:
步驟S704:對所接收的服務識別碼進行反識別規範映射處理504。其中,進行反識別規範映射處理504前,會先判斷上述服務識別碼的每八個位元的值是否落在2~127之間。若判斷為是,才進行反識別規範映射處理504,以獲得擾亂編碼SCO。 Step S704: Perform a reverse identification specification mapping process 504 on the received service identification code. Before performing the inverse identification specification mapping process 504, it is first determined whether the value of each of the eight bits of the service identification code falls between 2 and 127. If the determination is yes, the inverse identification specification mapping process 504 is performed to obtain the scrambling code SCO.
步驟S705:對擾亂編碼SCO進行反擾亂與解碼處理505,獲得隨機密碼、機器名稱以及媒體存取控制位址。 Step S705: Perform anti-scrambling and decoding processing 505 on the scrambling coded SCO to obtain a random password, a machine name, and a media access control address.
步驟S706:判斷上述媒體存取控制位址是否符合規範。若判斷為否,則停止操作。若判斷為是則繼續步驟S703。 Step S706: Determine whether the media access control address meets the specification. If the judgment is no, the operation is stopped. If the determination is yes, the process proceeds to step S703.
綜上所述,本發明的精神在於提供一編碼後的服務識別碼(Service Set Identifier,SSID),使智慧型行動裝置的應用程式,可以藉由解碼的方式,取得無線網路裝置的機器資訊以及隨機密碼。因此,使用者便可以便利地直接登錄上述無線網路裝置,並進行其內部的設定。方便使用者使用此無線網路裝置。 In summary, the spirit of the present invention is to provide an encoded Service Set Identifier (SSID), which enables an application of a smart mobile device to obtain machine information of a wireless network device by decoding. And a random password. Therefore, the user can conveniently log in directly to the above wireless network device and perform internal settings. It is convenient for users to use this wireless network device.
在較佳實施例之詳細說明中所提出之具體實施例僅用以方便說明本發明之技術內容,而非將本 發明狹義地限制於上述實施例,在不超出本發明之精神及以下申請專利範圍之情況,所做之種種變化實施,皆屬於本發明之範圍。因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 The specific embodiments set forth in the detailed description of the preferred embodiments are merely used to illustrate the technical content of the present invention, rather than The invention is not limited to the above-described embodiments, and various changes and modifications may be made without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims.
301‧‧‧編碼程序 301‧‧‧ coding procedure
302‧‧‧解碼程序 302‧‧‧Decoding program
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103124734A TWI548299B (en) | 2014-07-18 | 2014-07-18 | Method for setting wireless network device and wireless network device using the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103124734A TWI548299B (en) | 2014-07-18 | 2014-07-18 | Method for setting wireless network device and wireless network device using the same |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201605281A TW201605281A (en) | 2016-02-01 |
TWI548299B true TWI548299B (en) | 2016-09-01 |
Family
ID=55809770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW103124734A TWI548299B (en) | 2014-07-18 | 2014-07-18 | Method for setting wireless network device and wireless network device using the same |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI548299B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203338014U (en) * | 2013-02-27 | 2013-12-11 | 东莞市洲进钟表有限公司 | Automatic time correction electronic clock |
US20140029512A1 (en) * | 2012-07-26 | 2014-01-30 | Stmicroelectronics, Inc. | Single-ssid and dual-ssid enhancements |
CN102404725B (en) * | 2011-11-08 | 2014-07-09 | 复旦大学 | Method for safely building WiFi connection by SSID in application program |
-
2014
- 2014-07-18 TW TW103124734A patent/TWI548299B/en not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102404725B (en) * | 2011-11-08 | 2014-07-09 | 复旦大学 | Method for safely building WiFi connection by SSID in application program |
US20140029512A1 (en) * | 2012-07-26 | 2014-01-30 | Stmicroelectronics, Inc. | Single-ssid and dual-ssid enhancements |
CN203338014U (en) * | 2013-02-27 | 2013-12-11 | 东莞市洲进钟表有限公司 | Automatic time correction electronic clock |
Also Published As
Publication number | Publication date |
---|---|
TW201605281A (en) | 2016-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9456345B2 (en) | Device authentication techniques | |
US10701524B2 (en) | Multicast transmission method, information extraction method and corresponding terminal and device | |
TWI241103B (en) | Enhanced message security | |
CN110753330B (en) | Bluetooth pairing method and Bluetooth headset | |
US8135333B2 (en) | Distributing a broadband resource locator over a narrowband audio stream | |
JP2006504362A (en) | Secure communication | |
WO2020233033A1 (en) | Information interaction method, device and storage medium | |
KR20160083128A (en) | Method and system for encrypted communications | |
US10135618B2 (en) | Method for using dynamic Public Key Infrastructure to send and receive encrypted messages between software applications | |
CN107196732B (en) | Anti-eavesdrop coding method based on fountain codes coding | |
CN108737104A (en) | Electronic device for Verification System | |
CN102710420A (en) | Method, system and device for setting password | |
ATE406028T1 (en) | COMPACT EXTENSABLE AUTHENTICATION PROTOCOL PASSWORD PREPROCESSING | |
EP3348030B1 (en) | Methods and systems for transmission of arbitrary data via bluetooth hfp audio connections with low latency | |
CN113111341B (en) | Account sharing and logging method and device | |
US9654455B2 (en) | Communication system, communication device, key management apparatus, and communication method | |
KR102028151B1 (en) | Encryption method and system using authorization key of device | |
WO2017133232A1 (en) | Data transmission method, terminal, and data transmission system | |
CN104869570A (en) | Speaking terminal confirmation method based on language channel | |
CN105101203A (en) | Method and device for processing information of wireless local area network | |
CN101221606A (en) | Mobile memory device and its authentication method | |
TWI548299B (en) | Method for setting wireless network device and wireless network device using the same | |
TWI811544B (en) | Wireless input device and data transmission method thereof | |
WO2013182079A1 (en) | Short message transcoding method and device | |
JP4928185B2 (en) | Digital mobile communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |