KR20220084533A - Access point providing wifi and method for operating thereof - Google Patents

Access point providing wifi and method for operating thereof Download PDF

Info

Publication number
KR20220084533A
KR20220084533A KR1020200174097A KR20200174097A KR20220084533A KR 20220084533 A KR20220084533 A KR 20220084533A KR 1020200174097 A KR1020200174097 A KR 1020200174097A KR 20200174097 A KR20200174097 A KR 20200174097A KR 20220084533 A KR20220084533 A KR 20220084533A
Authority
KR
South Korea
Prior art keywords
electronic device
access point
code
information
connection
Prior art date
Application number
KR1020200174097A
Other languages
Korean (ko)
Inventor
강유진
허진영
Original Assignee
주식회사 지엔이테크놀로지
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 주식회사 지엔이테크놀로지 filed Critical 주식회사 지엔이테크놀로지
Priority to KR1020200174097A priority Critical patent/KR20220084533A/en
Publication of KR20220084533A publication Critical patent/KR20220084533A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/069Authentication using certificates or pre-shared keys
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/068Authentication using credential vaults, e.g. password manager applications or one time password [OTP] applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/60Subscription-based services using application servers or record carriers, e.g. SIM application toolkits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • H04W88/10Access point devices adapted for operation in multiple networks, e.g. multi-mode access points

Landscapes

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

Abstract

일 실시예에 따라서, 와이파이를 제공하는 억세스 포인트는, 전자 장치와 데이터를 송수신하는 제 1 통신 회로, 접속 정보를 생성하기 위한 와이 파이 접속 어플리케이션을 저장하는 메모리, 및 프로세서를 포함하고, 상기 프로세서는, 상기 제 1 통신 회로를 통하여, 상기 전자 장치로부터 제 1 접속 정보를 수신하고, 상기 와이 파이 접속 어플리케이션을 실행하고, 상기 와이 파이 접속 어플리케이션을 통하여 제 2 접속 정보를 생성하고, 상기 제 1 접속 정보 및 상기 제 2 접속 정보를 비교하고, 상기 비교 결과에 기반하여 상기 전자 장치와의 와이 파이 연결의 형성 여부를 결정하도록 설정될 수 있다.According to an embodiment, an access point providing Wi-Fi includes a first communication circuit for transmitting and receiving data with an electronic device, a memory for storing a Wi-Fi connection application for generating access information, and a processor, the processor comprising: , receives first connection information from the electronic device through the first communication circuit, executes the Wi-Fi connection application, generates second connection information through the Wi-Fi connection application, and the first connection information and comparing the second connection information, and determining whether to establish a Wi-Fi connection with the electronic device based on a result of the comparison.

Description

와이파이를 제공하는 억세스 포인트 및 그 동작 방법{ACCESS POINT PROVIDING WIFI AND METHOD FOR OPERATING THEREOF}ACCESS POINT PROVIDING WIFI AND METHOD FOR OPERATING THEREOF

다양한 실시예는 와이파이를 제공하는 억세스 포인트 및 그 동작 방법에 관한 것으로, 더욱 상세하게는 보안 접속이 가능한 와이파이를 제공하는 억세스 포인트 및 그 동작 방법에 관한 것이다.Various embodiments relate to an access point providing Wi-Fi and an operating method thereof, and more particularly, to an access point providing Wi-Fi capable of secure connection and an operating method thereof.

근자에 들어서, 스마트 폰, 태블릿 PC, 또는 랩탑과 같은 이동 장치(portable device)가 다양한 생활 환경에서 와이파이를 제공하는 억세스 포인트에 접속할 수 있다. 예를 들어, 사용자는 매장 환경에서, 와이파이를 제공하는 억세스 포인트에 접속하도록 전자 장치를 조작할 수 있다. 예를 들어, 매장 종업원은, 매장 내의 일부에 비밀번호를 인쇄한 종이를 부착시키거나, 또는 영수증 등에 비밀번호를 함께 인쇄하여 고객에게 비밀번호를 알릴 수 있다.In recent years, a portable device such as a smart phone, a tablet PC, or a laptop may access an access point providing Wi-Fi in various living environments. For example, the user may operate the electronic device to access an access point providing Wi-Fi in a store environment. For example, a store employee may notify the customer of the password by attaching a piece of paper on which the password is printed, or by printing the password together on a receipt or the like.

고객은, 인지한 비밀번호를 확인하여, 이를 와이파이 비밀번호 입력란에 입력할 수 있다. 사용자 입력을 수신한 전자 장치는, 비밀번호를 억세스 포인트로 송신할 수 있다. 억세스 포인트는 수신한 비밀번호를 인증하고, 인증 결과에 기반하여 전자 장치의 접속 허용 여부를 결정할 수 있다.The customer can check the recognized password and input it in the Wi-Fi password input field. Upon receiving the user input, the electronic device may transmit the password to the access point. The access point may authenticate the received password, and determine whether to allow access of the electronic device based on the authentication result.

종래의 방식에 따른 경우, 억세스 포인트의 비밀번호가 공중에 노출될 수 있으며, 이에 따라 직접 매장을 이용하지 않은 사용자에 의한 억세스 포인트로의 접근을 차단할 수 없다. 또한, 비밀번호가 노출됨에 따라서 보안 접속이 어려운 문제점이 발생한다. 아울러, 비밀번호가 노출되지 않는 경우에도 근자의 다양한 보안 접속 해킹 알고리즘에 의하여 와이파이의 보안 접속의 중요성이 대두되고 있다.According to the conventional method, the password of the access point may be exposed to the public, and accordingly, it is impossible to block access to the access point by a user who does not directly use the store. In addition, as the password is exposed, there is a problem in that secure access is difficult. In addition, even when the password is not exposed, the importance of secure access to Wi-Fi is emerging due to various recent secure access hacking algorithms.

다양한 실시예에 따른 억세스 포인트 및 그 동작 방법은, 사용자가 직접 비밀번호를 입력하는 방식이 아닌 접속 정보 자동 생성 방식에 기반하여 연결을 제공할 수 있다.The access point and its operating method according to various embodiments may provide a connection based on a method of automatically generating access information rather than a method in which a user directly inputs a password.

다양한 실시예에 따른 와이파이를 제공하는 억세스 포인트는, 전자 장치와 데이터를 송수신하는 제 1 통신 회로, 접속 정보를 생성하기 위한 와이 파이 접속 어플리케이션을 저장하는 메모리, 및 프로세서를 포함하고, 상기 프로세서는, 상기 제 1 통신 회로를 통하여, 상기 전자 장치로부터 제 1 접속 정보를 수신하고, 상기 와이 파이 접속 어플리케이션을 실행하고, 상기 와이 파이 접속 어플리케이션을 통하여 제 2 접속 정보를 생성하고, 상기 제 1 접속 정보 및 상기 제 2 접속 정보를 비교하고, 상기 비교 결과에 기반하여 상기 전자 장치와의 와이 파이 연결의 형성 여부를 결정하도록 설정될 수 있다.An access point providing Wi-Fi according to various embodiments includes a first communication circuit for transmitting and receiving data with an electronic device, a memory for storing a Wi-Fi connection application for generating access information, and a processor, the processor comprising: Receives first connection information from the electronic device through the first communication circuit, executes the Wi-Fi connection application, generates second connection information through the Wi-Fi connection application, the first connection information and It may be configured to compare the second connection information and determine whether to establish a Wi-Fi connection with the electronic device based on a result of the comparison.

다양한 실시예에 따른 와이파이를 제공하는 억세스 포인트의 동작 방법은, 상기 억세스 포인트의 제 1 통신 회로를 통하여, 전자 장치로부터 제 1 접속 정보를 수신하는 동작, 상기 와이 파이 접속 어플리케이션을 실행하는 동작, 접속 정보를 생성하기 위한 와이 파이 접속 어플리케이션을 통하여 제 2 접속 정보를 생성하는 동작, 상기 제 1 접속 정보 및 상기 제 2 접속 정보를 비교하는 동작, 및 상기 비교 결과에 기반하여 상기 전자 장치와의 와이 파이 연결의 형성 여부를 결정하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, a method of operating an access point providing Wi-Fi includes receiving first access information from an electronic device through a first communication circuit of the access point, executing the Wi-Fi connection application, and connecting An operation of generating second connection information through a Wi-Fi connection application for generating information, an operation of comparing the first connection information and the second connection information, and a Wi-Fi connection with the electronic device based on the comparison result It may include an operation of determining whether to form a connection.

다양한 실시예에 따라서, 사용자가 직접 비밀번호를 입력하는 방식이 아닌 접속 정보 자동 생성 방식에 기반하여 연결을 제공할 수 있는 억세스 포인트 및 그 동작 방법이 제공될 수 있다. 이에 따라 보안이 증대된 와이파이 접속이 가능할 수 있다.According to various embodiments, an access point capable of providing a connection and an operating method thereof may be provided based on an automatic generation method of access information rather than a method in which a user directly inputs a password. Accordingly, a Wi-Fi connection with increased security may be possible.

도 1은 다양한 실시예에 따른 전자 장치, 억세스 포인트, 및 인증 서버의 블록도이다.
도 2a 및 2b는 본 발명의 실시예와의 비교를 위한 비교예를 설명하기 위한 도면들이다.
도 3은 다양한 실시예에 따른 전자 장치, 및 억세스 포인트의 동작을 설명하기 위한 흐름도를 도시한다.
도 4는 다양한 실시예에 따른 와이파이 접속 기능 제공 어플리케이션의 실행 화면들이다.
도 5는 다양한 실시예에 따른 디지털 사이니지(digital signage)를 설명하기 위한 도면이다.
도 6은 다양한 실시예에 따른 디지털 사이니지를 설명하기 위한 도면이다.
도 7은 다양한 실시예에 따른 전자 장치 및 억세스 포인트의 블록도를 도시한다.
도 8은 다양한 실시예에 따른 전자 장치 및 억세스 포인트의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 9는 다양한 실시예에 따른 어플리케이션 실행 여부를 문의하는 화면이다.
도 10은 다양한 실시예에 따른 와이 파이 연결을 제공하는 억세스 포인트의 관리를 설명하기 위한 도면이다.
도 11은 다양한 실시예에 따른 실시간 접속 정보를 확인할 수 있는 화면을 도시한다.
도 12는 본 발명의 다양한 실시예에 따른 유일 코드 생성 방법을 설명하기 위한 흐름도를 도시한다.
도 13은 본 발명의 다양한 실시예에 따른 코드 생성 방법을 설명하기 위한 흐름도를 도시한다.
도 14는 본 발명의 다양한 실시예에 따른 코드 생성 방법을 설명하기 위한 흐름도를 도시한다.
도 15는 본 발명의 다양한 실시예에 따른 오프셋 결정 과정을 설명하기 위한 흐름도를 도시한다.
도 16은 본 발명의 다양한 실시예에 따른 문자 세트 결정 방법의 흐름도를 도시한다.
도 17은 본 발명의 다양한 실시예에 따른 문자 세트 결정 방법의 흐름도를 도시한다.
1 is a block diagram of an electronic device, an access point, and an authentication server according to various embodiments of the present disclosure;
2A and 2B are diagrams for explaining a comparative example for comparison with an embodiment of the present invention.
3 is a flowchart illustrating an operation of an electronic device and an access point according to various embodiments of the present disclosure;
4 is an execution screen of an application for providing a Wi-Fi connection function according to various embodiments of the present disclosure.
5 is a diagram for explaining digital signage according to various embodiments of the present disclosure;
6 is a diagram for describing digital signage according to various embodiments of the present disclosure;
7 is a block diagram of an electronic device and an access point according to various embodiments of the present disclosure;
8 is a flowchart illustrating a method of operating an electronic device and an access point according to various embodiments of the present disclosure;
9 is a screen for inquiring whether to execute an application according to various embodiments of the present disclosure.
10 is a diagram for describing management of an access point providing a Wi-Fi connection according to various embodiments of the present disclosure;
11 illustrates a screen for checking real-time access information according to various embodiments of the present disclosure.
12 is a flowchart illustrating a method of generating a unique code according to various embodiments of the present invention.
13 is a flowchart illustrating a code generation method according to various embodiments of the present invention.
14 is a flowchart illustrating a code generation method according to various embodiments of the present invention.
15 is a flowchart illustrating an offset determination process according to various embodiments of the present invention.
16 is a flowchart of a method for determining a character set according to various embodiments of the present disclosure;
17 is a flowchart of a method for determining a character set according to various embodiments of the present disclosure;

이하, 첨부된 도면들에 기재된 내용들을 참조하여 본 발명에 따른 예시적 실시예를 상세하게 설명한다. 다만, 본 발명이 예시적 실시예들에 의해 제한되거나 한정되는 것은 아니다. 각 도면에 제시된 동일한 참조부호는 실질적으로 동일한 기능을 수행하는 부재를 나타낸다.Hereinafter, exemplary embodiments according to the present invention will be described in detail with reference to the contents described in the accompanying drawings. However, the present invention is not limited or limited by the exemplary embodiments. The same reference numerals provided in the respective drawings indicate members that perform substantially the same functions.

도 1은 다양한 실시예에 따른 전자 장치, 억세스 포인트, 및 인증 서버의 블록도이다.1 is a block diagram of an electronic device, an access point, and an authentication server according to various embodiments of the present disclosure;

도 1을 참조하면, 다양한 실시예에 따른 전자 장치(101)는 프로세서(120), 메모리(130), 디스플레이(180) 및 통신 회로(190)를 포함할 수 있다. 억세스 포인트(150)는 통신 회로(151), 프로세서(152), 및 메모리(153)를 포함할 수 있다.Referring to FIG. 1 , an electronic device 101 according to various embodiments may include a processor 120 , a memory 130 , a display 180 , and a communication circuit 190 . The access point 150 may include a communication circuit 151 , a processor 152 , and a memory 153 .

다양한 실시예에 따라서, 프로세서(120) 및/또는 프로세서(152)는, CPU, 제어를 위한 제어프로그램이 저장된 롬(ROM) 및 외부로부터 입력되는 신호 또는 데이터를 기억하거나, 전자 장치(101) 및/또는 억세스 포인트(150)에서 수행되는 작업을 위한 기억영역으로 사용되는 램(RAM) 중 적어도 하나를 포함할 수 있다. CPU는 싱글 코어, 듀얼 코어, 트리플 코어, 또는 쿼드 코어를 포함할 수 있다. CPU, 롬 및 램은 내부버스(bus)를 통해 상호 연결될 수 있다. According to various embodiments, the processor 120 and/or the processor 152 stores a CPU, a ROM in which a control program for control is stored, and signals or data input from the outside, or the electronic device 101 and /or it may include at least one of RAM used as a storage area for a task performed by the access point 150 . The CPU may include single core, dual core, triple core, or quad core. The CPU, ROM and RAM may be interconnected through an internal bus.

다양한 실시예에 따라서, 메모리(130) 및/또는 메모리(153)는 상기의 롬 및 램을 모두 포함할 수 있으며, 더욱 상세하게 후술할 인증 정보를 생성하기 위한 프로그램 또는 알고리즘, 씨드, 고유 코드 등의 정보를 저장할 수 있다. 메모리(130) 및/또는 메모리(153)는 휘발성 메모리 또는 비휘발성 메모리 중 적어도 하나로 구현될 수 있으며, 그 구현 형태에는 제한이 없다.According to various embodiments, the memory 130 and/or the memory 153 may include both the ROM and the RAM, and a program or algorithm for generating authentication information, which will be described in more detail later, a seed, a unique code, etc. information can be stored. The memory 130 and/or the memory 153 may be implemented as at least one of a volatile memory and a non-volatile memory, and there is no limitation in the implementation form.

다양한 실시예에 따라서, 통신 회로(190) 및/또는 통신 회로(151)는 와이파이 통신을 통하여 데이터를 송수신할 수 있다. 통신 회로(190) 및/또는 통신 회로(151)는, 예를 들어 와이 파이 모듈로 구현될 수 있다. 와이파이 통신은, 2.4 기가헤르츠 (12센티미터) UHF 및 5 기가헤르츠 (6센티미터) SHF ISM 무선 대역에 기반한 통신으로, IEEE 802.11 표준에 의거한 통신 일체를 의미할 수 있다. IEEE 802.11 표준은 2.4, 3.6, 5, 60 GHz 주파수 대역에서 무선 근거리 통신망(WLAN) 컴퓨터 통신을 구현하기 위한 매체 접근 제어(MAC)과 물리 계층(PHY) 사양의 집합이다. 이들은 전기 전자 기술자 협회(IEEE) LAN/MAN 표준 위원회(IEEE 802)에 의해 생성, 관리되고 있다. 전자 장치(101)는, 통신 회로(190)를 통하여 억세스 포인트(150)의 통신 회로(151)와 데이터를 송수신할 수 있다. 전자 장치(101)는, 억세스 포인트(150)를 통하여 인터넷에 접속할 수 있다.According to various embodiments, the communication circuit 190 and/or the communication circuit 151 may transmit/receive data through Wi-Fi communication. The communication circuit 190 and/or the communication circuit 151 may be implemented as, for example, a Wi-Fi module. Wi-Fi communication is communication based on 2.4 gigahertz (12 centimeters) UHF and 5 gigahertz (6 centimeters) SHF ISM radio bands, and may refer to all communications based on IEEE 802.11 standards. The IEEE 802.11 standard is a set of medium access control (MAC) and physical layer (PHY) specifications for implementing wireless local area network (WLAN) computer communication in the 2.4, 3.6, 5, and 60 GHz frequency bands. They are created and maintained by the Institute of Electrical and Electronic Engineers (IEEE) LAN/MAN Standards Committee (IEEE 802). The electronic device 101 may transmit/receive data to and from the communication circuit 151 of the access point 150 through the communication circuit 190 . The electronic device 101 may access the Internet through the access point 150 .

억세스 포인트(150)는, WPA(Wi-Fi Protected Access)(또는, WPA2, 이하 WPA로 통칭함)에 기반하여 전자 장치(101)의 접속 허용 여부를 결정할 수 있다. WPA는, 와이파이 얼라이언스의 감시 하에 수행하는 인증 프로그램으로, 와이파이 얼라이언스가 책정한 보안 프로토콜 네트워크 장비가 준수하고 있음을 나타내는 보안 프로토콜이다. WPA는 TKIP 또는 AES 기반의 CCMP에 기반하여 보안 접속 기능을 제공할 수 있다. 예를 들어, 억세스 포인트(150)는, 전자 장치(101)의 통신 회로(190)를 통하여 접속 정보를 수신할 수 있으며, 이에 대한 인증 요청을 인증 서버(160)로 송신할 수 있다. 구현에 따라서, 억세스 포인트(150)가 직접 인증 절차를 수행할 수도 있다. 예를 들어, 메모리(153)에는 인증을 위한 인증 프로그램(또는, 알고리즘)이 저장될 수도 있으며, 전자 장치(101)로부터 수신한 접속 정보에 기반하여 전자 장치(101)의 접속 허용 여부를 결정할 수도 있다.The access point 150 may determine whether to allow the access of the electronic device 101 based on Wi-Fi Protected Access (WPA) (or WPA2, hereinafter referred to as WPA). WPA is an authentication program performed under the supervision of the Wi-Fi Alliance, and is a security protocol that indicates that the network equipment complies with the security protocol established by the Wi-Fi Alliance. WPA can provide a secure access function based on TKIP or AES-based CCMP. For example, the access point 150 may receive access information through the communication circuit 190 of the electronic device 101 , and transmit an authentication request therefor to the authentication server 160 . Depending on the implementation, the access point 150 may directly perform the authentication procedure. For example, an authentication program (or algorithm) for authentication may be stored in the memory 153 , and whether to allow access to the electronic device 101 may be determined based on access information received from the electronic device 101 . have.

