[go: up one dir, main page]

KR102806813B1 - Method of providing data and electronic device supporting same - Google Patents

Method of providing data and electronic device supporting same Download PDF

Info

Publication number
KR102806813B1
KR102806813B1 KR1020200039824A KR20200039824A KR102806813B1 KR 102806813 B1 KR102806813 B1 KR 102806813B1 KR 1020200039824 A KR1020200039824 A KR 1020200039824A KR 20200039824 A KR20200039824 A KR 20200039824A KR 102806813 B1 KR102806813 B1 KR 102806813B1
Authority
KR
South Korea
Prior art keywords
electronic device
information
code
external electronic
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
KR1020200039824A
Other languages
Korean (ko)
Other versions
KR20210122541A (en
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 KR1020200039824A priority Critical patent/KR102806813B1/en
Priority to PCT/KR2021/003996 priority patent/WO2021201593A1/en
Publication of KR20210122541A publication Critical patent/KR20210122541A/en
Application granted granted Critical
Publication of KR102806813B1 publication Critical patent/KR102806813B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/146Methods for optical code recognition the method including quality enhancement steps
    • G06K7/1491Methods for optical code recognition the method including quality enhancement steps the method including a reconstruction step, e.g. stitching two pieces of bar code together to derive the full bar code
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

전자 장치에 있어서, 디스플레이, 통신 모듈, 프로세서 및 메모리를 포함하고, 상기 프로세서는, 데이터의 크기가 지정된 값 이상인 경우, 상기 데이터를 분할하고, 상기 분할된 각각의 데이터에 대응되는 복수 개의 코드 이미지들을 생성하고, 상기 생성된 복수 개의 코드 이미지들의 표시 순서를 지정하고, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 첫 번째 순서에 해당하는 코드 이미지를 상기 디스플레이의 지정된 영역에 표시하고, 상기 통신 모듈을 통해 외부 전자 장치로부터 지정된 신호를 수신하면, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 다음 순서에 해당하는 코드 이미지를 상기 지정된 영역에 표시하도록 설정되고, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 첫 번째 순서에 해당하는 코드 이미지는 상기 복수 개의 코드 이미지들에 대한 정보를 포함하는 전자 장치가 개시된다. 이 외에도 본 문서를 통해 파악되는 다양한 실시예들이 가능하다.In an electronic device, including a display, a communication module, a processor and a memory, the processor divides the data when the size of the data is equal to or greater than a specified value, generates a plurality of code images corresponding to each of the divided data, specifies a display order of the generated plurality of code images, and displays a code image whose display order corresponds to a first order among the plurality of code images in a specified area of the display, and when a specified signal is received from an external electronic device through the communication module, the electronic device is set to display a code image whose display order corresponds to a next order among the plurality of code images in the specified area, and the code image whose display order corresponds to the first order among the plurality of code images includes information about the plurality of code images. In addition to this, various embodiments that can be understood through the present document are possible.

Description

데이터의 제공 방법 및 이를 지원하는 전자 장치{Method of providing data and electronic device supporting same}Method of providing data and electronic device supporting same

본 발명의 다양한 실시예들은, 데이터를 제공하는 방법 및 이를 지원하는 전자 장치에 관한 것이다.Various embodiments of the present invention relate to a method for providing data and an electronic device supporting the same.

스마트 폰과 같은 전자 장치는 여러가지 방식으로 전자 장치 간 데이터를 교환할 수 있다. 예를 들어, 전자 장치는 데이터를 코드 이미지(예: 바 코드(bar code) 또는 QR 코드(quick response code))로 생성하여 디스플레이에 표시할 수 있다. 또한, 외부 전자 장치는 상기 코드 이미지를 인식할 수 있는 장치(예: 카메라)를 이용하여 상기 코드 이미지를 인식하여 상기 코드 이미지에 대응되는 데이터를 획득할 수 있다. 다만, 바 코드의 경우, 코드 이미지를 통해 전달할 수 있는 데이터의 양이 현저하게 작기 때문에, 최근에는 바코드보다 많은 데이터를 포함할 수 있는 QR 코드가 주로 사용되고 있다.Electronic devices such as smart phones can exchange data between electronic devices in various ways. For example, the electronic device can generate data as a code image (e.g., a bar code or a QR code (quick response code)) and display it on a display. In addition, an external electronic device can recognize the code image using a device (e.g., a camera) that can recognize the code image and obtain data corresponding to the code image. However, in the case of a bar code, since the amount of data that can be transmitted through a code image is significantly small, a QR code that can include more data than a bar code is mainly used recently.

그러나, QR 코드를 통해 대용량의 데이터를 전달하는 경우, 대용량의 데이터를 지정된 크기의 QR 코드에 포함하기 위해서는 QR 코드 내의 패턴이 밀집되게 되어, QR 코드의 인식률이 저하되는 현상이 발생할 수 있다.However, when transmitting a large amount of data through a QR code, the patterns within the QR code become densely packed in order to include the large amount of data in a QR code of a specified size, which may cause the recognition rate of the QR code to decrease.

본 발명의 다양한 실시 예들은, 데이터의 크기가 지정된 값 이상인 경우, 데이터를 복수 개로 분할하고, 분할된 데이터에 대응되는 복수 개의 코드 이미지들을 생성하고, 생성된 복수 개의 코드 이미지들을 분할된 데이터의 순서에 따라 순차적으로 디스플레이에 표시하는 데이터 제공 방법 및 이를 지원하는 전자 장치를 제공할 수 있다.Various embodiments of the present invention can provide a data providing method and an electronic device supporting the same, which divides data into a plurality of pieces when the size of the data is greater than a specified value, generates a plurality of code images corresponding to the divided data, and sequentially displays the generated plurality of code images on a display in the order of the divided data.

본 발명의 다양한 실시예에 따른 전자 장치에 있어서, 디스플레이, 통신 모듈, 프로세서 및 메모리를 포함하고, 상기 프로세서는, 데이터의 크기가 지정된 값 이상인 경우, 상기 데이터를 분할하고, 상기 분할된 각각의 데이터에 대응되는 복수 개의 코드 이미지들을 생성하고, 상기 생성된 복수 개의 코드 이미지들의 표시 순서를 지정하고, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 첫 번째 순서에 해당하는 코드 이미지를 상기 디스플레이의 지정된 영역에 표시하고, 상기 통신 모듈을 통해 외부 전자 장치로부터 지정된 신호를 수신하면, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 다음 순서에 해당하는 코드 이미지를 상기 지정된 영역에 표시하도록 설정되고,An electronic device according to various embodiments of the present invention comprises a display, a communication module, a processor and a memory, wherein the processor is configured to divide the data when the size of the data is greater than or equal to a specified value, generate a plurality of code images corresponding to each of the divided data, designate a display order of the generated plurality of code images, display a code image whose display order corresponds to a first order among the plurality of code images in a specified area of the display, and, when a specified signal is received from an external electronic device through the communication module, display a code image whose display order corresponds to a next order among the plurality of code images in the specified area.

상기 복수 개의 코드 이미지들 중 상기 표시 순서가 첫 번째 순서에 해당하는 코드 이미지는 상기 복수 개의 코드 이미지들에 대한 정보를 포함하는 전자 장치를 포함할 수 있다.Among the plurality of code images, a code image whose display order corresponds to a first order may include an electronic device including information about the plurality of code images.

또한, 본 발명의 다양한 실시예에 따른 데이터를 제공하는 방법에 있어서, 데이터의 크기가 지정된 값 이상인 경우, 상기 데이터를 분할하는 동작, 상기 분할된 각각의 데이터에 대응되는 복수 개의 코드 이미지들을 생성하는 동작, 상기 생성된 복수 개의 코드 이미지들의 표시 순서를 지정하는 동작, 상기 복수 개의 코드 이미지들 중 표시 순서가 첫 번째 순서에 해당하는 코드 이미지를 디스플레이의 지정된 영역에 표시하는 동작, 및 통신 모듈을 통해 외부 전자 장치로부터 지정된 신호를 수신하면, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 다음 순서에 해당하는 코드 이미지를 상기 지정된 영역에 표시하는 동작을 포함하고, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 첫 번째 순서에 해당하는 코드 이미지는 상기 복수 개의 코드 이미지들에 정보를 포함할 수 있다.In addition, in a method for providing data according to various embodiments of the present invention, if the size of the data is greater than or equal to a specified value, the method includes an operation of dividing the data, an operation of generating a plurality of code images corresponding to each of the divided data, an operation of specifying a display order of the generated plurality of code images, an operation of displaying a code image whose display order corresponds to a first order among the plurality of code images, in a specified area of a display, and an operation of displaying a code image whose display order corresponds to a next order among the plurality of code images, in the specified area when a specified signal is received from an external electronic device through a communication module, wherein a code image whose display order corresponds to a first order among the plurality of code images may include information in the plurality of code images.

본 발명의 다양한 실시예들에 따르면, 데이터가 지정된 값 이상인 경우, 데이터를 분할하고, 분할한 데이터와 대응되는 복수 개의 코드 이미지들을 생성하여 외부 전자 장치가 상기 코드 이미지 스캔 시, 인식률이 저하되는 현상을 방지하는 정확성이 높은 코드 이미지를 제공할 수 있다.According to various embodiments of the present invention, when data is greater than a specified value, the data is divided and a plurality of code images corresponding to the divided data are generated, thereby providing a highly accurate code image that prevents a phenomenon in which a recognition rate is lowered when an external electronic device scans the code image.

또한, 본 발명의 다양한 실시예들에 따르면, 복수 개의 코드 이미지 중 표시 순서에 따라 표시될 첫 번째 순서에 해당하는 코드 이미지에 상기 복수 개의 코드 이미지들에 대한 정보를 포함시켜, 복수 개의 코드 이미지에 대한 보안성을 보완할 수 있다.In addition, according to various embodiments of the present invention, the security of a plurality of code images can be supplemented by including information about the plurality of code images in a code image corresponding to the first order to be displayed according to the display order among the plurality of code images.

이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects may be provided that are directly or indirectly identified through this document.

도 1은 본 발명의 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 본 발명의 일 실시예에 따른 복수 개의 코드 이미지를 생성하는 전자 장치의 블록도이다.
도 3은 본 발명의 일 실시예에 따른, 복수 개의 코드 이미지를 생성하는 방법을 설명하기 위한 도면이다.
도 4는 본 발명의 일 실시예에 따른, 특정 정보에 대한 사용 권한 정보를 기반으로 코드 이미지를 제공하는 방법을 설명하기 도면이다.
도 5는 본 발명의 일 실시예에 따른, 다음 순서에 해당하는 코드 이미지를 표시하는 방법을 설명하기 도면이다.
도 6은 본 발명의 일 실시예에 따른, 수신된 신호를 기반으로 코드 이미지를 표시하는 방법을 설명하기 도면이다.
도 7은 본 발명의 일 실시예에 따른, 수신된 신호를 기반으로 코드 이미지를 표시하는 다른 방법을 설명하기 도면이다.
FIG. 1 is a block diagram of an electronic device within a network environment according to various embodiments of the present invention.
FIG. 2 is a block diagram of an electronic device for generating a plurality of code images according to one embodiment of the present invention.
FIG. 3 is a drawing for explaining a method for generating a plurality of code images according to one embodiment of the present invention.
FIG. 4 is a drawing illustrating a method for providing a code image based on usage permission information for specific information according to one embodiment of the present invention.
FIG. 5 is a drawing explaining a method for displaying code images corresponding to the following sequence according to one embodiment of the present invention.
FIG. 6 is a drawing explaining a method for displaying a code image based on a received signal according to one embodiment of the present invention.
FIG. 7 is a drawing illustrating another method for displaying a code image based on a received signal according to one embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 다양한 실시예들이 설명된다. 설명의 편의를 위하여 도면에 도시된 구성요소들은 그 크기가 과장 또는 축소될 수 있으며, 본 발명이 반드시 도시된 바에 의해 한정되는 것은 아니다.Hereinafter, various embodiments of the present invention will be described with reference to the attached drawings. For convenience of explanation, components illustrated in the drawings may be exaggerated or reduced in size, and the present invention is not necessarily limited to what is illustrated.

도 1은 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다.FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to various embodiments.

도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다.Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) through a first network (198) (e.g., a short-range wireless communication network), or may communicate with an electronic device (104) or a server (108) through a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) through the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input device (150), an audio output device (155), a display device (160), an audio module (170), a sensor module (176), an interface (177), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the display device (160) or the camera module (180)), or may have one or more other components added. In some embodiments, some of these components may be implemented as a single integrated circuit. For example, a sensor module (176) (e.g., a fingerprint sensor, an iris sensor, or a light sensor) may be implemented embedded in a display device (160) (e.g., a display).

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor (120) may control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) by executing, for example, software (e.g., a program (140)), and may perform various data processing or calculations. According to one embodiment, as at least a part of the data processing or calculation, the processor (120) may load a command or data received from another component (e.g., a sensor module (176) or a communication module (190)) into the volatile memory (132), process the command or data stored in the volatile memory (132), and store the resulting data in the nonvolatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor), and a secondary processor (123) (e.g., a graphic processing unit, an image signal processor, a sensor hub processor, or a communication processor) that may operate independently or together therewith. Additionally or alternatively, the auxiliary processor (123) may be configured to use less power than the main processor (121), or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121), or as a part thereof.

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다.The auxiliary processor (123) may control at least a portion of functions or states associated with at least one of the components of the electronic device (101) (e.g., the display device (160), the sensor module (176), or the communication module (190)), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)).

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or nonvolatile memory (134).

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.The program (140) may be stored as software in memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).

입력 장치(150)는, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 장치(150)는, 예를 들면, 마이크, 마우스, 키보드, 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.The input device (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input device (150) can include, for example, a microphone, a mouse, a keyboard, or a digital pen (e.g., a stylus pen).

음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The audio output device (155) can output an audio signal to the outside of the electronic device (101). The audio output device (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback, and the receiver can be used to receive an incoming call. According to one embodiment, the receiver can be implemented separately from the speaker or as a part thereof.

표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)는, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다.The display device (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display device (160) can include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. According to one embodiment, the display device (160) can include touch circuitry configured to detect a touch, or a sensor circuitry configured to measure a strength of a force generated by the touch (e.g., a pressure sensor).

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시예에 따르면, 오디오 모듈(170)은, 입력 장치(150)를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can obtain sound through an input device (150), or output sound through an audio output device (155), or an external electronic device (e.g., an electronic device (102)) (e.g., a speaker or a headphone) directly or wirelessly connected to the electronic device (101).

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.The sensor module (176) can detect an operating state (e.g., power or temperature) of the electronic device (101) or an external environmental state (e.g., user state) and generate an electric signal or data value corresponding to the detected state. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). According to one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., the electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module (179) can convert an electrical signal into a mechanical stimulus (e.g., vibration or movement) or an electrical stimulus that a user can perceive through a tactile or kinesthetic sense. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module (180) can capture still images and moving images. According to one embodiment, the camera module (180) can include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery (189) can power at least one component of the electronic device (101). In one embodiment, the battery (189) can include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다.The communication module (190) may support establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., the electronic device (102), the electronic device (104), or the server (108)), and performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., the application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a GNSS (global navigation satellite system) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module or a power line communication module). A corresponding communication module among these communication modules can communicate with an external electronic device via a first network (198) (e.g., a short-range communication network such as Bluetooth, WiFi direct, or IrDA (infrared data association)) or a second network (199) (e.g., a long-range communication network such as a cellular network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can identify and authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제1 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC)이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). According to one embodiment, the antenna module (197) can include one antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). According to one embodiment, the antenna module (197) can include a plurality of antennas. In this case, a first antenna can be selected from the plurality of antennas. A signal or power can be transmitted or received between the communication module (190) and the external electronic device via the at least one selected antenna. According to some embodiments, in addition to the radiator, another component (e.g., an RFIC) can be additionally formed as a part of the antenna module (197).

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the above components may be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)).

일 실시예에 따르면, 명령 또는 데이터는 제2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.In one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the electronic devices (102, 104) may be the same or a different type of device as the electronic device (101). In one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform at least a part of the function or service. One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a part of a response to the request. For this purpose, for example, cloud computing, distributed computing, or client-server computing technology may be used.

도 2는 본 발명의 일 실시예에 따른 복수 개의 코드 이미지를 생성하는 전자 장치의 블록도이다.FIG. 2 is a block diagram of an electronic device for generating a plurality of code images according to one embodiment of the present invention.

도 2를 참조하면, 상기 전자 장치(200)(예: 도 1의 전자 장치(101))는 정해진 크기의 데이터(예: 이미지 데이터 또는 텍스트 데이터)를 저장할 수 있는 코드 이미지(예: QR-code)에 정해진 크기 이상의 데이터가 저장되는 경우, 인식률이 저하되는 현상을 방지하기 위하여 데이터를 분할해 복수 개의 코드 이미지로 생성할 수 있다. 상기 전자 장치(200)는 상기 데이터가 지정된 값(예: 데이터의 크기) 이상인 경우, 상기 데이터를 분할하여 복수 개의 코드 이미지로 생성할 수 있다. 상기 전자 장치(200)는 상기 생성한 복수 개의 코드 이미지 중 디스플레이(201)(예: 도 1의 표시 장치(160))를 통해 첫 번째 순서로 출력될 코드 이미지(예: 첫 번째 순서에 해당하는 코드 이미지)를 상기 디스플레이의 지정된 영역에 표시할 수 있다. 상기 첫 번째 순서에 해당하는 코드 이미지는 복수 개의 코드 이미지들에 대한 정보를 포함할 수 있다. 상기 복수 개의 코드 이미지들에 대한 정보는 상기 데이터에 포함된 특정 정보에 대한 사용 권한 정보를 포함할 수 있다. 상기 특정 정보는 상기 복수 개의 코드 이미지를 스캔할 수 있는 복수의 외부 전자 장치들 중 미리 지정된 외부 전자 장치만 획득할 수 있는 정보를 포함할 수 있다.Referring to FIG. 2, the electronic device (200) (e.g., the electronic device (101) of FIG. 1) may divide the data and generate a plurality of code images in order to prevent a phenomenon in which a recognition rate is lowered when data exceeding a predetermined size is stored in a code image (e.g., a QR code) that can store data of a predetermined size (e.g., image data or text data). The electronic device (200) may divide the data and generate a plurality of code images in the case that the data is greater than a predetermined value (e.g., the size of the data). The electronic device (200) may display a code image to be output in a first order (e.g., a code image corresponding to the first order) among the plurality of generated code images on a designated area of the display (201) (e.g., the display device (160) of FIG. 1). The code image corresponding to the first order may include information on the plurality of code images. The information on the plurality of code images may include usage permission information on specific information included in the data. The above specific information may include information that can be obtained only by a pre-designated external electronic device among a plurality of external electronic devices capable of scanning the plurality of code images.