다양한 실시예에 따라서, 디스플레이(180)는, 전자 장치(101)에서 실행되는 어플리케이션의 실행 화면, 또는 시스템 기능(예: 와이파이, 블루투스, GPS 등)을 제어하기 위한 윈도우를 표시할 수 있다. 도시되지는 않았지만, 전자 장치(101)는 사용자 입력을 수신하기 위한 입력 장치를 더 포함하거나, 또는 입력 장치에 연결될 있다. 예를 들어, 전자 장치(101)가 스마트 폰, 또는 태블릿과 같은 모바일 장치로 구현되는 경우, 전자 장치(101)는 TSP(touch screen panel)을 포함할 수 있다. 디스플레이(180) 및 TSP를 터치스크린으로 통칭할 수도 있다. 예를 들어, 전자 장치(101)가 데스크 탑 PC로 구현되는 경우, 전자 장치(101)는 키보드와 같은 입력 장치로 유선 또는 무선으로 연결될 수 있다.According to various embodiments, the display 180 may display an execution screen of an application executed in the electronic device 101 or a window for controlling a system function (eg, Wi-Fi, Bluetooth, GPS, etc.). Although not shown, the electronic device 101 may further include or be connected to an input device for receiving a user input. For example, when the electronic device 101 is implemented as a mobile device such as a smart phone or a tablet, the electronic device 101 may include a touch screen panel (TSP). The display 180 and the TSP may be collectively referred to as a touch screen. For example, when the electronic device 101 is implemented as a desktop PC, the electronic device 101 may be connected to an input device such as a keyboard by wire or wirelessly.

도 2a 및 2b는 본 발명의 실시예와의 비교를 위한 비교예를 설명하기 위한 도면들이다.2A and 2B are diagrams for explaining a comparative example for comparison with an embodiment of the present invention.

도 2a를 참조하면, 전자 장치(101)는 디스플레이(180) 상에 와이 파이 제어 화면을 표시할 수 있다. 와이 파이 제어 화면은, 현재 접속 중인 억세스 포인트에 대한 정보(201)와, 접속 가능한 억세스 포인트에 대한 정보(202,203)를 포함할 수 있다. 접속 가능한 억세스 포인트(예: DEF 억세스 포인트, GHI 억세스 포인트)에 비밀번호가 설정된 경우, 전자 장치(101)는 비밀번호가 설정되었음을 나타내는 그래픽 오브젝트를 표시할 수 있다. 접속 가능한 억세스 포인트에 대한 정보(203)가 선택될 수 있다. 억세스 포인트(150)는, 전자 장치(101)와 같은 서비스 요청 장치의 접속을 허용하기 위하여 접속 정보(예: 비밀번호)를 설정할 수도 있다. 접속 정보가 설정된 경우, 전자 장치(101)는 초기 억세스 포인트(150)의 접속을 위하여 정확한 접속 정보를 입력받아 억세스 포인트(150)로 전달할 수 있다. 전자 장치(101)는, 도 2b에서와 같이, 선택된 억세스 포인트(예: GHI 억세스 포인트)와 연관된 윈도우(210)를 표시할 수 있다. 윈도우(210)는 비밀 번호를 입력할 수 있는 공간(211), 취소 버튼(212), 및 연결 버튼(213)을 포함할 수 있다. 도시되지는 않았지만, 전자 장치(101)는, 윈도우(210)와 함께 비밀 번호를 입력하기 위한 SIP(예: 키보드 또는 키패드)를 더 표시할 수도 있다. 비밀번호가 입력된 이후, 연결 버튼(213)의 선택이 검출되면, 전자 장치(101)는 비밀번호를 포함하는 접속 정보(220)를 억세스 포인트(150)로 송신할 수 있다. 억세스 포인트(150)는 수신한 접속 정보(220)에 기반하여 전자 장치(101)를 인증할 수 있으며, 인증 결과에 기반하여 전자 장치(101)의 접속 허용 여부를 결정할 수 있다.Referring to FIG. 2A , the electronic device 101 may display a Wi-Fi control screen on the display 180 . The Wi-Fi control screen may include information 201 on an access point currently being accessed and information 202 and 203 on access points that can be accessed. When a password is set in an accessible access point (eg, a DEF access point or a GHI access point), the electronic device 101 may display a graphic object indicating that the password has been set. Information 203 about a connectable access point may be selected. The access point 150 may set access information (eg, a password) to allow access of a service requesting device such as the electronic device 101 . When access information is set, the electronic device 101 may receive accurate access information to initially access the access point 150 and transmit it to the access point 150 . As shown in FIG. 2B , the electronic device 101 may display a window 210 associated with the selected access point (eg, a GHI access point). The window 210 may include a space 211 for entering a password, a cancel button 212 , and a connection button 213 . Although not shown, the electronic device 101 may further display a SIP (eg, keyboard or keypad) for inputting a password together with the window 210 . After the password is input, if selection of the connection button 213 is detected, the electronic device 101 may transmit access information 220 including the password to the access point 150 . The access point 150 may authenticate the electronic device 101 based on the received access information 220 , and may determine whether to allow the access of the electronic device 101 based on the authentication result.

비교예에서, 전자 장치(101)의 사용자는 억세스 포인트(150)에 설정된 비밀번호를 확인하여 도 2b에서의 비밀번호를 입력할 수 있는 공간(211)에 직접 비밀번호를 입력하여야 한다. 예를 들어, 가정 환경에서는, 전자 장치(101)의 사용자는 억세스 포인트(150)의 하드웨어에 부착된 비밀번호를 확인하여 비밀번호를 입력하여야 한다. 예를 들어, 매장 환경에서는, 사용자는 매장 내에서 제공되는 비밀번호, 또는 점원에 의하여 제공되는 비밀번호를 확인하여, 비밀번호를 입력하여야 한다. 하지만, 비밀번호는 사용자 이외의 인원에도 노출될 수 있으며, 예를 들어 매장을 방문하지 않거나 또는 매장에서 상품을 구매하지 않은 인원들도 제한없이 와이파이를 이용할 수도 있다. 비밀번호 노출에 의하여 보안접속이 불가능할 수 있으며, 예를 들어 가정 환경에서 홈 네트워크가 구비된 경우 문제가 발생될 수 있다. 홈 네트워크에서, 억세스 포인트가 게이트웨이로 동작하는 경우, 게이트웨이에 접속되는 IoT 장치(예: 가스 밸브, 전자레인지)가 억세스 포인트 접속에 의하여 제어될 수 있다. 이에 따라, 비밀번호가 노출되지 않는다 하더라도, 보안 접속이 담보되지 않을 수도 있다. 예를 들어, WPS는 공격자가 라우터의 암호를 알아낼 수 있게 하는 결함이 존재할 수 있으며, 암호를 해킹할 수 있는 다양한 해킹 방법들이 존재한다. 상술한 바에 따라서, 비교예에서 보장되지 않은 억세스 포인트의 보안 접속이 요청된다.In the comparative example, the user of the electronic device 101 must check the password set in the access point 150 and directly input the password into the space 211 where the password can be input in FIG. 2B . For example, in a home environment, the user of the electronic device 101 must check the password attached to the hardware of the access point 150 and input the password. For example, in a store environment, the user must check the password provided in the store or the password provided by the clerk and input the password. However, the password may be exposed to persons other than the user, and for example, persons who do not visit the store or purchase products from the store may use the Wi-Fi without restrictions. Secure access may not be possible due to password exposure, and for example, if a home network is provided in a home environment, a problem may occur. In a home network, when an access point operates as a gateway, an IoT device (eg, a gas valve, a microwave oven) connected to the gateway may be controlled by the access point connection. Accordingly, even if the password is not exposed, secure access may not be guaranteed. For example, WPS may have a flaw that allows an attacker to discover the router's password, and there are various hacking methods that can hack the password. As described above, a secure connection of the access point, which is not guaranteed in the comparative example, is requested.

도 3은 다양한 실시예에 따른 전자 장치, 및 억세스 포인트의 동작을 설명하기 위한 흐름도를 도시한다. 도 3의 실시예는 도 4를 참조하여 더욱 상세하게 설명하도록 한다. 도 4는 다양한 실시예에 따른 와이파이 접속 기능 제공 어플리케이션의 실행 화면들이다.3 is a flowchart illustrating an operation of an electronic device and an access point according to various embodiments of the present disclosure; The embodiment of FIG. 3 will be described in more detail with reference to FIG. 4 . 4 is an execution screen of an application for providing a Wi-Fi connection function according to various embodiments of the present disclosure.

본 개시에서 전자 장치(101) 및 억세스 포인트(150)가 특정 동작을 수행하는 것은, 프로세서(120) 및 프로세서(152)가 특정 동작을 수행함을 의미할 수 있다. 또는, 전자 장치(101) 및 억세스 포인트(150)가 특정 동작을 수행하는 것은, 프로세서(120) 및 프로세서(152)가 특정 동작을 수행하도록 다른 하드웨어를 제어함을 의미할 수도 있다. 또는, 전자 장치(101) 및 억세스 포인트(150)가 특정 동작을 수행하는 것은, 프로세서(120) 및 프로세서(152)가 특정 동작을 수행하도록 하는 인스트럭션이 메모리(130) 및 메모리(153)에 저장됨을 의미할 수도 있다. 전자 장치(101) 및 억세스 포인트(150)가 외부의 장치와 데이터를 송수신함은, 통신 회로(190) 및 통신 회로(151)가 데이터를 송수신함을 의미할 수도 있다.In the present disclosure, when the electronic device 101 and the access point 150 perform a specific operation, it may mean that the processor 120 and the processor 152 perform the specific operation. Alternatively, when the electronic device 101 and the access point 150 perform a specific operation, it may mean that the processor 120 and the processor 152 control other hardware to perform the specific operation. Alternatively, when the electronic device 101 and the access point 150 perform a specific operation, instructions for causing the processor 120 and the processor 152 to perform the specific operation are stored in the memory 130 and the memory 153 . It may mean to be When the electronic device 101 and the access point 150 transmit/receive data to/from an external device, it may mean that the communication circuit 190 and the communication circuit 151 transmit/receive data.

다양한 실시예에 따라서, 전자 장치(101)는, 301 동작에서, 와이파이 접속 기능 제공 어플리케이션 실행 및 와이파이 접속 명령을 획득할 수 있다. 와이파이 접속 기능 제공 어플리케이션은, 와이파이의 접속 정보를 생성하여 송신할 수 있는 어플리케이션일 수 있다. 예를 들어, 특정 매장과 관계된 엔티티는 와이파이 접속 기능 제공 어플리케이션을 제작하여 배포할 수 있다. 와이파이 접속 기능 제공 어플리케이션은, 와이파이 접속 기능 이외에도 특정 매장의 상품, 서비스, 또는 이벤트를 홍보할 수 있는 다양한 정보를 제공할 수도 있다. 전자 장치(101)는, 예를 들어 어플리케이션 스토어에 접속하여 어플리케이션을 다운로드할 수 있다. 예를 들어, 매장 환경에서는, 매장 내에 배치되거나 또는 점원에 의하여 제공되는 어플리케이션 정보에 기반하여, 사용자는 어플리케이션 스토어에 접속하여 어플리케이션을 다운로드할 수 있다. 또는, 매장에 배치된 비콘은, 어플리케이션 다운로드가 가능한 URL에 대한 정보를 전자 장치(101)로 송신할 수도 있으며, 이 경우는 사용자는 전자 장치(101)에 포함된 URL 접속 키를 선택할 수도 있다. 전자 장치(101)는 선택된 URL에 접속하여 어플리케이션을 다운로드할 수도 있다. 어플리케이션은 상술한 바와 같이 와이 파이 접속 제공 기능 이외에도, 다양한 추가 정보를 제공하도록 제작될 수 있으므로, 매장 사업자는 무료로 와이파이를 제공하면서, 동시에 매장 내의 상품, 서비스를 홍보할 수도 있다.According to various embodiments of the present disclosure, in operation 301 , the electronic device 101 may obtain a Wi-Fi connection function providing application execution and a Wi-Fi access command. The Wi-Fi connection function providing application may be an application capable of generating and transmitting Wi-Fi connection information. For example, an entity related to a specific store may create and distribute a Wi-Fi connection function providing application. The Wi-Fi connection function providing application may provide various information for promoting products, services, or events of a specific store in addition to the Wi-Fi connection function. The electronic device 101 may, for example, access an application store and download an application. For example, in a store environment, a user may access an application store and download an application based on application information disposed in a store or provided by a clerk. Alternatively, a beacon disposed in a store may transmit information on a URL from which an application can be downloaded to the electronic device 101 , and in this case, the user may select a URL access key included in the electronic device 101 . The electronic device 101 may download an application by accessing the selected URL. Since the application can be produced to provide various additional information in addition to the Wi-Fi connection providing function as described above, the store operator can provide free Wi-Fi and promote products and services in the store at the same time.

도 4는, 예를 들어 GHI 매장과 연관된 어플리케이션의 제 1 실행 화면(410)이다. 제 1 실행 화면(410)은, 와이 파이 연결 버튼(411), 다른 기기에서의 연결 버튼(412), 및 와이파이 이력 삭제 버튼(413)을 포함할 수 있다. 제 1 실행 화면(410)은, 어플리케이션 내의 다양한 기능 중 하나인 와이 파이 제공기능에 대한 화면일 수도 있으며, 상술한 바와 같이 어플리케이션은 다른 다양한 기능을 제공하기 위한 화면들도 제공가능 하다. 와이 파이 연결 버튼(411)이 선택됨에 기반하여, 전자 장치(101)는 와이파이 접속 명령을 획득할 수 있다. 다른 기기에서의 연결 버튼(412)이 선택되면, 전자 장치(101)는 접속 정보를 디스플레이(180)에 표시할 수 있다. 와이파이 이력 삭제 버튼(413)이 선택되면, 전자 장치(101)는 해당 억세스 포인트로의 연결 이력을 삭제할 수 있다. 구현에 따라서, 전자 장치(101)는 와이 파이 연결 버튼(411)이 선택되면, 연결 여부를 문의하는 윈도우(420)를 더 표시할 수도 있다. 윈도우(420)에는 특정 억세스 포인트(예: GHI 억세스 포인트)로의 접속을 나타내는 메시지(421), 취소 버튼(422) 및 연결 버튼(423)을 포함할 수 있다. 전자 장치(101)는, 구현에 따라서, 연결 버튼(423)이 선택되면, 303 동작을 수행하도록 설정될 수도 있다. 취소 버튼(422)이 선택되면, 윈도우(420)가 비표시될 수 있다.4 is, for example, a first execution screen 410 of an application associated with a GHI store. The first execution screen 410 may include a Wi-Fi connection button 411 , a connection button 412 in another device, and a Wi-Fi history deletion button 413 . The first execution screen 410 may be a screen for a Wi-Fi providing function, which is one of various functions within the application, and as described above, the application may provide screens for providing other various functions. Based on the selection of the Wi-Fi connection button 411, the electronic device 101 may obtain a Wi-Fi connection command. When a connection button 412 in another device is selected, the electronic device 101 may display connection information on the display 180 . When the Wi-Fi history deletion button 413 is selected, the electronic device 101 may delete the connection history to the corresponding access point. According to implementation, when the Wi-Fi connection button 411 is selected, the electronic device 101 may further display a window 420 inquiring whether to connect. The window 420 may include a message 421 indicating a connection to a specific access point (eg, a GHI access point), a cancel button 422 , and a connection button 423 . The electronic device 101 may be set to perform operation 303 when the connection button 423 is selected according to implementation. When the cancel button 422 is selected, the window 420 may be hidden.

303 동작에서, 전자 장치(101)는 와이파이 접속 정보를 생성할 수 있다. 전자 장치(101)는, 와이 파이 접속 정보 생성 알고리즘을 실행할 수 있으며, 이에 따라 와이파이 접속 정보를 생성할 수 있다. 와이 파이 접속 정보 생성 알고리즘은, 예를 들어 랜덤성 및/또는 유일성을 가지는 값을 생성할 수 있는 알고리즘이라면 제한이 없다. 예를 들어, 와이 파이 접속 정보 생성 알고리즘은, OTP 생성 알고리즘일 수 있으며, 또는 더욱 상세하게 후술할 랜덤성 및 유일성이 모두 담보되는 값을 생성하는 알고리즘일 수도 있으며, 종류에는 제한이 없다. 와이파이 접속 기능 제공 어플리케이션은, 예를 들어 랜덤성 및/또는 유일성을 가지는 값을 생성할 수 있는 적어도 하나의 고유값을 포함할 수도 있다. 고유값은, 와이파이 접속 기능 제공 어플리케이션 별로 상이하게 설정될 수 있다. 고유값은, 예를 들어 OTP 생성 알고리즘의 시드(seed) 값일 수도 있다. 또는, 고유값은, 예를 들어 어플리케이션에 설정된 고유 코드일 수 있으며, 이에 대하여서는 더욱 상세하게 후술하도록 한다. 와이 파이 접속 정보는, 랜덤성 및/또는 유일성을 가질 수 있으며, 아울러 일정시간 동안만 유효할 수도 있다.In operation 303, the electronic device 101 may generate Wi-Fi connection information. The electronic device 101 may execute a Wi-Fi connection information generation algorithm, and thus may generate Wi-Fi connection information. The Wi-Fi connection information generating algorithm is not limited as long as it is an algorithm capable of generating a value having randomness and/or uniqueness, for example. For example, the Wi-Fi connection information generating algorithm may be an OTP generating algorithm, or may be an algorithm generating a value that guarantees both randomness and uniqueness, which will be described later in more detail, and there is no limitation in type. The Wi-Fi connection function providing application may include, for example, at least one unique value capable of generating a value having randomness and/or uniqueness. The unique value may be set differently for each Wi-Fi connection function providing application. The eigenvalue may be, for example, a seed value of an OTP generation algorithm. Alternatively, the unique value may be, for example, a unique code set in an application, which will be described later in more detail. Wi-Fi access information may have randomness and/or uniqueness, and may be valid only for a certain period of time.

다양한 실시예에 따라서, 전자 장치(101)는, 접속 정보로서 예를 들어 사용자 ID 및 패스워드를 생성할 수 있다. Wi-Fi 인증 시에 사용자 ID 및 비밀번호가 모두 이용되는 인증 방식은, WPA Enterprise에 사용되는 인증방식인 IEEE 802.11X일 수 있다. 해당 인증 방식은, 예를 들어 클라이언트(예: EAP 클라이언트), 어쎈티케이터(authenticator), 어쎈티케이션 서버(authentication server)를 요구할 수 있다. 클라이언트는, 와이 파이 연결을 요청할 수 있는 장치로, 예를 들어 전자 장치(101)일 수 있다. 어쎈티케이터는, 인증 정보을 중계하는 구성으로, 예를 들어 AP(150)일 수 있다. 아울러, 어쎈티케이션 서버는, 사용자 정보를 구별하여 접속 허용 또는 접속 차단을 결정할 수 있는 서버로, 예를 들어 Radius 방식에 따른 서버로 구현될 수 있다.According to various embodiments, the electronic device 101 may generate, for example, a user ID and a password as access information. An authentication method in which both a user ID and a password are used during Wi-Fi authentication may be IEEE 802.11X, which is an authentication method used in WPA Enterprise. The corresponding authentication method may require, for example, a client (eg, an EAP client), an authenticator, and an authentication server. The client is a device capable of requesting a Wi-Fi connection, and may be, for example, the electronic device 101 . The authenticator is a component that relays authentication information, and may be, for example, the AP 150 . In addition, the authentication server is a server that can determine access permission or access blocking by distinguishing user information, for example, may be implemented as a server according to the Radius method.

전자 장치(101)는, 예를 들어 제1시드값에 기반하여 사용자 ID를 생성하고, 제2시드값에 기반하여 패스워드를 생성하여, 사용자 ID 및 패스워드를 포함하는 접속 정보를 생성할 수도 있다. 또는, 전자 장치(101)는, 하나의 시드값에 기반하여, 알고리즘 적용을 복수 회 수행하여 사용자 ID 및 패스워드를 각각 생성할 수도 있다.For example, the electronic device 101 may generate a user ID based on the first seed value and generate a password based on the second seed value to generate access information including the user ID and password. Alternatively, the electronic device 101 may generate a user ID and a password by performing algorithm application a plurality of times based on one seed value.

다양한 예에서, 어쎈티케이션 서버의 동작은, AP(150)의 내부에 논리적으로 실행될 수 있다. 이 경우, AP(150)는, 어쎈티케이터 및 어쎈티케이션 서버의 동작을 모두 수행하도록 구현될 수 있다. 해당 인증 방식에서는, 어쎈티케이터(예를 들어, AP(150))에서, 사용자가 감지되면 인증을 위하여 인증 정보를 요청할 수 있다. 이 때, 어쎈티케이터가 요청하는 인증 정보는 사용자 ID 및 패스워드일 수 있다. 전자 장치(101)는, 사용자 ID 및 패스워드를 어쎈티케이터(예를 들어, AP(150))로 전송할 수 있다. 이 경우, 어쎈티케이터는, 수신한 인증 정보(즉, 사용자 ID 및 패스워드)를, Radius 방식에 따른 서버로 송신할 수 있다.In various examples, the operation of the authentication server may be logically executed inside the AP 150 . In this case, the AP 150 may be implemented to perform both the operations of the authenticator and the authentication server. In the corresponding authentication method, when the authenticator (eg, the AP 150 ) detects a user, authentication information may be requested for authentication. In this case, the authentication information requested by the ascentrator may be a user ID and a password. The electronic device 101 may transmit the user ID and password to the authenticator (eg, the AP 150 ). In this case, the authenticator may transmit the received authentication information (ie, user ID and password) to the server according to the Radius method.

예를 들어, AP(150)는, 전자 장치(101)로부터 접속 정보를 어쎈티케이터로서 수신할 수 있으며, 이를 AP(150)내에서 논리적으로 동작하는 어쎈티케이션 서버로 송신할 수 있다. AP(150) 내에서 논리적으로 동작하는 어쎈티케이션 서버는, 수신한 인증 정보를 미리 등록된 인증 서버 내의 사용자 데이터베이스와 비교하여 일치하는 경우, 인증의 성공함을 나타내는 정보를 어쎈티케이터로 제공할 수 있다. 다양한 예시에서, 어쎈티케이션 서버는 어쎈티케이터와 독립적으로 구현될 수도 있으며, 이 경우에는 AP(150)는, 외부의 어쎈티케이션 서버로 사용자 ID 및 패스워드를 송신할 수도 있다.For example, the AP 150 may receive access information from the electronic device 101 as an authenticator, and may transmit it to an authentication server logically operating within the AP 150 . The authentication server logically operating within the AP 150 compares the received authentication information with the user database in the previously registered authentication server and provides information indicating the success of authentication to the ascentrator when they match. can In various examples, the authentication server may be implemented independently of the authenticator, and in this case, the AP 150 may transmit a user ID and password to an external authentication server.

305 동작에서, 전자 장치(101)는 생성된 와이파이 접속 정보를 억세스 포인트(150)로 송신할 수 있다. 전자 장치(101)는, 상술한 바와 같이 예를 들어 사용자 ID 및 패스워드를 포함하는 접속 정보를 생성하여 AP(150)로 송신할 수 있다. 이 경우, 전자 장치(101)는 어떤 시드를 이용한지를 식별할 수 있는 정보 및/또는 타임스탬프 정보(예를 들어, OTP를 적어도 이용한 경우)를 함께 AP(150)로 송신할 수도 있다. 307 동작에서, 억세스 포인트(150)는 수신한 와이파이 접속 정보를 인증할 수 있다. 억세스 포인트(150)는, 예를 들어 동일한 접속 정보 생성 알고리즘에 기반하여 접속 정보를 생성할 수 있으며, 생성한 정보 및 수신한 정보의 비교 결과에 기반하여 유효성을 인증할 수 있다. 예를 들어, 전자 장치(101)가 사용자 ID 및 패스워드를 포함한 접속 정보를 송신한 경우, 억세스 포인트(150)에서는 사용자 ID와 패스워드를 각각 생성하고, 이를 각각 수신된 정보들과 비교할 수 있다. 예를 들어, 억세스 포인트(150)는, 사용자 전자 장치(101)로부터 접속 정보와 함께 수신된 정보(예를 들어, 시드 식별을 위한 정보 및/또는 타임스탬프 정보)에 기반하여, 사용자 ID 및 패스워드를 각각 생성할 수도 있으나, 제한은 없다.In operation 305 , the electronic device 101 may transmit the generated Wi-Fi connection information to the access point 150 . As described above, the electronic device 101 may generate access information including, for example, a user ID and a password, and transmit it to the AP 150 . In this case, the electronic device 101 may also transmit information for identifying which seed is used and/or timestamp information (eg, when at least OTP is used) to the AP 150 . In operation 307, the access point 150 may authenticate the received Wi-Fi connection information. The access point 150 may generate access information based on, for example, the same access information generation algorithm, and may authenticate validity based on a comparison result between the generated information and the received information. For example, when the electronic device 101 transmits access information including a user ID and a password, the access point 150 may generate a user ID and a password, respectively, and compare them with the received information. For example, the access point 150 may provide a user ID and password based on information (eg, information for seed identification and/or timestamp information) received along with access information from the user electronic device 101 . may be created individually, but there is no limitation.

309 동작에서, 억세스 포인트(150)는, 인증 결과에 기반하여 와이파이 연결을 형성할 수 있다. 이후, 전자 장치(101)는 억세스 포인트(150)를 통하여 인터넷에 접속할 수 있으며, 데이터를 송수신할 수 있다. 특정 억세스 포인트(예: GHI 억세스 포인트)에 접속이 완료되면, 전자 장치(101)는 도 4 와 같은 제 3 화면(430)을 표시할 수 있다. 제 3 화면(430)에는, 특정 억세스 포인트(예: GHI 억세스 포인트)로 접속되었음을 나타내는 버튼(431), 다른 기기에서의 연결을 나타내는 버튼(432), 및 와이파이 이력 삭제 버튼(413)을 포함할 수 있다. 만약, 인증이 실패한 경우에는, 억세스 포인트(150)는 인증이 실패하였음을 전자 장치(101)로 통지할 수 있다. 전자 장치(101)는, 인증이 실패하였음을 디스플레이(180)를 통하여 나타낼 수도 있다. 도시되지는 않았지만, 다른 실시예에서는, 억세스 포인트(150)는 와이파이 접속 정보를 인증 서버(미도시)로 송신할 수도 있다. 인증 서버(160)는, 수신한 와이파이 접속 정보를 인증할 수 있다. 예를 들어, 인증 서버(미도시)는, 동일한 접속 정보 생성 알고리즘에 기반하여 접속 정보를 생성할 수 있으며, 생성한 정보 및 수신한 정보의 비교 결과에 기반하여 유효성을 인증할 수 있다. 인증 서버(미도시)는, 인증 결과를 억세스 포인트(150)로 전달할 수 있으며, 인증 결과에 기반하여 억세스 포인트(150)는 와이 파이 연결 여부를 결정할 수도 있다. In operation 309, the access point 150 may establish a Wi-Fi connection based on the authentication result. Thereafter, the electronic device 101 may access the Internet through the access point 150 and may transmit/receive data. When access to a specific access point (eg, a GHI access point) is completed, the electronic device 101 may display a third screen 430 as shown in FIG. 4 . The third screen 430 may include a button 431 indicating access to a specific access point (eg, a GHI access point), a button 432 indicating a connection from another device, and a Wi-Fi history deletion button 413 . can If authentication fails, the access point 150 may notify the electronic device 101 that authentication has failed. The electronic device 101 may indicate through the display 180 that authentication has failed. Although not shown, in another embodiment, the access point 150 may transmit Wi-Fi connection information to an authentication server (not shown). The authentication server 160 may authenticate the received Wi-Fi connection information. For example, the authentication server (not shown) may generate access information based on the same access information generation algorithm, and may authenticate validity based on a comparison result between the generated information and the received information. The authentication server (not shown) may transmit the authentication result to the access point 150, and based on the authentication result, the access point 150 may determine whether to connect to Wi-Fi.

상술한 바에 따라서, 사용자는 전자 장치(101)에 직접 비밀번호를 입력하지 않고도, 전자 장치(101)가 억세스 포인트(150)에 접속될 수 있도록 조작할 수 있다. 이에 따라, 비밀번호가 사용자에게 노출될 필요가 없다.As described above, the user may operate the electronic device 101 to access the access point 150 without directly inputting a password into the electronic device 101 . Accordingly, the password does not need to be exposed to the user.

도 5는 다양한 실시예에 따른 디지털 사이니지(digital signage)를 설명하기 위한 도면이다.5 is a diagram for explaining digital signage according to various embodiments of the present disclosure;

도 5를 참조하면, 다양한 실시예에 따라서, 억세스 포인트(150), 및 디스플레이 장치(501)는, 서로 통신을 수행할 수 있다. 디스플레이 장치(501)는, 디스플레이(502)를 포함할 수 있다. 디스플레이 장치(501)는, 디지털 사이니지를 제공하기 위한 장치일 수 있다. 디지털 사이니지는, 디스플레이(502) 상에 정보를 표시하고 네트워크로 원격 관리 기능을 의미할 수 있다. 예를 들어, 디지털 사이니지 관리자는, 관리자 장치를 이용하여 디스플레이 장치(501)에서 표시하고자 하는 컨텐츠를, 획득, 생성, 편집, 및/또는 저장할 수 있다. 디스플레이 장치(501)에서 표시되기 위한 컨텐츠는, 예를 들어 관리자 장치에 저장되거나, 또는 클라우드 서버에 저장될 수도 있다. 다양한 실시예에 따라서, 관리자 장치는, 컨텐츠를, 생성 및/또는 편집할 수 있는 저작 툴을 다운로드받을 수도 있으며, 이 경우 관리자는 저작 툴을 이용하여 손쉽게 컨텐츠를 생성 및/또는 편집할 수도 있다. 컨텐츠는, 관리자 장치 및/또는 클라우드 서버로부터, 억세스 포인트(150)를 통하여 디스플레이 장치(501)로 제공될 수 있다. 디스플레이 장치(501)는, 예를 들어 와이파이와 같은 통신을 지원할 수 있으며, 이에 따라 억세스 포인트(150)를 통하여 컨텐츠를 수신할 수 있다. 한편, 디스플레이 장치(501)가 억세스 포인트(150)를 통하여 컨텐츠를 수신하는 것은 단순히 예시적인 것으로, 디스플레이 장치(501)는 다른 통신 수단(또는, 다른 억세스 포인트)를 통하여, 컨텐츠를 수신할 수도 있다. Referring to FIG. 5 , according to various embodiments, the access point 150 and the display device 501 may communicate with each other. The display device 501 may include a display 502 . The display device 501 may be a device for providing digital signage. Digital signage may refer to the ability to display information on the display 502 and manage it remotely over a network. For example, the digital signage manager may acquire, create, edit, and/or store content to be displayed on the display device 501 using the manager device. Content to be displayed on the display device 501 may be stored in, for example, an administrator device or a cloud server. According to various embodiments, the manager device may download an authoring tool capable of creating and/or editing content, and in this case, the manager may easily create and/or edit content using the authoring tool. The content may be provided from the manager device and/or the cloud server to the display device 501 through the access point 150 . The display device 501 may support communication such as Wi-Fi, and thus may receive content through the access point 150 . Meanwhile, the display device 501 receiving the content through the access point 150 is merely exemplary, and the display device 501 may receive the content through another communication means (or another access point). .

예를 들어, 디스플레이 장치(501)는, 억세스 포인트(150)의 관리자에 의하여 관리될 수 있다. 관리자는, 억세스 포인트(150)를 통한 보안 와이 파이를 제공하면서, 동시에 디스플레이 장치(501)를 통하여 홍보하고자 하는 컨텐츠를 재생할 수 있다. 이에 따라, 홍보 효과가 극대화될 수 있다. 또는, 디스플레이 장치(501)에, 와이파이 보안 접속을 위한 어플리케이션을 다운로드받을 수 있는 QR 코드 등이 표시될 수도 있다. 사용자는, 사용자 장치를 이용하여 QR 코드를 촬영함으로써, 어플리케이션을 다운로드받을 수 있으며, 이후 와이 파이 접속이 가능할 수 있다. 또는, 이미 어플리케이션이 사용자 장치에 다운로드된 상태에서, QR 코드 촬영이 와이 파이 연결의 트리거로 이용될 수도 있다. 어플리케이션은, QR 코드 촬영을 수행한 경우에, 접속 정보를 생성하도록 설정될 수도 있으며, 이 경우 사용자에게 컨텐츠 시청을 강제하도록 하는 효과도 있을 수 있다. 예를 들어, 디스플레이 장치(501)는, 컨텐츠를 재생한 이후에 QR 코드를 표시할 수도 있으며, 이 경우 사용자는 컨텐츠의 시청을 완료한 이후에 QR 코드를 촬영함으로써 와이파이를 이용할 수도 있다.For example, the display device 501 may be managed by a manager of the access point 150 . The manager may play content to be promoted through the display device 501 while providing secure Wi-Fi through the access point 150 . Accordingly, the promotional effect can be maximized. Alternatively, a QR code for downloading an application for Wi-Fi secure connection may be displayed on the display device 501 . A user may download an application by photographing a QR code using a user device, and thereafter, a Wi-Fi connection may be possible. Alternatively, in a state in which the application has already been downloaded to the user device, QR code shooting may be used as a trigger for Wi-Fi connection. The application may be set to generate access information when the QR code is captured, and in this case, there may be an effect of forcing the user to view the content. For example, the display device 501 may display a QR code after content is played, and in this case, the user may use Wi-Fi by photographing the QR code after completing viewing of the content.

도 6은 다양한 실시예에 따른 디지털 사이니지를 설명하기 위한 도면이다.6 is a diagram for describing digital signage according to various embodiments of the present disclosure;

도 6을 참조하면, 다양한 실시예에 따라서, 억세스 포인트(150), 및 키오스크(kiosk) 장치(601)는, 서로 통신을 수행할 수 있다. 키오스크 장치(601)는, 터치스크린(602)를 포함할 수 있다. 키오스크 장치(601)는, 디지털 사이니지, 또는 구매 기능을 제공하기 위한 장치일 수 있다. 예를 들어, 키오스크 장치(601)는, 터치스크린(602) 상에 매장 내에서 판매하고자 하는 물품에 대한 메뉴 화면을 표시할 수 있다. 사용자는, 터치스크린(602)에 표시되는 메뉴 화면 내의 아이콘(예: 물품 선택 아이콘, 결제 아이콘 등)을 선택함으로써 구매를 진행할 수 있다. 예를 들어, 디지털 사이니지 관리자는, 관리자 장치를 이용하여 키오스크 장치(601)에서 표시하고자 하는 컨텐츠를, 획득, 생성, 편집, 및/또는 저장할 수 있다. 컨텐츠는, 관리자 장치 및/또는 클라우드 서버로부터, 억세스 포인트(150)를 통하여 키오스크 장치(601)로 제공될 수 있다. 키오스크 장치(601)는, 예를 들어 와이파이와 같은 통신을 지원할 수 있으며, 이에 따라 억세스 포인트(150)를 통하여 컨텐츠를 수신할 수 있다. 한편, 키오스크 장치(601)가 억세스 포인트(150)를 통하여 컨텐츠를 수신하는 것은 단순히 예시적인 것으로, 키오스크 장치(601)는 다른 통신 수단(또는, 다른 억세스 포인트)를 통하여, 컨텐츠를 수신할 수도 있다. Referring to FIG. 6 , according to various embodiments, an access point 150 and a kiosk device 601 may communicate with each other. The kiosk device 601 may include a touch screen 602 . The kiosk device 601 may be a device for providing a digital signage or purchase function. For example, the kiosk device 601 may display a menu screen for items to be sold in a store on the touch screen 602 . The user may proceed with a purchase by selecting an icon (eg, an item selection icon, a payment icon, etc.) in a menu screen displayed on the touch screen 602 . For example, the digital signage manager may acquire, create, edit, and/or store content to be displayed in the kiosk device 601 using the manager device. The content may be provided to the kiosk device 601 through the access point 150 from the manager device and/or the cloud server. The kiosk device 601 may support communication such as, for example, Wi-Fi, and thus may receive content through the access point 150 . Meanwhile, the kiosk device 601 receiving the content through the access point 150 is merely exemplary, and the kiosk device 601 may receive the content through another communication means (or another access point). .

예를 들어, 키오스크 장치(601)는, 억세스 포인트(150)의 관리자에 의하여 관리될 수 있다. 관리자는, 억세스 포인트(150)를 통한 보안 와이 파이를 제공하면서, 동시에 키오스크 장치(601)를 통하여 홍보하고자 하는 컨텐츠 또는 판매하고자 하는 메뉴 화면을 재생할 수 있다. 이에 따라, 홍보 효과가 극대화될 수 있다. 또는, 키오스크 장치(601)에, 와이파이 보안 접속을 위한 어플리케이션을 다운로드받을 수 있는 QR 코드 등이 표시될 수도 있다. 사용자는, 사용자 장치를 이용하여 QR 코드를 촬영함으로써, 어플리케이션을 다운로드받을 수 있으며, 이후 와이 파이 접속이 가능할 수 있다. 또는, 이미 어플리케이션이 사용자 장치에 다운로드된 상태에서, QR 코드 촬영이 와이 파이 연결의 트리거로 이용될 수도 있다. 어플리케이션은, QR 코드 촬영을 수행한 경우에, 접속 정보를 생성하도록 설정될 수도 있으며, 이 경우 사용자에게 컨텐츠 시청을 강제하도록 하는 효과도 있을 수 있다. 예를 들어, 키오스크 장치(601)는, 컨텐츠를 재생한 이후, 또는 물품 구매가 완료된 이후에 QR 코드를 표시할 수도 있으며, 이 경우 사용자는 컨텐츠의 시청을 완료한 이후 또는 물품을 구매한 이후에 QR 코드를 촬영함으로써 와이파이를 이용할 수도 있다.For example, the kiosk device 601 may be managed by an administrator of the access point 150 . The administrator may reproduce content to be promoted or a menu screen to be sold through the kiosk device 601 while providing secure Wi-Fi through the access point 150 . Accordingly, the promotional effect can be maximized. Alternatively, a QR code for downloading an application for Wi-Fi secure connection may be displayed on the kiosk device 601 . A user may download an application by photographing a QR code using a user device, and thereafter, a Wi-Fi connection may be possible. Alternatively, in a state in which the application has already been downloaded to the user device, QR code shooting may be used as a trigger for Wi-Fi connection. The application may be set to generate access information when the QR code is captured, and in this case, there may be an effect of forcing the user to view the content. For example, the kiosk device 601 may display a QR code after the content is played back or after the purchase of the item is completed, in which case the user completes viewing the content or after purchasing the item. You can also use Wi-Fi by scanning the QR code.

도 7은 다양한 실시예에 따른 전자 장치 및 억세스 포인트의 블록도를 도시한다.7 is a block diagram of an electronic device and an access point according to various embodiments of the present disclosure;

다양한 실시예에 따라서, 전자 장치(101)는 제 1 통신 회로(701), 제 2 통신 회로(702), 프로세서(703), 메모리(704), 또는 디스플레이(705) 중 적어도 하나를 포함할 수 있다. 억세스 포인트(150)는, 제 1 통신 회로(711), 제 2 통신 회로(712), 프로세서(713), 또는 메모리(714) 중 적어도 하나를 포함할 수 있다. 여기에서, 프로세서(703,713), 메모리(704,714), 및 디스플레이(705)는, 도 1에서 설명한, 프로세서(120,152), 메모리(130,153), 디스플레이(180)와 실질적으로 동일할 수 있으므로, 여기에서의 설명은 간명히 하도록 한다.According to various embodiments, the electronic device 101 may include at least one of a first communication circuit 701 , a second communication circuit 702 , a processor 703 , a memory 704 , and a display 705 . have. The access point 150 may include at least one of a first communication circuit 711 , a second communication circuit 712 , a processor 713 , and a memory 714 . Here, processors 703 , 713 , memories 704 , 714 , and display 705 may be substantially the same as processors 120 , 152 , memories 130 , 153 , and display 180 described in FIG. 1 , so here The explanation should be concise.