상기 사용 권한 정보는 상기 특정 정보를 상기 미리 지정된 외부 전자 장치만 획득하도록 할 수 있는 기준 정보를 포함할 수 있다. 예를 들어, 상기 사용 권한 정보는 상기 특정 정보를 획득할 수 있는 상기 미리 지정된 외부 전자 장치의 식별 정보(예: 미리 지정된 외부 전자 장치의 Mac address) 및 상기 특정 정보를 획득할 수 있는 사용자의 식별 정보(예: 특정 정보를 획득할 수 있는 사용자의 계정에 대한 정보)중 적어도 하나를 포함할 수 있다. The above-mentioned usage permission information may include reference information that allows only the pre-designated external electronic device to obtain the specific information. For example, the usage permission information may include at least one of identification information of the pre-designated external electronic device that can obtain the specific information (e.g., Mac address of the pre-designated external electronic device) and identification information of the user that can obtain the specific information (e.g., information about the account of the user that can obtain the specific information).

상기 전자 장치(200)는 상기 지정된 영역에 표시될 상기 복수 개의 코드 이미지들 중 상기 첫 번째 순서에 해당하는 코드 이미지를 표시할 수 있다. 외부 전자 장치가 상기 디스플레이에 표시되고 있는 상기 첫 번째 순서에 해당하는 코드 이미지를 스캔(scan)하는 경우, 상기 전자 장치(200)는 상기 외부 전자 장치로부터 지정된 신호(예: ack 신호)를 수신할 수 있다.The electronic device (200) can display a code image corresponding to the first order among the plurality of code images to be displayed in the designated area. When an external electronic device scans the code image corresponding to the first order displayed on the display, the electronic device (200) can receive a designated signal (e.g., an ack signal) from the external electronic device.

상기 전자 장치(200)는 상기 외부 전자 장치로부터 수신한 상기 지정된 신호를 기반으로, 상기 외부 전자 장치가 상기 특정 정보를 획득할 수 있는 장치인지를 판단할 수 있다. 또한, 상기 전자 장치(200)는 상기 사용자의 식별 정보를 기반으로, 상기 지정된 신호를 송신한 외부 전자 장치에 로그인(login) 된 계정이 상기 특정 정보를 획득할 수 있는 계정인지 판단할 수 있다.The electronic device (200) can determine whether the external electronic device is a device that can obtain the specific information based on the designated signal received from the external electronic device. In addition, the electronic device (200) can determine whether the account logged in to the external electronic device that transmitted the designated signal is an account that can obtain the specific information based on the user's identification information.

상기 전자 장치(200)는 상기 외부 전자 장치(200)로부터 상기 지정된 신호를 수신하면, 상기 지정된 영역에 표시되고 있는 코드 이미지를 다음 순서에 해당하는 코드 이미지로 표시할 수 있다. When the electronic device (200) receives the specified signal from the external electronic device (200), it can display the code image displayed in the specified area as a code image corresponding to the following order.

상술한 기능을 수행하기 위한 전자 장치(200)는 상기 디스플레이(201), 통신 모듈(202)(예: 도 1의 통신 모듈(190)), 메모리(203)(예: 도 1의 메모리(130)) 및 프로세서(204)(예: 도 1의 프로세서(120))를 포함할 수 있다. 그러나 상기 전자 장치(200)의 구성이 이에 한정되는 것은 아니다. 다양한 실시예에 따르면, 상기 전자 장치(200)는 상술한 구성요소들 중 적어도 하나를 생략할 수 있으며, 적어도 하나의 다른 구성 요소를 포함할 수 있다. 일 예로 상기 전자 장치(200)는 카메라(예: 도 1의 카메라 모듈(180))을 포함할 수 있다.The electronic device (200) for performing the above-described function may include the display (201), the communication module (202) (e.g., the communication module (190) of FIG. 1), the memory (203) (e.g., the memory (130) of FIG. 1), and the processor (204) (e.g., the processor (120) of FIG. 1). However, the configuration of the electronic device (200) is not limited thereto. According to various embodiments, the electronic device (200) may omit at least one of the above-described components and may include at least one other component. For example, the electronic device (200) may include a camera (e.g., the camera module (180) of FIG. 1).

상기 디스플레이(201)는 상기 외부 전자 장치가 상기 복수의 코드 이미지를 스캔할 수 있도록 상기 복수의 코드 이미지를 지정된 영역에 표시할 수 있다. 상기 지정된 영역은 상기 디스플레이의 적어도 일부 영역일 수 있다. 상기 디스플레이(201)는 상기 코드 이미지뿐만 아니라, 각종 컨텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 또는 심볼 등)를 표시할 수 있다. 상기 디스플레이(202)는 터치스크린을 포함할 수 있다. 예를 들면, 코드 이미지를 확대하려고 하는 사용자의 신체 일부를 이용한 터치, 제스처, 근접 또는 호버링(hovering) 입력을 수신할 수 있다. The display (201) can display the plurality of code images in a designated area so that the external electronic device can scan the plurality of code images. The designated area may be at least a portion of the display. The display (201) can display not only the code images but also various contents (e.g., text, images, videos, icons, symbols, etc.). The display (202) can include a touch screen. For example, it can receive a touch, gesture, proximity, or hovering input using a part of a user's body to enlarge the code images.

상기 통신 모듈(202)은 상기 전자 장치(200)와 상기 외부 전자 장치 간에 통신을 지원할 수 있다. 일 실시예에 따르면, 상기 통신 모듈(202)을 통해 상기 외부 전자 장치로부터 상기 지정된 신호를 수신할 수 있다. 다만, 상기 통신 모듈(202)은 상기 지정된 신호만 수신하는 것은 아닐 수 있다.The communication module (202) can support communication between the electronic device (200) and the external electronic device. According to one embodiment, the specified signal can be received from the external electronic device through the communication module (202). However, the communication module (202) may not only receive the specified signal.

상기 메모리(203)는 상기 전자 장치(200)의 적어도 하나의 구성요소에 의해 사용되는 다양한 데이터를 저장할 수 있다. 일 실시예에 따르면, 상기 메모리(203)는 상기 특정 정보에 대한 사용 권한 정보를 저장할 수 있다.The above memory (203) can store various data used by at least one component of the electronic device (200). According to one embodiment, the memory (203) can store usage permission information for the specific information.

상기 프로세서(204)는 상기 전자 장치(200)의 적어도 하나의 다른 구성요소를 제어할 수 있고, 다양한 데이터를 처리 또는 연산할 수 있다. 일 실시예에 따르면, 상기 프로세서(204)는 데이터의 분할, 분할된 데이터를 기반으로 복수 개의 코드 이미지의 생성, 상기 복수 개의 코드 이미지의 출력, 상기 외부 전자 장치로부터 상기 지정된 신호의 수신, 출력되고 있는 코드 이미지의 다음 순서에 해당하는 코드 이미지를 출력하도록 설정된 적어도 하나의 명령어를 실행할 수 있다. 상기 프로세서(204)는 상기 데이터의 크기가 지정된 값 이상인 경우, 상기 데이터를 분할하여 복수 개의 코드 이미지로 생성할 수 있다. 상기 지정된 값은 데이터의 크기에 대한 정보를 포함할 수 있다. 또한, 상기 지정된 값은 상기 데이터에 포함된 적어도 하나의 정보의 개수, 종류 또는 크기 중 적어도 하나를 기반으로 상기 데이터를 분할하도록 하는 기준 값일 수 있다.The processor (204) may control at least one other component of the electronic device (200), and may process or operate various data. According to one embodiment, the processor (204) may execute at least one command set to divide data, generate a plurality of code images based on the divided data, output the plurality of code images, receive the specified signal from the external electronic device, and output a code image corresponding to a next order of the code images being output. The processor (204) may divide the data and generate a plurality of code images when the size of the data is equal to or greater than a specified value. The specified value may include information about the size of the data. In addition, the specified value may be a reference value for dividing the data based on at least one of the number, type, or size of at least one piece of information included in the data.

일 실시예에 따르면, 상기 지정된 값이 데이터의 크기와 관련하여 10kb 설정되고, 코드 이미지로 생성할 상기 데이터의 크기가 100kb 인 경우, 상기 프로세서(204)는 1 개의 코드 이미지가 10kb의 데이터가 포함되는 코드 이미지 10개를 생성할 수 있다.According to one embodiment, when the specified value is set to 10 kb in relation to the size of the data and the size of the data to be generated as a code image is 100 kb, the processor (204) can generate 10 code images, each code image including 10 kb of data.

상기 프로세서(204)는 생성한 복수 개의 코드 이미지 중 상기 지정된 영역에 첫 번째 순서로 표시할 코드 이미지에 복수 개의 코드 이미지들에 대한 정보를 포함하도록 할 수 있다. 상기 복수 개의 코드 이미지들에 대한 정보는 특정 정보에 대한 사용 권한 정보 및 통신 방식에 대한 정보 및 데이터에 대한 정보를 포함할 수 있다. 또한, 상기 복수 개의 코드 이미지들에 대한 정보는 특정 정보에 대한 인증 정보를 더 포함할 수 있다. 상기 특정 정보에 대한 인증 정보는 상기 외부 전자 장치가 상기 복수 개의 코드 이미지들이 포함하고 있는 특정 정보를 획득하기 위해, 상기 외부 전자 장치가 상기 특정 정보를 획득할 수 있는 장치임을 인증하도록 하는 정보일 수 있다.The processor (204) may include information about the plurality of code images in the code images to be displayed in the first order in the designated area among the plurality of generated code images. The information about the plurality of code images may include usage permission information about specific information, information about a communication method, and information about data. In addition, the information about the plurality of code images may further include authentication information about specific information. The authentication information about the specific information may be information that authenticates that the external electronic device is a device capable of acquiring the specific information in order for the external electronic device to acquire the specific information included in the plurality of code images.

상기 특정 정보(예: 보안을 필요로 하는 정보)에 대한 사용 권한 정보는 복수 개의 코드 이미지에 포함되어 있는 정보 중 보안을 필요로 하는 정보를 복수의 외부 전자 장치 중 미리 지정된 외부 전자 장치가 획득할 수 있도록 하는 기준 정보일 수 있다. 상기 특정 정보에 대한 사용 권한 정보는 상기 외부 전자 장치(예: 삼성 전자 장치)의 식별 정보(예: 외부 전자 장치의 Mac address) 및 상기 특정 정보를 획득할 수 있는 사용자의 식별 정보(예: 특정 정보를 획득할 수 있는 사용자의 계정에 대한 정보) 중 적어도 하나를 포함할 수 있다. 상기 프로세서는 상기 외부 전자 장치로부터 수신한 지정된 신호를 기반으로, 상기 사용 권한 정보가 상기 지정된 신호를 송신한 외부 전자 장치의 주소(예: Mac address)와 일치하는지 판단할 수 있다.The usage permission information for the specific information (e.g., information requiring security) may be reference information that allows a pre-designated external electronic device among a plurality of external electronic devices to obtain information requiring security among the information included in a plurality of code images. The usage permission information for the specific information may include at least one of identification information of the external electronic device (e.g., a Mac address of the external electronic device) and identification information of a user who can obtain the specific information (e.g., information on an account of the user who can obtain the specific information). The processor may determine, based on a designated signal received from the external electronic device, whether the usage permission information matches an address (e.g., a Mac address) of the external electronic device that transmitted the designated signal.

상기 복수 개의 코드 이미지에 대한 정보는 예를 들어, 복수 개의 코드 이미지의 총 개수, 데이터의 유형(종류), 복수 개의 코드 이미지 각각에 포함된 데이터의 용량(크기)에 대한 정보를 포함할 수 있다. 상기 복수 개의 코드 이미지에 대한 정보는 상기 데이터가 복수 개의 코드 이미지로 생성될 때 결정될 수 있다. 상기 통신 방식에 대한 정보는 상기 전자 장치(200)와 상기 외부 전자 장치가 어떤 통신 방식으로 통신할 지 미리 설정된 정보 일 수 있다. 상기 통신 방식은 NFC(Near Field Communication), 블루투스(Bluetooth), 또는 와이파이(Wifi-direction)를 포함할 수 있으며, 유/무선 네트워크를 통해 상기 전자 장치(200)와 상기 외부 전자 장치가 데이터를 송수신할 수 있으면, 이에 한정되지 않는다.The information about the plurality of code images may include, for example, information about the total number of the plurality of code images, the type (kind) of data, and the capacity (size) of data included in each of the plurality of code images. The information about the plurality of code images may be determined when the data is generated as the plurality of code images. The information about the communication method may be information that is preset regarding which communication method the electronic device (200) and the external electronic device will use to communicate. The communication method may include NFC (Near Field Communication), Bluetooth, or WiFi-direction, and is not limited thereto as long as the electronic device (200) and the external electronic device can transmit and receive data via a wired/wireless network.

일 실시예에 따르면, 상기 복수 개의 코드 이미지들에 대한 정보는 상기 특정 권한에 대한 사용 권한 정보 및 상기 통신 방식에 대한 정보만 포함하는 것이 아닌, 상기 데이터에 대한 정보(예: 컨텐츠 데이터) 또한 포함할 수 있으며, 이에 한정되지 않는다.According to one embodiment, the information about the plurality of code images may include, but is not limited to, not only usage rights information for the specific authority and information about the communication method, but also information about the data (e.g., content data).

상기 프로세서(204)는 상기 첫 번째 순서에 해당하는 코드 이미지를 상기 디스플레이(201)의 지정된 영역에 표시할 수 있다. 상기 외부 전자 장치는 상기 지정된 영역에 표시되고 있는 상기 첫 번째 순서에 해당하는 코드 이미지를 스캔(scan)할 수 있다.The processor (204) can display a code image corresponding to the first order in a designated area of the display (201). The external electronic device can scan the code image corresponding to the first order displayed in the designated area.

상기 프로세서(204)는 상기 첫 번째 순서에 해당하는 코드 이미지를 스캔한 상기 외부 전자 장치로부터 상기 통신 모듈(202)을 통해 지정된 신호(예: ack 신호)를 수신할 수 있다. 상기 지정된 신호는 상기 외부 전자 장치가 상기 전자 장치(200)의 상기 디스플레이(201)에 표시되고 있는 코드 이미지를 스캔하면, 상기 전자 장치(200)에 상기 코드 이미지를 획득했음을 알리는 신호일 수 있다. The processor (204) may receive a designated signal (e.g., an ack signal) from the external electronic device that scanned the code image corresponding to the first order through the communication module (202). The designated signal may be a signal that notifies the electronic device (200) that the code image has been acquired when the external electronic device scans the code image displayed on the display (201) of the electronic device (200).

상기 프로세서(204)는 상기 외부 전자 장치로부터 상기 지정된 신호를 수신하면, 상기 지정된 영역에 표시되고 있는 첫 번째 순서에 해당하는 코드 이미지를 다음 순서에 해당하는 코드 이미지로 표시할 수 있다. 또한, 상기 지정된 신호는 전자 장치(200)의 프로세서(204)가 상기 외부 전자 장치의 식별정보(예: 외부 전자 장치의 Mac address) 또는 외부 전자 장치를 사용하고 있는 사용자의 식별 정보(예: 외부 전자 장치를 사용하고 있는 사용자의 계정)를 판단할 수 있는 외부 전자 장치에 대한 정보를 포함할 수 있다. 또한, 프로세서가 상기 지정된 신호에 포함되어 있는 외부 전자 장치에 대한 정보를 기반으로, 상기 지정된 신호를 송신한 외부 전자 장치가 특정 정보를 획득할 수 있는 미리 지정된 장치인지를 판단할 수 있다. 상기 외부 전자 장치에 대한 정보는 상기 외부 전자 장치의 주소(예: 외부 전자 장치의 Mac address) 또는 상기 외부 전자 장치에 접속된 사용자의 계정에 대한 정보를 포함할 수 있다.When the processor (204) receives the specified signal from the external electronic device, it can display the code image corresponding to the first order displayed in the specified area as the code image corresponding to the next order. In addition, the specified signal can include information about the external electronic device by which the processor (204) of the electronic device (200) can determine identification information of the external electronic device (e.g., Mac address of the external electronic device) or identification information of a user using the external electronic device (e.g., account of a user using the external electronic device). In addition, the processor can determine whether the external electronic device that transmitted the specified signal is a pre-specified device that can obtain specific information based on the information about the external electronic device included in the specified signal. The information about the external electronic device can include an address of the external electronic device (e.g., Mac address of the external electronic device) or information about an account of a user connected to the external electronic device.

상술한 바와 같이, 다양한 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))는 디스플레이(예: 도 1의 표시 장치(160) 또는 도 2의 디스플레이(201)), 통신 모듈(예: 도 1의 통신 모듈(190) 또는 도 2의 통신 모듈(202)), 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(204)) 및 메모리(예: 도 1의 메모리(130) 또는 도 2의 메모리(203))를 포함하고, 상기 프로세서는, 데이터의 크기가 지정된 값 이상인 경우, 상기 데이터를 분할하고, 상기 분할된 각각의 데이터에 대응되는 복수 개의 코드 이미지들을 생성하고, 상기 생성된 복수 개의 코드 이미지들의 표시 순서를 지정하고, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 첫 번째 순서에 해당하는 코드 이미지를 상기 디스플레이의 지정된 영역에 표시하고, 상기 통신 모듈을 통해 외부 전자 장치로부터 지정된 신호를 수신하거나 상기 첫 번째 순서에 해당하는 코드 이미지에 포함된 정보를 기반으로, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 다음 순서에 해당하는 코드 이미지를 상기 지정된 영역에 표시하도록 설정되고, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 첫 번째 순서에 해당하는 코드 이미지는 상기 복수 개의 코드 이미지들에 대한 정보를 포함할 수 있다.As described above, according to various embodiments, an electronic device (e.g., an electronic device (101) of FIG. 1 or an electronic device (200) of FIG. 2) includes a display (e.g., a display device (160) of FIG. 1 or a display (201) of FIG. 2), a communication module (e.g., a communication module (190) of FIG. 1 or a communication module (202) of FIG. 2), a processor (e.g., a processor (120) of FIG. 1 or a processor (204) of FIG. 2)), and a memory (e.g., a memory (130) of FIG. 1 or a memory (203) of FIG. 2), wherein the processor divides the data when the size of the data is equal to or greater than a specified value, generates a plurality of code images corresponding to each of the divided data, specifies a display order of the generated plurality of code images, displays a code image whose display order corresponds to a first order among the plurality of code images, in a specified area of the display, and receives a specified signal from an external electronic device through the communication module or generates a code image corresponding to the first order. Based on the information included in the image, the code images whose display order corresponds to the next order among the plurality of code images are set to be displayed in the designated area, and the code image whose display order corresponds to the first order among the plurality of code images may include information about the plurality of code images.

다양한 실시예에 따르면, 상기 복수 개의 코드 이미지들에 대한 정보는, 상기 데이터에 포함된 특정 정보에 대한 사용 권한 정보 및 상기 지정된 신호를 송수신하기 위한 통신 방식에 대한 정보 중 적어도 하나를 포함할 수 있다.According to various embodiments, the information about the plurality of code images may include at least one of information about usage rights for specific information included in the data and information about a communication method for transmitting and receiving the specified signal.

다양한 실시예에 따르면, 상기 특정 정보에 대한 사용 권한 정보는, 상기 특정 정보를 획득할 수 있는 상기 외부 전자 장치의 식별 정보 또는 사용자의 식별 정보 중 적어도 하나를 포함할 수 있다.According to various embodiments, the usage permission information for the specific information may include at least one of identification information of the external electronic device capable of obtaining the specific information or identification information of the user.

다양한 실시예에 따르면, 상기 복수 개의 코드 이미지들에 대한 정보는, 상기 데이터에 포함된 특정 정보에 대한 인증 정보를 더 포함하고, 상기 특정 정보에 대한 인증 정보는, 상기 복수 개의 코드 이미지들에 포함된 상기 특정 정보를 상기 외부 전자 장치가 획득할 수 있는 장치임을 인증하도록 하는 정보를 포함할 수 있다.According to various embodiments, the information about the plurality of code images may further include authentication information about specific information included in the data, and the authentication information about the specific information may include information that authenticates that the external electronic device is a device capable of obtaining the specific information included in the plurality of code images.

다양한 실시예에 따르면, 상기 프로세서는, 상기 수신한 지정된 신호에 포함된 외부 전자 장치에 대한 정보를 기반으로, 상기 외부 전자 장치가 상기 복수 개의 코드 이미지들에 포함된 특정 정보를 식별할 수 있는 장치인지를 판단할 수 있다.According to various embodiments, the processor may determine, based on information about the external electronic device included in the received designated signal, whether the external electronic device is a device capable of identifying specific information included in the plurality of code images.

다양한 실시예에 따르면, 상기 외부 전자 장치에 대한 정보는, 상기 특정 정보를 획득할 수 있는 장치에 대한 주소 정보 및 상기 특정 정보를 획득할 수 있는 사용자 계정에 대한 정보 중 적어도 하나를 포함할 수 있다.According to various embodiments, the information about the external electronic device may include at least one of address information about a device capable of obtaining the specific information and information about a user account capable of obtaining the specific information.

다양한 실시예에 따르면, 상기 프로세서는, 상기 데이터에 포함된 정보의 개수, 정보의 종류 및 정보의 크기 중 적어도 하나를 기반으로 상기 데이터를 분할할 수 있다.According to various embodiments, the processor may divide the data based on at least one of the number of information included in the data, the type of information, and the size of the information.

다양한 실시예에 따르면, 상기 프로세서는, 상기 분할된 데이터 각각에 포함된 정보에 대한 우선 순위를 기반으로, 상기 지정된 영역에 표시할 상기 복수 개의 코드 이미지들에 대한 상기 표시 순서를 지정할 수 있다.According to various embodiments, the processor may designate a display order for the plurality of code images to be displayed in the designated area based on a priority for information included in each of the segmented data.

다양한 실시예에 따르면, 상기 프로세서는, 상기 지정된 신호의 수신에 응답하여, 상기 지정된 영역에 지정된 이미지를 표시하고, 상기 지정된 이미지가 표시된 후 지정된 시간이 경과하면, 상기 다음 순서에 해당하는 코드 이미지를 표시할 수 있다.According to various embodiments, the processor may, in response to receiving the specified signal, display a specified image in the specified area, and, after a specified time has elapsed after the specified image is displayed, display a code image corresponding to the next sequence.

다양한 실시예에 따르면, 상기 프로세서는, 상기 수신한 지정된 신호를 기반으로, 상기 외부 전자 장치가 상기 특정 정보를 식별할 수 없는 장치임을 판단하면, 상기 특정 정보를 제외한 정보를 포함하는 코드 이미지들을 상기 표시 순서에 따라 상기 지정된 영역에 순차적으로 표시할 수 있다.According to various embodiments, if the processor determines that the external electronic device is a device that cannot identify the specific information based on the received designated signal, the processor may sequentially display code images including information excluding the specific information in the designated area according to the display order.

도 3은 본 발명의 일 실시예에 따른, 복수 개의 코드 이미지를 생성하는 방법을 설명하기 위한 도면이다.FIG. 3 is a drawing for explaining a method for generating a plurality of code images according to one embodiment of the present invention.