전자 장치(101)의 제 1 통신 회로(701)는, 억세스 포인트(150)의 제 1 통신 회로(711)와 제 1 통신 방식에 기반하여 통신을 수행할 수 있다. 전자 장치(101)의 제 2 통신 회로(702)는, 억세스 포인트(150)의 제 1 통신 회로(712)와 제 2 통신 방식에 기반하여 통신을 수행할 수 있다. 제 2 통신 방식은, 제 1 통신 방식과 상이할 수 있다. 예를 들어, 제 1 통신 방식은, 블루투스, 또는 울트라 소닉 데이터 통신 방식일 수 있으나, 제한은 없다. 제 2 통신 방식은, 예를 들어 와이 파이 통신 방식과 같은 인터넷 이용을 지원하는 통신 방식일 수 있다.The first communication circuit 701 of the electronic device 101 may communicate with the first communication circuit 711 of the access point 150 based on a first communication method. The second communication circuit 702 of the electronic device 101 may communicate with the first communication circuit 712 of the access point 150 based on a second communication method. The second communication method may be different from the first communication method. For example, the first communication method may be a Bluetooth or ultra sonic data communication method, but is not limited thereto. The second communication method may be, for example, a communication method supporting Internet use, such as a Wi-Fi communication method.

다양한 실시예에 따라서, 억세스 포인트(150)의 프로세서(713)는, 제 1 통신 회로(711)를 제어하여 비콘 신호를 송신할 수 있다. 전자 장치(101)의 프로세서(703)는, 제 1 통신 회로(701)를 통하여 비콘 신호를 수신할 수 있다. 억세스 포인트(150)는, 예를 들어 주기적, 또는 이벤트 검출에 기반하여 비콘 신호를 송신하도록 설정될 수 있다. 비콘 신호에는, 예를 들어 억세스 포인트(150)의 식별을 위한 정보, 또는 억세스 포인트(150)로의 보안 접속을 트리거링하는 정보 중 적어도 하나가 포함될 수 있으나, 비콘 신호에 포함되는 정보에는 제한이 없다.According to various embodiments, the processor 713 of the access point 150 may control the first communication circuit 711 to transmit a beacon signal. The processor 703 of the electronic device 101 may receive a beacon signal through the first communication circuit 701 . The access point 150 may be configured to transmit a beacon signal based on, for example, periodic or event detection. The beacon signal may include, for example, at least one of information for identification of the access point 150 or information triggering a secure connection to the access point 150 , but information included in the beacon signal is not limited.

전자 장치(101)는, 제 1 통신 회로(701)를 상시 활성화하거나, 또는 이벤트 검출 기반으로 활성화할 수 있다. 만약, 제 1 통신 방식이 블루투스 통신 방식인 경우, 제 1 통신 회로(701)는 블루투스 통신 모듈일 수 있다. 만약, 제 1 통신 방식이 울트라 소닉 통신 방식인 경우, 제 1 통신 회로(701)는 마이크 모듈일 수 있다. 전자 장치(101)의 프로세서(703)는, 제 1 통신 회로(701)를 통하여 억세스 포인트(150)로부터의 비콘 신호를 수신할 수 있다. 프로세서(703)는, 비콘 신호의 수신에 응답하여, 제 2 통신 방식 접속을 위한 어플리케이션을 실행할 수 있다. 제 2 통신 방식 접속을 위한 어플리케이션은, 예를 들어 도 3에서 설명한 어플리케이션일 수 있다. 다양한 실시예에 따라서, 프로세서(703)는, 어플리케이션을 바로 실행하지 않고, 추가적인 사용자 확인을 수신하고, 이에 응답하여 어플리케이션을 실행할 수 있다. 프로세서(703)는, 어플리케이션을 통하여 접속 정보를 생성할 수 있다. 프로세서(703)는, 생성된 접속 정보를 제 2 통신 회로(702)를 통하여 억세스 포인트(150)의 제 2 통신 회로(712)로 송신할 수 있다. 억세스 포인트(150)의 프로세서(713)는, 수신한 접속 정보를 인증할 수 있다. 예를 들어, 프로세서(713)는, 예를 들어 동일한 어플리케이션에 기반하여 접속 정보를 생성할 수 있으며, 생성한 접속 정보 및 수신한 접속 정보의 비교 결과에 따라 인증 성공 여부를 결정할 수 있다.The electronic device 101 may always activate the first communication circuit 701 or may activate it based on event detection. If the first communication method is a Bluetooth communication method, the first communication circuit 701 may be a Bluetooth communication module. If the first communication method is the ultra sonic communication method, the first communication circuit 701 may be a microphone module. The processor 703 of the electronic device 101 may receive a beacon signal from the access point 150 through the first communication circuit 701 . The processor 703 may execute an application for accessing the second communication method in response to the reception of the beacon signal. The application for accessing the second communication method may be, for example, the application described with reference to FIG. 3 . According to various embodiments, the processor 703 may receive an additional user confirmation without directly executing the application, and execute the application in response thereto. The processor 703 may generate access information through an application. The processor 703 may transmit the generated connection information to the second communication circuit 712 of the access point 150 through the second communication circuit 702 . The processor 713 of the access point 150 may authenticate the received access information. For example, the processor 713 may generate access information based on, for example, the same application, and may determine whether authentication succeeds according to a result of comparing the generated access information and the received access information.

만약, 생성한 접속 정보 및 수신한 접속 정보가 동일하여 인증이 성공된 것으로 확인되면, 제 2 통신 회로(712) 및 제 2 통신 회로(702) 사이의 와이 파이 연결이 형성될 수 있다. 이후, 전자 장치(101)는 형성된 와이 파이 연결에 기반하여 인터넷 통신을 이용할 수 있다. 만약, 생성한 접속 정보 및 수신한 접속 정보가 상이하여 인증이 실패한 것으로 확인되면, 와이 파이 연결이 형성되지 않을 수 있다.If it is confirmed that authentication is successful because the generated connection information and the received connection information are the same, a Wi-Fi connection between the second communication circuit 712 and the second communication circuit 702 may be formed. Thereafter, the electronic device 101 may use Internet communication based on the established Wi-Fi connection. If it is determined that authentication has failed because the generated access information and the received access information are different, a Wi-Fi connection may not be established.

도 8은 다양한 실시예에 따른 전자 장치 및 억세스 포인트의 동작 방법을 설명하기 위한 흐름도를 도시한다.8 is a flowchart illustrating a method of operating an electronic device and an access point according to various embodiments of the present disclosure;

다양한 실시예에 따라서, 억세스 포인트(150)는, 801 동작에서 비콘 신호를 송신할 수 있다. 상술한 바와 같이, 억세스 포인트(150)는, 제 1 통신 방식에 기반하여 비콘 신호를 송신할 수 있다. 억세스 포인트(150)는, 주기적으로, 또는 특정한 이벤트의 검출에 기반하여 제 1 통신 방식에 기반하여 비콘 신호를 송신할 수 있다. 예를 들어, 사용자는, 전자 장치(101)를 소지한채로 억세스 포인트(150)의 근처로 이동할 수 있다. 이에 따라, 전자 장치(101)는, 제 1 통신 방식에 기반하여 비콘 신호를 수신할 수 있다. 예를 들어, 전자 장치(101)는 803 동작에서 비콘 신호 수신에 기반하여 어플리케이션을 실행할 수 있다. 예를 들어, 전자 장치(101)는, 비콘 신호의 수신에 응답하여 별다른 추가적인 명령 없이 와이 파이 접속을 위한 어플리케이션을 실행할 수 있다.According to various embodiments, the access point 150 may transmit a beacon signal in operation 801 . As described above, the access point 150 may transmit a beacon signal based on the first communication method. The access point 150 may transmit the beacon signal periodically or based on the first communication method based on detection of a specific event. For example, the user may move to the vicinity of the access point 150 while carrying the electronic device 101 . Accordingly, the electronic device 101 may receive a beacon signal based on the first communication method. For example, the electronic device 101 may execute an application based on reception of a beacon signal in operation 803 . For example, the electronic device 101 may execute an application for Wi-Fi connection without any additional command in response to the reception of the beacon signal.

또 다른 예에서, 전자 장치(101)는 추가적인 명령 획득에 기반하여 와이 파이 접속을 위한 어플리케이션을 실행할 수 있다. 예를 들어, 전자 장치(101)는, 도 9와 같은 어플리케이션 실행 여부를 문의하는 화면(901)을 표시할 수 있다. 화면(901)에는 와이 파이 연결이 가능함을 나타내는 정보와, 와이 파이 연결을 위한 어플리케이션을 실행하지 않도록 하는 버튼(911) 및 와이 파이 연결을 위한 어플리케이션을 실행하도록 하는 버튼(912)이 포함될 수 있으나, 그 구성에는 제한이 없다. 만약, 와이 파이 연결을 위한 어플리케이션을 실행하도록 하는 버튼(912)이 선택되면, 전자 장치(101)는, 와이 파이 연결을 위한 어플리케이션을 실행할 수 있다. 예를 들어, 전자 장치(101)는, 도 4에서와 같은 GHI 매장과 연관된 어플리케이션의 제 1 실행 화면(410)을 표시할 수 있다. 805 동작에서, 전자 장치(101)는 와이파이 접속 명령을 획득할 수 있다. 예를 들어, 제 1 실행 화면(410)의 와이 파이 연결 버튼(411)이 선택됨에 기반하여, 전자 장치(101)는 와이파이 접속 명령을 획득할 수 있다. 와이 파이 접속 명령의 획득에 기반하여, 807 동작에서, 전자 장치(101)는 와이파이 접속 정보를 생성할 수 있다.In another example, the electronic device 101 may execute an application for Wi-Fi connection based on additional command acquisition. For example, the electronic device 101 may display a screen 901 inquiring whether to execute an application as shown in FIG. 9 . The screen 901 may include information indicating that Wi-Fi connection is possible, a button 911 for not running an application for Wi-Fi connection, and a button 912 for running an application for Wi-Fi connection. There are no restrictions on its composition. If the button 912 for executing the application for Wi-Fi connection is selected, the electronic device 101 may execute the application for Wi-Fi connection. For example, the electronic device 101 may display the first execution screen 410 of the application associated with the GHI store as shown in FIG. 4 . In operation 805, the electronic device 101 may obtain a Wi-Fi connection command. For example, based on selection of the Wi-Fi connection button 411 of the first execution screen 410 , the electronic device 101 may obtain a Wi-Fi connection command. Based on the acquisition of the Wi-Fi connection command, in operation 807 , the electronic device 101 may generate Wi-Fi connection information.

809 동작에서, 전자 장치(101)는, 생성된 와이파이 접속 정보를 억세스 포인트(150)로 송신할 수 있다. 811 동작에서, 억세스 포인트(150)는, 수신한 와이파이 접속 정보에 대한 인증 성공을 확인할 수 있다. 예를 들어, 억세스 포인트(150)는, 동일한 어플리케이션에 기반하여 접속 정보를 생성할 수 있으며, 생성한 접속 정보가 수신한 접속 정보와 동일함에 기반하여 인증 성공을 확인할 수 있다. 813 동작에서, 전자 장치(101) 및 억세스 포인트(150)는 와이파이 연결을 형성할 수 있다.In operation 809 , the electronic device 101 may transmit the generated Wi-Fi connection information to the access point 150 . In operation 811 , the access point 150 may confirm authentication success for the received Wi-Fi connection information. For example, the access point 150 may generate access information based on the same application, and may confirm authentication success based on the fact that the generated access information is the same as the received access information. In operation 813 , the electronic device 101 and the access point 150 may establish a Wi-Fi connection.

도 10은 다양한 실시예에 따른 와이 파이 연결을 제공하는 억세스 포인트의 관리를 설명하기 위한 도면이다. 도 10의 실시예는 도 11을 참조하여 설명하도록 한다. 도 11은 다양한 실시예에 따른 실시간 접속 정보를 확인할 수 있는 화면을 도시한다.10 is a diagram for describing management of an access point providing a Wi-Fi connection according to various embodiments of the present disclosure; The embodiment of FIG. 10 will be described with reference to FIG. 11 . 11 illustrates a screen for checking real-time access information according to various embodiments of the present disclosure.

도 10을 참조하면, 억세스 포인트(150)는 복수 개의 전자 장치들(1001,1002,1003)과 와이 파이 연결을 형성할 수 있다. 예를 들어, 복수 개의 전자 장치들(1001,1002,1003) 각각은, 도 3에서 설명한 방식에 기반하여 접속 정보를 생성하여, 억세스 포인트(150)로 송신할 수 있다. 억세스 포인트(150)는 접속 정보를 생성할 수 있으며, 생성한 접속 정보 및 수신한 접속 정보를 비교할 수 있다. 비교 결과에 기반하여 억세스 포인트(150)는 인증을 수행할 수 있다. 인증에 기반하여 와이 파이 연결이 형성되면, 억세스 포인트(150)는 접속과 연관된 정보를 관리 서버(1010)로 송신할 수 있다.Referring to FIG. 10 , the access point 150 may form a Wi-Fi connection with a plurality of electronic devices 1001 , 1002 , and 1003 . For example, each of the plurality of electronic devices 1001 , 1002 , and 1003 may generate access information based on the method described with reference to FIG. 3 and transmit it to the access point 150 . The access point 150 may generate access information, and may compare the generated access information with the received access information. Based on the comparison result, the access point 150 may perform authentication. When a Wi-Fi connection is established based on authentication, the access point 150 may transmit connection-related information to the management server 1010 .

관리 서버(1010)는, 억세스 포인트(150)로부터 접속과 연관된 정보를 취합하여 관리할 수 있다. 하나의 실시예에서는, 관리 서버(1010)는, 억세스 포인트(150)로의 접속과 연관된 정보를 취합 관리하도록 설정될 수 있으며, 이 경우 억세스 포인트(150)가 인증을 수행할 수 있다.The management server 1010 may collect and manage connection-related information from the access point 150 . In one embodiment, the management server 1010 may be set to collect and manage information related to a connection to the access point 150 , and in this case, the access point 150 may perform authentication.

다른 실시예에서는, 관리 서버(1010)가 억세스 포인트(150)로의 접속과 연관된 정보를 취합 관리할 뿐만 아니라, 억세스 포인트(150)로의 인증을 수행할 수도 있다. 이 경우, 복수 개의 전자 장치들(1001,1002,1003) 각각은, 도 3에서 설명한 방식에 기반하여 접속 정보를 생성하여, 억세스 포인트(150)로 송신할 수 있다. 억세스 포인트(150)는 접속 정보를 관리 서버(1010)로 송신할 수 있다. 관리 서버(1010)는, 접속 정보를 생성할 수 있으며, 생성한 접속 정보 및 수신한 접속 정보를 비교할 수 있다. 비교 결과에 기반하여 관리 서버(1010)는 인증을 수행할 수 있다. 관리 서버(1010)는, 인증 결과를 억세스 포인트(150)로 송신할 수 있다. 억세스 포인트(150)는, 관리 서버(1010)로부터 수신된 정보에 기반하여, 와이 파이 연결을 형성할 지 여부를 결정할 수 있다.In another embodiment, the management server 1010 may not only collect and manage information related to access to the access point 150 , but also perform authentication to the access point 150 . In this case, each of the plurality of electronic devices 1001 , 1002 , and 1003 may generate access information based on the method described with reference to FIG. 3 and transmit it to the access point 150 . The access point 150 may transmit access information to the management server 1010 . The management server 1010 may generate access information, and may compare the generated access information with the received access information. Based on the comparison result, the management server 1010 may perform authentication. The management server 1010 may transmit the authentication result to the access point 150 . The access point 150 may determine whether to establish a Wi-Fi connection based on information received from the management server 1010 .

도 11을 참조하면, 관리 서버(1010)는, 관리 화면(1100)을 구성하여 표시하거나, 또는 다른 관리자 장치로 송신할 수 있다. 관리 화면(1100)에는, 예를 들어 억세스 포인트(150)가 위치한 매장에 대한 정보(1111), 억세스 포인트(150)에 현재 접속중인 전자 장치의 개수에 대한 정보(1112), 억세스 포인트(150)에 접속되었던 전자 장치의 누적 개수에 대한 정보(1113), 데이터 관리에 대한 정보(1114), 쿠폰 발송(1115)에 대한 탭들이 포함될 수 있다. 만약, 억세스 포인트(150)가 위치한 매장에 대한 정보(1111)가 선택되는 경우, 매장에 대한 상세 정보, 다른 매장을 선택할 수 있는 탭 중 적어도 하나가 제공될 수 있다. 만약, 다른 매장이 선택되면, 다른 매장에 대한 상세 정보가 제공될 수 있다. 이 경우, 억세스 포인트(150)가 위치한 매장에 대한 정보(1111) 내에 포함된 텍스트는, 다른 매장에 대한 정보로 교체될 수 있다. 만약, 억세스 포인트(150)에 현재 접속중인 전자 장치의 개수에 대한 정보(1112)가 선택되면, 도 11에서와 같이 현재 접속자에 대한 정보(1120)가 제공될 수 있다. 현재 선택 중인 탭에 대하여서는 도 11에서와 같이 셀렉터가 표시될 수도 있다. 억세스 포인트(150)에 접속되었던 전자 장치의 누적 개수에 대한 정보(1113)가 선택되면, 시간대별/일별/주별/월별 등의 다양한 타임 유닛에 대응하는 누적 개수(또는, 각 유닛 별 개수)에 대한 정보가 제공될 수 있다. 데이터 관리에 대한 정보(1114)가 선택되면, 통계 정보가 제공될 수 있다. 통계 정보는, 각 매장별 로 데이터(raw data) 및/또는 로 데이터를 통계 처리한 정보를 포함할 수 있다. 이에 따라, 관리자는, 각 매장별 현재 방문객의 수 및/또는 방문객의 통계 정보를 확인할 수 있다. 쿠폰 발송(1115)의 탭이 선택되면, 억세스 포인트(150)를 통하여 전자 장치들(1001,1002,1003) 중 적어도 하나에 쿠폰이 발송될 수 있다. 쿠폰 발생은, 단순히 예시적인 것으로 전자 장치들(1001,1002,1003) 중 적어도 하나에 대한 데이터 송신 기능이라면, 쿠폰 발송과 치환될 수 있음을 당업자는 이해할 것이다. 한편, 도 11에서의 정보 구성은 단순히 예시적인 것으로, 이는 본 발명의 권리범위를 한정하지 않으며, 다른 정보로 치환될 수도 있으며, 혹은 다른 정보가 추가되거나 배제될 수도 있음을 당업자는 이해할 것이다.Referring to FIG. 11 , the management server 1010 may configure and display the management screen 1100 or transmit it to another manager device. In the management screen 1100 , for example, information 1111 on a store in which the access point 150 is located, information 1112 on the number of electronic devices currently connected to the access point 150 , and the access point 150 . Information 1113 on the accumulated number of electronic devices that have been connected to , information 1114 on data management, and tabs on coupon sending 1115 may be included. If the information 1111 on the store where the access point 150 is located is selected, at least one of detailed information about the store and a tab for selecting another store may be provided. If another store is selected, detailed information about the other store may be provided. In this case, the text included in the information 1111 on the store in which the access point 150 is located may be replaced with information on another store. If information 1112 on the number of electronic devices currently connected to the access point 150 is selected, information 1120 on the current accessor may be provided as shown in FIG. 11 . For the currently selected tab, a selector may be displayed as shown in FIG. 11 . When information 1113 on the cumulative number of electronic devices that have been connected to the access point 150 is selected, the cumulative number (or the number of each unit) corresponding to various time units, such as by time period/daily/weekly/monthly, etc. information can be provided. When information 1114 on data management is selected, statistical information may be provided. The statistical information may include raw data for each store and/or information obtained by statistically processing raw data. Accordingly, the manager may check the current number of visitors for each store and/or statistical information of the visitors. When the tap of the coupon sending 1115 is selected, the coupon may be sent to at least one of the electronic devices 1001 , 1002 and 1003 through the access point 150 . Those skilled in the art will understand that coupon generation is merely exemplary, and if it is a data transmission function for at least one of the electronic devices 1001 , 1002 , 1003 , it may be substituted with coupon sending. Meanwhile, those skilled in the art will understand that the information configuration in FIG. 11 is merely exemplary, and does not limit the scope of the present invention, and may be substituted with other information, or other information may be added or excluded.