도 3을 참조하면, 301 동작에서, 전자 장치(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 데이터가 지정된 값(예: 데이터의 크기) 이상인 경우, 상기 데이터를 분할할 수 있다. 상기 지정된 값은 상기 데이터를 분할하기 위한 기준으로, 상기 데이터의 크기가 상기 지정된 값 이상인 경우, 상기 프로세서는 상기 데이터를 상기 데이터에 포함된 적어도 하나의 정부의 개수에 대한 정보, 종류에 대한 정보 및 크기에 대한 정보 중 적어도 하나를 기반으로 분할할 수 있다. Referring to FIG. 3, in operation 301, a processor (e.g., the processor (204) of FIG. 2) of an electronic device (e.g., the electronic device (200) of FIG. 2) may divide the data if the data is equal to or greater than a specified value (e.g., a size of the data). The specified value is a criterion for dividing the data, and if the size of the data is equal to or greater than the specified value, the processor may divide the data based on at least one of information about the number of governments included in the data, information about the type, and information about the size.

303 동작에서, 상기 프로세서는 분할한 데이터를 기반으로, 분할한 데이터와 대응되는 복수 개의 코드 이미지를 생성할 수 있다. 일 실시예에 따르면, 상기 데이터는 이미지 정보 및 텍스트 정보를 포함하는 130kb의 크기를 가지고 있는 데이터일 수 있다. 또한, 상기 지정된 값이 13kb로 설정되어 있을 수 있으며, 상기 지정된 값은 생성할 복수 개의 코드 이미지 각각에 포함되는 데이터 크기에 대한 임계점 일 수 있다.In operation 303, the processor may generate a plurality of code images corresponding to the divided data based on the divided data. According to one embodiment, the data may be data having a size of 130 kb including image information and text information. In addition, the specified value may be set to 13 kb, and the specified value may be a threshold for a data size included in each of the plurality of code images to be generated.

일 실시예에 따르면, 상기 프로세서는 상기 130kb의 크기를 가지고 있는 데이터를 상기 데이터에 포함된 정보의 크기에 기반하여, 10장의 코드 이미지로 생성할 수 있다. 이때, 정보의 크기는 13kb일 수 있다. 상기 프로세서는 상기 데이터를 분할할 때, 상기 데이터에 포함된 적어도 하나의 정보의 개수에 대한 정보, 종류에 대한 정보 및 크기에 대한 정보 중 적어도 하나를 기반으로 데이터를 분할할 수 있다. According to one embodiment, the processor may generate data having a size of 130 kb into 10 code images based on the size of information included in the data. At this time, the size of the information may be 13 kb. When dividing the data, the processor may divide the data based on at least one of information about the number of at least one piece of information included in the data, information about the type, and information about the size.

또한, 상기 프로세서는 상기 데이터에 포함된 이미지 정보 및 텍스트 정보를 구분하여, 데이터에 포함된 정보의 종류(예: 유형)에 대한 정보를 기반으로 복수 개의 코드 이미지를 생성할 수 있다. 상기 정보의 종류를 기반으로 상기 복수 개의 코드 이미지를 생성할 경우, 이미지 정보만 포함하는 코드 이미지를 생성할 수 있고, 텍스트 정보만 포함하는 코드 이미지를 생성할 수 있다.In addition, the processor can distinguish between image information and text information included in the data, and generate a plurality of code images based on information about the type (e.g., type) of information included in the data. When generating the plurality of code images based on the type of information, a code image including only image information can be generated, and a code image including only text information can be generated.

상기 프로세서는 상기 복수 개의 코드 이미지를 생성하는 동작에 있어서, 디스플레이(예: 도 2의 디스플레이(201))를 통해 출력할 상기 복수 개의 코드 이미지 중 첫 번째 순서에 해당하는 코드 이미지에 복수 개의 코드 이미지들에 대한 정보가 포함되도록 할 수 있다. 상기 복수 개의 코드 이미지들에 대한 정보는 특정 정보에 대한 사용 권한 정보 및 통신 방식에 대한 정보를 포함할 수 있으며, 이에 한정되지 않는다. 상기 특정 정보에 대한 사용 권한 정보는, 상기 복수 개의 코드 이미지들에 포함된 정보들 중 보안을 필요로 하는 정보와 관련하여, 허가된 장치만 특정 정보를 획득할 수 있도록 하는 정보일 수 있다. 상기 사용 권한 정보는 복수의 외부 전자 장치들 중 미리 지정된 외부 전자 장치의 식별 정보(예: 삼성 전자 장치의 Mac address) 또는 상기 보안 정보를 획득할 수 있는 사용자에 대한 식별 정보(예: 외부 전자 장치를 사용하는 사용자의 계정)를 포함할 수 있으며, 이에 한정되지 않는다. 상기 복수 개의 코드 이미지들에 대한 정보는 예를 들어, 복수 개의 코드 이미지의 총 개수, 상기 복수 개의 코드 이미지 각각에 포함된 정보의 종류(예: 유형), 복수 개의 코드 이미지 각각에 포함된 데이터의 용량에 대한 정보를 포함할 수 있다. 상기 위한 통신 방식에 대한 정보는 상기 전자 장치(200)와 상기 외부 전자 장치가 어떤 통신 방식으로 데이터를 송수신할 지 미리 설정된 정보 일 수 있다. 상기 통신 방식은 NFC(Near Field Communication), Bluetooth, 또는 Wifi-direction을 포함할 수 있으며, 유/무선 네트워크를 통해 상기 전자 장치(200)와 상기 외부 전자 장치가 통신할 수 있으면, 이에 한정되지 않는다.The processor may, in the operation of generating the plurality of code images, cause a code image corresponding to a first order among the plurality of code images to be output through a display (e.g., the display (201) of FIG. 2) to include information about the plurality of code images. The information about the plurality of code images may include, but is not limited to, usage permission information about specific information and information about a communication method. The usage permission information about the specific information may be information that allows only an authorized device to obtain specific information in relation to information requiring security among the information included in the plurality of code images. The usage permission information may include, but is not limited to, identification information of a pre-designated external electronic device among the plurality of external electronic devices (e.g., a Mac address of a Samsung electronic device) or identification information about a user who can obtain the security information (e.g., an account of a user using the external electronic device). The information about the plurality of code images may include, for example, information about the total number of the plurality of code images, the type (e.g., type) of information included in each of the plurality of code images, and the capacity of data included in each of the plurality of code images. Information about the communication method for the above may be information that is preset as to which communication method the electronic device (200) and the external electronic device will use to transmit and receive data. The communication method may include NFC (Near Field Communication), Bluetooth, or Wifi-direction, and is not limited thereto as long as the electronic device (200) and the external electronic device can communicate via a wired/wireless network.

305 동작에서, 상기 프로세서는 생성한 복수 개의 코드 이미지들 중 상기 디스플레이를 통해 첫 번째 순서로 표시될 코드 이미지를 표시할 수 있다. 상기 첫 번째 순서에 해당하는 코드 이미지는 상기 디스플레이의 적어도 일부 영역인 지정된 영역에 표시될 수 있다.In operation 305, the processor can display a code image to be displayed in a first order through the display among the plurality of generated code images. The code image corresponding to the first order can be displayed in a designated area that is at least a portion of the display.

일 실시예에 따르면, 상기 프로세서는 디스플레이(예: 도 2의 디스플레이(201))에 상기 복수 개의 코드 이미지 중 제1 코드 이미지를 디스플레이(예: 도 2의 디스플레이(201))의 지정된 영역에 표시할 수 있다. 상기 프로세서는 상기 지정된 영역에 표시할 복수 개의 코드 이미지가 총 13개인 경우, 상기 복수 개의 코드 이미지의 총 개수에 대한 정보를 포함하는 복수 개의 코드 이미지들에 대한 정보를 상기 제1 코드 이미지에 포함되도록 할 수 있다. 상기 프로세서는 상기 제1 코드 이미지를 상기 지정된 영역 예를 들어, 상기 전자 장치에서 실행된 응용 어플리케이션의 윈도우에 표시할 수 있다. 또한, 상기 전자 장치와 상기 외부 전자 장치는 복수 개의 코드 이미지들에 대한 정보에 포함된 통신 방식에 대한 정보를 기반으로, 상기 지정된 신호를 송수신할 수 있다. 예를 들어, 상기 통신 방식에 대한 정보가 와이파이와 관련된 정보로 설정되어 있을 경우, 상기 전자 장치의 프로세서는 상기 외부 전자 장치와 와이파이 통신 채널을 통해 상기 지정된 신호를 수신할 수 있다.According to one embodiment, the processor may display a first code image among the plurality of code images in a designated area of the display (e.g., the display (201) of FIG. 2). When the number of the plurality of code images to be displayed in the designated area is 13 in total, the processor may cause information about the plurality of code images, including information about the total number of the plurality of code images, to be included in the first code image. The processor may display the first code image in the designated area, for example, in a window of an application executed in the electronic device. In addition, the electronic device and the external electronic device may transmit and receive the designated signal based on information about a communication method included in the information about the plurality of code images. For example, when the information about the communication method is set to information related to Wi-Fi, the processor of the electronic device may receive the designated signal through a Wi-Fi communication channel with the external electronic device.

307 동작에서, 상기 프로세서는 외부 전자 장치로부터 통신 모듈(예: 도 2의 통신 모듈(202))을 통해 지정된 신호(예: ack 신호)를 수신할 수 있다. 상기 프로세서는 상기 외부 전자 장치가 스캔한 첫 번째 코드 순서에 해당하는 코드 이미지에 포함되어 있는 복수 개의 코드 이미지들에 대한 정보의 통신 방식에 대한 정보를 기반으로, 상기 지정된 신호를 수신할 수 있다. 상기 지정된 신호를 수신한 상기 프로세서는 첫 번째 순서에 해당하는 코드 이미지의 다음 순서에 해당하는 코드 이미지를 상기 디스플레이의 지정된 영역에 표시할 수 있다. 상기 지정된 영역에 표시될 복수 개의 코드 이미지의 표시 순서는 상기 데이터에 포함된 적어도 하나의 정보의 우선 순위를 기반으로 설정될 수 있다. 일 실시 예에 따르면, 상기 프로세서가 상기 디스플레이를 통해 표시하는 코드 이미지는 연락처와 관련된 데이터를 포함할 수 있다. 상기 연락처와 관련된 데이터는 사용자의 주소 정보, 이름 정보, 전화 번호 정보와 같은 기본 주소록 정보(예: 기본 정보) 및 사진, 동영상과 같은 이미지 정보(예: 추가 정보)를 포함할 수 있다. 상기 프로세서는 상기 연락처와 관련된 데이터에 포함된 정보의 우선 순위를 기반으로 상기 연락처와 관련된 데이터를 상기 디스플레이를 통해 복수의 코드 이미지로 표시할 수 있다. 일 예로, 상기 프로세서는 10kb 크기의 정보를 포함하는 복수의 코드 이미지 각각을 상기 디스플레이의 지정된 영역을 통해 표시할 수 있다. 상기 프로세서는 상기 기본 주소록 정보의 크기가 8kb이고, 상기 이미지 정보의 크기가 20kb인 경우, 복수의 코드 이미지 중 첫 번째 순서에 해당하는 코드 이미지에 상기 8kb의 크기를 가지는 기본 주소록 정보를 포함하여 상기 디스플레이의 지정된 영역에 표시할 수 있다.In operation 307, the processor may receive a designated signal (e.g., an ack signal) from an external electronic device through a communication module (e.g., the communication module (202) of FIG. 2). The processor may receive the designated signal based on information about a communication method of information about a plurality of code images included in a code image corresponding to a first code sequence scanned by the external electronic device. The processor, which has received the designated signal, may display a code image corresponding to a next sequence of the code image corresponding to the first sequence on a designated area of the display. The display order of the plurality of code images to be displayed on the designated area may be set based on the priority of at least one piece of information included in the data. According to one embodiment, the code image displayed by the processor through the display may include data related to a contact. The data related to the contact may include basic address book information (e.g., basic information) such as a user's address information, name information, and phone number information, and image information (e.g., additional information) such as a photo or video. The processor may display data related to the contact as a plurality of code images through the display based on the priority of information included in the data related to the contact. For example, the processor may display each of a plurality of code images including information of a size of 10 kb through a designated area of the display. When the size of the basic address book information is 8 kb and the size of the image information is 20 kb, the processor may include the basic address book information having a size of 8 kb in a code image corresponding to a first order among the plurality of code images and display it in the designated area of the display.

상기 프로세서는 상기 외부 전자 장치로부터 상기 지정된 신호를 수신하면, 상기 20kb의 크기를 가지는 이미지 정보를 10kb 크기를 가지는 제1 이미지 정보 및 제2 이미지 정보로 분할할 수 있다. 상기 프로세서는 상기 첫 번째 코드 이미지의 다음 순서로 표시될 두 번째 코드 이미지에 상기 제1 이미지 정보를 포함하여 상기 지정된 영역을 통해 표시할 수 있다. 상기 프로세서가 상기 외부 전자 장치로부터 상기 지정된 신호를 수신하면, 상기 두 번째 코드 이미지의 다음 순서로 표시될 세 번째 코드 이미지에 제2 이미지 정보를 포함하여, 상기 지정된 영역을 통해 표시할 수 있다. 즉, 상기 프로세서는 데이터에 포함된 정보들을 기본 정보 및 추가 정보로 필드를 구분하여 분할할 수 있다. 다른 일 예로, 상기 프로세서는 데이터에 포함된 복수의 정보들 중 데이터 통신이 간편하고 빠른 정보(예: 기본 정보)를 우선적으로 첫 번째 코드 이미지에 포함하여 출력할 수 있다. 이 후, 상기 프로세서는 하나의 코드 이미지가 저장할 수 있는 정보의 크기보다 큰 다른 정보(예: 추가 정보)를 분할하여 복수의 코드 이미지에 포함시켜 출력할 수 있다. When the processor receives the specified signal from the external electronic device, the processor may divide the image information having the size of 20 kb into first image information and second image information having the size of 10 kb. The processor may include the first image information in a second code image to be displayed in the next order of the first code image and display the first image information through the specified area. When the processor receives the specified signal from the external electronic device, the processor may include the second image information in a third code image to be displayed in the next order of the second code image and display the second image information through the specified area. That is, the processor may divide the information included in the data into basic information and additional information by dividing the fields. As another example, the processor may preferentially include information (e.g., basic information) for which data communication is easy and fast among the plurality of pieces of information included in the data in the first code image and output it. Thereafter, the processor may divide other information (e.g., additional information) larger than the size of information that can be stored by one code image and include it in a plurality of code images and output it.

일 실시예에 따르면, 상기 프로세서는 상기 제1 코드 이미지에 포함된 복수 개의 코드 이미지들에 대한 정보의 통신 방식에 대한 정보가 블루투스로 설정되어 있을 경우, 블루투스 통신을 통해 상기 외부 전자 장치로부터 상기 지정된 신호를 수신할 수 있다. 다른 일 실시 예에 따르면, 상기 프로세서는 상기 지정된 영역을 통해 상기 제1 코드 이미지를 출력할 수 있다. 상기 외부 전자 장치가 상기 제1 코드 이미지를 인식하면, 상기 제1 코드 이미지를 인식했다는 신호를 브로드 캐스팅(broad casting)할 수 있다. 상기 프로세서는 상기 외부 전자 장치로부터 상기 제1 코드 이미지를 인식했다는 것을 알리는 신호를 BT 비콘(beacon)을 통해 수신할 수 있다. 상기 프로세서는 상기 BT비콘을 통해 상기 수신한 신호를 기반으로 상기 외부 전자 장치가 상기 제1 코드 이미지를 인식했다는 것을 확인하여, 상기 지정된 영역을 통해 표시하고 있는 제1 코드 이미지를 다음 순서에 해당하는 코드 이미지로 변경할 수 있다.상기 프로세서가 상기 통신 모듈을 통해 블루투스 통신으로 상기 지정된 신호를 수신하면, 제1 코드 이미지의 다음 순서에 해당하는 제2 코드 이미지를 상기 디스플레이에 표시할 수 있다. 다만, 상기 다음 순서에 해당하는 코드 이미지는 제2 코드 이미지에 한정되지 않으며, 다른 코드 이미지를 포함할 수 있다. 다른 실시예에 따르면, 상기 지정된 신호를 수신한 상기 프로세서가 제1 코드 이미지의 다음 순서에 해당하는 코드 이미지를 상기 지정된 영역에 표시할 때, 상기 다음 순서에 해당하는 코드 이미지를 바로 표시하지 않고, 지정된 시간(예: 3s) 동안 지정된 이미지(예: 광고 이미지)를 표시한 후 상기 다음 순서에 해당하는 코드 이미지를 표시하도록 할 수 있다. 또 다른 일 예로, 상기 프로세서는 상기 지정된 이미지를 지정된 시간동안 표시하면서, 상기 지정된 영역에 표시될 상기 복수 개의 코드 이미지 중 적어도 하나의 코드 이미지의 일부 영역에 지정된 객체(예: 이미지, 텍스트 및 아이콘)가 포함되도록 할 수 있다.According to one embodiment, when information on a communication method of information on a plurality of code images included in the first code image is set to Bluetooth, the processor may receive the specified signal from the external electronic device via Bluetooth communication. According to another embodiment, the processor may output the first code image via the specified area. When the external electronic device recognizes the first code image, it may broadcast a signal indicating that it has recognized the first code image. The processor may receive a signal notifying that it has recognized the first code image from the external electronic device via a BT beacon. The processor may confirm that the external electronic device has recognized the first code image based on the signal received via the BT beacon, and may change the first code image displayed via the specified area to a code image corresponding to the next order. When the processor receives the specified signal via Bluetooth communication via the communication module, it may display a second code image corresponding to the next order of the first code image on the display. However, the code image corresponding to the next order is not limited to the second code image and may include other code images. According to another embodiment, when the processor receiving the specified signal displays the code image corresponding to the next order of the first code image in the specified area, the processor may not immediately display the code image corresponding to the next order, but may display a specified image (e.g., an advertisement image) for a specified time (e.g., 3s) and then display the code image corresponding to the next order. As another example, the processor may display the specified image for a specified time, and may cause a specified object (e.g., an image, text, and icon) to be included in a part of at least one code image among the plurality of code images to be displayed in the specified area.

또 다른 일 실시 예에 따르면, 상기 프로세서는 상기 외부 전자 장치로부터 상기 지정된 신호를 수신하지 않고, 상기 제1 코드 이미지에 포함된 정보를 기반으로, 상기 제1 코드 이미지의 다음 순서에 해당하는 코드 이미지를 상기 지정된 영역에 표시할 수 있다. 상기 제1 코드 이미지에 포함된 정보는 싱크 타이밍과 관련된 정보일 수 있다. 상기 싱크 타이밍과 관련된 정보는 상기 지정된 영역을 통해 출력되는 상기 복수의 코드 이미지 각각의 출력되는 순서 및 시간과 관련된 정보 일 수 있다. 상기 프로세서는 상기 제1 코드 이미지에 포함된 정보(예: 싱크 타이밍과 관련된 정보)를 기반으로, 제1 코드 이미지를 상기 지정된 영역에 지정된 시간 동안 출력한 후, 제1 코드 이미지의 다음 순서에 해당하는 코드 이미지를 지정된 시간 동안 출력할 수 있다. 예를 들면, 상기 프로세서는 제1 코드 이미지를 상기 지정된 영역을 통해 1초 동안 출력할 수 있다. 상기 프로세서는 상기 제1 코드 이미지에 포함된 정보(예: 싱크 타이밍과 관련된 정보)를 기반으로, 상기 제1 코드 이미지를 1초 동안 출력한 후, 다음 순서에 해당하는 코드 이미지를 1.5초 동안 출력할 수 있다. 상기 지정된 시간은 상기 복수의 코드 이미지 각각에 포함되는 정보의 복잡도에 따라 변경될 수 있다.According to another embodiment, the processor may display a code image corresponding to a next order of the first code image in the designated area based on information included in the first code image without receiving the designated signal from the external electronic device. The information included in the first code image may be information related to sync timing. The information related to the sync timing may be information related to an output order and time of each of the plurality of code images output through the designated area. The processor may output the first code image in the designated area for a designated time based on information included in the first code image (e.g., information related to sync timing), and then output the code image corresponding to a next order of the first code image for a designated time. For example, the processor may output the first code image through the designated area for 1 second. The processor may output the first code image for 1 second based on information included in the first code image (e.g., information related to sync timing), and then output the code image corresponding to a next order for 1.5 seconds. The above specified time may vary depending on the complexity of the information contained in each of the plurality of code images.

도 4는 본 발명의 일 실시예에 따른, 특정 정보에 대한 사용 권한 정보를 기반으로 코드 이미지를 제공하는 방법을 설명하기 도면이다.FIG. 4 is a drawing illustrating a method for providing a code image based on usage permission information for specific information according to one embodiment of the present invention.

도 4를 참조하면, 401 동작에서, 전자 장치(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 데이터가 지정된 값 이상일 경우, 상기 데이터를 분할하여 분할한 데이터와 대응하는 복수 개의 코드 이미지를 생성할 수 있다. 상기 프로세서는 상기 데이터를 분할할 때, 상기 데이터에 포함된 적어도 하나의 정보의 개수, 종류(예: 유형) 및 크기(용량) 중 적어도 하나를 기반으로 상기 데이터를 분할할 수 있다. 상기 프로세서는 상기 분할한 데이터를 복수 개의 코드 이미지로 생성하는 동작에서, 디스플레이(예: 도 2의 디스플레이(201))를 통해 첫 번째 순서로 표시될 상기 복수 개의 코드 이미지 중 첫 번째 순서에 해당하는 코드 이미지에 복수 개의 코드 이미지들에 대한 정보가 포함되도록 할 수 있다. 상기 프로세서는 상기 첫 번째 순서에 해당하는 코드 이미지를 상기 디스플레이의 적어도 일부 영역인 지정된 영역에 표시할 수 있다.Referring to FIG. 4, in operation 401, a processor (e.g., the processor (204) of FIG. 2) of an electronic device (e.g., the electronic device (200) of FIG. 2) may, if data is greater than or equal to a specified value, divide the data and generate a plurality of code images corresponding to the divided data. When dividing the data, the processor may divide the data based on at least one of the number, type (e.g., type), and size (capacity) of at least one piece of information included in the data. In the operation of generating the divided data into a plurality of code images, the processor may cause a code image corresponding to a first order among the plurality of code images to be displayed in a first order through a display (e.g., the display (201) of FIG. 2) to include information about the plurality of code images. The processor may display the code image corresponding to the first order in a specified area, which is at least a portion of the display.

일 실시예에 따르면, 상기 프로세서는 지정된 값이 100kb인 경우, 이미지 정보 및 텍스트 정보가 포함된 150kb의 크기를 가지고 있는 데이터를 분할할 수 있다. 상기 프로세서는 상기 데이터를 분할할 때, 상기 데이터에 포함된 적어도 하나의 정보의 개수, 종류 및 크기 중 적어도 하나를 기반으로 상기 데이터를 분할할 수 있다. 상기 데이터에 포함된 적어도 하나의 정보의 크기가 10kb인 경우, 상기 프로세서는 상기 데이터를 한 개의 코드 이미지에 10kb의 크기가 저장되는 15개의 코드 이미지로 생성할 수 있다. 다른 실시예에 따르면, 상기 프로세서는 상기 데이터에 포함된 적어도 하나의 정보의 종류가 이미지 정보로 설정된 경우, 상기 데이터에 포함된 이미지 정보를 식별하여, 이미지 정보와 텍스트 정보를 구분하여 상기 복수 개의 코드 이미지 중 이미지 정보를 포함하는 코드 이미지를 생성할 수 있다. According to one embodiment, when the specified value is 100 kb, the processor can divide the data having a size of 150 kb including image information and text information. When dividing the data, the processor can divide the data based on at least one of the number, type, and size of at least one piece of information included in the data. When the size of at least one piece of information included in the data is 10 kb, the processor can generate the data into 15 code images, each of which stores a size of 10 kb in one code image. According to another embodiment, when the type of at least one piece of information included in the data is set to image information, the processor can identify the image information included in the data, distinguish the image information and the text information, and generate a code image including the image information among the plurality of code images.

상기 프로세서는 생성한 15개의 코드 이미지 중 상기 지정된 영역에 첫 번째 순서로 표시할 코드 이미지가 복수 개의 코드 이미지들에 대한 정보를 포함하도록 할 수 있다. 상기 복수 개의 코드 이미지들에 대한 정보는 통신 방식에 대한 정보, 복수 개의 코드 이미지들에 대한 정보, 특정 정보에 대한 사용 권한 정보를 포함할 수 있다.The above processor may cause the code images to be displayed in the designated area in the first order among the 15 generated code images to include information about the plurality of code images. The information about the plurality of code images may include information about the communication method, information about the plurality of code images, and information about usage rights for specific information.

403 동작에서, 상기 프로세서는 외부 전자 장치로부터 지정된 신호를 수신할 수 있다. 상기 프로세서가 상기 디스플레이를 통해 상기 복수 개의 코드 이미지들에 대한 정보가 포함된 첫 번째 순서에 해당하는 코드 이미지를 표시하는 동안, 상기 외부 전자 장치는 상기 복수 개의 코드 이미지들에 대한 정보가 포함된 첫 번째 순서에 해당하는 코드 이미지를 스캔(scan)할 수 있다.In operation 403, the processor may receive a designated signal from an external electronic device. While the processor displays a code image corresponding to a first order containing information about the plurality of code images through the display, the external electronic device may scan a code image corresponding to a first order containing information about the plurality of code images.

상기 전자 장치의 프로세서는 상기 복수 개의 코드 이미지들에 대한 정보가 포함된 첫 번째 순서에 해당하는 코드 이미지를 스캔한 상기 외부 전자 장치로부터, 상기 복수 개의 코드 이미지들에 대한 정보에 포함된 통신 방식에 대한 정보를 기반으로 상기 지정된 신호를 수신할 수 있다.The processor of the electronic device can receive the specified signal from the external electronic device that scanned the code image corresponding to the first order containing information about the plurality of code images, based on information about the communication method included in the information about the plurality of code images.

일 실시예에 따르면, 상기 복수 개의 코드 이미지들에 대한 정보에 포함된 통신 방식에 대한 정보가 와이파이(Wifi-direction)와 관련된 정보인 경우, 상기 전자 장치의 프로세서는 상기 외부 전자 장치가 상기 복수 개의 코드 이미지들에 대한 정보에 포함된 통신 방식에 대한 정보를 기반으로 상기 전자 장치의 프로세서와 와이파이 통신 채널을 형성할 수 있다. 상기 전자 장치의 프로세서는 상기 형성된 와이파이 통신 채널을 통해 상기 지정된 신호를 수신할 수 있다. 상기 지정된 신호는 ack신호일 수 있으며, 이에 한정되지 않는다.According to one embodiment, if the information about the communication method included in the information about the plurality of code images is information related to WiFi (Wifi-direction), the processor of the electronic device may form a WiFi communication channel with the processor of the electronic device based on the information about the communication method included in the information about the plurality of code images. The processor of the electronic device may receive the designated signal through the formed WiFi communication channel. The designated signal may be an ack signal, but is not limited thereto.

405 동작에서, 상기 프로세서는 상기 외부 전자 장치로부터 수신한 지정된 신호를 기반으로, 상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치인지를 판단할 수 있다.In operation 405, the processor may determine whether the external electronic device is a device capable of obtaining specific information based on a designated signal received from the external electronic device.

상기 프로세서는 통신 방식에 대한 정보를 기반으로, 형성된 통신 채널을 통하여 상기 외부 전자 장치로부터 상기 지정된 신호를 수신할 수 있다. 상기 프로세서가 수신한 상기 지정된 신호는 상기 외부 전자 장치에 대한 정보를 포함할 수 있다. 상기 외부 전자 장치에 대한 정보는 상기 외부 전자 장치의 주소 정보(예: 외부 전자 장치의 Mac address) 또는 상기 외부 전자 장치를 사용하고 있는 사용자에 대한 정보(예: 외부 전자 장치를 사용하고 있는 사용자의 계정) 중 적어도 하나를 포함할 수 있다. 상기 외부 전자 장치에 대한 정보는 상기 프로세서가 상기 외부 전자 장치와 통신 채널을 형성할 때 획득할 수 있고, 상기 외부 전자 장치로부터 획득한 지정된 신호에 포함되어 있을 수 있다.The processor may receive the specified signal from the external electronic device through a communication channel formed based on information about a communication method. The specified signal received by the processor may include information about the external electronic device. The information about the external electronic device may include at least one of address information of the external electronic device (e.g., a Mac address of the external electronic device) or information about a user using the external electronic device (e.g., an account of a user using the external electronic device). The information about the external electronic device may be obtained when the processor forms a communication channel with the external electronic device, and may be included in a specified signal obtained from the external electronic device.

상기 프로세서는 상기 외부 전자 장치에 대한 정보를 기반으로, 상기 외부 전자 장치가 상기 복수 개의 코드 이미지들에 포함된 특정 정보(예: 보안을 필요하는 정보)를 식별할 수 있는 장치인지 판단할 수 있다.The processor may determine, based on information about the external electronic device, whether the external electronic device is a device capable of identifying specific information (e.g., information requiring security) included in the plurality of code images.

일 실시예에 따르면, 상기 프로세서는 상기 첫 번째 순서에 해당하는 코드 이미지에 포함된 복수 개의 코드 이미지들에 대한 정보의 특정 정보가 지정된 정보(예: dmsdngq)로 설정될 수 있다. 상기 프로세서는 수신한 지정된 신호에 포함된 외부 전자 장치의 주소 정보를 기반으로, 상기 지정된 신호를 송신한 상기 외부 전자 장치의 주소가 지정된 정보(예: dmsdngq)와 일치하는지 판단할 수 있다. 상기 지정된 정보는 상기 특정 정보에 대한 사용 권한 정보일 수 있다. 다른 실시예에 따르면, 사용자 계정(user account)과 관련하여 상기 특정 정보에 대한 지정된 정보(예: samsung12)로 설정되어 있는 경우, 상기 프로세서는 수신한 지정된 신호에 포함된 사용자에 대한 정보를 기반으로, 상기 외부 전자 장치에 로그인 된 계정이 지정된 정보(예: samsung12)와 일치하는지를 판단할 수 있다. 상기 외부 전자 장치에 로그인 된 계정이 지정된 정보와 일치하는 경우, 상기 프로세서는 상기 외부 전자 장치가 상기 복수 개의 코드 이미지에 포함되어 있는 특정 정보를 식별할 수 있는 장치임을 판단할 수 있다. 따라서, 상기 전자 장치의 프로세서는 상기 외부 전자 장치로부터 수신한 상기 지정된 신호를 기반으로, 상기 외부 전자 장치가 상기 복수 개의 코드 이미지에 포함된 특정 정보를 획득할 수 있는지 장치인지를 판단할 수 있다.According to one embodiment, the processor may set specific information of information about a plurality of code images included in a code image corresponding to the first order as designated information (e.g., dmsdngq). The processor may determine, based on address information of the external electronic device included in the received designated signal, whether an address of the external electronic device that transmitted the designated signal matches the designated information (e.g., dmsdngq). The designated information may be usage permission information for the specific information. According to another embodiment, when the specific information is set as designated information (e.g., samsung12) in relation to a user account, the processor may determine, based on information about a user included in the received designated signal, whether an account logged in to the external electronic device matches the designated information (e.g., samsung12). If the account logged in to the external electronic device matches the designated information, the processor may determine that the external electronic device is a device capable of identifying specific information included in the plurality of code images. Accordingly, the processor of the electronic device can determine whether the external electronic device is a device capable of obtaining specific information included in the plurality of code images based on the designated signal received from the external electronic device.

동작 407에서, 상기 외부 전자 장치가 특정 정보를 식별할 수 있는 장치임을 판단한 경우, 상기 프로세서는 상기 첫 번째 순서에 해당하는 코드 이미지의 다음 순서에 해당하는 코드 이미지를 특정 정보를 포함하고 있는 코드 이미지로 표시할 수 있다.In operation 407, if it is determined that the external electronic device is a device capable of identifying specific information, the processor can display a code image corresponding to a next sequence of code images corresponding to the first sequence as a code image containing the specific information.

일 실시예에 따르면, 상기 프로세서는 외부 전자 장치의 주소(Mac address)와 관련하여 특정 정보에 대한 지정된 정보(예: dmsdngq)로 설정되어 있는 경우, 제1 코드 이미지를 스캔한 외부 전자 장치로부터 지정된 신호를 수신할 수 있다. 상기 지정된 정보는 상기 특정 정보에 대한 사용 권한 정보일 수 있다. 상기 프로세서는 상기 수신한 지정된 신호에 포함된 외부 전자 장치의 주소와 관련하여 지정된 정보와 일치하는지를 확인하여, 상기 외부 전자 장치가 상기 복수 개의 코드 이미지들에 포함된 특정 정보를 획득할 수 있는 장치인지를 판단할 수 있다.According to one embodiment, the processor may receive a designated signal from an external electronic device that scanned the first code image, if the designated information (e.g., dmsdngq) is set with respect to a specific information related to an address (Mac address) of the external electronic device. The designated information may be usage permission information for the specific information. The processor may determine whether the external electronic device is a device that can obtain the specific information included in the plurality of code images by checking whether the received designated signal matches the designated information related to the address of the external electronic device.

상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치임을 판단한 상기 전자 장치의 프로세서는 상기 디스플레이의 지정된 영역에서 표시되고 있는 코드 이미지의 다음 순서에 해당하면서, 특정 정보를 포함하고 있는 코드 이미지를 표시할 수 있다. 다른 실시예에 따르면, 상기 특정 정보를 포함하고 있는 코드 이미지를 상기 디스플레이에 표시할 때, 상기 특정 정보를 포함하고 있는 코드 이미지의 지정된 영역에 지정된 객체가 포함되도록 할 수 있다.The processor of the electronic device, which determines that the external electronic device is a device capable of obtaining specific information, may display a code image that includes specific information while corresponding to the next order of code images displayed in a designated area of the display. According to another embodiment, when displaying a code image including the specific information on the display, a designated object may be included in a designated area of the code image including the specific information.

동작 405에서, 상기 프로세서는 상기 외부 전자 장치로부터 수신한 상기 지정된 신호를 기반으로, 상기 외부 전자 장치가 특정 정보를 획득할 수 없는 장치임을 판단할 수 있다. 동작 409에서, 상기 외부 전자 장치가 특정 정보를 획득할 수 없는 장치임을 판단한 상기 전자 장치의 프로세서는 첫 번째 순서에 해당하는 코드 이미지의 다음 순서에 해당하는 코드 이미지를 지정된 영역에 표시할 수 있다. 이 때, 상기 지정된 영역에서 표시되는 상기 다음 순서에 해당하는 코드 이미지는 특정 정보를 제외한 정보를 포함할 수 있다.In operation 405, the processor may determine, based on the designated signal received from the external electronic device, that the external electronic device is a device that cannot obtain specific information. In operation 409, the processor of the electronic device that determines that the external electronic device is a device that cannot obtain specific information may display a code image corresponding to a next order of a code image corresponding to a first order in a designated area. At this time, the code image corresponding to the next order displayed in the designated area may include information excluding the specific information.

일 실시예에 따르면, 상기 프로세서는 사용자 계정(user account)과 관련하여 특정 정보에 대한 지정된 정보(예: samsung12)로 설정되어 있는 경우, 상기 프로세서는 제1 코드 이미지를 스캔한 외부 전자 장치로부터, 지정된 신호를 수신할 수 있다. 상기 지정된 정보는 상기 특정 정보에 대한 사용 권한 정보일 수 있다. 상기 프로세서는 상기 수신한 지정된 신호에 포함된 사용자에 대한 정보를 기반으로, 상기 외부 전자 장치에 로그인 된 계정이 상기 지정된 정보와 일치하는지를 판단할 수 있다. 상기 외부 전자 장치에 로그인 된 계정이 상기 지정된 정보와 일치하는 경우, 상기 프로세서는 상기 외부 전자 장치가 복수 개의 코드 이미지들에 포함된 특정 정보를 식별할 수 없는 장치임을 판단할 수 있다.According to one embodiment, when the processor is set to designated information (e.g., samsung12) regarding specific information related to a user account, the processor may receive a designated signal from an external electronic device that scanned a first code image. The designated information may be usage permission information regarding the specific information. The processor may determine, based on information about a user included in the received designated signal, whether an account logged into the external electronic device matches the designated information. If the account logged into the external electronic device matches the designated information, the processor may determine that the external electronic device is a device that cannot identify specific information included in a plurality of code images.

상기 외부 전자 장치가 특정 정보를 획득할 수 없는 장치임을 판단한 상기 전자 장치의 프로세서는 제1 코드 이미지의 다음 순서에 해당하면서, 특정 정보를 포함하지 않는 코드 이미지를 상기 디스플레이의 지정된 영역에 표시할 수 있다.The processor of the electronic device, which determines that the external electronic device is a device that cannot obtain specific information, can display a code image that is in the next order of the first code image and does not include the specific information in a designated area of the display.

상술한 바와 같이, 다양한 실시예에 따르면, 데이터를 제공하는 방법은 데이터의 크기가 지정된 값 이상인 경우, 상기 데이터를 분할하는 동작, 상기 분할된 각각의 데이터에 대응되는 복수 개의 코드 이미지들을 생성하는 동작, 상기 생성된 복수 개의 코드 이미지들의 표시 순서를 지정하는 동작, 상기 복수 개의 코드 이미지들 중 표시 순서가 첫 번째 순서에 해당하는 코드 이미지를 디스플레이(예: 도 1의 표시 장치(160) 또는 도 2의 디스플레이(201))의 지정된 영역에 표시하는 동작 및 통신 모듈(예: 도 1의 통신 모듈(190) 또는 도 2의 통신 모듈(202))을 통해 외부 전자 장치(예: 도 1의 전자 장치(102 또는 104))로부터 지정된 신호를 수신하거나, 상기 첫 번째 순서에 해당하는 코드 이미지에 포함된 정보를 기반으로, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 다음 순서에 해당하는 코드 이미지를 상기 지정된 영역에 표시하는 동작을 포함하고, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 첫 번째 순서에 해당하는 코드 이미지는 상기 복수 개의 코드 이미지들에 정보를 포함할 수 있다.As described above, according to various embodiments, the method for providing data includes, when the size of the data is greater than or equal to a specified value, an operation of dividing the data, an operation of generating a plurality of code images corresponding to each of the divided data, an operation of specifying a display order of the generated plurality of code images, an operation of displaying a code image whose display order corresponds to a first order among the plurality of code images, in a specified area of a display (e.g., a display device (160) of FIG. 1 or a display (201) of FIG. 2), and an operation of receiving a specified signal from an external electronic device (e.g., an electronic device (102 or 104) of FIG. 1) through a communication module (e.g., a communication module (190) of FIG. 1 or a communication module (202) of FIG. 2)) or, based on information included in the code image whose display order corresponds to a next order among the plurality of code images, in the specified area, and the code image whose display order corresponds to a first order among the plurality of code images may include information in the plurality of code images.

다양한 실시예에 따르면, 상기 복수 개의 코드 이미지들에 대한 정보는, 상기 데이터에 포함된 특정 정보에 대한 사용 권한 정보 및 상기 지정된 신호를 송수신하기 위한 통신 방식에 대한 정보 중 적어도 하나를 포함할 수 있다.According to various embodiments, the information about the plurality of code images may include at least one of information about usage rights for specific information included in the data and information about a communication method for transmitting and receiving the specified signal.

다양한 실시예에 따르면, 상기 특정 정보에 대한 사용 권한 정보는, 상기 특정 정보를 획득할 수 있는 상기 외부 전자 장치의 식별 정보 또는 사용자의 식별 정보 중 적어도 하나를 포함할 수 있다.According to various embodiments, the usage permission information for the specific information may include at least one of identification information of the external electronic device capable of obtaining the specific information or identification information of the user.

다양한 실시예에 따르면, 상기 복수 개의 코드 이미지들에 대한 정보는, 상기 데이터에 포함된 특정 정보에 대한 인증 정보를 더 포함하고, 상기 특정 정보에 대한 인증 정보는 상기 복수 개의 코드 이미지들에 포함된 상기 특정 정보를 상기 외부 전자 장치가 획득할 수 있는 장치임을 인증하도록 하는 정보를 포함할 수 있다.According to various embodiments, the information about the plurality of code images may further include authentication information about specific information included in the data, and the authentication information about the specific information may include information that authenticates that the external electronic device is a device capable of obtaining the specific information included in the plurality of code images.

다양한 실시예에 따르면, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 다음 순서에 해당하는 코드 이미지를 상기 지정된 영역에 표시하는 동작은, 상기 수신한 지정된 신호에 포함된 외부 전자 장치에 대한 정보를 기반으로, 상기 외부 전자 장치가 상기 복수 개의 코드 이미지들에 포함된 특정 정보를 식별할 수 있는 장치인지를 판단하는 동작을 더 포함할 수 있다.According to various embodiments, the operation of displaying, in the designated area, a code image whose display order corresponds to the following order among the plurality of code images may further include an operation of determining, based on information about the external electronic device included in the received designated signal, whether the external electronic device is a device capable of identifying specific information included in the plurality of code images.

다양한 실시예에 따르면, 상기 외부 전자 장치에 대한 정보는, 상기 특정 정보를 획득할 수 있는 장치에 대한 주소 정보 및 상기 특정 정보를 획득할 수 있는 사용자 계정에 대한 정보 중 적어도 하나를 포함할 수 있다.According to various embodiments, the information about the external electronic device may include at least one of address information about a device capable of obtaining the specific information and information about a user account capable of obtaining the specific information.

다양한 실시예에 따르면, 상기 데이터를 분할하는 동작은, 상기 데이터에 포함된 정보의 개수, 정보의 종류 및 정보의 크기 중 적어도 하나를 기반으로 상기 데이터를 분할하는 동작을 포함할 수 있다.According to various embodiments, the operation of dividing the data may include an operation of dividing the data based on at least one of the number of information included in the data, the type of information, and the size of the information.

다양한 실시예에 따르면, 상기 분할된 데이터 각각에 포함된 정보에 대한 우선 순위를 기반으로, 상기 지정된 영역에 표시할 상기 복수 개의 코드 이미지들에 대한 상기 표시 순서를 지정하는 동작을 포함할 수 있다.According to various embodiments, the method may include an operation of specifying a display order for the plurality of code images to be displayed in the designated area based on a priority for information included in each of the divided data.

다양한 실시예에 따르면, 상기 외부 전자 장치로부터 지정된 신호를 수신하면, 상기 복수 개의 코드 이미지들을 상기 지정된 영역에 표시하는 동작은, 상기 지정된 신호의 수신에 응답하여, 상기 지정된 영역에 지정된 이미지를 표시하는 동작 및 상기 지정된 이미지가 표시된 후, 지정된 시간이 경과하면 상기 다음 순서에 해당하는 코드 이미지를 표시하는 동작을 더 포함할 수 있다.According to various embodiments, when receiving a specified signal from the external electronic device, the operation of displaying the plurality of code images in the specified area may further include an operation of displaying a specified image in the specified area in response to receiving the specified signal, and an operation of displaying a code image corresponding to the next order after a specified time has elapsed after the specified image is displayed.

다양한 실시예에 따르면, 상기 외부 전자 장치로부터 지정된 신호를 수신하면, 상기 복수 개의 코드 이미지들을 상기 지정된 영역에 표시하는 동작은, 상기 지정된 신호를 기반으로, 상기 외부 전자 장치가 상기 특정 정보를 식별할 수 없는 장치임을 판단하면, 상기 특정 정보를 제외한 정보를 포함하는 코드 이미지들을 상기 표시 순서에 따라 상기 지정된 영역에 순차적으로 표시하는 동작을 더 포함할 수 있다.According to various embodiments, when receiving a specified signal from the external electronic device, the operation of displaying the plurality of code images in the specified area may further include an operation of sequentially displaying code images including information excluding the specific information in the specified area in the display order when determining, based on the specified signal, that the external electronic device is a device that cannot identify the specific information.

도 5를 참조하면, 501 상태에서 전자 장치(500)(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 상기 전자 장치(500)의 디스플레이(예: 도 2의 디스플레이(201))를 통해 지정된 영역에 복수 개의 코드 이미지들 중 첫 번째 순서에 해당하는 코드 이미지(510)를 표시할 수 있다. 상기 전자 장치(500)의 프로세서는 데이터의 크기가 상기 지정된 값 이상인 경우, 상기 데이터를 분할하여 분할한 데이터에 대응하는 복수 개의 코드 이미지를 생성할 수 있다. 상기 프로세서는 상기 복수 개의 코드 이미지 중 상기 디스플레이의 지정된 영역에 첫 번째 순서로 표시될 코드 이미지(예: 첫 번째 순서에 해당하는 코드 이미지)를 표시할 수 있다. 상기 프로세서가 상기 지정된 영역에 상기 첫 번째 순서에 해당하는 코드 이미지(510)를 표시하는 동안, 외부 전자 장치는 상기 첫 번째 순서로 표시될 코드 이미지를 스캔할 수 있다. 상기 프로세서는 상기 첫 번째 순서에 해당하는 코드 이미지(510)를 스캔한 상기 외부 전자 장치로부터 지정된 신호를 수신할 수 있다. 상기 프로세서는, 상기 지정된 신호에 포함된 외부 전자 장치에 대한 정보를 기반으로, 상기 전자 장치가 특정 정보를 획득할 수 있는 장치인지를 판단할 수 있다.Referring to FIG. 5, in state 501, a processor (e.g., the processor (204) of FIG. 2) of an electronic device (500) (e.g., the electronic device (200) of FIG. 2) may display a code image (510) corresponding to a first order among a plurality of code images in a designated area through a display (e.g., the display (201) of FIG. 2) of the electronic device (500). When the size of data is greater than or equal to the designated value, the processor of the electronic device (500) may divide the data and generate a plurality of code images corresponding to the divided data. The processor may display a code image (e.g., a code image corresponding to the first order) to be displayed in a first order in the designated area of the display among the plurality of code images. While the processor displays the code image (510) corresponding to the first order in the designated area, an external electronic device may scan the code image to be displayed in the first order. The processor may receive a specified signal from the external electronic device that scanned the code image (510) corresponding to the first order. The processor may determine whether the electronic device is a device capable of obtaining specific information based on information about the external electronic device included in the specified signal.

일 실시예에 따르면, 지정된 값이 10kb이고 코드 이미지로 생성할 데이터의 크기가 120kb인 경우, 상기 프로세서는 120kb의 크기를 가지고 있는 상기 데이터를 분할하여, 분할한 데이터와 대응하는 복수 개의 코드 이미지를 생성할 수 있다. 상기 프로세서는 상기 데이터를 상기 복수 개의 코드 이미지로 생성할 때, 상기 데이터에 포함된 적어도 하나의 정보의 개수, 종류(예: 유형) 및 크기(예: 용량) 중 적어도 하나를 기반으로 상기 데이터를 분할할 수 있다. 상기 프로세서는 상기 데이터에 포함된 적어도 하나의 정보의 크기를 기반으로, 상기 120kb의 데이터를 10kb의 데이터를 포함할 수 있는 코드 이미지 12개로 생성할 수 있다. 상기 프로세서는 상기 생성된 12개의 코드 이미지 중 첫 번째 순서로 지정된 영역에 표시될 제1 코드 이미지(예: 도 5의 첫 번째 순서에 해당하는 코드 이미지(510))를 표시할 수 있다. According to one embodiment, when the specified value is 10 kb and the size of data to be generated as a code image is 120 kb, the processor may divide the data having a size of 120 kb and generate a plurality of code images corresponding to the divided data. When the processor generates the data into the plurality of code images, the processor may divide the data based on at least one of the number, type (e.g., type), and size (e.g., capacity) of at least one piece of information included in the data. The processor may generate the 120 kb data into 12 code images that may include 10 kb of data based on the size of at least one piece of information included in the data. The processor may display a first code image (e.g., a code image (510) corresponding to the first order of FIG. 5) to be displayed in an area designated in a first order among the generated 12 code images.

상기 프로세서가 상기 제1 코드 이미지를 상기 지정된 영역에 표시하는 동안, 외부 전자 장치가 상기 지정된 영역에 표시되고 있는 상기 제1 코드 이미지(510)를 스캔(scan)할 수 있다.While the processor displays the first code image in the designated area, an external electronic device can scan the first code image (510) being displayed in the designated area.

상기 전자 장치(500)는 상기 제1 코드 이미지에 포함된 통신 방식에 대한 정보를 기반으로, 형성된 통신 채널을 통해 상기 외부 전자 장치로부터 제1 지정된 신호를 수신할 수 있다. The electronic device (500) can receive a first designated signal from the external electronic device through a communication channel formed based on information about a communication method included in the first code image.

503, 505 및 507상태에서, 상기 전자 장치(500)의 프로세서는 상기 외부 전자 장치로부터 지정된 신호를 수신하면, 상기 지정된 영역에서 표시하고 있는 상기 첫 번째 순서에 해당하는 코드 이미지(510)의 다음 순서에 해당하는 코드 이미지(520)를 표시할 수 있다. 이 후, 다음 코드 이미지(520)를 표시하고 있는 상기 프로세서가 상기 외부 전자 장치로부터 지정된 신호를 수신할 때 마다, 현재 지정된 영역에 표시하고 있는 코드 이미지(520)를 다음 순서에 해당하는 코드 이미지들(530 및 540)로 표시할 수 있다.In states 503, 505 and 507, when the processor of the electronic device (500) receives a designated signal from the external electronic device, it can display a code image (520) corresponding to the next order of the code image (510) corresponding to the first order being displayed in the designated area. Thereafter, whenever the processor displaying the next code image (520) receives a designated signal from the external electronic device, it can display the code image (520) currently being displayed in the designated area as code images (530 and 540) corresponding to the next order.

일 실시예에 따르면, 상기 외부 전자 장치로부터 상기 제1 지정된 신호를 수신한 상기 프로세서는 상기 지정된 영역에 표시하고 있던 상기 제1 코드 이미지를 다음 순서에 해당하는 제2 코드 이미지(예: 도 5의 코드 이미지 520)로 표시할 수 있다.According to one embodiment, the processor, which receives the first designated signal from the external electronic device, may display the first code image displayed in the designated area as a second code image (e.g., code image 520 of FIG. 5) corresponding to the next sequence.

상기 전자 장치(500)의 프로세서가 상기 외부 전자 장치로부터 제2 지정된 신호를 수신하는 경우, 상기 디스플레이의 지정된 영역에 표시하고 있는 제2 코드 이미지(520)를 다음 순서에 해당하는 제3 코드 이미지(530)로 표시할 수 있다. 또한, 507 상태에서, 상기 전자 장치(500)의 프로세서가 상기 외부 전자 장치로부터 제3 지정된 신호를 수신하는 경우, 상기 디스플레이의 지정된 영역에 표시되고 있는 상기 제3 코드 이미지(530)를 제4 코드 이미지(540)로 표시할 수 있다. 다른 실시예에 따르면, 프로세서가 외부 전자 장치로부터 지정된 신호를 수신하면, 현재 지정된 영역에 표시되고 있는 코드 이미지를 다음 순서에 해당하는 코드 이미지로 변경하지 않고, 지정된 시간동안 지정된 이미지(예: 광고 이미지)를 표시한 후, 다음 순서에 해당하는 코드 이미지를 표시하도록 할 수 있다.When the processor of the electronic device (500) receives a second designated signal from the external electronic device, the second code image (520) displayed in the designated area of the display may be displayed as a third code image (530) corresponding to the next order. In addition, in state 507, when the processor of the electronic device (500) receives a third designated signal from the external electronic device, the third code image (530) displayed in the designated area of the display may be displayed as a fourth code image (540). According to another embodiment, when the processor receives a designated signal from the external electronic device, instead of changing the code image currently displayed in the designated area to the code image corresponding to the next order, a designated image (e.g., an advertisement image) may be displayed for a designated period of time, and then the code image corresponding to the next order may be displayed.

도 6은 본 발명의 일 실시예에 따른, 수신된 신호를 기반으로 코드 이미지를 표시하는 방법을 설명하기 도면이다.FIG. 6 is a drawing explaining a method for displaying a code image based on a received signal according to one embodiment of the present invention.

도 6을 참조하면, 전자 장치(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 데이터의 크기가 지정된 값 이상인 경우, 상기 데이터를 분할할 수 있다. 상기 프로세서는 분할한 데이터와 대응하는 복수 개의 코드 이미지를 생성할 수 있다. 상기 프로세서가 상기 데이터를 분할할 때, 상기 데이터에 포함된 적어도 하나의 정보의 개수에 대한 정보, 종류에 대한 정보 및 크기에 대한 정보 중 적어도 하나를 기기반으로, 상기 데이터를 분할할 수 있다.Referring to FIG. 6, a processor (e.g., a processor (204) of FIG. 2) of an electronic device (e.g., an electronic device (200) of FIG. 2) may divide the data if the size of the data is greater than or equal to a specified value. The processor may generate a plurality of code images corresponding to the divided data. When the processor divides the data, the data may be divided based on at least one of information about the number of pieces of information included in the data, information about the type, and information about the size of the data.

610 상태에서, 상기 전자 장치의 프로세서는 데이터를 분할하여, 분할한 데이터와 대응하는 복수 개의 코드 이미지들(611, 613, 615, 617 및 619)을 생성할 수 있다. 상기 프로세서는 상기 복수 개의 코드 이미지를 생성할 때, 복수 개의 코드 이미지들 중 보안을 필요로 하는 특정 정보를 포함하는 코드 이미지들(613 및 617) 및 상기 특정 정보를 제외한 정보를 포함하는 코드 이미지들(615 및 619)을 구분하여 생성할 수 있다. 상기 프로세서는 상기 생성한 복수 개의 코드 이미지들(611, 613, 615, 617 및 619) 중 상기 지정된 영역에 첫 번째로 표시될 코드 이미지(611)(예: 첫 번째 순서에 해당하는 코드 이미지)에, 상기 특정 정보에 대한 사용 권한 정보 및 통신 방식에 대한 정보를 포함하고 있는 복수 개의 코드 이미지들에 대한 정보를 저장할 수 있다. 상기 전자 장치의 프로세서는 상기 생성한 복수 개의 코드 이미지들 중 상기 첫 번째 순서에 해당하는 코드 이미지(611)를 디스플레이(예: 도 2의 디스플레이(201))의 지정된 영역에 표시할 수 있다.In state 610, the processor of the electronic device may divide the data and generate a plurality of code images (611, 613, 615, 617, and 619) corresponding to the divided data. When generating the plurality of code images, the processor may distinguish and generate code images (613 and 617) including specific information requiring security from among the plurality of code images and code images (615 and 619) including information excluding the specific information. The processor may store information on a plurality of code images including usage permission information and information on a communication method for the specific information in a code image (611) (e.g., a code image corresponding to the first order) to be displayed first in the designated area among the generated plurality of code images (611, 613, 615, 617, and 619). The processor of the electronic device can display a code image (611) corresponding to the first order among the plurality of generated code images in a designated area of a display (e.g., the display (201) of FIG. 2).

일 실시예에 따르면, 상기 프로세서는 데이터에 포함된 적어도 하나의 정보의 개수, 종류 및 크기 중 적어도 하나를 기반으로 상기 데이터를 분할할 수 있다.According to one embodiment, the processor can segment the data based on at least one of the number, type, and size of at least one piece of information included in the data.

상기 프로세서는 상기 데이터가 5개의 정보를 포함하고 있는 경우, 데이터에 포함된 적어도 하나의 정보에 대한 개수를 기반으로, 한 개의 코드 이미지에 한 개의 정보를 저장하여, 총 5개의 코드 이미지(예: 도 6의 611, 613, 615, 617 및 619에 해당하는 코드 이미지들)를 생성할 수 있다. 상기 프로세서는 상기 5개의 코드 이미지를 생성할 때, 특정 정보를 포함하는 코드 이미지들(예: 도 6의 613 및 617에 해당하는 코드 이미지들) 및 특정 정보를 제외한 정보를 포함하는 코드 이미지들(예: 도 6의 615 및 619에 해당하는 코드 이미지들)을 구분하여 생성할 수 있다.The above processor may, when the data includes five pieces of information, store one piece of information in one code image based on the number of at least one piece of information included in the data, thereby generating a total of five code images (e.g., code images corresponding to 611, 613, 615, 617, and 619 of FIG. 6). When generating the five code images, the processor may distinguish and generate code images including specific information (e.g., code images corresponding to 613 and 617 of FIG. 6) and code images including information excluding specific information (e.g., code images corresponding to 615 and 619 of FIG. 6).

상기 전자 장치의 프로세서는 상기 복수 개의 코드 이미지들 중 디스플레이의 지정된 영역에 첫 번째 순서로 표시될 제1 코드 이미지(예: 예: 도 6의 코드 이미지(611))를 상기 전자 장치에 포함된 디스플레이(예: 도 2의 디스플레이(201))의 지정된 영역에 표시할 수 있다. 상기 프로세서가 상기 지정된 영역에 상기 디스플레이를 통해 상기 제1 코드 이미지를 표시하고 있는 동안, 외부 전자 장치는 상기 제1 코드 이미지를 스캔할 수 있다. 상기 프로세서는 상기 제1 코드 이미지를 스캔한 상기 외부 전자 장치로부터 제1 지정된 신호를 수신할 수 있다. 상기 제1 지정된 신호는 상기 외부 전자 장치에 대한 정보(예: 외부 전자 장치의 주소 정보 또는 사용자에 대한 정보)를 포함할 수 있다.The processor of the electronic device may display a first code image (e.g., code image (611) of FIG. 6) to be displayed in a first order in a designated area of the display among the plurality of code images, on a designated area of a display (e.g., display (201) of FIG. 2) included in the electronic device. While the processor displays the first code image through the display in the designated area, an external electronic device may scan the first code image. The processor may receive a first designated signal from the external electronic device that scanned the first code image. The first designated signal may include information about the external electronic device (e.g., address information of the external electronic device or information about a user).

630 상태에서, 상기 전자 장치의 프로세서는 상기 첫 번째 순서에 해당하는 코드 이미지(631)(예: 도 6의 코드 이미지(611))를 스캔한 상기 외부 전자 장치로부터 지정된 신호를 수신할 수 있다. 상기 지정된 신호는 상기 외부 전자 장치가 상기 첫 번째 순서에 해당하는 코드 이미지에 포함된 복수 개의 코드 이미지들에 대한 정보를 기반으로 송신할 수 있다. 상기 복수 개의 코드 이미지들에 대한 정보는 통신 방식에 대한 정보를 포함할 수 있다. 따라서, 상기 첫 번째 순서에 해당하는 코드 이미지를 스캔한 상기 외부 전자 장치는 통신 방식에 대한 정보를 기반으로 상기 전자 장치에 통신 채널을 형성을 요청할 수 있다. 상기 전자 장치는 상기 요청을 기반으로 형성된 통신 채널을 통해 상기 외부 전자 장치로부터 지정된 신호를 수신할 수 있다. 상기 프로세서는 수신한 지정된 신호를 기반으로, 상기 외부 전자 장치가 특정 정보를 포함하는 코드 이미지(633 및 637)(예: 도 6의 코드 이미지(613 및 617))를 획득할 수 있는 장치인지를 판단할 수 있다. 상기 지정된 신호는 상기 전자 장치에 대한 정보를 포함하고 있어, 상기 전자 장치의 프로세서가 상기 지정된 신호를 송신한 외부 전자 장치가 특정 정보를 포함하는 코드 이미지를 획득할 수 있는 장치인지를 판단할 수 있다.In state 630, the processor of the electronic device can receive a specified signal from the external electronic device that scanned the code image (631) corresponding to the first order (e.g., the code image (611) of FIG. 6). The specified signal can be transmitted by the external electronic device based on information about a plurality of code images included in the code image corresponding to the first order. The information about the plurality of code images can include information about a communication method. Accordingly, the external electronic device that scanned the code image corresponding to the first order can request the electronic device to form a communication channel based on the information about the communication method. The electronic device can receive a specified signal from the external electronic device through the communication channel formed based on the request. The processor can determine, based on the received specified signal, whether the external electronic device is a device that can obtain code images (633 and 637) including specific information (e.g., code images (613 and 617) of FIG. 6). The above-mentioned designated signal contains information about the electronic device, so that the processor of the electronic device can determine whether the external electronic device that transmitted the above-mentioned designated signal is a device capable of obtaining a code image containing specific information.

상기 전자 장치의 프로세서가 상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치임을 판단하면, 상기 지정된 영역에 상기 복수 개의 코드 이미지들 중 상기 특정 정보를 포함하고 있는 코드 이미지들(633 및 637) 및 상기 특정 정보를 제외한 정보를 포함하고 있는 코드 이미지들(635 및 639)(예: 도 6의 코드 이미지(615 및 619))을 상기 지정된 영역에 순차적으로 표시할 수 있다.When the processor of the electronic device determines that the external electronic device is a device capable of obtaining specific information, the processor may sequentially display, in the designated area, code images (633 and 637) including the specific information and code images (635 and 639) including information excluding the specific information among the plurality of code images (e.g., code images (615 and 619) of FIG. 6).

일 실시예에 따르면, 상기 제1 코드 이미지(예: 도 6의 631에 해당하는 코드 이미지)에 포함된 특정 정보가 외부 전자 장치의 주소(예: Mac address)와 관련하여 지정된 정보(예: 14235463)로 설정되어 있는 경우, 상기 프로세서는 상기 제1 코드 이미지를 스캔한 외부 전자 장치로부터 수신한 제1 지정된 신호를 기반으로, 상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치인지를 식별할 수 있다. 상기 지정된 정보는 상기 특정 정보에 대한 사용 권한 정보일 수 있다. 상기 프로세서는 상기 지정된 신호에 포함된 상기 외부 전자 장치에 대한 지정된 정보를 기반으로, 상기 외부 전자 장치의 주소(예: 외부 전자 장치의 Mac address)와 일치하는지를 판단할 수 있다. 상기 외부 전자 장치의 주소와 관련된 지정된 정보가 상기 외부 전자 장치의 주소와 일치하는 경우, 상기 프로세서는 상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치임을 식별할 수 있다. 또한, 상기 프로세서는 상기 외부 전자 장치로부터 상기 제1 지정된 신호를 수신할 때, 상기 제1 코드 이미지에 포함된 통신 방식에 대한 정보(예: 블루투스로 설정되어 있는 경우)를 기반으로 상기 외부 전자 장치와 통신 채널을 형성할 수 있다. 상기 프로세서는 형성된 통신 채널을 통해 상기 제1 지정된 신호를 수신할 수 있다. According to one embodiment, if specific information included in the first code image (e.g., the code image corresponding to 631 of FIG. 6) is set as designated information (e.g., 14235463) related to an address (e.g., Mac address) of an external electronic device, the processor may identify, based on a first designated signal received from the external electronic device that scanned the first code image, whether the external electronic device is a device capable of obtaining the specific information. The designated information may be usage permission information for the specific information. The processor may determine, based on the designated information about the external electronic device included in the designated signal, whether the address (e.g., Mac address of the external electronic device) of the external electronic device matches. If the designated information related to the address of the external electronic device matches the address of the external electronic device, the processor may identify that the external electronic device is a device capable of obtaining the specific information. Additionally, when the processor receives the first designated signal from the external electronic device, the processor may form a communication channel with the external electronic device based on information about the communication method included in the first code image (e.g., when set to Bluetooth). The processor may receive the first designated signal through the formed communication channel.

상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치임을 식별한 상기 전자 장치의 프로세서는 상기 디스플레이의 지정된 영역에 표시되고 있는 첫 번째 순서에 해당하는 제1 코드 이미지의 다음 순서로 특정 정보를 포함하는 제2 코드 이미지(예: 도 6의 코드 이미지 633)를 표시할 수 있다. 상기 프로세서가 상기 제2 코드 이미지를 표시하고 있는 동안, 상기 제2 코드 이미지를 스캔한 상기 외부 전자 장치로부터 블루투스 통신 채널을 통해 제2 지정된 신호를 수신하면, 제2 코드 이미지의 다음 순서에 해당하는 제3 코드 이미지(예: 도 6의 코드 이미지 635)를 지정된 영역에 표시할 수 있다. A processor of the electronic device that has identified that the external electronic device is a device capable of obtaining specific information can display a second code image (e.g., code image 633 of FIG. 6) including specific information in a subsequent order of a first code image corresponding to a first order displayed in a designated area of the display. While the processor is displaying the second code image, if a second designated signal is received from the external electronic device that scanned the second code image through a Bluetooth communication channel, a third code image (e.g., code image 635 of FIG. 6) corresponding to a subsequent order of the second code image can be displayed in the designated area.

이 후, 상기 제3 코드 이미지를 표시하고 있는 상기 프로세서가 블루투스 통신 채널을 통해 상기 외부 전자 장치로부터 제3 지정된 신호를 수신하는 경우, 상기 지정된 영역에 특정 정보를 포함하는 제4 코드 이미지(예: 도 6의 코드 이미지 637)를 표시할 수 있다. 추가적으로, 상기 제4 코드 이미지를 상기 지정된 영역에 표시하고 있는 상기 프로세서가 상기 외부 전자 장치로부터 제4 지정된 신호를 수신하면, 제5 코드 이미지(예: 도 6의 코드 이미지 639)를 상기 지정된 영역에 표시할 수 있다. 또 다른 실시예로, 상기 전자 장치의 프로세서는 상기 외부 전자 장치로부터 지정된 신호를 수신하면, 다음 순서에 해당하는 코드 이미지를 표시하지 않고, 소정의 시간동안 지정된 데이터(예: 광고 이미지)를 표시할 수 있다.Thereafter, when the processor displaying the third code image receives a third designated signal from the external electronic device through a Bluetooth communication channel, a fourth code image (e.g., code image 637 of FIG. 6) including specific information may be displayed in the designated area. Additionally, when the processor displaying the fourth code image in the designated area receives a fourth designated signal from the external electronic device, a fifth code image (e.g., code image 639 of FIG. 6) may be displayed in the designated area. In another embodiment, when the processor of the electronic device receives a designated signal from the external electronic device, it may not display a code image corresponding to the next sequence, but may display designated data (e.g., an advertisement image) for a predetermined period of time.

반면에, 650 상태에서 상기 전자 장치의 프로세서가 상기 외부 전자 장치가 특정 정보를 포함하는 코드 이미지(예: 도 6의 코드 이미지(613 및 617)획득할 수 없는 장치임을 식별한 경우, 상기 지정된 영역에 표시되고 있는 첫 번째 순서에 해당하는 제1 코드 이미지(651)(예: 도 6의 코드 이미지(611))의 다음 순서로 특정 정보를 포함하지 않는 코드 이미지(655)(예: 도 6의 코드 이미지(615))를 표시할 수 있다. 상기 프로세서는 상기 외부 전자 장치가 특정 정보를 획득할 수 없는 장치인 것을 판단했기 때문에, 특정 정보를 포함한 코드 이미지들(예: 도 6의 코드 이미지(613 및 617)을 상기 지정된 영역에 표시하지 않고, 특정 정보를 제외한 정보를 포함하고 있는 코드 이미지들(655 및 659)을 상기 지정된 영역에 표시할 수 있다.On the other hand, if the processor of the electronic device in the state 650 identifies that the external electronic device is a device that cannot obtain a code image including specific information (e.g., code images (613 and 617) of FIG. 6), the code image (655) (e.g., code image (615) of FIG. 6) that does not include specific information may be displayed in the next order after the first code image (651) (e.g., code image (611) of FIG. 6) corresponding to the first order displayed in the designated area. Since the processor determines that the external electronic device is a device that cannot obtain specific information, the code images (655 and 659) that include information excluding the specific information may be displayed in the designated area without displaying the code images including the specific information (e.g., code images (613 and 617) of FIG. 6).

일 실시예에 따르면, 상기 첫 번째 순서에 해당하는 제1 코드 이미지(651)(예: 도 6의 611에 해당하는 코드 이미지)에 포함된 특정 정보가 사용자 계정(user account)과 관련하여 지정된 정보(예: samsung12)로 설정되어 있는 경우, 상기 프로세서는 외부 전자 장치로부터 수신한 제1 지정된 신호에 포함된 사용자에 대한 정보를 기반으로, 상기 외부 전자 장치에 로그인 된 계정이 특정 정보를 획득할 수 있는 계정인지 식별할 수 있다.According to one embodiment, if specific information included in the first code image (651) corresponding to the first order (e.g., the code image corresponding to 611 of FIG. 6) is set as information designated in relation to a user account (e.g., samsung12), the processor may identify whether an account logged into the external electronic device is an account that can obtain specific information based on information about the user included in the first designated signal received from the external electronic device.

상기 제1 지정된 신호를 송신한 외부 전자 장치에 로그인 된 계정이 상기 지정된 정보와 일치하지 않는 계정인 경우, 상기 전자 장치의 프로세서는 상기 외부 전자 장치가 특정 정보를 포함하고 있는 코드 이미지들을 획득할 수 없는 장치임을 판단할 수 있다. 상기 외부 전자 장치가 상기 특정 정보를 포함하는 코드 이미지를 획득할 수 없는 장치임을 판단한 상기 프로세서는 상기 첫 번째 순서에 해당하는 제1 코드 이미지(예: 도 6의 코드 이미지(611))를 스캔한 외부 전자 장치로부터 제1 지정된 신호를 수신하는 경우, 특정 정보를 제외한 정보를 포함하는 코드 이미지(예: 도 6의 코드 이미지(615))를 상기 지정된 영역에 제2 코드 이미지로 표시할 수 있다. 상기 프로세서가 블루투스 통신 채널을 통해 상기 외부 전자 장치로부터 제2 지정된 신호를 수신하면, 상기 제2 코드 이미지의 다음 순서인 제3 코드 이미지로 특정 정보를 제외한 정보를 포함하는 코드 이미지(예: 도 6의 코드 이미지(619))를 표시할 수 있다.If an account logged into the external electronic device that transmitted the first designated signal is an account that does not match the designated information, the processor of the electronic device may determine that the external electronic device is a device that cannot obtain code images including the specific information. When the processor determines that the external electronic device is a device that cannot obtain code images including the specific information, if it receives a first designated signal from the external electronic device that scanned the first code image (e.g., code image (611) of FIG. 6) corresponding to the first order, it may display a code image (e.g., code image (615) of FIG. 6) including information excluding the specific information as a second code image in the designated area. If the processor receives a second designated signal from the external electronic device through a Bluetooth communication channel, it may display a code image (e.g., code image (619) of FIG. 6) including information excluding the specific information as a third code image that is a next order of the second code image.

도 7은 본 발명의 일 실시예에 따른, 수신된 신호를 기반으로 코드 이미지를 표시하는 다른 방법을 설명하기 도면이다.FIG. 7 is a drawing illustrating another method for displaying a code image based on a received signal according to one embodiment of the present invention.

도 7을 참조하면, 전자 장치(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 데이터의 크기가 지정된 값 이상인 경우, 상기 데이터를 분할할 수 있다. 상기 프로세서는 분할한 데이터와 대응하는 복수 개의 코드 이미지를 생성할 수 있다. 상기 프로세서가 상기 데이터를 분할할 때, 상기 데이터에 포함된 적어도 하나의 정보의 개수에 대한 정보, 종류에 대한 정보 및 크기에 대한 정보 중 적어도 하나를 기반으로, 상기 데이터를 분할할 수 있다.Referring to FIG. 7, a processor (e.g., a processor (204) of FIG. 2) of an electronic device (e.g., an electronic device (200) of FIG. 2) may divide the data if the size of the data is greater than or equal to a specified value. The processor may generate a plurality of code images corresponding to the divided data. When the processor divides the data, the data may be divided based on at least one of information about the number of pieces of information included in the data, information about the type, and information about the size.

710 상태에서 상기 전자 장치의 프로세서는 데이터를 분할하여, 분할한 데이터와 대응하는 복수 개의 코드 이미지들(711, 713, 713', 715, 717, 717' 및 719)을 생성할 수 있다. 상기 프로세서는 상기 복수 개의 코드 이미지들을 생성할 때, 복수 개의 코드 이미지들(711, 713, 713', 715, 717, 717' 및 719) 중 보안을 필요로 하는 특정 정보를 포함하는 코드 이미지들(713 및 717)을 생성할 수 있다. 다만, 상기 프로세서는 상기 특정 정보를 포함하는 코드 이미지(713 및 717)를 생성할 때, 상기 특정 정보를 포함하는 코드 이미지의 순서와 대응하되, 상기 특정 정보가 아닌 디폴트(default) 정보를 포함하는 코드 이미지들(713' 및 717')을 별도로 생성할 수 있다.In state 710, the processor of the electronic device may divide data and generate a plurality of code images (711, 713, 713', 715, 717, 717', and 719) corresponding to the divided data. When generating the plurality of code images, the processor may generate code images (713 and 717) including specific information requiring security among the plurality of code images (711, 713, 713', 715, 717, 717', and 719). However, when generating the code images (713 and 717) including the specific information, the processor may separately generate code images (713' and 717') corresponding to the order of the code images including the specific information, but including default information instead of the specific information.

상기 프로세서는 상기 생성한 복수 개의 코드 이미지들(711, 713, 713', 715, 717, 717' 및 719) 중 상기 지정된 영역에 첫 번째로 표시될 코드 이미지(예: 첫 번째 순서에 해당하는 코드 이미지)에, 상기 특정 정보에 대한 사용 권한 정보 및 통신 방식에 대한 정보를 포함하고 있는 복수 개의 코드 이미지들에 대한 정보를 저장할 수 있다. 상기 전자 장치의 프로세서는 상기 생성한 복수 개의 코드 이미지들(711, 713, 713', 715, 717, 717' 및 719) 중 상기 첫 번째 순서에 해당하는 코드 이미지(711)를 디스플레이(예: 도 2의 디스플레이(201))의 지정된 영역에 표시할 수 있다.The above processor may store information about a plurality of code images including usage permission information and communication method information about the specific information in a code image (e.g., a code image corresponding to the first order) to be displayed first in the designated area among the plurality of generated code images (711, 713, 713', 715, 717, 717' and 719). The processor of the electronic device may display a code image (711) corresponding to the first order among the plurality of generated code images (711, 713, 713', 715, 717, 717' and 719) in a designated area of a display (e.g., a display (201) of FIG. 2).

일 실시예에 따르면, 상기 프로세서는 데이터에 포함된 적어도 하나의 정보의 개수, 종류 및 크기 중 적어도 하나를 기반으로 상기 데이터를 분할할 수 있다.According to one embodiment, the processor can segment the data based on at least one of the number, type, and size of at least one piece of information included in the data.

상기 프로세서는 상기 데이터가 5개의 정보를 포함하고 있는 경우, 데이터에 포함된 적어도 하나의 정보에 대한 개수를 기반으로, 한 개의 코드 이미지에 한 개의 정보를 저장하여, 총 5개의 코드 이미지(예: 도 7의 711, 713, 715, 717 및 719에 해당하는 코드 이미지들)를 생성할 수 있다. 상기 프로세서는 상기 5개의 코드 이미지를 생성할 때, 특정 정보를 포함하는 코드 이미지들(예: 도 7의 713 및 717에 해당하는 코드 이미지들) 및 특정 정보를 제외한 정보를 포함하는 코드 이미지들(예: 도 7의 715 및 719에 해당하는 코드 이미지들)을 구분하여 생성할 수 있다. 또한, 상기 프로세서는 상기 특정 정보를 포함하는 코드 이미지의 순서와 대응하되, 상기 특정 정보를 제외한 디폴트 정보를 포함하는 코드 이미지들(예: 도 7의 713' 및 717'에 해당하는 코드 이미지들)을 생성하여, 총 7개의 코드 이미지들을 생성할 수 있다.The processor may, when the data includes five pieces of information, store one piece of information in one code image based on the number of at least one piece of information included in the data, thereby generating a total of five code images (e.g., code images corresponding to 711, 713, 715, 717, and 719 of FIG. 7). When generating the five code images, the processor may distinguish and generate code images including specific information (e.g., code images corresponding to 713 and 717 of FIG. 7) and code images including information excluding the specific information (e.g., code images corresponding to 715 and 719 of FIG. 7). In addition, the processor may generate code images corresponding to the order of code images including the specific information but including default information excluding the specific information (e.g., code images corresponding to 713' and 717' of FIG. 7), thereby generating a total of seven code images.

상기 전자 장치의 프로세서는 상기 복수 개의 코드 이미지들 중 디스플레이의 지정된 영역에 첫 번째 순서로 표시될 제1 코드 이미지(예: 예: 도 7의 코드 이미지(711))를 상기 전자 장치에 포함된 디스플레이(예: 도 2의 디스플레이(202))의 지정된 영역에 표시할 수 있다. 상기 프로세서가 상기 지정된 영역에 상기 디스플레이를 통해 상기 제1 코드 이미지를 표시하고 있는 동안, 외부 전자 장치는 상기 제1 코드 이미지를 스캔할 수 있다. 상기 프로세서는 상기 외부 전자 장치로부터 제1 지정된 신호를 수신할 수 있다. 상기 제1 지정된 신호는 상기 외부 전자 장치에 대한 정보(예: 외부 전자 장치의 주소 정보 또는 사용자 계정에 대한 정보)를 포함할 수 있다.The processor of the electronic device may display a first code image (e.g., code image (711) of FIG. 7) to be displayed in a first order in a designated area of the display among the plurality of code images, on a designated area of a display (e.g., display (202) of FIG. 2) included in the electronic device. While the processor displays the first code image through the display in the designated area, an external electronic device may scan the first code image. The processor may receive a first designated signal from the external electronic device. The first designated signal may include information about the external electronic device (e.g., address information of the external electronic device or information about a user account).

730 상태에서, 상기 전자 장치의 프로세서는 상기 첫 번째 순서에 해당하는 코드 이미지(731)(예: 도 7의 코드 이미지(711))를 스캔한 상기 외부 전자 장치로부터 지정된 신호를 수신할 수 있다. 상기 프로세서는 수신한 지정된 신호를 기반으로, 상기 외부 전자 장치가 특정 정보를 포함하는 코드 이미지(733 및 737)(예: 도 7의 코드 이미지(713 및 717))를 획득할 수 있는 장치인지를 판단할 수 있다.In state 730, the processor of the electronic device can receive a specified signal from the external electronic device that scanned the code image (731) corresponding to the first order (e.g., the code image (711) of FIG. 7). Based on the received specified signal, the processor can determine whether the external electronic device is a device capable of obtaining code images (733 and 737) including specific information (e.g., the code images (713 and 717) of FIG. 7).

상기 전자 장치의 프로세서가 상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치임을 판단하면, 상기 지정된 영역에 상기 복수 개의 코드 이미지들 중 상기 특정 정보를 포함하고 있는 코드 이미지들(733 및 737) 및 상기 특정 정보를 제외한 정보를 포함하고 있는 코드 이미지들(735 및 739)(예: 도 7의 코드 이미지(715 및 719))을 상기 지정된 영역에 순차적으로 표시할 수 있다.When the processor of the electronic device determines that the external electronic device is a device capable of obtaining specific information, the processor may sequentially display, in the designated area, code images (733 and 737) including the specific information and code images (735 and 739) including information excluding the specific information among the plurality of code images (e.g., code images (715 and 719) of FIG. 7).

일 실시예에 따르면, 상기 첫 번째 순서에 해당하는 제1 코드 이미지(예: 도 7의 731에 해당하는 코드 이미지)에 포함된 특정 정보에 대한 사용 권한 정보가 외부 전자 장치의 주소(예: Mac address)와 관련하여 지정된 정보(예: 14235463)로 설정되어 있는 경우, 상기 프로세서는 상기 제1 코드 이미지를 스캔한 외부 전자 장치로부터 수신한 제1 지정된 신호를 기반으로, 상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치인지를 식별할 수 있다. 상기 지정된 신호에 포함된 상기 외부 전자 장치의 주소(예: 외부 전자 장치의 Mac address)가 상기 지정된 정보와 일치하는 경우, 상기 프로세서는 상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치임을 식별할 수 있다. 또한, 상기 프로세서는 상기 외부 전자 장치로부터 상기 제1 지정된 신호를 수신할 때, 상기 제1 코드 이미지에 포함된 통신 방식에 대한 정보(예: 와이파이로 설정되어 있는 경우)를 기반으로 형성된 통신 채널을 통해 상기 제1 지정된 신호를 수신할 수 있다. According to one embodiment, if the usage permission information for specific information included in the first code image corresponding to the first order (e.g., the code image corresponding to 731 of FIG. 7) is set to specified information (e.g., 14235463) related to an address (e.g., Mac address) of an external electronic device, the processor may identify whether the external electronic device is a device capable of obtaining specific information based on a first specified signal received from the external electronic device that scanned the first code image. If the address of the external electronic device included in the specified signal (e.g., the Mac address of the external electronic device) matches the specified information, the processor may identify that the external electronic device is a device capable of obtaining specific information. In addition, when the processor receives the first specified signal from the external electronic device, the processor may receive the first specified signal through a communication channel formed based on information on a communication method included in the first code image (e.g., when set to Wi-Fi).

상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치임을 식별한 상기 전자 장치의 프로세서는 상기 디스플레이의 지정된 영역에 표시되고 있는 첫 번째 순서에 해당하는 제1 코드 이미지의 다음 순서로 특정 정보를 포함하는 제2 코드 이미지(예: 도 7의 코드 이미지 733)를 표시할 수 있다. 상기 프로세서가 상기 제2 코드 이미지를 표시하고 있는 동안, 상기 제2 코드 이미지를 스캔한 상기 외부 전자 장치로부터 와이파이 통신 채널을 통해 제2 지정된 신호를 수신하면, 제2 코드 이미지의 다음 순서에 해당하는 제3 코드 이미지(예: 도 7의 코드 이미지 735)를 지정된 영역에 표시할 수 있다. A processor of the electronic device that has identified that the external electronic device is a device capable of obtaining specific information may display a second code image (e.g., code image 733 of FIG. 7) including specific information in a subsequent order of a first code image corresponding to a first order displayed in a designated area of the display. While the processor is displaying the second code image, if a second designated signal is received from the external electronic device that scanned the second code image through a Wi-Fi communication channel, a third code image (e.g., code image 735 of FIG. 7) corresponding to a subsequent order of the second code image may be displayed in the designated area.

이 후, 상기 제3 코드 이미지를 표시하고 있는 상기 프로세서가 와이파이 통신 채널을 통해 상기 외부 전자 장치로부터 제3 지정된 신호를 수신하는 경우, 상기 지정된 영역에 특정 정보를 포함하는 제4 코드 이미지(예: 도 7의 코드 이미지 737)를 표시할 수 있다. 추가적으로, 상기 제4 코드 이미지를 상기 지정된 영역에 표시하고 있는 상기 프로세서가 상기 외부 전자 장치로부터 제4 지정된 신호를 수신하면, 제5 코드 이미지(예: 도 7의 코드 이미지 739)를 상기 지정된 영역에 표시할 수 있다.Thereafter, when the processor displaying the third code image receives a third designated signal from the external electronic device through a Wi-Fi communication channel, a fourth code image (e.g., code image 737 of FIG. 7) including specific information in the designated area can be displayed. Additionally, when the processor displaying the fourth code image in the designated area receives a fourth designated signal from the external electronic device, a fifth code image (e.g., code image 739 of FIG. 7) can be displayed in the designated area.

반면에, 750 상태에서 상기 전자 장치의 프로세서가 상기 외부 전자 장치가 특정 정보를 포함하는 코드 이미지(예: 도 7의 코드 이미지(713 및 717)획득할 수 없는 장치임을 식별할 수 있다. 상기 프로세서는, 상기 지정된 영역에 표시되고 있는 첫 번째 순서에 해당하는 제1 코드 이미지(751)(예: 도 7의 코드 이미지(711))의 다음 순서로 특정 정보를 포함하는 코드 이미지들(예: 도 7의 코드 이미지(713 및 717)의 순서와 대응하되, 상기 특정 정보가 아닌 디폴트 정보를 포함하는 코드 이미지(755)(예: 도 7의 코드 이미지(715))를 상기 특정 정보를 포함하는 코드 이미지 대신 표시할 수 있다. On the other hand, in the state 750, the processor of the electronic device may identify that the external electronic device is a device that cannot obtain a code image including specific information (e.g., code images (713 and 717) of FIG. 7). The processor may display a code image (755) (e.g., code image (715) of FIG. 7) that corresponds to the order of code images including specific information (e.g., code images (713 and 717) of FIG. 7) in the next order of a first code image (751) corresponding to the first order displayed in the designated area, but includes default information rather than the specific information.

상기 프로세서는 상기 외부 전자 장치가 특정 정보를 획득할 수 없는 장치인 것을 판단했기 때문에, 특정 정보를 포함한 코드 이미지들이 표시되는 순서에 특정 정보를 포함한 코드 이미지들이 표시되는 순서에 대응하는 디폴트 정보를 포함하는 코드 이미지들을 상기 지정된 영역에 표시할 수 있다.Since the above processor determines that the external electronic device is a device that cannot obtain specific information, the processor can display code images including default information corresponding to the order in which code images including specific information are displayed in the designated area.

일 실시예에 따르면, 상기 첫 번째 순서에 해당하는 제1 코드 이미지(751)(예: 도 7의 711에 해당하는 코드 이미지)에 포함된 특정 정보에 대한 사용 권한 정보가 사용자 계정(user account)과 관련하여 지정된 정보(예: samsung12)로 설정되어 있는 경우, 상기 프로세서는 외부 전자 장치로부터 수신한 제1 지정된 신호에 포함된 사용자에 대한 정보를 기반으로, 상기 외부 전자 장치에 로그인 된 계정이 어떤 계정인지 판단할 수 있다.According to one embodiment, if the usage permission information for specific information included in the first code image (751) corresponding to the first order (e.g., the code image corresponding to 711 of FIG. 7) is set to information specified in relation to a user account (e.g., samsung12), the processor may determine which account is logged into the external electronic device based on the information about the user included in the first specified signal received from the external electronic device.

상기 외부 전자 장치에 로그인 된 계정이 상기 지정된 정보와 일치하지 않는 경우, 상기 전자 장치의 프로세서는 상기 외부 전자 장치가 특정 정보를 포함하고 있는 코드 이미지들을 획득할 수 없는 장치임을 판단할 수 있다. 상기 외부 전자 장치가 상기 특정 정보를 포함하는 코드 이미지를 획득할 수 없는 장치임을 판단한 상기 프로세서는 상기 첫 번째 순서에 해당하는 제1 코드 이미지(예: 도 7의 코드 이미지(711))를 스캔한 외부 전자 장치로부터 제1 지정된 신호를 수신하는 경우, 특정 정보를 포함하는 코드 이미지(753)(예: 도 7의 코드 이미지(715))가 아닌 디폴트 정보를 포함하는 코드 이미지(753')(예: 도 7의 코드 이미지(713'))를 상기 지정된 영역에 제2 코드 이미지로 표시할 수 있다. 상기 프로세서가 와이파이 통신 채널을 통해 상기 외부 전자 장치로부터 제2 지정된 신호를 수신하면, 상기 제2 코드 이미지의 다음 순서인 제3 코드 이미지로 특정 정보를 제외한 정보를 포함하는 코드 이미지(755)(예: 도 7의 코드 이미지(715))를 표시할 수 있다.If an account logged into the external electronic device does not match the specified information, the processor of the electronic device may determine that the external electronic device is a device that cannot obtain code images including the specific information. When the processor determines that the external electronic device is a device that cannot obtain code images including the specific information, if it receives a first specified signal from the external electronic device that scanned the first code image (e.g., code image (711) of FIG. 7) corresponding to the first order, it may display a code image (753') (e.g., code image (713') of FIG. 7) including default information, not a code image (753) including the specific information (e.g., code image (715) of FIG. 7), as a second code image in the specified area. If the processor receives a second specified signal from the external electronic device through a Wi-Fi communication channel, it may display a code image (755) (e.g., code image (715) of FIG. 7) including information excluding the specific information as a third code image following the second code image.

이 후, 상기 프로세서가 상기 외부 전자 장치로부터 제3 지정된 신호를 수신하면, 상기 지정된 영역에 표시하고 있는 제3 코드 이미지인 특정 정보를 제외한 정보를 포함하는 코드 이미지(755)를 제4 코드 이미지로 디폴트 정보를 포함하는 코드 이미지(757')(예: 도 7의 코드 이미지(717'))로 표시할 수 있다. 추가적으로, 상기 전자 장치의 프로세서가 상기 외부 전자 장치로부터 제4 지정된 신호를 수신하면, 상기 지정된 영역에 제4 코드 이미지로 표시되고 있는 디폴트 정보를 포함하는 코드 이미지(757')를 제5 코드 이미지인 특정 정보를 제외한 정보를 포함하는 코드 이미지(759)(예: 도 7의 코드 이미지(719))로 상기 지정된 영역에 표시할 수 있다.Thereafter, when the processor receives a third designated signal from the external electronic device, the code image (755) including information excluding specific information, which is a third code image displayed in the designated area, can be displayed as a code image (757') including default information as a fourth code image (e.g., code image (717') of FIG. 7). Additionally, when the processor of the electronic device receives a fourth designated signal from the external electronic device, the code image (757') including default information, which is displayed as the fourth code image in the designated area, can be displayed as a code image (759) including information excluding specific information, which is a fifth code image (e.g., code image (719) of FIG. 7), in the designated area.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic devices according to various embodiments disclosed in this document may be devices of various forms. The electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliance devices. The electronic devices according to embodiments of this document are not limited to the above-described devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제1", "제2", 또는 "첫째", "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제1) 구성요소가 다른(예: 제2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.It should be understood that the various embodiments of this document and the terminology used herein are not intended to limit the technical features described in this document to specific embodiments, but include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly dictates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase, or all possible combinations thereof. Terms such as "first", "second", or "first", "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.The term "module" as used in this document may include a unit implemented in hardware, software or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integrally configured component or a minimum unit of the component that performs one or more functions, or a portion thereof. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101))에 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.

일 실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in the present document may be provided as included in a computer program product. The computer program product may be traded between a seller and a buyer as a commodity. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., a compact disc read only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play Store TM ) or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a part of the computer program product may be at least temporarily stored or temporarily generated in a machine-readable storage medium, such as a memory of a manufacturer's server, a server of an application store, or an intermediary server.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (e.g., a module or a program) of the above-described components may include a single or multiple entities. According to various embodiments, one or more of the components or operations of the above-described components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the components of the plurality of components identically or similarly to those performed by the corresponding component of the plurality of components prior to the integration. According to various embodiments, the operations performed by the module, program or other component may be executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.

Claims (20)

전자 장치에 있어서,
디스플레이;
통신 모듈;
프로세서; 및
명령어들을 저장하는 메모리를 포함하고,
상기 명령어들은, 상기 프로세서에 의해 실행되어, 상기 전자 장치가:
데이터의 크기가 지정된 값 이상인 경우, 상기 데이터를 분할하고,
상기 분할된 데이터 각각에 대응되는 복수 개의 코드 이미지들을 생성하되, 보안을 필요로 하는 특정 정보를 포함하는 코드 이미지들과 상기 특정 정보를 포함하지 않는 코드 이미지들을 구분하여 생성하고,
상기 생성된 복수 개의 코드 이미지들의 표시 순서를 지정하고,
상기 복수 개의 코드 이미지들 중 상기 표시 순서가 제1 순서에 해당하는 제1 코드 이미지를 상기 디스플레이의 지정된 영역에 표시하되, 상기 제1 코드 이미지는 상기 복수 개의 코드 이미지들에 대한 정보를 포함하고,
상기 통신 모듈을 통해 상기 제1 코드 이미지를 스캔한 외부 전자 장치로부터 지정된 신호를 수신하되, 상기 지정된 신호는 상기 외부 전자 장치의 주소 정보 또는 상기 외부 전자 장치를 사용하고 있는 사용자의 정보 중 적어도 하나를 포함하고,
상기 지정된 신호를 기반으로 상기 외부 전자 장치가 상기 특정 정보를 획득할 수 있는 장치인지 판단하고,
상기 외부 전자 장치가 상기 특정 정보를 획득할 수 있는 장치라고 판단한 경우, 상기 특정 정보를 포함하는 코드 이미지들과 상기 특정 정보를 포함하지 않는 코드 이미지들 중 상기 표시 순서가 상기 제1 순서의 다음 순서에 해당하는 제2 코드 이미지를 상기 지정된 영역에 표시하고,
상기 외부 전자 장치가 상기 특정 정보를 획득할 수 없는 장치라고 판단한 경우, 상기 특정 정보를 포함하지 않는 코드 이미지들 중 상기 표시 순서가 상기 제1 순서의 다음 순서에 해당하는 제3 코드 이미지를 상기 지정된 영역에 표시하도록 하는,
전자 장치.

In electronic devices,
display;
Communication module;
processor; and
Contains memory for storing commands,
The above instructions are executed by the processor, causing the electronic device to:
If the size of the data is greater than the specified value, the data is split,
Generate multiple code images corresponding to each of the above-mentioned divided data, and generate them by distinguishing between code images containing specific information requiring security and code images not containing the specific information.
Specify the display order of the multiple code images generated above,
Displaying a first code image, the display order of which corresponds to the first order among the plurality of code images, in a designated area of the display, wherein the first code image includes information about the plurality of code images,
Receive a specified signal from an external electronic device that scanned the first code image through the communication module, wherein the specified signal includes at least one of address information of the external electronic device or information of a user using the external electronic device;
Based on the above-mentioned designated signal, determining whether the external electronic device is a device capable of obtaining the specific information;
If it is determined that the external electronic device is a device capable of obtaining the specific information, a second code image whose display order corresponds to a next order of the first order among code images including the specific information and code images not including the specific information is displayed in the designated area,
If the external electronic device is determined to be a device that cannot obtain the specific information, a third code image whose display order corresponds to the next order of the first order among the code images that do not include the specific information is displayed in the designated area.
Electronic devices.

제1항에 있어서,
상기 복수 개의 코드 이미지들에 대한 정보는,
상기 데이터에 포함된 특정 정보에 대한 사용 권한 정보 및 상기 지정된 신호를 송수신하기 위한 통신 방식에 대한 정보 중 적어도 하나를 포함하는 전자 장치.
In the first paragraph,
Information about the above multiple code images,
An electronic device including at least one of information regarding usage rights for specific information included in the above data and information regarding a communication method for transmitting and receiving the above specified signal.
제2항에 있어서,
상기 특정 정보에 대한 사용 권한 정보는,
상기 특정 정보를 획득할 수 있는 상기 외부 전자 장치의 식별 정보 또는 사용자의 식별 정보 중 적어도 하나를 포함하는 전자 장치.
In the second paragraph,
Information on the use of the specific information above,
An electronic device comprising at least one of identification information of the external electronic device capable of obtaining the specific information or identification information of the user.
제2항에 있어서,
상기 복수 개의 코드 이미지들에 대한 정보는,
상기 데이터에 포함된 특정 정보에 대한 인증 정보를 더 포함하고,
상기 특정 정보에 대한 인증 정보는,
상기 복수 개의 코드 이미지들에 포함된 상기 특정 정보를 상기 외부 전자 장치가 획득할 수 있는 장치임을 인증하도록 하는 정보를 포함하는 전자 장치.



In the second paragraph,
Information about the above multiple code images,
Including further authentication information for specific information contained in the above data,
Authentication information for the above specific information is:
An electronic device including information that authenticates that the external electronic device is a device capable of obtaining the specific information contained in the plurality of code images.



삭제delete 삭제delete 제1항에 있어서,
상기 명령어들은, 상기 프로세서에 의해 실행되어, 상기 전자 장치가:
상기 데이터에 포함된 정보의 개수, 상기 정보의 종류 또는 상기 정보의 크기 중 적어도 하나를 기반으로 상기 데이터를 분할하도록 하는 전자 장치.

In the first paragraph,
The above instructions are executed by the processor, causing the electronic device to:
An electronic device that divides the data based on at least one of the number of information contained in the data, the type of the information, or the size of the information.

제7항에 있어서,
상기 명령어들은, 상기 프로세서에 의해 실행되어, 상기 전자 장치가:
상기 분할된 데이터 각각에 포함된 정보에 대한 우선 순위를 기반으로, 상기 표시 순서를 지정하도록 하는 전자 장치.



In Article 7,
The above instructions are executed by the processor, causing the electronic device to:
An electronic device that specifies the display order based on the priority of information contained in each of the divided data.



삭제delete 삭제delete 전자 장치의 데이터 제공 방법에 있어서,
데이터의 크기가 지정된 값 이상인 경우, 상기 데이터를 분할하는 동작;
상기 분할된 데이터 각각에 대응되는 복수 개의 코드 이미지들을 생성하되, 보안을 필요로 하는특정 정보를 포함하는 코드 이미지들과 상기 특정 정보를 포함하지 않는 코드 이미지들을 구분하여 생성하는 동작;
상기 생성된 복수 개의 코드 이미지들의 표시 순서를 지정하는 동작;
상기 복수 개의 코드 이미지들 중 상기 표시 순서가 제1 순서에 해당하는 제1 코드 이미지를 상기 전자 장치의 디스플레이의 지정된 영역에 표시하는 동작;
상기 전자 장치의 통신 모듈을 통해 상기 제1 코드 이미지를 스캔한 외부 전자 장치로부터 지정된 신호를 수신하는 동작;
상기 지정된 신호에 포함된 상기 외부 전자 장치의 주소 정보 또는 상기 외부 전자 장치를 사용하고 있는 사용자의 정보 중 적어도 하나를 기반으로, 상기 외부 전자 장치가 상기 특정 정보를 획득할 수 있는 장치인지 판단하는 동작;
상기 외부 전자 장치가 상기 특정 정보를 획득할 수 있는 장치라고 판단한 경우, 상기 특정 정보를 포함하는 코드 이미지들과 상기 특정 정보를 포함하지 않는 코드 이미지들 중 상기 표시 순서가 상기 제1 순서의 다음 순서에 해당하는 제2 코드 이미지를 상기 지정된 영역에 표시하는 동작; 및
상기 외부 전자 장치가 상기 특정 정보를 획득할 수 없는 장치라고 판단한 경우, 상기 특정 정보를 포함하지 않는 코드 이미지들 중 상기 표시 순서가 상기 제1 순서의 다음 순서에 해당하는 제3 코드 이미지를 상기 지정된 영역에 표시하는 동작을 포함하고,
상기 복수 개의 코드 이미지들 중 상기 제1 코드 이미지는 상기 복수 개의 코드 이미지들에 정보를 포함하는 데이터 제공 방법.

In a method for providing data in an electronic device,
An action to split the data when the size of the data is greater than a specified value;
An operation of generating a plurality of code images corresponding to each of the above-mentioned divided data, while distinguishing between code images including specific information requiring security and code images not including the specific information;
An action for specifying the display order of the plurality of generated code images;
An operation of displaying a first code image, the display order of which corresponds to the first order among the plurality of code images, in a designated area of the display of the electronic device;
An action of receiving a specified signal from an external electronic device that scanned the first code image via a communication module of the electronic device;
An operation of determining whether the external electronic device is a device capable of obtaining the specific information based on at least one of address information of the external electronic device included in the specified signal or information of a user using the external electronic device;
When the external electronic device is determined to be a device capable of obtaining the specific information, an operation of displaying a second code image, the display order of which corresponds to a next order of the first order among code images including the specific information and code images not including the specific information, in the designated area; and
If the external electronic device is determined to be a device that cannot obtain the specific information, the method includes displaying a third code image in the designated area, the third code image having a display order that is next to the first order among the code images that do not include the specific information.
A method for providing data, wherein the first code image among the plurality of code images includes information on the plurality of code images.

삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete
KR1020200039824A 2020-04-01 2020-04-01 Method of providing data and electronic device supporting same Active KR102806813B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020200039824A KR102806813B1 (en) 2020-04-01 2020-04-01 Method of providing data and electronic device supporting same
PCT/KR2021/003996 WO2021201593A1 (en) 2020-04-01 2021-03-31 Data providing method and electronic device supporting same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200039824A KR102806813B1 (en) 2020-04-01 2020-04-01 Method of providing data and electronic device supporting same

Publications (2)

Publication Number Publication Date
KR20210122541A KR20210122541A (en) 2021-10-12
KR102806813B1 true KR102806813B1 (en) 2025-05-13

Family

ID=77929271

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200039824A Active KR102806813B1 (en) 2020-04-01 2020-04-01 Method of providing data and electronic device supporting same

Country Status (2)

Country Link
KR (1) KR102806813B1 (en)
WO (1) WO2021201593A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102516846B1 (en) * 2022-12-23 2023-04-03 포유티엘에스 주식회사 Method and apparatus for transmitting stock status of goods to user terminal based on warehouse information using a neural network

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015070594A (en) * 2013-10-01 2015-04-13 オリンパス株式会社 Electronic device and control program thereof
JP2015169952A (en) 2014-03-04 2015-09-28 セイコーエプソン株式会社 COMMUNICATION SYSTEM, IMAGING DEVICE, PROGRAM, AND COMMUNICATION METHOD

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101222470B1 (en) * 2010-12-27 2013-01-15 서울과학기술대학교 산학협력단 Data Providing System by LED Infomation Code
KR101289858B1 (en) * 2012-07-24 2013-07-24 서울과학기술대학교 산학협력단 The apparatus and method of cognition of quick response code with dot led lighting
US8770484B2 (en) * 2012-09-21 2014-07-08 Alcatel Lucent Data exchange using streamed barcodes
JP5976240B2 (en) * 2014-01-31 2016-08-23 三菱電機株式会社 Transmission device, reception device, and information processing system
KR102027403B1 (en) * 2017-10-30 2019-10-01 한국정보통신주식회사 Method providing escrow service for remittance payment and server thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015070594A (en) * 2013-10-01 2015-04-13 オリンパス株式会社 Electronic device and control program thereof
JP2015169952A (en) 2014-03-04 2015-09-28 セイコーエプソン株式会社 COMMUNICATION SYSTEM, IMAGING DEVICE, PROGRAM, AND COMMUNICATION METHOD

Also Published As

Publication number Publication date
KR20210122541A (en) 2021-10-12
WO2021201593A1 (en) 2021-10-07

Similar Documents

Publication Publication Date Title
US11366584B2 (en) Method for providing function or content associated with application, and electronic device for carrying out same
US11487558B2 (en) Electronic device and screen sharing method using same
KR102803452B1 (en) Electronic device and method processing pop-up window using multi-window thereof
KR20250050006A (en) Electronic device for providing various functions through application using a camera and operating method thereof
KR102400580B1 (en) Electronic device for performing an authentication of another electronic device and method of operating the same
KR102734793B1 (en) Electronic device for displaying message and operating method thereof
KR102706928B1 (en) Method for recommending word and apparatus thereof
KR20200072727A (en) An electornic devid and a method for displaying web contents in augmented reality mode
KR102498545B1 (en) a method for biometric authenticating and an electronic apparatus thereof
US12019723B2 (en) Method for authenticating user and electronic device assisting same
US20200053195A1 (en) Method for processing incoming call and electronic device for supporting the same
KR102436435B1 (en) Electronic device for executing various functions based on a signal recevied from an electric pen
KR102832191B1 (en) Method for controlling application of external electronic device and electronic device supporting the same
US11244081B2 (en) Electronic device and method for controlling connection of external device using the same
KR102806813B1 (en) Method of providing data and electronic device supporting same
KR102774711B1 (en) Methods for provide guide maps and the electronic device supporting the same
KR20190095753A (en) Electronic device and method for user authentication of the same
KR20200079081A (en) Method for sharing content and electronic device thereof
KR102802993B1 (en) Electronic device and method for obtaining user identification information of short-range communication device using the same
US10770033B2 (en) Apparatus and method for visually providing information regarding contents indicating time interval
KR20210060235A (en) Apparatus and method for sharing an event of electronic deivce
US12014102B2 (en) Foldable electronic device for displaying user interface and method therefor
US11841958B2 (en) Method and electronic device for connection to external device
KR20200039053A (en) Electronic device for providing cloud service and method for operating thefeof
US11221761B2 (en) Electronic device for controlling operation by using display comprising restriction area, and operation method therefor

Legal Events

Date Code Title Description
PA0109 Patent application

St.27 status event code: A-0-1-A10-A12-nap-PA0109

PG1501 Laying open of application

St.27 status event code: A-1-1-Q10-Q12-nap-PG1501

E13-X000 Pre-grant limitation requested

St.27 status event code: A-2-3-E10-E13-lim-X000

P11-X000 Amendment of application requested

St.27 status event code: A-2-2-P10-P11-nap-X000

P13-X000 Application amended

St.27 status event code: A-2-2-P10-P13-nap-X000

PA0201 Request for examination

St.27 status event code: A-1-2-D10-D11-exm-PA0201

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

St.27 status event code: A-1-2-D10-D21-exm-PE0902

E13-X000 Pre-grant limitation requested

St.27 status event code: A-2-3-E10-E13-lim-X000

P11-X000 Amendment of application requested

St.27 status event code: A-2-2-P10-P11-nap-X000

P13-X000 Application amended

St.27 status event code: A-2-2-P10-P13-nap-X000

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

St.27 status event code: A-1-2-D10-D22-exm-PE0701

PR0701 Registration of establishment

St.27 status event code: A-2-4-F10-F11-exm-PR0701

PR1002 Payment of registration fee

St.27 status event code: A-2-2-U10-U11-oth-PR1002

PG1601 Publication of registration

St.27 status event code: A-4-4-Q10-Q13-nap-PG1601