상술한 바에 따라, 관리자는, 매장 내의 현재 방문객 및/또는 누적 방문객(또는, 그 통계 정보)에 대한 정보를 확인할 수 있으며, 즉각적인 서비스 제공이 가능할 수 있다.As described above, the manager may check information on current and/or accumulated visitors (or statistical information thereof) in the store, and may provide immediate service.

도 12는 본 발명의 다양한 실시예에 따른 유일 코드 생성 방법을 설명하기 위한 흐름도를 도시한다.12 is a flowchart illustrating a method of generating a unique code according to various embodiments of the present invention.

도 12의 실시예에서, 전자 장치(101)는 유일 코드를 생성하는 전자 장치일 수 있으며, 서버(200)는 유일 코드를 생성하고, 검증 요청된 유일 코드를 검증하는 전자 장치로, 예를 들어 억세스 포인트(150)일 수 있다. 서버(200)는 유일 코드를 이용하는 서비스를 관리하는 전자 장치일 수 있다.In the embodiment of FIG. 12 , the electronic device 101 may be an electronic device that generates a unique code, and the server 200 is an electronic device that generates a unique code and verifies the verification-requested unique code, for example, It may be an access point 150 . The server 200 may be an electronic device that manages a service using a unique code.

1210 동작에서, 전자 장치(101)는 서버(200)와 제 1 고유 코드 및 제 1 씨드를 공유할 수 있다. 하나의 실시예에서, 서버(200)는 전자 장치(101)를 사용하는 제 1 사용자를 시스템에 가입시키는 경우(또는, 어플리케이션 다운 로드하는 경우)에, 전자 장치(101)로 제 1 고유 코드 및 제 1 씨드를 송신할 수 있다. 또는, 서버(200)는 제 1 고유 코드 및 제 1 씨드를 디스플레이할 수 있는 정보를 다른 전자 장치로 송신할 수도 있다. 예를 들어, 제 1 사용자는 전자 장치(101) 또는 다른 전자 장치를 통하여 서버(200)로 가입을 요청할 수 있다. 서버(200)는 가입 요청에 대응하여 제 1 사용자(또는, 어플리케이션)에게 제 1 고유 코드를 부여할 수 있다. 서버(200)는 제 1 고유 코드를 전자 장치(101) 또는 다른 전자 장치로 송신할 수 있다. 서버(200)는 아울러 제 1 사용자에게 제 1 씨드를 부여할 수 있다. 제 1 씨드는 시간 기반 일회용 암호 생성을 위하여 제 1 사용자에게 부여될 수 있다. 서버(200)는 제 1 씨드를 전자 장치(101) 또는 다른 전자 장치로 송신할 수 있다. 하나의 실시예에서, 서버(200)는 제 1 고유 코드 및 제 1 씨드를 포함하는 QR 코드 이미지를 전자 장치(101) 또는 다른 전자 장치로 송신할 수 있다. 제 1 사용자는 다른 전자 장치에서 표시되는 QR 코드를 전자 장치(101)로 촬영할 수 있으며, 이에 따라 전자 장치(101)는 제 1 고유 코드 및 제 1 씨드를 획득할 수 있다.In operation 1210 , the electronic device 101 may share the first unique code and the first seed with the server 200 . In one embodiment, when a first user using the electronic device 101 joins the system (or downloads an application), the server 200 sends the first unique code and The first seed may be transmitted. Alternatively, the server 200 may transmit the first unique code and information for displaying the first seed to another electronic device. For example, the first user may request a subscription to the server 200 through the electronic device 101 or another electronic device. The server 200 may assign a first unique code to the first user (or application) in response to the subscription request. The server 200 may transmit the first unique code to the electronic device 101 or another electronic device. The server 200 may also grant the first seed to the first user. The first seed may be assigned to the first user for time-based one-time password generation. The server 200 may transmit the first seed to the electronic device 101 or another electronic device. In one embodiment, the server 200 may transmit the QR code image including the first unique code and the first seed to the electronic device 101 or another electronic device. The first user may photograph the QR code displayed on the other electronic device with the electronic device 101 , and accordingly, the electronic device 101 may obtain the first unique code and the first seed.

1220 동작에서, 전자 장치(101)는 제 1 씨드 및 제 1 시간 정보를 이용하여 제 1 OTP(one time password)를 생성할 수 있다. 즉, 전자 장치(101)는 제 1 시점에서, 제 1 시점에 대응하는 제 1 시간 정보 및 제 1 씨드를 이용하여 제 1 OTP를 생성할 수 있다. 아울러, 전자 장치(101)는 제 2 시점에서는, 제 2 시점에 대응하는 제 2 시간 정보 및 제 1 씨드를 이용하여 제 2 OTP를 생성할 수 있다. 전자 장치(101)는 시간의 흐름에 따라서 동적으로 OTP를 변경하여 생성할 수 있다.In operation 1220 , the electronic device 101 may generate a first one time password (OTP) using the first seed and the first time information. That is, at a first time point, the electronic device 101 may generate the first OTP using the first time information and the first seed corresponding to the first time point. In addition, at the second time point, the electronic device 101 may generate the second OTP by using the second time information corresponding to the second time point and the first seed. The electronic device 101 may dynamically change and generate the OTP according to the passage of time.

1230 동작에서, 전자 장치(101)는 제 1 OTP 및 제 1 고유 코드를 이용하여 제 1 코드를 생성할 수 있다. 전자 장치(101)가 제 1 OTP 및 제 1 고유 코드를 이용하여 랜덤하면서도 유일한 제 1 코드를 생성하는 과정에 대하여서는 더욱 상세하게 후술하도록 한다. 제 1 코드는 제 1 OTP 및 제 1 고유 코드를 모두 이용하여 생성됨에 따라서, 제 1 OTP의 랜덤성 및 동적인 변경 가능성과 제 1 고유 코드의 유일성을 보장받을 수 있어, 랜덤하면서도 유일할 수 있다. 제 1 코드의 랜덤성 및 유일성에 대하여서도 더욱 상세하게 후술하도록 한다.In operation 1230 , the electronic device 101 may generate a first code using the first OTP and the first unique code. A process in which the electronic device 101 generates a random and unique first code using the first OTP and the first unique code will be described later in more detail. Since the first code is generated using both the first OTP and the first unique code, the randomness and dynamic changeability of the first OTP and the uniqueness of the first unique code can be guaranteed, so it can be both random and unique . The randomness and uniqueness of the first code will also be described later in more detail.

1240 동작에서, 서버(200)는 제 1 씨드 및 제 1 시간 정보를 이용하여 제 1 OTP를 생성할 수 있다. 서버(200)는 제 1 시점에서 제 1 시점에 대응하는 제 1 시간 정보와 제 1 씨드를 이용하여 전자 장치(101)가 생성한 것과 동일한 제 1 OTP를 생성할 수 있다. 서버(200) 또한 제 2 시점에서 제 2 시점에 대응하는 제 2 시간 정보와 제 1 씨드를 이용하여 전자 장치(101)가 제 2 시점에서 생성한 것과 동일한 제 2 OTP를 생성할 수 있다. 즉, 서버(200)도 OTP를 동적으로 변경하면서 생성할 수 있다.In operation 1240 , the server 200 may generate the first OTP using the first seed and the first time information. The server 200 may generate the same first OTP as that generated by the electronic device 101 by using the first time information and the first seed corresponding to the first time at the first time point. The server 200 may also generate the same second OTP as that generated at the second time point by the electronic device 101 using the second time information and the first seed corresponding to the second time point at the second time point. That is, the server 200 may also generate the OTP while dynamically changing it.

1250 동작에서, 서버(200)는 제 1 OTP 및 제 1 고유 코드를 이용하여 제 1 코드를 생성할 수 있다. 서버(200)가 제 1 OTP 및 제 1 고유 코드를 이용하여 제 1 코드를 생성하는 방식은 전자 장치(101)가 제 1 OTP 및 제 1 고유 코드를 이용하여 제 1 코드를 생성하는 방식과 동일할 수 있다. 이에 따라, 서버(200)가 생성한 제 1 코드와 전자 장치(101)가 생성한 제 1 코드는 동일할 수 있다.In operation 1250 , the server 200 may generate a first code using the first OTP and the first unique code. The method in which the server 200 generates the first code using the first OTP and the first unique code is the same as the method in which the electronic device 101 generates the first code using the first OTP and the first unique code. can do. Accordingly, the first code generated by the server 200 and the first code generated by the electronic device 101 may be the same.

1260 동작에서, 서버(200)는 코드 확인 요청을 수신할 수 있다. 서버(200)는 제 1 사용자가 조작하는 전자 장치, 예를 들어 전자 장치(101) 또는 다른 전자 장치로부터 코드 확인 요청을 수신할 수 있다.In operation 1260 , the server 200 may receive a code confirmation request. The server 200 may receive a code confirmation request from an electronic device operated by the first user, for example, the electronic device 101 or another electronic device.

1270 동작에서, 서버(200)는 코드 확인 요청 내의 코드가 서버(200)가 생성한 제 1 코드와 동일한지 여부를 판단할 수 있다. 코드 확인 요청 내의 코드가 서버(200)가 생성한 제 1 코드와 동일한 경우에는, 1280 동작에서, 서버(200)는 코드가 적합한 것으로 판단할 수 있다. 코드 확인 요청 내의 코드가 서버(200)가 생성한 제 1 코드와 상이한 경우에는, 1290 동작에서, 서버(200)는 코드가 부적합한 것으로 판단할 수 있다. 서버(200)는 코드 적합 또는 부적합 여부에 따라, 사용자 로그인 또는 전자 상거래 결재 등의 추가 서비스를 수행 또는 미수행할 수도 있다.In operation 1270 , the server 200 may determine whether the code in the code verification request is the same as the first code generated by the server 200 . If the code in the code verification request is the same as the first code generated by the server 200 , in operation 1280 , the server 200 may determine that the code is appropriate. If the code in the code verification request is different from the first code generated by the server 200 , in operation 1290 , the server 200 may determine that the code is inappropriate. The server 200 may or may not perform additional services such as user login or e-commerce payment, depending on whether the code is suitable or not.

도 13은 본 발명의 다양한 실시예에 따른 코드 생성 방법을 설명하기 위한 흐름도를 도시한다.13 is a flowchart illustrating a code generation method according to various embodiments of the present invention.

1310 동작에서, 전자 장치(101)는 제 1 고유 코드 및 사용자마다 상이한 제 1 씨드를 획득할 수 있다. 제 1 씨드는 제 1 사용자에게 서버(200)에 의하여 부여된 것일 수 있다. 한편, 제 1 고유 코드는 ASCII 코드에 기초한 문자열로, 알파멧과 숫자와 특수 문자의 조합일 수 있다. 제 1 고유 코드는 미리 설정된 문자 세트의 원소로부터 선택된 코드일 수 있다. 예를 들어, 서버(200)는 문자 세트로부터 유일한 코드를 생성하는 알고리즘을 이용하여 제 1 사용자를 위한 제 1 고유 코드를 생성하고, 이를 전자 장치(101)로 송신할 수 있다. 서버(200)는 다른 사용자를 위하여 고유 코드를 생성할 수도 있으며, 사용자들 각각에 부여된 고유 코드는 상이할 수 있다.In operation 1310 , the electronic device 101 may obtain a first unique code and a different first seed for each user. The first seed may be assigned to the first user by the server 200 . Meanwhile, the first unique code is a character string based on an ASCII code, and may be a combination of alphabets, numbers, and special characters. The first unique code may be a code selected from elements of a preset character set. For example, the server 200 may generate a first unique code for the first user using an algorithm for generating a unique code from a character set, and transmit it to the electronic device 101 . The server 200 may generate a unique code for different users, and the unique code assigned to each of the users may be different.

1320 동작에서, 전자 장치(101)는 제 1 씨드 및 제 1 시간 정보를 이용하여 제 1 OTP를 생성할 수 있다. 제 1 OTP는 예를 들어 숫자로 구성될 수 있다.In operation 1320 , the electronic device 101 may generate a first OTP using the first seed and first time information. The first OTP may consist of numbers, for example.

1330 동작에서, 전자 장치(101)는 제 1 고유 코드를 미리 설정된 문자 세트에 매핑하여 제 1 고유 코드에 대응하는 숫자 코드를 생성할 수 있다.In operation 1330 , the electronic device 101 may generate a numeric code corresponding to the first unique code by mapping the first unique code to a preset character set.

예를 들어, 전자 장치(101)는 미리 설정된 문자 세트로 { '0', '1', '2', …, '9', ,'A', 'B', …, 'Z' }를 이용하는 경우를 상정하도록 한다. 아울러, 전자 장치(101)는 제 1 고유 코드로 "AX83Z0"를 획득한 것을 상정하도록 한다. 하나의 실시예에서, 전자 장치(101)는 제 1 고유 코드의 각 자리 문자가 문자 세트에서 몇 번째 인덱스인지를 확인함으로써, 제 1 고유 코드의 각 자리 문자를 숫자 코드로 변환할 수 있다. 예를 들어, 전자 장치(101)는 제 1 코드의 첫번째 자리 문자인 "A"가 문자 세트에서 11번째 인덱스인 것을 확인함으로써 "A"의 고유 코드를 "10"의 숫자 코드로 변환할 수 있다. 이는, 숫자 코드의 시작점이 0인 것으로부터 기인할 수 있다. 동일한 방식으로, 전자 장치(101)는 "X"가 문자 세트에서 34번째 인덱스인 것을 확인함으로써 "X"의 고유 코드를 "33"으로 변환할 수 있다. 전자 장치(101)는 제 1 고유 코드인 "AX83Z0"을 {10,33,8,3,35,0}의 숫자 코드로 변환할 수 있다.For example, the electronic device 101 uses a preset character set as { '0', '1', '2', ... , '9', ,'A', 'B', … , 'Z' } is assumed. In addition, it is assumed that the electronic device 101 obtains “AX83Z0” as the first unique code. In one embodiment, the electronic device 101 may convert each digit of the first unique code into a numeric code by checking an index of each digit of the first unique code in the character set. For example, the electronic device 101 may convert the unique code of "A" into the numeric code of "10" by confirming that "A", which is the first digit of the first code, is the 11th index in the character set. . This may result from the starting point of the numeric code being zero. In the same manner, the electronic device 101 may convert the unique code of “X” to “33” by confirming that “X” is the 34th index in the character set. The electronic device 101 may convert the first unique code “AX83Z0” into a numeric code of {10,33,8,3,35,0}.

1340 동작에서, 전자 장치(101)는 제 1 OTP 및 숫자 코드를 합산할 수 있다. 예를 들어, 제 1 OTP가 "382901"인 경우에는, 제 1 OTP의 각 자리수를 변환된 숫자 코드의 각 자리수와 합산할 수 있다. 즉, 전자 장치(100)는 {10,33,8,3,35,0}의 숫자 코드를 {3,8,2,9,0,1}의 제 1 OTP와 합산할 수 있으며, {13,41,10,12,35,1}의 합산 결과를 획득할 수 있다. 한편, 합산 결과 중 문자 세트의 원소의 총 개수, 예를 들어 36개를 초과하는 경우에는, 전자 장치(101)는 해당 합산 결과를 문자 세트의 원소의 총 개수에 모드(mod) 연산을 한 결과로 치환할 수 있다. 이 경우에는, 전자 장치(101)는 "41"을 "41"에 36의 모드 연산을 수행한 결과인 "5"로 치환할 수 있다. 이에 따라, 전자 장치(101)는후술하도록 한다. {13,5,10,12,35,1}의 합산 결과를 획득할 수 있다. 본 발명의 다른 실시예에서는 합산 결과 생성시 오프셋을 적용할 수도 있다.In operation 1340 , the electronic device 101 may sum the first OTP and the numeric code. For example, when the first OTP is “382901”, each digit of the first OTP may be summed with each digit of the converted numeric code. That is, the electronic device 100 may sum the numeric code of {10,33,8,3,35,0} with the first OTP of {3,8,2,9,0,1}, {13 ,41,10,12,35,1} can be obtained. On the other hand, when the total number of elements of the character set among the summing results, for example, exceeds 36, the electronic device 101 performs a mod operation on the total number of elements of the character set for the result of the summation. can be replaced with In this case, the electronic device 101 may replace "41" with "5", which is a result of performing the mode operation of 36 on "41". Accordingly, the electronic device 101 will be described later. The sum of {13,5,10,12,35,1} can be obtained. In another embodiment of the present invention, an offset may be applied when generating the summation result.

1350 동작에서, 전자 장치(101)는 합산 결과를 문자 세트에 매핑하여 제 1 서브 코드를 생성할 수 있다. 예를 들어, 전자 장치(101)는 {13,5,10,12,35,1}의 각 숫자를 인덱스로 해석하여 이에 대응하는 문자를 문자 세트로부터 획득할 수 있다. 즉, 전자 장치(101)는 '13'의 인덱스에 대응하는 "D"를 제 1 서브 코드의 첫 번째 문자로 획득할 수 있다. 전자 장치(100)는 '5'의 인덱스에 대응하는 "5"를 제 1 서브 코드의 두 번째 문자로 획득할 수 있다. 상술한 방식에 따라서, 전자 장치(101)는 "D5ACY1"의 제 1 서브 코드를 획득할 수 있다.In operation 1350, the electronic device 101 may generate a first sub-code by mapping the summation result to a character set. For example, the electronic device 101 may interpret each number of {13,5,10,12,35,1} as an index and obtain a corresponding character from the character set. That is, the electronic device 101 may obtain "D" corresponding to the index of '13' as the first character of the first subcode. The electronic device 100 may obtain "5" corresponding to the index of '5' as the second character of the first subcode. According to the above-described method, the electronic device 101 may obtain the first sub-code of “D5ACY1”.

1360 동작에서, 전자 장치(101)는 제 1 OTP를 문자 세트에 매핑하여 제 2 서브 코드를 생성할 수 있다. 예를 들어, 전자 장치(101)는 {3,8,2,9,0,1}의 제 1 OTP의 각 자리 숫자가 인덱스인 것으로 해석하여, 각 자리 숫자에 대응하는 제 2 서브 코드의 문자의 각 자리를 생성할 수 있다. 예를 들어, 전자 장치(101)는 '3'의 숫자에 대응하여 '3'의 문자를 획득할 수 있으며, '8'의 숫자에 대응하여 '8'의 문자를 획득할 수 있다. 이에 따라 전자 장치(101)는 "382901"의 제 2 서브 코드를 획득할 수 있다. 본 발명의 다른 실시예에서는 숫자의 각 자리마다 오프셋을 적용한 결과를 문자 세트에 매핑하여 제 2 서브 코드를 획득할 수도 있으며, 이에 대하여서는 더욱 상세하게 후술하도록 한다.In operation 1360, the electronic device 101 may generate the second sub-code by mapping the first OTP to the character set. For example, the electronic device 101 interprets each digit of the first OTP of {3,8,2,9,0,1} as an index, and the character of the second subcode corresponding to each digit Each digit of can be created. For example, the electronic device 101 may obtain the character of '3' corresponding to the number of '3', and may obtain the character of '8' corresponding to the number of '8'. Accordingly, the electronic device 101 may acquire the second sub-code of “382901”. In another embodiment of the present invention, the second sub-code may be obtained by mapping the result of applying the offset to each digit of the number to the character set, which will be described later in more detail.

1370 동작에서, 전자 장치(101)는 제 1 서브 코드 및 제 2 서브 코드를 포함하는 제 1 코드를 생성할 수 있다. 전자 장치(101)는 제 1 서브 코드 및 제 2 서브 코드를 concatenate하여 예를 들어 "D5ACY1382901"의 제 1 코드를 생성할 수 있다. 상술한 바와 같이, 제 1 코드의 제 1 서브 코드인 "D5ACY1"은 동적이면서 랜덤하게 생성되는 OTP 및 고유 코드의 합산에 의하여 설정된 것으로, 동적이면서 랜덤성이 보장되면서, 고유 코드에 의한 유일성이 보장될 수 있다. 다만, 낮은 확률로 합산 결과가 동일한 코드가 발생할 수도 있으므로, 본 발명의 다양한 실시예에 따른 전자 장치(101)는 제 2 서브 코드를 concatenate함으로써 유일한 코드인 제 1 코드를 생성할 수 있다.In operation 1370, the electronic device 101 may generate a first code including the first sub-code and the second sub-code. The electronic device 101 may generate a first code of, for example, “D5ACY1382901” by concatenating the first sub-code and the second sub-code. As described above, “D5ACY1”, which is the first sub-code of the first code, is set by the summation of dynamically and randomly generated OTP and unique code, and guarantees dynamic and randomness while ensuring uniqueness by unique code can be However, since codes having the same summing result may occur with low probability, the electronic device 101 according to various embodiments of the present disclosure may generate the first code, which is a unique code, by concatenating the second sub-code.

도 14는 본 발명의 다양한 실시예에 따른 코드 생성 방법을 설명하기 위한 흐름도를 도시한다.14 is a flowchart illustrating a code generation method according to various embodiments of the present invention.

1410 동작에서, 전자 장치(101)는 제 1 고유 코드 및 사용자마다 상이한 제 1 씨드를 획득할 수 있다. 상술한 바와 같이, 전자 장치(101)는 인증 서버(160)로부터 제 1 고유 코드 및 제 1 씨드를 수신하거나 또는 다른 전자 장치에서 디스플레이되는 QR 코드를 촬영함으로써 제 1 고유 코드 및 제 1 씨드를 수신할 수 있다. 제 1 씨드는 서버가 제 1 사용자에게 부여한 OTP 생성을 위한 씨드일 수 있다.In operation 1410 , the electronic device 101 may obtain a first unique code and a different first seed for each user. As described above, the electronic device 101 receives the first unique code and the first seed from the authentication server 160 or receives the first unique code and the first seed by photographing a QR code displayed on another electronic device. can do. The first seed may be a seed for OTP generation granted by the server to the first user.

1420 동작에서, 전자 장치(101)는 제 1 씨드 및 제 1 시간 정보를 이용하여 제 1 OTP를 생성할 수 있다. 1430 동작에서, 전자 장치(101)는 제 1 고유 코드를 문자 세트에 매핑하여 제 1 고유 코드에 대응하는 숫자 코드를 생성할 수 있다. 예를 들어, 도 3의 실시예에서와 유사하게, 전자 장치(101)는 "AX83Z0"의 제 1 고유 코드를 획득할 수 있으며, 제 1 시점에 제 1 시점에 대응하는 제 1 시간 정보 및 제 1 씨드를 이용하여 "382901"의 제 1 OTP를 생성할 수 있다. 전자 장치(101)는 미리 설정된 { '0', '1', '2', …, '9', ,'A', 'B', …, 'Z' }의 문자 세트에 제 1 고유 코드를 매핑하여 제 1 고유 코드인 "AX83Z0"을 {10,33,8,3,35,0}의 숫자 코드로 변환할 수 있다.In operation 1420 , the electronic device 101 may generate a first OTP using the first seed and first time information. In operation 1430 , the electronic device 101 may generate a numeric code corresponding to the first unique code by mapping the first unique code to a character set. For example, similar to the embodiment of FIG. 3 , the electronic device 101 may acquire the first unique code of “AX83Z0”, and at a first time point, first time information corresponding to the first time point and the first time information A first OTP of “382901” may be generated using 1 seed. The electronic device 101 has preset { '0', '1', '2', ... , '9', ,'A', 'B', … , 'Z' } may be mapped to the first unique code to convert the first unique code "AX83Z0" into a numeric code of {10,33,8,3,35,0}.

1440 동작에서, 전자 장치(101)는 제 1 OTP 및 숫자 코드를 합산할 수 있다. 예를 들어, 제 1 OTP가 "382901"인 경우에는, 제 1 OTP의 각 자리수를 변환된 숫자 코드의 각 자리수와 합산할 수 있다. 즉, 전자 장치(100)는 {10,33,8,3,35,0}의 숫자 코드를 {3,8,2,9,0,1}의 제 1 OTP와 합산할 수 있으며, {13,41,10,12,35,1}의 합산 결과를 획득할 수 있다. 1250 동작에서, 전자 장치(101)는 상기 합산 결과에 오프셋을 적용할 수 있다. 전자 장치(101)는 오프셋을 예를 들어 18로 설정할 수 있다. 전자 장치(101)는 합산 결과의 매 자리 수의 숫자에 오프셋인 18을 합산할 수 있다. 아울러, 전자 장치는 오프셋 적용된 합산 결과에 문자 세트의 크기를 모드 연산한 결과를 획득할 수 있다. 이에 따라, 전자 장치(101)는 오프셋 적용된 합산 결과인 {31,23,28,30,17,19}를 획득할 수 있다.In operation 1440, the electronic device 101 may sum the first OTP and the numeric code. For example, when the first OTP is “382901”, each digit of the first OTP may be summed with each digit of the converted numeric code. That is, the electronic device 100 may sum the numeric code of {10,33,8,3,35,0} with the first OTP of {3,8,2,9,0,1}, {13 ,41,10,12,35,1} can be obtained. In operation 1250 , the electronic device 101 may apply an offset to the summing result. The electronic device 101 may set the offset to, for example, 18. The electronic device 101 may add an offset of 18 to every digit of the summing result. In addition, the electronic device may obtain a result of calculating the size of the character set on the summation result to which the offset is applied. Accordingly, the electronic device 101 may obtain {31,23,28,30,17,19}, which is the summing result to which the offset is applied.

1460 동작에서, 전자 장치(101)는 오프셋 적용된 합산 결과를 문자 세트에 매핑하여 제 1 서브 코드를 생성할 수 있다. 전자 장치(101)는 오프셋 적용된 합산 결과인 '31'을 문자 세트에서의 인덱스로 해석하여, 31번째 문자인 'V'를 획득할 수 있다. 전자 장치(101)는, '23', '28', '30', '17', '19'을 순차적으로 문자로 변환할 수 있으며, 이에 따라 "VNSUHJ"의 제 1 서브 코드를 생성할 수 있다.In operation 1460, the electronic device 101 may generate the first sub-code by mapping the offset-applied summing result to the character set. The electronic device 101 may interpret '31', which is the offset applied summation result, as an index in the character set, to obtain 'V', which is the 31st character. The electronic device 101 may sequentially convert '23', '28', '30', '17', and '19' into characters, thereby generating a first subcode of "VNSUHJ". have.

1470 동작에서, 전자 장치(101)는 제 1 OTP에 오프셋을 적용할 수 있다. 이에 따라, {3,8,2,9,0,1}의 제 1 OTP의 각 숫자에 오프셋 18을 합산하여, {21,26,20,27,18}의 오프셋 적용된 제 1 OTP를 생성할 수 있다.In operation 1470 , the electronic device 101 may apply an offset to the first OTP. Accordingly, by adding the offset 18 to each number of the first OTP of {3,8,2,9,0,1}, the first OTP to which the offset of {21,26,20,27,18} is applied is generated. can

1480 동작에서, 전자 장치(101)는 오프셋 적용된 제 1 OTP를 문자 세트에 매핑하여 제 2 서브 코드를 생성할 수 있다. 즉, 전자 장치(101)는 오프셋 적용된 제 1 OTP의 {21,26,20,27,18}의 각 숫자를 문자 세트에서의 인덱스로 해석하여, 제 2 서브 코드를 생성할 수 있다. 예를 들어, 전자 장치(101)는 오프셋 적용된 제 1 OTP의 첫 번째 숫자인 '21'에 기초하여, 문자 세트에서의 21번째 문자인 'L'을 획득할 수 있다. 상술한 방식으로, 전자 장치(101)는 오프셋 적용된 제 1 OTP의 {21,26,20,27,18}으로부터 "LQKRIJ"의 제 2 서브 코드를 생성할 수 있다.In operation 1480, the electronic device 101 may generate a second sub-code by mapping the offset-applied first OTP to a character set. That is, the electronic device 101 may interpret each number of {21,26,20,27,18} of the first OTP to which the offset is applied as an index in the character set to generate the second subcode. For example, the electronic device 101 may obtain 'L', which is the 21st character in the character set, based on '21', which is the first number of the first OTP to which the offset is applied. In the above-described manner, the electronic device 101 may generate the second sub-code of “LQKRIJ” from {21,26,20,27,18} of the first OTP to which the offset is applied.

1490 동작에서, 전자 장치(101)는 제 1 서브 코드 및 제 2 서브 코드를 포함하는 제 1 코드를 생성할 수 있다. 전자 장치(101)는 제 1 서브 코드 및 제 2 서브 코드를 concatenate하여 예를 들어 "D5ACY1LQKRIJ"의 제 1 코드를 생성할 수 있다. 상술한 바와 같이, 제 1 코드의 제 1 서브 코드인 "D5ACY1"은 동적이면서 랜덤하게 생성되는 OTP 및 고유 코드의 합산에 의하여 설정된 것으로, 동적이면서 랜덤성이 보장되면서, 고유 코드에 의한 유일성이 보장될 수 있다. 다만, 낮은 확률로 합산 결과가 동일한 코드가 발생할 수도 있으므로, 본 발명의 다양한 실시예에 따른 전자 장치(101)는 제 2 서브 코드를 concatenate함으로써 유일한 코드인 제 1 코드를 생성할 수 있다.In operation 1490, the electronic device 101 may generate a first code including the first sub-code and the second sub-code. The electronic device 101 may generate a first code of, for example, “D5ACY1LQKRIJ” by concatenating the first sub-code and the second sub-code. As described above, “D5ACY1”, which is the first sub-code of the first code, is set by the summation of dynamically and randomly generated OTP and unique code, and guarantees dynamic and randomness while ensuring uniqueness by unique code can be However, since codes having the same summing result may occur with low probability, the electronic device 101 according to various embodiments of the present disclosure may generate the first code, which is a unique code, by concatenating the second sub-code.

하기에서는, 상술한 코드 생성 과정을 알고리즘을 통하여 설명하도록 한다.Hereinafter, the above-described code generation process will be described through an algorithm.

- 정의- Justice

-C : ASCII 코드로 표현되는 서로 다른 문자를 원소로 하는 문자집합-C : A character set whose elements are different characters expressed in ASCII codes.

주어진 문자집합을 C 라고 하고, C 는 ASCII 코드로 표현되는 서로다른 문자(알파벳 대,소문자, 특수문자, 숫자)로 구성된다. 예를 들면, C 가 숫자만으로 구성되었다면 C = { ‘0’, ‘1’, ‘2’, ‘3’, ‘4’, ‘5’, ‘6’, ‘7’, ‘8’, ‘9’ }가 되며, 같은 숫자가 중복되지 않는다. 또한 숫자와 영문대문자로 구성된다면, C = { ‘0’, … ,’9’, ‘A’, … ‘Z’ }가 된다. 동일한 방법으로 주어진 문자집합 C 는 여러가지 형태로 구성될 수 있다. 또한, C 의 원소를 동일 집합내에서 셔플링(shuffling) 될 수 있다. 예를 들면, 숫자만으로 구성된 문자집합 C = { ‘0’, ‘1’, ‘2’, ‘3’, ‘4’, ‘5’, ‘6’, ‘7’, ‘8’, ‘9’ } 가 셔플링 된다면 C = { ‘8’, ‘0’, ‘7’, ‘3’, ‘1’, ‘9’, ‘6’, ‘2’, ‘4’, ‘5’ } 와 같이 될 수 있다.The given character set is called C, and C is composed of different characters (uppercase and lowercase letters, special characters, and numbers) expressed in ASCII codes. For example, if C consists only of numbers, then C = { '0', '1', '2', '3', '4', '5', '6', '7', '8', ' 9' }, and the same number does not overlap. Also, if it consists of numbers and uppercase letters, C = { ‘0’, … ,’9’, ‘A’, … 'Z' }. The character set C given in the same way can be composed of various forms. Also, elements of C may be shuffled within the same set. For example, a character set consisting of only numbers C = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9 If ' } is shuffled, then C = { '8', '0', '7', '3', '1', '9', '6', '2', '4', '5' } can be together

-S : 주어진 문자집합 C 의 원소개수-S : the number of elements in the given character set C

-C(n) : n 번째 C 의 원소 (0 <= n < C의 문자개)-C(n) : nth element of C (0 <= n < number of C characters)

C 의 n 번째 원소를 C(n) 이라고 정의하고 이 때, n 은 0 <= n < S 인 정수이다. 즉, n은 C 에 포함된 원소의 인덱스(index)를 의미한다. 숫자로만 구성된 문자집합 C = { ‘8’, ‘0’, ‘7’, ‘3’, ‘1’, ‘9’, ‘6’, ‘2’, ‘4’, ‘5’ } 가 있다면, 0 <= n < 10 이고, C(0) = ‘8’, C(9) = ‘5’ 가 된다.The nth element of C is defined as C(n), where n is an integer such that 0 <= n < S. That is, n means an index of an element included in C. If we have a digit-only character set C = { '8', '0', '7', '3', '1', '9', '6', '2', '4', '5' } , 0 <= n < 10, C(0) = '8', C(9) = '5'.

-IndexOf(c) : 주어진 문자 c 의 C 내 인덱스-IndexOf(c) : the index in C of the given character c

주어진 문자집합 C = { ‘8’, ‘0’, ‘7’, ‘3’, ‘1’, ‘9’, ‘6’, ‘2’, ‘4’, ‘5’ } 일때, IndexOf(‘8’) = 0, IndexOf(‘5’) = 9 가 된다.Given character set C = { '8', '0', '7', '3', '1', '9', '6', '2', '4', '5' }, IndexOf( '8') = 0, IndexOf('5') = 9.

-U : C 에 포함된 문자로 구성된 임의 생성된 사용자 고유아이디를 나타내는 문자열-U : A string representing a randomly generated unique user ID composed of the characters contained in C

주어진 문자집합 C = { ‘8’, ‘0’, ‘7’, ‘3’, ‘1’, ‘9’, ‘6’, ‘2’, ‘4’, ‘5’ } 일 때 U 는 ‘0382’, ‘7192’와 같이 표현된다. Given a character set C = { '8', '0', '7', '3', '1', '9', '6', '2', '4', '5' } then U is It is expressed as '0382', '7192'.

-U(n) : U 의 n 번째 문자 ( 0 <= n < U의 문자개수)-U(n) : nth character of U (0 <= n < number of characters in U)

주어진 U = ‘0382’ 일 때, n은 0 <= n < 4 인 정수이며, U(2) = ‘8’, U(3) = ‘2’ 가 된다.Given U = ‘0382’, n is an integer such that 0 <= n < 4, U(2) = ‘8’, U(3) = ‘2’.

-T : TOTP 코드-T : TOTP code

예를 들면, 랜덤한 6자리 TOTP 코드는 ‘839023’, ‘659921’ 이 된다.For example, the random 6-digit TOTP code becomes '839023' and '659921'.

-T(n) : TOTP 코드내 n 번째 위치한 숫자 (0 <= n < TOTP 자리수)-T(n) : nth position number in TOTP code (0 <= n < TOTP digits)

예를 들면, 생성된 TOTP 코드가 ‘839023’ 일 때, T(0) = 8, T(5) = 3 이 된다.For example, when the generated TOTP code is ‘839023’, T(0) = 8, T(5) = 3.

-N : 랜덤 코드의 길이 ( N >= 1 )-N : length of random code ( N >= 1 )

-R : 랜덤 코드-R : random code

-알고리즘-algorithm

프로그래밍언어 C++ 와 유사한 형태로 기술한다.It is described in a form similar to that of the programming language C++.

String generate_random_id ( C, U, N, T )String generate_random_id ( C, U, N, T )

{ {

string preId;string preId;

string postId; string postId;

int offset = 18; // 임의로 지정 int offset = 18; // arbitrarily

for (n = 0; n < N; n++)for (n = 0; n < N; n++)

{{

int d = numOf(T(n)); // T(n) ASCII 코드를 숫자로 변환, ‘3’ -> 3, ‘9’ -> 9 int d = numOf(T(n)); // Convert T(n) ASCII code to number, ‘3’ -> 3, ‘9’ -> 9

int x = IndexOf(U(n)); int x = IndexOf(U(n));

preId += C ( (d + x + offset) % S ); // 이전단계에 만들어진 문자에 append한다. preId += C ( (d + x + offset) % S ); // Append to the character created in the previous step.

postId += C ( T(n) + offset); postId += C ( T(n) + offset);

} }

return (preId + postId); // 만들어진 두개의 문자를 append해서 최종 R을 만든다. return (preId + postId); // Append the created two characters to make the final R.

}}

-시뮬레이션-simulation

만약,what if,

N = 6,N = 6,

C = { ‘0’, … , ‘9’, ‘A’, … , ‘Z’} 이고,C = { ‘0’, … , ‘9’, ‘A’, … , ‘Z’} ,

S = 10 + 26 = 36S = 10 + 26 = 36

U = ‘AX83Z0’ 이고U = ‘AX83Z0’ and

T = ‘382901’ 라고 하면,If T = ‘382901’,

0 <= n < 36, (0 ... 35)0 <= n < 36, (0 ... 35)

IndexOf(U) = { 10, 33, 8, 3, 35, 0 } 이 되고,IndexOf(U) = { 10, 33, 8, 3, 35, 0 } becomes,

numOf (T) = { 3, 8, 2, 9, 0, 1 } 이 되고,numOf(T) = { 3, 8, 2, 9, 0, 1 } becomes,

각 자리에 대해 연산을 수행하면,If you perform an operation on each digit,

preId[0] = C ( ( 3 + 10 + 18 ) % 36 ) = C ( 31 % 36 ) = C ( 31 ) = 'V'preId[0] = C ( ( 3 + 10 + 18 ) % 36 ) = C ( 31 % 36 ) = C ( 31 ) = 'V'

preId[1] = C ( ( 8 + 33 + 18 ) % 36 ) = C ( 59 % 36 ) = C ( 23 ) = 'N'preId[1] = C ( ( 8 + 33 + 18 ) % 36 ) = C ( 59 % 36 ) = C ( 23 ) = 'N'

preId[2] = C ( ( 2 + 8 + 18 ) % 36 ) = C ( 28 % 36 ) = C ( 28 ) = 'S'preId[2] = C ( ( 2 + 8 + 18 ) % 36 ) = C ( 28 % 36 ) = C ( 28 ) = 'S'

preId[3] = C ( ( 9 + 3 + 18 ) % 36 ) = C ( 30 % 36 ) = C ( 30 ) = 'U'preId[3] = C ( ( 9 + 3 + 18 ) % 36 ) = C ( 30 % 36 ) = C ( 30 ) = 'U'

preId[4] = C ( ( 0 + 35 + 18 ) % 36 ) = C ( 53 % 36 ) = C ( 17 ) = 'H'preId[4] = C ( ( 0 + 35 + 18 ) % 36 ) = C ( 53 % 36 ) = C ( 17 ) = 'H'

preId[5] = C ( 1 + 0 + 18 ) % 36 ) = C ( 19 % 36 ) = C ( 19 ) = 'J'preId[5] = C ( 1 + 0 + 18 ) % 36 ) = C ( 19 % 36 ) = C ( 19 ) = 'J'

이고,ego,

postId[0] = C ( ( 3 + 18 ) % 36 ) = C ( 21 ) = 'L'postId[0] = C ( ( 3 + 18 ) % 36 ) = C ( 21 ) = 'L'

postId[1] = C ( ( 8 + 18 ) % 36 ) = C ( 26 ) = 'Q'postId[1] = C ( ( 8 + 18 ) % 36 ) = C ( 26 ) = 'Q'

postId[2] = C ( ( 2 + 18 ) % 36 ) = C ( 20 ) = 'K'postId[2] = C ( ( 2 + 18 ) % 36 ) = C ( 20 ) = 'K'

postId[3] = C ( ( 9 + 18 ) % 36 ) = C ( 27 ) = 'R'postId[3] = C ( ( 9 + 18 ) % 36 ) = C ( 27 ) = 'R'

postId[4] = C ( ( 0 + 18 ) % 36 ) = C ( 18 ) = 'I'postId[4] = C ( ( 0 + 18 ) % 36 ) = C ( 18 ) = 'I'

postId[5] = C ( ( 1 + 18 ) % 36 ) = C ( 19 ) = 'J'postId[5] = C ( ( 1 + 18 ) % 36 ) = C ( 19 ) = 'J'

이 되어,become this,

R = generate_random_id(C, U, N, T) 가 되고, R = ‘VNSUHJ LQKRIJ’ 가 나온다.R = generate_random_id(C, U, N, T) and R = ‘VNSUHJ LQKRIJ’.

-시뮬레이션2 - 같은 시점에 다른 아이디인 경우-Simulation 2 - In case of a different ID at the same time

위와 동일하게 N = 6, C = { ‘0’, … , ‘9’, ‘A’, … , ‘Z’}, S = 10 + 26 = 36 으로 설정한다.Same as above, N = 6, C = { ‘0’, … , ‘9’, ‘A’, … , ‘Z’}, set S = 10 + 26 = 36 .

대신 U = ‘B05EFA’ 이고, Instead, U = ‘B05EFA’,

위와 같은 T = ‘382901’가 나왔다고 하면,If T = ‘382901’ as above,

0 <= n < 36, (0 ... 35)0 <= n < 36, (0 ... 35)

IndexOf(U) = { 11, 0, 6, 14, 15, 10 } 이 되고,IndexOf(U) = { 11, 0, 6, 14, 15, 10 } becomes,

numOf(T) = { 3, 8, 2, 9, 0, 1 } 이 되고,numOf(T) = { 3, 8, 2, 9, 0, 1 } becomes,

각 자리에 대해 연산을 수행하면,If you perform an operation on each digit,

preId[0] = C ( ( 3 + 11 + 18 ) % 36 ) = C ( 32 % 36 ) = C ( 31 ) = 'W'preId[0] = C ( ( 3 + 11 + 18 ) % 36 ) = C ( 32 % 36 ) = C ( 31 ) = 'W'

preId[1] = C ( ( 8 + 0 + 18 ) % 36 ) = C ( 26 % 36 ) = C ( 26 ) = 'Q'preId[1] = C ( ( 8 + 0 + 18 ) % 36 ) = C ( 26 % 36 ) = C ( 26 ) = 'Q'

preId[2] = C ( ( 2 + 6 + 18 ) % 36 ) = C ( 26 % 36 ) = C ( 26 ) = 'Q'preId[2] = C ( ( 2 + 6 + 18 ) % 36 ) = C ( 26 % 36 ) = C ( 26 ) = 'Q'

preId[3] = C ( ( 9 + 14 + 18 ) % 36 ) = C ( 41 % 36 ) = C ( 5 ) = '5'preId[3] = C ( ( 9 + 14 + 18 ) % 36 ) = C ( 41 % 36 ) = C ( 5 ) = '5'

preId[4] = C ( ( 0 + 15 + 18 ) % 36 ) = C ( 33 % 36 ) = C ( 33 ) = 'X'preId[4] = C ( ( 0 + 15 + 18 ) % 36 ) = C ( 33 % 36 ) = C ( 33 ) = 'X'

preId[5] = C ( 1 + 10 + 18 ) % 36 ) = C ( 29 % 36 ) = C ( 29 ) = 'T'preId[5] = C ( 1 + 10 + 18 ) % 36 ) = C ( 29 % 36 ) = C ( 29 ) = 'T'

이고,ego,

postId[0] = C ( ( 3 + 18 ) % 36 ) = C ( 21 ) = 'L'postId[0] = C ( ( 3 + 18 ) % 36 ) = C ( 21 ) = 'L'

postId[1] = C ( ( 8 + 18 ) % 36 ) = C ( 26 ) = 'Q'postId[1] = C ( ( 8 + 18 ) % 36 ) = C ( 26 ) = 'Q'

postId[2] = C ( ( 2 + 18 ) % 36 ) = C ( 20 ) = 'K'postId[2] = C ( ( 2 + 18 ) % 36 ) = C ( 20 ) = 'K'

postId[3] = C ( ( 9 + 18 ) % 36 ) = C ( 27 ) = 'R'postId[3] = C ( ( 9 + 18 ) % 36 ) = C ( 27 ) = 'R'

postId[4] = C ( ( 0 + 18 ) % 36 ) = C ( 18 ) = 'I'postId[4] = C ( ( 0 + 18 ) % 36 ) = C ( 18 ) = 'I'

postId[5] = C ( ( 1 + 18 ) % 36 ) = C ( 19 ) = 'J'postId[5] = C ( ( 1 + 18 ) % 36 ) = C ( 19 ) = 'J'

이 되어,become this,

R = generate_random_id(C, U, N, T) 가 되고, R = ‘WQQ5XT LQKRIJ’ 가 나온다.R = generate_random_id(C, U, N, T) and R = ‘WQQ5XT LQKRIJ’.

따라서 같은 시점에 같은 OTP가 나와도 마다 다른 랜덤 코드는 상이한 결과를 가진다.Therefore, even if the same OTP occurs at the same time, different random codes have different results.

도 15는 본 발명의 다양한 실시예에 따른 오프셋 결정 과정을 설명하기 위한 흐름도를 도시한다.15 is a flowchart illustrating an offset determination process according to various embodiments of the present disclosure.

1510 동작에서, 전자 장치(101)는 모든 사용자에게 동일한 제 2 씨드를 획득할 수 있다. 여기에서, 제 2 씨드는 예를 들어 시간 기반 일회용 암호를 생성하기 위한 씨드값일 수 있으며, 제 1 씨드와는 상이할 수 있다. 1520 동작에서, 전자 장치(101)는 제 2 씨드 및 제 1 시간 정보에 기초하여 제 2 OTP를 생성할 수 있으며, 1530 동작에서 상기 제 2 OTP를 이용하여 도 4에서 이용할 오프셋을 결정할 수 있다. 예를 들어, 전자 장치(101)는 제 2 씨드를 이용하여 생성한 오프셋에 문자 세트의 원소의 개수에 대한 모드 연산의 결과 값으로 오프셋을 설정할 수 있다. 제 2 씨드는 제 1 사용자 뿐만 아니라 시스템에 가입된 사용자 모두에게 동일할 수 있으며, 이에 따라 제 1 시점에서 생성된 오프셋은 모든 사용자에게 동일할 수 있어, 생성된 코드의 유일성이 연속하여 보장될 수 있다.In operation 1510 , the electronic device 101 may obtain the same second seed for all users. Here, the second seed may be, for example, a seed value for generating a time-based one-time password, and may be different from the first seed. In operation 1520 , the electronic device 101 may generate a second OTP based on the second seed and first time information, and in operation 1530 may determine an offset to be used in FIG. 4 using the second OTP. For example, the electronic device 101 may set the offset as a result value of a mode operation on the number of elements in the character set to the offset generated using the second seed. The second seed may be the same not only for the first user but also for all users subscribed to the system, and accordingly, the offset generated at the first time point may be the same for all users, so that the uniqueness of the generated code can be continuously guaranteed. have.

도 16은 본 발명의 다양한 실시예에 따른 문자 세트 결정 방법의 흐름도를 도시한다.16 is a flowchart of a method for determining a character set according to various embodiments of the present disclosure;

1610 동작에서, 전자 장치(101)는 모든 사용자에게 동일한 제 2 씨드를 획득할 수 있다. 여기에서, 제 2 씨드는 예를 들어 시간 기반 일회용 암호를 생성하기 위한 씨드값일 수 있으며, 제 1 씨드와는 상이할 수 있다. In operation 1610 , the electronic device 101 may obtain the same second seed for all users. Here, the second seed may be, for example, a seed value for generating a time-based one-time password, and may be different from the first seed.

1620 동작에서, 전자 장치(101)는 제 2 씨드 및 제 1 시간 정보를 이용하여 제 2 OTP 생성할 수 있다. 1630 동작에서, 전자 장치(101)는 제 2 OTP를 이용하여 문자 세트를 결정할 수 있다. 예를 들어, 전자 장치(101)는 기본 문자 세트를 최초 획득할 수 있으며, 기본 문자 세트를 제 2 OTP에 기초하여 변형함으로써 코드 생성에 이용할 문자 세트를 결정할 수 있다.In operation 1620 , the electronic device 101 may generate a second OTP using the second seed and the first time information. In operation 1630 , the electronic device 101 may determine a character set using the second OTP. For example, the electronic device 101 may initially acquire a basic character set, and may determine a character set to be used for code generation by transforming the basic character set based on the second OTP.

도 17은 본 발명의 다양한 실시예에 따른 문자 세트 결정 방법의 흐름도를 도시한다.17 is a flowchart of a method for determining a character set according to various embodiments of the present disclosure;

1710 동작에서, 전자 장치(101)는 기본 문자 세트를 획득할 수 있다. 예를 들어, 전자 장치(101)는 { '0', '1', '2', …, '9' }의 기본 문자 세트를 획득할 수 있다. 기본 문자 세트의 원소의 개수는 10일 수 있다.In operation 1710, the electronic device 101 may obtain a basic character set. For example, the electronic device 101 is { '0', '1', '2', ... , you can get the default character set of '9' }. The number of elements in the basic character set may be 10.

1720 동작에서, 전자 장치(101) 제 2 씨드 및 제 1 시간 정보를 이용하여 제 2 OTP 생성할 수 있다. 본 발명의 다양한 실시예에서는, 전자 장치(101)는 hOTP 알고리즘으로 제 2 OTP를 생성할 수도 있다. 예를 들어, 전자 장치(101)는 123456의 제 2 OTP를 생성한 것을 상정하도록 한다.In operation 1720, the electronic device 101 may generate a second OTP using the second seed and the first time information. According to various embodiments of the present disclosure, the electronic device 101 may generate the second OTP using the hOTP algorithm. For example, it is assumed that the electronic device 101 generates the second OTP of 123456.

1730 동작에서, 전자 장치(101)는 제 2 OTP 및 문자 세트의 크기를 모드(mod) 연산하여, 연산 결과값을 획득할 수 있다. 1740 동작에서, 전자 장치(101)는 연산 결과값을 이용하여 기본 문자 세트의 두 개의 문자의 위치를 스와핑할 수 있다. 예를 들어, 전자 장치(101)는 123456에 대한 모드 연산 결과인 6을 획득할 수 있다. 전자 장치(101)는 6의 연산 결과를 문자 세트의 인덱스로 해석하여, 문자 세트의 6번째 문자를 0번째 문자와 스와핑할 수 있다.In operation 1730 , the electronic device 101 may perform a mod operation on the size of the second OTP and the character set to obtain an operation result value. In operation 1740, the electronic device 101 may swap positions of two characters of the basic character set using the operation result. For example, the electronic device 101 may obtain 6, which is a mode operation result for 123456. The electronic device 101 may interpret the operation result of 6 as an index of the character set, and may swap the 6th character of the character set with the 0th character.

1750 동작에서, 전자 장치(101)는 모든 문자에 대하여 순차적으로 스와핑을 수행하여 기본 문자 세트를 셔플링한 문자 세트를 획득할 수 있다. 예를 들어, 전자 장치(101)는 문자 세트의 1번째 문자에 대하여, OPT 생성, 모드 연산, 연산 결과 값을 인덱스로 해석하여 1번째 문자와 인덱스에 대응하는 문자와 스와핑을 수행하고, 상술한 과정을 2번째 문자 내지 9번째 문자에 대하여 모두 수행할 수 있다.In operation 1750, the electronic device 101 sequentially performs swapping on all characters to obtain a character set obtained by shuffling a basic character set. For example, the electronic device 101 interprets the OPT generation, mode operation, and operation result value as an index with respect to the first character of the character set, and performs swapping with the first character and the character corresponding to the index, and The process may be performed for all of the second to ninth characters.

1760 동작에서, 전자 장치(101)는 셔플링한 문자 세트를 이용하여 제 1 코드를 생성할 수 있다.In operation 1760, the electronic device 101 may generate the first code using the shuffled character set.

상술한 바에 따라, 문자 집합은 동적으로 변경될 수 있으며, 씨드만 공유된다면 모든 사용자에 대하여 동일한 문자 집합이 생성될 수 있어, 상술한 바에서 생성된 코드의 유일성이 연속되어 보장될 수 있다.As described above, the character set can be dynamically changed, and if only the seed is shared, the same character set can be generated for all users, so that the uniqueness of the generated code can be continuously guaranteed as described above.

하기에서는, 상술한 문자 세트 셔플링 방법의 알고리즘을 설명하도록 한다.Hereinafter, the algorithm of the above-described character set shuffling method will be described.

1. 기본 문자집합 C = {‘0’, ‘1’, ’2’, ’3’, ’4’, ’5’, ’6’, ’7’, ’8’, ’9’} 이라한다.1. Let the basic character set C = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'} .

2. Global Key를 설정하고 이를 OTP의 seed로 이용한다.2. Set the Global Key and use it as the seed of OTP.

3. 문자집합의 크기 S만큼 다음을 반복하여 랜덤한 문자집합을 만든다.3. Repeat the following as much as the size of the character set S to create a random character set.

1) C(n)의 자리를 변경하기 위해서, HOTP를 하나 만들고 집합크기로 Mod계산한다.1) To change the position of C(n), create one HOTP and calculate Mod with the set size.

2) HOTP는 123456이면, 문자집합 크기인 10으로 Mod계산하여 6을 얻어낸다.2) If HOTP is 123456, 6 is obtained by calculating Mod with the character set size of 10.

3) 얻어낸 6은 C의 인덱스를 의미하며 C[6]에 해당하는 숫자를 현재 바꾸려고 하는 C[0]번째 문자와 자리를 바꾼다. 즉 스와핑 한다.3) The obtained 6 means the index of C, and the number corresponding to C[6] is replaced with the C[0]th character that is currently being replaced. That is, swapping.

4) 1,2,3과정을 9번 더 반복하여 C[9]까지 수행한다.4) Repeat steps 1, 2, 3 9 more times until C[9].

5) 위 계산이 완료되면 셔플링된 문자집합이 나오고, 이 집합을 이용하여 랜덤아이디를 생성할 수 있다.5) When the above calculation is completed, a shuffled character set is displayed, and a random ID can be generated using this set.

시뮬레이션 - 문자집합 셔플링Simulation - Shuffling Character Sets

문자집합 C = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}이고, C의 크기S = 10, 0 <= n < 10이다. The character set C = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}, the size of C is S = 10, 0 <= n < 10.

각 단계에서 생성되는 HOTP를 S로 모듈러 한 값을 O라 하고 Let O be the modular value of HOTP generated in each step by S,

O(0) = 1111 2222 % 10, O(0) = 1111 2222 % 10,

O(1) = 3333 4444 % 10, O(1) = 3333 4444 % 10,

O(2) = 5555 6666 % 10,O(2) = 5555 6666 % 10,

O(3) = 7777 8888 % 10,O(3) = 7777 8888 % 10,

O(4) = 9999 0000 % 10,O(4) = 9999 0000 % 10,

O(5) = 1111 2222 % 10,O(5) = 1111 2222 % 10,

O(6) = 3333 4444 % 10,O(6) = 3333 4444 % 10,

O(7) = 5555 6666 % 10,O(7) = 5555 6666 % 10,

O(8) = 7777 8888 % 10, O(8) = 7777 8888 % 10,

O(9) = 9999 0000 % 10 이라고 가정한다.Assume that O(9) = 9999 0000 % 10.

1) C[0] = 0 섞기One) C[0] = 0 shuffle

O[0] = 11112222 % 10 = 2 이므로, C[2]을 C[0]자리에 보내고 C[0]을 C[2]에 보내서 스와핑한다. 따라서 문자집합은 C = {2, 1, 0, 3, 4, 5, 6, 7, 8, 9} 가 된다.Since O[0] = 11112222 % 10 = 2, we swap by sending C[2] to C[0] and C[0] to C[2]. So the character set is C = {2, 1, 0, 3, 4, 5, 6, 7, 8, 9}.

2) C[1] = 1 섞기2) C[1] = 1 shuffle

O[1] = 33334444 % 10 = 4 이므로, C[4]을 C[1]자리에 보내고 C[1]을 C[4]에 보내서 스와핑한다. 따라서 문자집합은 C = {2, 4, 0, 3, 1, 5, 6, 7, 8, 9} 이 된다.Since O[1] = 33334444 % 10 = 4, we swap by sending C[4] to C[1] and sending C[1] to C[4]. So the character set is C = {2, 4, 0, 3, 1, 5, 6, 7, 8, 9}.

3) C[2] = 0 섞기3) C[2] = 0 shuffle

O[2] = 55556666 % 10 = 6 이므로, C[6]을 C[2]자리에 보내고 C[2]를 C[6]에 보내서 스와핑한다. 따라서 문자집합은 C = {2, 4, 6, 3, 1, 5, 0, 7, 8, 9}이 된다.Since O[2] = 55556666 % 10 = 6, we swap by sending C[6] to C[2] and C[2] to C[6]. So the character set is C = {2, 4, 6, 3, 1, 5, 0, 7, 8, 9}.

4) C[3] = 1 섞기4) C[3] = 1 shuffle

O[3] = 77778888 % 10 = 8 이므로, C[8]을 C[3]자리에 보내고 C[3]를 C[8]에 보내서 스와핑한다. 따라서 문자집합은 C = {2, 4, 6, 8, 1, 5, 0, 7, 3, 9}이 된다.Since O[3] = 77778888 % 10 = 8, we swap by sending C[8] to C[3] and C[3] to C[8]. So the character set is C = {2, 4, 6, 8, 1, 5, 0, 7, 3, 9}.

5) C[4] = 4 섞기5) C[4] = 4 shuffle

O[4] = 99990000 % 10 = 0 이므로, C[0]을 C[4]자리에 보내고 C[4]를 C[0]에 보내서 스와핑한다. 따라서 문자집합은 C = {1, 4, 6, 8, 2, 5, 0, 7, 3, 9}이 된다.Since O[4] = 99990000 % 10 = 0, we swap by sending C[0] to C[4] and C[4] to C[0]. So the character set is C = {1, 4, 6, 8, 2, 5, 0, 7, 3, 9}.

6) C[5] = 5 섞기6) C[5] = 5 shuffle

O[5] = 1111 2222 % 10 = 2 이므로, C[2]을 C[5]자리에 보내고 C[5]를 C[2]에 보내서 스와핑한다. 따라서 문자집합은 C = {1, 4, 5, 8, 2, 6, 0, 7, 3, 9}이 된다.Since O[5] = 1111 2222 % 10 = 2, swap C[2] by sending C[5] to C[5] and C[5] to C[2]. So the character set is C = {1, 4, 5, 8, 2, 6, 0, 7, 3, 9}.

7) C[6] = 0 섞기7) C[6] = 0 shuffle

O[6] = 3333 4444 % 10 = 4 이므로, C[4]을 C[6]자리에 보내고 C[6]를 C[4]에 보내서 스와핑한다. 따라서 문자집합은 C = {1, 4, 5, 8, 0, 6, 2, 7, 3, 9}이 된다.Since O[6] = 3333 4444 % 10 = 4, we swap by sending C[4] to C[6] and C[6] to C[4]. So the character set is C = {1, 4, 5, 8, 0, 6, 2, 7, 3, 9}.

8) C[7] = 7 섞기8) C[7] = 7 shuffle

O[7] = 5555 6666% 10 = 6 이므로, C[6]을 C[7]자리에 보내고 C[7]를 C[6]에 보내서 스와핑한다. 따라서 문자집합은 C = {1, 4, 5, 8, 0, 6, 7, 2, 3, 9}이 된다.O[7] = 5555 6666% 10 = 6, so we swap by sending C[6] to C[7] and sending C[7] to C[6]. So the character set is C = {1, 4, 5, 8, 0, 6, 7, 2, 3, 9}.

9) C[8] = 3 섞기9) C[8] = 3 shuffle

O[8] = 7777 8888% 10 = 8 이므로, C[8]을 C[8]자리에 보내고 C[8]를 C[8]에 보내서 스와핑한다. 따라서 문자집합은 C = {1, 4, 5, 8, 0, 6, 7, 2, 3, 9}이 된다.O[8] = 7777 8888% 10 = 8, so we swap by sending C[8] to C[8] and C[8] to C[8]. So the character set is C = {1, 4, 5, 8, 0, 6, 7, 2, 3, 9}.

10) C[9] = 9 섞기10) C[9] = 9 shuffle

O[9] = 9999 0000 % 10 = 0 이므로, C[0]을 C[9]자리에 보내고 C[9]를 C[0]에 보내서 스와핑한다. 따라서 문자집합은 C = {9, 4, 5, 8, 0, 6, 7, 2, 3, 1}이 된다.Since O[9] = 9999 0000 % 10 = 0, we swap by sending C[0] to C[9] and C[9] to C[0]. So the character set is C = {9, 4, 5, 8, 0, 6, 7, 2, 3, 1}.

따라서 셔플링된 문자집합은 C = {‘9’, ‘4’, ‘5’, ‘8’, ‘0’, ‘6’, ‘7’, ‘2’, ‘3’, ‘1’}이 되며, 이 셔플링 문자집합을 이용하여 랜덤 코드를 한번 생성하게 된다.So the shuffled character set is C = {'9', '4', '5', '8', '0', '6', '7', '2', '3', '1'} , and a random code is generated once using this shuffling character set.

본 발명의 실시 예들은 하드웨어, 소프트웨어 또는 하드웨어 및 소프트웨어의 조합의 형태로 실현 가능하다는 것을 알 수 있을 것이다. 이러한 임의의 소프트웨어는 예를 들어, 삭제 가능 또는 재기록 가능 여부와 상관없이, ROM 등의 저장 장치와 같은 휘발성 또는 비휘발성 저장 장치, 또는 예를 들어, RAM, 메모리 칩, 장치 또는 집적 회로와 같은 메모리, 또는 예를 들어 CD, DVD, 자기 디스크 또는 자기 테이프 등과 같은 광학 또는 자기적으로 기록 가능함과 동시에 기계(예를 들어, 컴퓨터)로 읽을 수 있는 저장 매체에 저장될 수 있다. 본 발명의 그래픽 화면 갱신 방법은 제어부 및 메모리를 포함하는 컴퓨터 또는 휴대 단말에 의해 구현될 수 있고, 상기 메모리는 본 발명의 실시 예들을 구현하는 지시들을 포함하는 프로그램 또는 프로그램들을 저장하기에 적합한 기계로 읽을 수 있는 저장 매체의 한 예임을 알 수 있을 것이다. 따라서, 본 발명은 본 명세서의 임의의 청구항에 기재된 장치 또는 방법을 구현하기 위한 코드를 포함하는 프로그램 및 이러한 프로그램을 저장하는 기계(컴퓨터 등)로 읽을 수 있는 저장 매체를 포함한다. 또한, 이러한 프로그램은 유선 또는 무선 연결을 통해 전달되는 통신 신호와 같은 임의의 매체를 통해 전자적으로 이송될 수 있고, 본 발명은 이와 균등한 것을 적절하게 포함한다.It will be appreciated that the embodiments of the present invention can be realized in the form of hardware, software, or a combination of hardware and software. Any such software, for example, whether erasable or rewritable, may be stored in a volatile or non-volatile storage device such as a ROM, or a memory such as, for example, RAM, a memory chip, device or integrated circuit. , or an optically or magnetically recordable storage medium such as a CD, DVD, magnetic disk, or magnetic tape, for example, and a machine (eg, computer) readable storage medium. The graphic screen updating method of the present invention may be implemented by a computer or portable terminal including a control unit and a memory, wherein the memory is a machine suitable for storing a program or programs including instructions for implementing embodiments of the present invention. It will be appreciated that this is an example of a readable storage medium. Accordingly, the present invention includes a program including code for implementing the apparatus or method described in any claim of the present specification, and a machine (computer, etc.) readable storage medium storing such a program. Also, such a program may be transmitted electronically through any medium such as a communication signal transmitted through a wired or wireless connection, and the present invention suitably includes the equivalent thereof.

또한, 상기 장치는 유선 또는 무선으로 연결되는 프로그램 제공 장치로부터 상기 프로그램을 수신하여 저장할 수 있다. 상기 프로그램 제공 장치는 상기 그래픽 처리 장치가 기설정된 컨텐츠 보호 방법을 수행하도록 하는 지시들을 포함하는 프로그램, 컨텐츠 보호 방법에 필요한 정보 등을 저장하기 위한 메모리와, 상기 그래픽 처리 장치와의 유선 또는 무선 통신을 수행하기 위한 통신부와, 상기 그래픽 처리 장치의 요청 또는 자동으로 해당 프로그램을 상기 송수신 장치로 전송하는 제어부를 포함할 수 있다.Also, the device may receive and store the program from a program providing device connected by wire or wirelessly. The program providing device includes a program including instructions for the graphic processing device to perform a preset content protection method, a memory for storing information necessary for the content protection method, and wired or wireless communication with the graphic processing device. It may include a communication unit for performing, and a control unit for automatically transmitting a corresponding program to the transceiver at the request of the graphic processing device or the transceiver.

Claims (20)

와이파이를 제공하는 억세스 포인트에 있어서,
전자 장치와 데이터를 송수신하는 제 1 통신 회로;
접속 정보를 생성하기 위한 와이 파이 접속 어플리케이션을 저장하는 메모리, 및
프로세서를 포함하고, 상기 프로세서는,
상기 제 1 통신 회로를 통하여, 상기 전자 장치로부터 제 1 접속 정보를 수신하고,
상기 와이 파이 접속 어플리케이션을 실행하고,
상기 와이 파이 접속 어플리케이션을 통하여 제 2 접속 정보를 생성하고,
상기 제 1 접속 정보 및 상기 제 2 접속 정보를 비교하고, 상기 비교 결과에 기반하여 상기 전자 장치와의 와이 파이 연결의 형성 여부를 결정하도록 설정된 억세스 포인트.
An access point providing Wi-Fi, comprising:
a first communication circuit for transmitting and receiving data to and from the electronic device;
a memory for storing a Wi-Fi connection application for generating connection information; and
A processor comprising:
receiving first connection information from the electronic device through the first communication circuit;
Run the Wi-Fi connection application,
generating second connection information through the Wi-Fi connection application;
an access point configured to compare the first access information and the second access information, and to determine whether to establish a Wi-Fi connection with the electronic device based on a result of the comparison.
제 1 항에 있어서,
상기 프로세서는,
상기 제 1 접속 정보 및 상기 제 2 접속 정보가 동일함에 기반하여, 상기 와이 파이 연결을 형성하고,
상기 제 1 접속 정보 및 상기 제 2 접속 정보가 상이함에 기반하여, 상기 와이 파이 연결의 형성을 거부하도록 더 설정된 억세스 포인트.
The method of claim 1,
The processor is
Forming the Wi-Fi connection based on the fact that the first access information and the second access information are the same,
The access point is further configured to reject the establishment of the Wi-Fi connection based on the difference between the first access information and the second access information.
제 1 항에 있어서,
상기 제 1 통신 회로와 상이한 통신 방식을 제공하는 제 2 통신 회로를 더 포함하는 억세스 포인트.
The method of claim 1,
and a second communication circuit that provides a different communication scheme than the first communication circuit.
제 3 항에 있어서,
상기 프로세서는,
상기 제 2 통신 회로를 통하여, 비콘 신호를 송신하도록 설정된 억세스 포인트.
4. The method of claim 3,
The processor is
an access point configured to transmit a beacon signal via the second communication circuit.
제 4 항에 있어서,
상기 프로세서는, 상기 제 1 통신 회로를 통하여, 상기 전자 장치로부터 상기 제 1 접속 정보를 수신하는 동작의 적어도 일부로,
상기 제 1 통신 회로를 통하여, 상기 전자 장치가 상기 비콘 신호를 수신함에 기반하여 생성한 상기 제 1 접속 정보를 수신하도록 설정된 억세스 포인트.
5. The method of claim 4,
The processor, through the first communication circuit, as at least part of the operation of receiving the first connection information from the electronic device,
The access point is configured to receive the first access information generated based on the reception of the beacon signal by the electronic device through the first communication circuit.
제 1 항에 있어서,
상기 제 1 접속 정보 및 상기 제 2 접속 정보는, 일회용 패스워드(one time password: OTP)인 것을 특징으로 하는 억세스 포인트.
The method of claim 1,
The first access information and the second access information, an access point, characterized in that the one-time password (one time password: OTP).
제 1 항에 있어서,
상기 프로세서는,
일회용 암호를 생성하기 위한 제 1 씨드, 제 1 사용자에게 부여된 제 1 고유 코드 및 문자 세트를 획득하고,
상기 제 1 씨드를 이용하여 제 1 OTP(one time password)를 생성하고,
상기 제 1 OTP 및 제 1 고유 코드의 연산 결과를 상기 문자 세트에 매핑하여 제 1 서브 코드를 생성하고,
상기 제 1 OTP를 상기 문자 세트에 매핑하여 제 2 서브 코드를 생성하고,
상기 제 1 서브 코드 및 상기 제 2 서브 코드를 이용하여 상기 제 2 접속 정보에 대응하는 코드를 생성하도록 설정된 억세스 포인트.
The method of claim 1,
The processor is
obtaining a first seed for generating a one-time password, a first unique code and character set assigned to the first user;
generating a first one time password (OTP) using the first seed;
mapping the operation result of the first OTP and the first unique code to the character set to generate a first sub-code;
mapping the first OTP to the character set to generate a second subcode;
an access point configured to generate a code corresponding to the second access information by using the first sub-code and the second sub-code.
제 7 항에 있어서,
상기 프로세서는, 상기 제 1 씨드를 이용하여 제 1 OTP를 생성하는 동작의 적어도 일부로, 상기 제 1 씨드 및 제 1 시점에 대응하는 제 1 시간 정보를 시간 기반 일회용 암호 알고리즘에 입력하여, 상기 제 1 OTP를 생성하도록 설정된 억세스 포인트.
8. The method of claim 7,
The processor, as at least part of an operation of generating a first OTP using the first seed, inputs first time information corresponding to the first seed and a first time point into a time-based one-time encryption algorithm, An access point set up to generate OTPs.
제 8 항에 있어서,
상기 프로세서는, 상기 제 1 OTP 및 제 1 고유 코드의 연산 결과를 상기 문자 세트에 매핑하여 제 1 서브 코드를 생성하는 동작의 적어도 일부로, 상기 문자 세트와 비교함으로써, 상기 제 1 고유 코드를 숫자 코드로 변환하고, 상기 숫자 코드를 상기 제 1 OTP와 합산하고, 상기 합산 결과를 상기 문자 세트에 매핑하여 상기 제 1 서브 코드를 생성하도록 설정된 억세스 포인트.
9. The method of claim 8,
The processor compares the first unique code with the character set as at least part of an operation of generating a first sub-code by mapping an operation result of the first OTP and the first unique code to the character set, thereby converting the first unique code to a numeric code an access point configured to generate the first sub-code by converting the numeric code to the first OTP, and mapping the summing result to the character set.
제 1 항에 있어서,
상기 프로세서는,
상기 전자 장치를 포함하는 적어도 하나의 현재 상기 억세스 포인트에 접속 중인 전자 장치에 대한 정보를 제공하도록 설정된 억세스 포인트.
The method of claim 1,
The processor is
At least one access point including the electronic device configured to provide information on an electronic device currently being connected to the access point.
와이파이를 제공하는 억세스 포인트의 동작 방법에 있어서,
상기 억세스 포인트의 제 1 통신 회로를 통하여, 전자 장치로부터 제 1 접속 정보를 수신하는 동작;
상기 와이 파이 접속 어플리케이션을 실행하는 동작;
접속 정보를 생성하기 위한 와이 파이 접속 어플리케이션을 통하여 제 2 접속 정보를 생성하는 동작;
상기 제 1 접속 정보 및 상기 제 2 접속 정보를 비교하는 동작, 및
상기 비교 결과에 기반하여 상기 전자 장치와의 와이 파이 연결의 형성 여부를 결정하는 동작을 포함하는
억세스 포인트의 동작 방법.
A method of operating an access point providing Wi-Fi, comprising:
receiving first access information from an electronic device through a first communication circuit of the access point;
executing the Wi-Fi connection application;
generating second connection information through a Wi-Fi connection application for generating connection information;
comparing the first access information and the second access information; and
and determining whether to establish a Wi-Fi connection with the electronic device based on the comparison result.
How the access point works.
제 11 항에 있어서,
상기 비교 결과에 기반하여 상기 전자 장치와의 와이 파이 연결의 형성 여부를 결정하는 동작은,
상기 제 1 접속 정보 및 상기 제 2 접속 정보가 동일함에 기반하여, 상기 와이 파이 연결을 형성하는 동작, 또는
상기 제 1 접속 정보 및 상기 제 2 접속 정보가 상이함에 기반하여, 상기 와이 파이 연결의 형성을 거부하는 동작
을 포함하는 억세스 포인트의 동작 방법.
12. The method of claim 11,
The operation of determining whether to establish a Wi-Fi connection with the electronic device based on the comparison result includes:
forming the Wi-Fi connection based on the fact that the first access information and the second access information are the same; or
Refusing to establish the Wi-Fi connection based on the difference between the first access information and the second access information
A method of operating an access point comprising a.
제 11 항에 있어서,
상기 제 1 통신 회로와 상이한 통신 방식을 제공하는 제 2 통신 회로를 더 포함하는 억세스 포인트의 동작 방법.
12. The method of claim 11,
The method of operating an access point further comprising a second communication circuit that provides a different communication method than the first communication circuit.
제 13 항에 있어서,
상기 제 2 통신 회로를 통하여, 비콘 신호를 송신하는 동작
을 더 포함하는 억세스 포인트의 동작 방법.
14. The method of claim 13,
Transmitting a beacon signal through the second communication circuit
The method of operation of the access point further comprising a.
제 14 항에 있어서,
상기 제 1 통신 회로를 통하여, 상기 전자 장치로부터 상기 제 1 접속 정보를 수신하는 동작은,
상기 제 1 통신 회로를 통하여, 상기 전자 장치가 상기 비콘 신호를 수신함에 기반하여 생성한 상기 제 1 접속 정보를 수신하는 억세스 포인트의 동작 방법.
15. The method of claim 14,
Receiving the first connection information from the electronic device through the first communication circuit includes:
The method of operating an access point for receiving the first access information generated based on the reception of the beacon signal by the electronic device through the first communication circuit.
제 11 항에 있어서,
상기 제 1 접속 정보 및 상기 제 2 접속 정보는, 일회용 패스워드(one time password: OTP)인 것을 특징으로 하는 억세스 포인트의 동작 방법.
12. The method of claim 11,
The operating method of the access point, characterized in that the first access information and the second access information, one time password (one time password: OTP).
제 11 항에 있어서,
일회용 암호를 생성하기 위한 제 1 씨드, 제 1 사용자에게 부여된 제 1 고유 코드 및 문자 세트를 획득하는 동작;
상기 제 1 씨드를 이용하여 제 1 OTP(one time password)를 생성하는 동작;
상기 제 1 OTP 및 제 1 고유 코드의 연산 결과를 상기 문자 세트에 매핑하여 제 1 서브 코드를 생성하는 동작;
상기 제 1 OTP를 상기 문자 세트에 매핑하여 제 2 서브 코드를 생성하는 동작, 및
상기 제 1 서브 코드 및 상기 제 2 서브 코드를 이용하여 상기 제 2 접속 정보에 대응하는 코드를 생성하는 동작
을 더 포함하는 억세스 포인트의 동작 방법.
12. The method of claim 11,
obtaining a first seed for generating a one-time password, a first unique code and character set assigned to the first user;
generating a first one time password (OTP) using the first seed;
generating a first sub-code by mapping an operation result of the first OTP and the first unique code to the character set;
mapping the first OTP to the character set to generate a second sub-code; and
generating a code corresponding to the second access information by using the first sub-code and the second sub-code
The method of operation of the access point further comprising a.
제 17 항에 있어서,
상기 제 1 씨드를 이용하여 제 1 OTP를 생성하는 동작은,
상기 제 1 씨드 및 제 1 시점에 대응하는 제 1 시간 정보를 시간 기반 일회용 암호 알고리즘에 입력하여, 상기 제 1 OTP를 생성하는 억세스 포인트의 동작 방법.
18. The method of claim 17,
The operation of generating a first OTP using the first seed includes:
An operating method of an access point for generating the first OTP by inputting the first time information corresponding to the first seed and the first time point into a time-based one-time encryption algorithm.
제 18 항에 있어서,
상기 제 1 OTP 및 제 1 고유 코드의 연산 결과를 상기 문자 세트에 매핑하여 제 1 서브 코드를 생성하는 동작은,
상기 문자 세트와 비교함으로써, 상기 제 1 고유 코드를 숫자 코드로 변환하고, 상기 숫자 코드를 상기 제 1 OTP와 합산하고, 상기 합산 결과를 상기 문자 세트에 매핑하여 상기 제 1 서브 코드를 생성하는 억세스 포인트의 동작 방법.
19. The method of claim 18,
The operation of generating a first sub-code by mapping the operation result of the first OTP and the first unique code to the character set includes:
converting the first unique code to a numeric code by comparing with the character set, summing the numeric code with the first OTP, and mapping the summing result to the character set to generate the first sub-code How points work.
제 11 항에 있어서,
상기 전자 장치를 포함하는 적어도 하나의 현재 상기 억세스 포인트에 접속 중인 전자 장치에 대한 정보를 제공하는 동작
을 더 포함하는 억세스 포인트의 동작 방법.
12. The method of claim 11,
Providing information on at least one electronic device currently connected to the access point including the electronic device
The method of operation of the access point further comprising a.
KR1020200174097A 2020-12-14 2020-12-14 Access point providing wifi and method for operating thereof KR20220084533A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200174097A KR20220084533A (en) 2020-12-14 2020-12-14 Access point providing wifi and method for operating thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200174097A KR20220084533A (en) 2020-12-14 2020-12-14 Access point providing wifi and method for operating thereof

Publications (1)

Publication Number Publication Date
KR20220084533A true KR20220084533A (en) 2022-06-21

Family

ID=82221239

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200174097A KR20220084533A (en) 2020-12-14 2020-12-14 Access point providing wifi and method for operating thereof

Country Status (1)

Country Link
KR (1) KR20220084533A (en)

Similar Documents

Publication Publication Date Title
CN1953375B (en) Account management in a system and method for providing code signing services
US8375210B2 (en) Automatic configuration of devices upon introduction into a networked environment
US8335925B2 (en) Method and arrangement for secure authentication
CN111246539B (en) Networking binding method of intelligent household appliance, intelligent household appliance and user terminal
JP4301997B2 (en) Authentication method for information appliances using mobile phones
KR102236656B1 (en) Secured communication device providing secured connection having multiple functions and method for operating thereof
KR102227505B1 (en) Electronic device for connecting to access point providing wifi
CN100507934C (en) System and method for registering entities for code signing services
JP2005122747A (en) General-purpose security method by combining network and physical interface, storage medium, and system
CN102739642A (en) Permitting access to a network
KR20160003796A (en) User authentication
CN104363226A (en) Method, device and system for logging in operating system
JP5951094B1 (en) Generation device, terminal device, generation method, generation program, and authentication processing system
CN105308605A (en) Secure automatic authorized access to any application through a third party
CN100511258C (en) System and method for providing code signing services
CN109064599A (en) Purview certification method and device
EP1868125A1 (en) Method for identifying a user of a computer system
US20090150979A1 (en) Network system, network method, and terminal and program therefor
KR101739446B1 (en) User authentication system and user authentication method therefor
KR20220084533A (en) Access point providing wifi and method for operating thereof
JP6499736B2 (en) User authentication method and system for realizing the method
JP2017055384A (en) Generation device, terminal device, generation method, generation program, and authentication processing system
JP4914725B2 (en) Authentication system, authentication program
EP3869729B1 (en) Wireless network security system and method
CN113645054B (en) Wireless network equipment configuration method and system