WO2021201593A1 - Data providing method and electronic device supporting same - Google Patents

Data providing method and electronic device supporting same Download PDF

Info

Publication number
WO2021201593A1
WO2021201593A1 PCT/KR2021/003996 KR2021003996W WO2021201593A1 WO 2021201593 A1 WO2021201593 A1 WO 2021201593A1 KR 2021003996 W KR2021003996 W KR 2021003996W WO 2021201593 A1 WO2021201593 A1 WO 2021201593A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
electronic device
code
processor
external electronic
Prior art date
Application number
PCT/KR2021/003996
Other languages
French (fr)
Korean (ko)
Inventor
김종이
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2021201593A1 publication Critical patent/WO2021201593A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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; CALCULATING OR 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; CALCULATING OR 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

Definitions

  • Various embodiments of the present disclosure relate to a method of providing data and an electronic device supporting the same.
  • An electronic device such as a smart phone may exchange data between the electronic devices in various ways.
  • the electronic device may generate data as a code image (eg, a bar code or a quick response code) and display it on the display.
  • the external electronic device may recognize the code image using a device (eg, a camera) capable of recognizing the code image to obtain data corresponding to the code image.
  • a device eg, a camera
  • QR code that can contain more data than a bar code is mainly used in recent years.
  • data when the size of data is greater than or equal to a specified value, data is divided into a plurality of pieces, a plurality of code images corresponding to the divided data are generated, and the generated plurality of code images are arranged in the order of the divided data. Accordingly, it is possible to provide a method of providing data sequentially displayed on a display and an electronic device supporting the same.
  • the electronic device includes a display, a communication module, a processor, and a memory, wherein the processor divides the data when the size of data is greater than or equal to a specified value, and divides the divided data generate a plurality of code images corresponding to , designate a display order of the generated plurality of code images, and display a code image corresponding to the first order among the plurality of code images in a designated area of the display and when a designated signal is received from the external electronic device through the communication module, a code image corresponding to the next order among the plurality of code images may be displayed on the designated area,
  • the code image corresponding to the first order among the code images may include an electronic device including information on the plurality of code images.
  • the method of providing data when the size of data is greater than or equal to a specified value, dividing the data, generating a plurality of code images corresponding to each of the divided data operation, an operation of designating a display order of the plurality of generated code images, an operation of displaying a code image corresponding to the first order among the plurality of code images in a designated area of the display, and through a communication module
  • the method may include displaying, on the designated area, a code image corresponding to a next order among the plurality of code images when receiving a designated signal from the external electronic device, wherein the code image of the plurality of code images
  • a code image whose display order corresponds to the first order may include information in the plurality of code images.
  • the electronic device divides data when data is greater than or equal to a specified value, and generates a plurality of code images corresponding to the divided data, so that when the external electronic device scans the code image, the recognition rate decreases It is possible to provide a high-accuracy code image that prevents this from happening.
  • the electronic device includes information about the plurality of code images in a code image corresponding to a first order to be displayed according to a display order among a plurality of code images, The security of the image can be supplemented.
  • FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure
  • FIG. 2 is a block diagram of an electronic device for generating a plurality of code images according to an embodiment of the present invention.
  • FIG. 3 is a view for explaining a method of generating a plurality of code images, according to an embodiment of the present invention.
  • FIG. 4 is a diagram for explaining a method of providing a code image based on usage right information for specific information, according to an embodiment of the present invention.
  • FIG. 5 is a diagram for explaining a method of displaying a code image corresponding to the following sequence, according to an embodiment of the present invention.
  • FIG. 6 is a diagram for explaining a method of displaying a code image based on a received signal according to an embodiment of the present invention.
  • FIG. 7 is a diagram for explaining another method of displaying a code image based on a received signal, according to an embodiment of the present invention.
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments of the present disclosure.
  • the electronic device 101 communicates with the electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • a first network 198 eg, a short-range wireless communication network
  • a second network 199 e.g., a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • the electronic device 101 includes a processor 120 , a memory 130 , an input device 150 , a sound output device 155 , a display device 160 , an audio module 170 , and a sensor module ( 176 , interface 177 , haptic module 179 , camera module 180 , power management module 188 , battery 189 , communication module 190 , subscriber identification module 196 , or antenna module 197 . ) may be included. In some embodiments, at least one of these components (eg, the display device 160 or the camera module 180 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components may be implemented as a single integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).
  • the sensor module 176 eg, a fingerprint sensor, an iris sensor, or an illumina
  • the processor 120 for example, executes software (eg, the program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to an embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190) to the volatile memory 132 . may be loaded into the volatile memory 132 , process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134 .
  • software eg, the program 140
  • the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190) to the volatile memory 132 .
  • the volatile memory 132 may be loaded into the volatile memory 132 , process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134 .
  • the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor), and an auxiliary processor 123 (eg, a graphic processing unit or an image signal processor) that can be operated independently or together with the main processor 121 . , a sensor hub processor, or a communication processor). 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 designated function. The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
  • a main processor 121 eg, a central processing unit or an application processor
  • an auxiliary processor 123 eg, a graphic processing unit or an image signal processor
  • the auxiliary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a designated function.
  • the auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
  • the auxiliary processor 123 may be, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display device 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the auxiliary processor 123 eg, an image signal processor or a communication processor
  • the memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176 ) of the electronic device 101 .
  • the data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto.
  • the memory 130 may include a volatile memory 132 or a non-volatile memory 134 .
  • the program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .
  • the input device 150 may receive a command or data to be used by a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 .
  • the input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (eg, a stylus pen).
  • the sound output device 155 may output a sound signal to the outside of the electronic device 101 .
  • the sound output device 155 may 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 incoming calls. According to an embodiment, the receiver may be implemented separately from or as a part of the speaker.
  • the display device 160 may visually provide information to the outside (eg, a user) of the electronic device 101 .
  • the display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the corresponding device.
  • the display device 160 may include a touch circuitry configured to sense a touch or a sensor circuit (eg, a pressure sensor) configured to measure the intensity of a force generated by the touch. have.
  • the audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input device 150 , or an external electronic device (eg, a sound output device 155 ) connected directly or wirelessly with the electronic device 101 .
  • the electronic device 102) eg, a speaker or headphones
  • the electronic device 102 may output a sound.
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do.
  • the sensor module 176 may 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, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
  • the interface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ).
  • 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.
  • the connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication through the established communication channel.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a local area network (LAN) communication module, or a power line communication module).
  • a wireless communication module 192 eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module
  • GNSS global navigation satellite system
  • wired communication module 194 eg, : It may include a local area network (LAN) communication module, or a power line communication module.
  • a corresponding communication module may be a first network 198 (eg, a short-range communication network such as Bluetooth, WiFi direct, or infrared data association (IrDA)) or a second network 199 (eg, a cellular network, the Internet, or It may communicate with an external electronic device via a computer network (eg, a telecommunication network such as a LAN or WAN).
  • a computer network eg, a telecommunication network such as a LAN or WAN.
  • These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other.
  • the wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 .
  • subscriber information eg, International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device).
  • the antenna module 197 may include one antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern.
  • the antenna module 197 may include a plurality of antennas. In this case, it may be selected from the first plurality of antennas.
  • a signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna.
  • other components eg, RFIC
  • other than the radiator may be additionally formed as a part of the antenna module 197 .
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • GPIO general purpose input and output
  • SPI serial peripheral interface
  • MIPI mobile industry processor interface
  • the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 .
  • Each of the electronic devices 102 and 104 may be the same or a different type of the electronic device 101 .
  • all or part of the operations performed by the electronic device 101 may be performed by one or more of the external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 may perform the function or service itself instead of executing the function or service itself.
  • one or more external electronic devices may be requested to perform at least a part of the function or the service.
  • the 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 a result of the execution to the electronic device 101 .
  • the electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request.
  • cloud computing, distributed computing, or client-server computing technology may be used.
  • FIG. 2 is a block diagram of an electronic device for generating a plurality of code images according to an embodiment of the present invention.
  • the electronic device 200 may store a code image (eg, QR-code) capable of storing data (eg, image data or text data) of a predetermined size. ), in order to prevent a decrease in the recognition rate, when data of a size larger than a predetermined size is stored, the data can be divided and generated as a plurality of code images. When the data is greater than or equal to a specified value (eg, the size of data), the electronic device 200 may divide the data and generate a plurality of code images.
  • a code image eg, QR-code
  • the electronic device 200 generates a code image (eg, a code image corresponding to the first order) to be output in the first order through the display 201 (eg, the display device 160 of FIG. 1 ) among the plurality of generated code images.
  • code image can be displayed in a designated area of the display.
  • the code image corresponding to the first order may include information on a plurality of code images.
  • the information on the plurality of code images may include use permission information on specific information included in the data.
  • the specific information may include information that can only acquire a predetermined external electronic device from among a plurality of external electronic devices capable of scanning the plurality of code images.
  • the code image may include a QR-code.
  • the QR-code may be a two-dimensional (matrix) type code that can contain various information in a rectangular horizontal and vertical grid pattern.
  • the use right information may include reference information for allowing only the predetermined external electronic device to acquire the specific information.
  • the usage right information may include identification information (eg, a Mac address of a pre-specified external electronic device) of the external electronic device capable of acquiring the specific information and identification of a user capable of acquiring the specific information. It may include at least one of information (eg, information about a user's account that can obtain specific information).
  • the electronic device 200 may display a code image corresponding to the first order among the plurality of code images to be displayed in the designated area.
  • the electronic device 200 receives a specified signal (eg, ack signal) from the external electronic device.
  • a specified signal eg, ack signal
  • the electronic device 200 may determine whether the external electronic device is a device capable of obtaining the specific information based on the specified signal received from the external electronic device. Also, the electronic device 200 may determine whether an account logged in to the external electronic device that has transmitted the specified signal is an account capable of acquiring the specific information, based on the user's identification information.
  • the electronic device 200 may display the code image displayed in the designated area as a code image corresponding to the following sequence.
  • the electronic device 200 for performing the above-described function includes the display 201 , the communication module 202 (eg, the communication module 190 of FIG. 1 ), and the memory 203 (eg, the memory 130 of FIG. 1 ). )) and a processor 204 (eg, the processor 120 of FIG. 1 ).
  • the configuration of the electronic device 200 is not limited thereto.
  • the electronic device 200 may omit at least one of the above-described components, and may include at least one other component.
  • the electronic device 200 may include a camera (eg, the camera module 180 of FIG. 1 ).
  • the display 201 may 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 partial area of the display.
  • the display 201 may display not only the code image but also various contents (eg, text, image, video, icon, or symbol).
  • the display 201 may include a touch screen. For example, a touch, gesture, proximity, or hovering input using a body part of a user attempting to enlarge the code image may be received.
  • the communication module 202 may support communication between the electronic device 200 and the external electronic device. According to an embodiment, the designated signal may be received from the external electronic device through the communication module 202 . However, the communication module 202 may not receive only the designated signal.
  • the memory 203 may store various data used by at least one component of the electronic device 200 . According to an embodiment, the memory 203 may store use right information for the specific information.
  • the processor 204 may control at least one other component of the electronic device 200 and may process or operate various data. According to an embodiment, the processor 204 divides data, generates a plurality of code images based on the divided data, outputs the plurality of code images, receives and outputs the specified signal from the external electronic device, and At least one command set to output a code image corresponding to the next order of the existing code image may be executed. When the size of the data is greater than or equal to a specified value, the processor 204 may divide the data to generate a plurality of code images.
  • the designated value may include information on the size of data. In addition, the designated 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.
  • the processor 204 determines that one code image includes 10 kb of data. You can create 10 code images that can be used.
  • the processor 204 may include information on the plurality of code images in the code image to be displayed in the first order in the designated area among the generated plurality of code images.
  • the information on the plurality of code images may include information on usage right information for specific information, information on a communication method, and information on data.
  • the information on the plurality of code images may further include authentication information for specific information.
  • the authentication information for the specific information may be information that allows the external electronic device to authenticate that the external electronic device is a device capable of acquiring the specific information in order to acquire the specific information included in the plurality of code images. have.
  • the usage right information for the specific information may be obtained by an external electronic device designated in advance among a plurality of external electronic devices to obtain information requiring security among information included in a plurality of code images. It may be reference information that makes it possible.
  • the usage right information for the specific information includes identification information (eg, Mac address of an external electronic device) of the external electronic device (eg, a Samsung electronic device) and identification information of a user who can obtain the specific information (eg, specific information). information about the user's account from which the information can be obtained).
  • the processor may determine, based on the specified signal received from the external electronic device, whether the use right information matches an address (eg, Mac address) of the external electronic device that has transmitted the specified signal.
  • the information on the plurality of code images may include, for example, information on the total number of the plurality of code images, the type (type) of data, and the capacity (size) of data included in each of the plurality of code images. .
  • Information on the plurality of code images may be determined when the data is generated as a plurality of code images.
  • the information on the communication method may be information previously set for which communication method the electronic device 200 and the external electronic device will communicate with.
  • the communication method may include Near Field Communication (NFC), Bluetooth, or Wifi-direction, and the electronic device 200 and the external electronic device transmit and receive data through a wired/wireless network. If possible, it is not limited to this.
  • the information on the plurality of code images does not include only information on the use permission information for the specific permission and the communication method, but also includes information about the data (eg, content data). can, but is not limited thereto.
  • the processor 204 may display a code image corresponding to the first order on a designated area of the display 201 .
  • the external electronic device may scan a code image corresponding to the first order displayed in the designated area.
  • the processor 204 may receive a specified signal (eg, an ack signal) through the communication module 202 from the external electronic device that has scanned the code image corresponding to the first order.
  • a specified signal eg, an ack signal
  • the designated signal notifies the electronic device 200 that the external electronic device has acquired the code image. It could be a signal.
  • the processor 204 may display a code image corresponding to a first order displayed in the designated area as a code image corresponding to a next order.
  • the designated signal is the processor 204 of the electronic device 200 , identification information of the external electronic device (eg, Mac address of the external electronic device) or identification information of a user who is using the external electronic device (eg, external electronic device). information on an external electronic device capable of determining an account of a user who is using the electronic device).
  • the processor may determine whether the external electronic device that has transmitted the specified signal is a predetermined device capable of acquiring specific information, based on information on the external electronic device included in the specified signal.
  • the information on the external electronic device may include an address of the external electronic device (eg, a Mac address of the external electronic device) or information on an account of a user connected to the external electronic device.
  • the electronic device may include a display (eg, the display device 160 of FIG. 1 or FIG. 2 ). display 201 of ), a communication module (eg, the communication module 190 of FIG. 1 or the communication module 202 of FIG. 2 ), a processor (eg, the processor 120 of FIG. 1 or the processor 204 of FIG. 2 ) ) and a memory (eg, the memory 130 of FIG. 1 or the memory 203 of FIG.
  • a display eg, the display device 160 of FIG. 1 or FIG. 2
  • display 201 of eg, the display device 160 of FIG. 1 or FIG. 2
  • a communication module eg, the communication module 190 of FIG. 1 or the communication module 202 of FIG. 2
  • a processor eg, the processor 120 of FIG. 1 or the processor 204 of FIG. 2
  • a memory eg, the memory 130 of FIG. 1 or the memory 203 of FIG.
  • the processor divides 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 data, designate a display order of the generated plurality of code images, and display a code image corresponding to the first order among the plurality of code images. displayed on the area, and based on information included in the code image corresponding to the first order or receiving a specified signal from an external electronic device through the communication module, the display order among the plurality of code images is in the next order
  • a code image that is set to display a corresponding code image in the designated area, and whose display order is a first order among the plurality of code images, may include information on the plurality of code images.
  • the information on the plurality of code images may include at least one of information on use right information for specific information included in the data and information on a communication method for transmitting and receiving the specified signal. .
  • the use right information for the specific information may include at least one of identification information of the external electronic device capable of acquiring the specific information or identification information of a user.
  • the information about the plurality of code images further includes authentication information for specific information included in the data, and the authentication information for the specific information is included in the plurality of code images. It may include information for authenticating that the external electronic device is a device capable of acquiring the specified information.
  • the processor is a device in which the external electronic device can identify specific information included in the plurality of code images based on information on the external electronic device included in the received specified signal cognition can be judged.
  • the information on the external electronic device may include at least one of address information on a device capable of acquiring the specific information and information on a user account capable of acquiring the specific information. .
  • 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.
  • the processor may designate the display order of the plurality of code images to be displayed in the designated area based on the priority of the information included in each of the divided data.
  • the processor in response to receiving the specified signal, displays a specified image in the specified area, and when a specified time elapses after the specified image is displayed, a code image corresponding to the next sequence can be displayed
  • the processor when determining that the external electronic device is a device that cannot identify the specific information based on the received specified signal, the processor generates code images including information excluding the specific information. They may be sequentially displayed in the designated area according to the display order.
  • FIG. 3 is a view for explaining a method of generating a plurality of code images, according to an embodiment of the present invention.
  • the processor determines that data is greater than or equal to a specified value (eg, the size of data).
  • a specified value eg, the size of data
  • the data may be divided.
  • the specified value is a criterion for dividing the data, and when the size of the data is equal to or greater than the specified value, the processor converts the data to information on the number of at least one government included in the data, information on types, and The division may be performed based on at least one of size information.
  • the processor may generate a plurality of code images corresponding to the divided data based on the divided data.
  • the data may be data having a size of 130 kb including image information and text information.
  • the designated value may be set to 13 kb, and the designated value may be a threshold for the size of data included in each of a plurality of code images to be generated.
  • the processor may generate the data having a size of 130 kb as 10 code images based on the size of information included in the data.
  • the size of the information may be 13 kb.
  • the processor may divide the data based on at least one of information on the number, type, and size of at least one piece of information included in the data.
  • the processor may classify image information and text information included in the data, and generate a plurality of code images based on information on a type (eg, type) of information included in the data.
  • a type eg, type
  • the processor may classify image information and text information included in the data, and generate a plurality of code images based on information on a type (eg, type) of information included in the data.
  • a code image including only image information may be generated, and a code image including only text information may be generated.
  • the processor includes a plurality of code images in a code image corresponding to a first order among the plurality of code images to be output through a display (eg, the display 201 of FIG. 2 ). information about them may be included.
  • the information on the plurality of code images may include, but is not limited to, usage right information for specific information and information on a communication method.
  • the usage right information for the specific information may be information that allows only an authorized device to acquire specific information in relation to information requiring security among information included in the plurality of code images.
  • the use right information may include identification information (eg, Mac address of a Samsung electronic device) of an external electronic device designated in advance among a plurality of external electronic devices or identification information of a user who can obtain the security information (eg, an external electronic device) user's account), but is not limited thereto.
  • the information on the plurality of code images is, for example, the total number of the plurality of code images, the type (eg, type) of information included in each of the plurality of code images, the data included in each of the plurality of code images. May contain information about capacity.
  • the information on the communication method may be information previously set as to which communication method the electronic device 200 and the external electronic device will transmit/receive data to.
  • the communication method may include Near Field Communication (NFC), Bluetooth, or Wifi-direction, and is not limited thereto, as long as the electronic device 200 and the external electronic device can communicate through a wired/wireless network. .
  • NFC Near Field Communication
  • Bluetooth Wireless Fidelity
  • the processor may display a code image to be displayed in a first order through the display among a plurality of generated code images.
  • the code image corresponding to the first order may be displayed in a designated area that is at least a partial area of the display.
  • the processor displays a first code image among the plurality of code images on a display (eg, the display 201 of FIG. 2 ) in a designated area of the display (eg, the display 201 of FIG. 2 ).
  • the processor is configured to include, in the first code image, information on a plurality of code images including information on the total number of the plurality of code images when there are a total of 13 plurality of code images to be displayed in the designated area. can do.
  • 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.
  • the electronic device and the external electronic device may transmit/receive the designated signal based on information on a communication method included in the information on the plurality of code images. For example, when the information on the communication method is set as 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.
  • the processor may receive a specified signal (eg, an ack signal) from an external electronic device through a communication module (eg, the communication module 202 of FIG. 2 ).
  • the processor may receive the specified signal based on information on a communication method of information on a plurality of code images included in a code image corresponding to a first code sequence scanned by the external electronic device.
  • the processor may display the code image corresponding to the next order of the code image corresponding to the first order on the designated area of the display.
  • the display order of the plurality of code images to be displayed in the designated area may be set based on the priority of at least one piece of information included in the data.
  • the code image displayed by the processor through the display may include data related to a contact.
  • the data related to the contact information may include basic address book information (eg, basic information) such as address information, name information, and phone number information of the user, and image information (eg, additional information) such as photos and videos.
  • the processor may display the contact-related data as a plurality of code images through the display based on the priority of information included in the contact-related data. 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.
  • the processor When the size of the basic address book information is 8 kb and the size of the image information is 20 kb, the processor includes basic address book information having a size of 8 kb in a code image corresponding to a first order among a plurality of code images. It can be displayed in a designated area of the display.
  • the processor may divide the image information having a size of 20 kb into first image information and second image information having a 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 it through the designated area.
  • second image information may be included in a third code image to be displayed in the next order of the second code image, and displayed through the designated area. That is, the processor may divide the information included in the data by dividing the fields into basic information and additional information.
  • the processor may preferentially output information (eg, basic information) through which data communication is easy and quick among a plurality of pieces of information included in data, including in the first code image. Thereafter, the processor may divide other information (eg, additional information) larger than the size of information that can be stored in one code image, and output the divided information into a plurality of code images.
  • information eg, basic information
  • additional information e.g, additional information
  • the processor 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 is configured to receive the designated information from the external electronic device through Bluetooth communication. signal can be received. According to another embodiment, the processor may output the first code image through the designated area.
  • the external electronic device recognizes the first code image, it may broadcast a signal indicating that the first code image has been recognized.
  • the processor may receive a signal indicating that the first code image has been recognized from the external electronic device through a BT beacon.
  • the processor confirms that the external electronic device has recognized the first code image based on the received signal through the BT beacon, and displays the first code image displayed through the designated area in the following order You can change it to a code image.
  • a second code image corresponding to the next order of the first code image may be displayed on the display.
  • the code image corresponding to the next order is not limited to the second code image, and may include another code image.
  • the processor receiving the specified signal displays the code image corresponding to the next order of the first code image in the designated area, the code image corresponding to the next order is not displayed immediately, After displaying a specified image (eg, an advertisement image) for a specified time (eg, 3s), the code image corresponding to the next sequence may be displayed.
  • the processor displays the specified image for a specified time, and an object (eg, image, text, and icon) specified in a partial area of at least one code image among the plurality of code images to be displayed in the specified area. may be included.
  • the processor does not receive the specified signal from the external electronic device, but based on the information included in the first code image, a code image corresponding to the next order of the first code image may be displayed in the designated area.
  • 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 outputs a first code image to the designated area for a designated time based on information (eg, sync timing related information) included in the first code image, and corresponds to the next sequence of the first code image code image can be output for a specified time. For example, the processor may output the first code image through the designated area for 1 second.
  • the processor outputs the first code image for 1 second based on information included in the first code image (eg, information related to sync timing), and then outputs the code image corresponding to the next sequence for 1.5 seconds can do.
  • the specified time may be changed according to the complexity of information included in each of the plurality of code images.
  • FIG. 4 is a diagram for explaining a method of providing a code image based on usage right information for specific information, according to an embodiment of the present invention.
  • the processor eg, the processor 204 of FIG. 2 of the electronic device (eg, the electronic device 200 of FIG. 2 ) divides the data when the data is greater than or equal to a specified value.
  • a plurality of code images corresponding to the divided data may be generated.
  • the processor may divide the data based on at least one of the number, type (eg, type), and size (capacity) of at least one piece of information included in the data.
  • the processor corresponds to the first order among the plurality of code images to be displayed in the first order through a display (eg, the display 201 of FIG. 2 ).
  • the code image may include information on a plurality of code images.
  • the processor may display the code image corresponding to the first order on a designated area that is at least a partial area of the display.
  • the processor may divide data having a size of 150 kb including image information and text information.
  • the processor may 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.
  • the processor may generate the data as 15 code images in which a size of 10 kb is stored in one code image.
  • the processor identifies image information included in the data, distinguishes image information from text information, and divides the plurality of codes A code image including image information among images may be generated.
  • the processor may cause the code image to be displayed in the first order in the designated area among the 15 generated code images to include information on a plurality of code images.
  • the information on the plurality of code images may include information on a communication method, information on a plurality of code images, and usage right information on specific information.
  • the processor may receive a specified signal from the external electronic device. While the processor displays a code image corresponding to a first order including information on the plurality of code images through the display, the external electronic device displays the first code image including information on the plurality of code images A code image corresponding to the second order may be scanned.
  • the processor of the electronic device sends a communication method included in the information on the plurality of code images from the external electronic device that has scanned a code image corresponding to a first order including information on the plurality of code images. It is possible to receive the specified signal based on the information.
  • the processor of the electronic device determines that the external electronic device
  • a Wi-Fi communication channel may be formed with the processor of the electronic device based on information on a communication method included in the information on the code images.
  • the processor of the electronic device may receive the designated signal through the established Wi-Fi communication channel.
  • the designated signal may be an ack signal, but is not limited thereto.
  • the processor may determine whether the external electronic device is a device capable of acquiring specific information, based on a specified signal received from the external electronic device.
  • the processor may receive the designated signal from the external electronic device through the established communication channel based on information on the communication method.
  • the designated signal received by the processor may include information on the external electronic device.
  • the information on the external electronic device may include address information of the external electronic device (eg, Mac address of the external electronic device) or information about a user who is using the external electronic device (eg, of a user using the external electronic device). account) may be included.
  • the information on the external electronic device may be acquired when the processor establishes a communication channel with the external electronic device, and may be included in a designated signal acquired from the external electronic device.
  • the processor may determine whether the external electronic device is a device capable of identifying specific information (eg, information requiring security) included in the plurality of code images based on the information on the external electronic device .
  • specific information eg, information requiring security
  • the processor may set specific information of information on a plurality of code images included in the code image corresponding to the first order as designated information (eg, dmsdngq).
  • the processor may determine whether the address of the external electronic device that has transmitted the specified signal matches specified information (eg, dmsdngq) based on address information of the external electronic device included in the received specified signal.
  • the specified information may be usage right information for the specific information.
  • the processor when it is set as specified information (eg, samsung12) for the specific information in relation to a user account, the processor based on the information about the user included in the received specified signal , it may be determined whether the account logged into the external electronic device matches specified information (eg, samsung12).
  • 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 may determine whether the external electronic device is capable of acquiring specific information included in the plurality of code images or not, based on the specified signal received from the external electronic device.
  • the processor converts a code image corresponding to a next sequence of the code image corresponding to the first sequence to a code image including specific information can be displayed as
  • the processor when the processor is set as specified information (eg, dmsdngq) for specific information in relation to the address of the external electronic device (Mac address), the processor is configured by the external electronic device that has scanned the first code image. signal can be received.
  • the specified information may be usage right information for the specific information.
  • the processor determines whether the external electronic device is a device capable of acquiring specific information included in the plurality of code images by checking whether the external electronic device matches information specified in relation to the address of the external electronic device included in the received specified signal can be judged
  • the processor of the electronic device may display a code image including specific information while corresponding to the next sequence of the code image being displayed in the designated area of the display.
  • a designated object may be included in a designated area of the code image including the specific information.
  • the processor may determine that the external electronic device is a device that cannot obtain specific information based on the specified signal received from the external electronic device.
  • the processor of the electronic device having determined that the external electronic device is a device from which specific information cannot be obtained, may display a code image corresponding to a next order of a code image corresponding to a first order in a designated area.
  • the code image corresponding to the next order displayed in the designated area may include information excluding specific information.
  • the processor when the processor is set as specified information (eg, samsung12) for specific information in relation to a user account, the processor receives the first code image from the scanned external electronic device, A specified signal can be received.
  • the specified information may be usage right information for the specific information.
  • the processor may determine whether an account logged into the external electronic device matches the specified information based on the information about the user included in the received specified signal. When the account logged into the external electronic device matches the specified 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.
  • the processor of the electronic device may display a code image corresponding to the next sequence of the first code image and not including specific information on the designated area of the display. have.
  • the method of providing data includes dividing the data when the size of the data is greater than or equal to a specified value, and generating a plurality of code images corresponding to each of the divided data. , an operation of designating a display order of the plurality of generated code images, and displaying a code image corresponding to the first order among the plurality of code images (eg, the display device 160 of FIG. 1 or FIG. 2 ) of an external electronic device (eg, the electronic device of FIG. 1) through an operation and communication module (eg, the communication module 190 of FIG. 1 or the communication module 202 of FIG.
  • a code image corresponding to a first order among the plurality of code images may include information in the plurality of code images.
  • the information on the plurality of code images may include at least one of information on use right information for specific information included in the data and information on a communication method for transmitting and receiving the specified signal. .
  • the use right information for the specific information may include at least one of identification information of the external electronic device capable of acquiring the specific information or identification information of a user.
  • the information about the plurality of code images further includes authentication information for specific information included in the data, and the authentication information for the specific information is included in the plurality of code images. It may include information for authenticating that the specific information is a device that can be obtained by the external electronic device.
  • the operation of displaying the code image corresponding to the next order among the plurality of code images in the designated area is based on information on the external electronic device included in the received designated signal.
  • the method may further include determining whether the external electronic device is a device capable of identifying specific information included in the plurality of code images.
  • the information on the external electronic device may include at least one of address information on a device capable of acquiring the specific information and information on a user account capable of acquiring the specific information. .
  • the dividing of the data may include 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.
  • the method may include specifying the display order of the plurality of code images to be displayed in the designated area based on the priority of the information included in each of the divided data.
  • the operation of displaying the plurality of code images in the specified area may include displaying the specified image in the specified area in response to the reception of the specified signal.
  • the method may further include an operation of displaying a code image corresponding to the next order when a specified time elapses after the operation and the specified image are displayed.
  • the operation of displaying the plurality of code images in the specified area may include, based on the specified signal, the external electronic device to identify the specific information.
  • the method may further include sequentially displaying code images including information excluding the specific information in the designated area according to the display order, if it is determined that the device cannot be used.
  • FIG. 5 is a diagram for explaining a method of displaying a code image corresponding to the following sequence, according to an embodiment of the present invention.
  • the processor eg, the processor 204 of FIG. 2
  • the electronic device 500 displays (eg, the display of the electronic device 500 ) :
  • a code image 510 corresponding to a first order among a plurality of code images may be displayed in a designated area through the display 201 of FIG. 2 .
  • 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 (eg, a code image corresponding to the first order) to be displayed in a first order on a 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, the external electronic device may scan the code image to be displayed in the first order. The processor may receive a designated signal from the external electronic device that has scanned the code image 510 corresponding to the first order. The processor may determine whether the electronic device is a device capable of acquiring specific information, based on information on the external electronic device included in the designated signal.
  • a code image eg, a code image corresponding to the first order
  • the processor divides the data having a size of 120 kb and generates a plurality of code images corresponding to the divided data.
  • the processor generates the data as the plurality of code images, the data is generated based on at least one of the number, type (eg, type) and size (eg, capacity) of at least one piece of information included in the data.
  • the processor may generate the 120 kb of data as 12 code images including 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 (eg, the code image 510 corresponding to the first order of FIG. 5 ) to be displayed in a region designated in a first order among the generated 12 code images.
  • the external electronic device may scan the first code image 510 displayed on the designated area.
  • the electronic device 500 may receive a first designated signal from the external electronic device through a communication channel formed based on information on a communication method included in the first code image.
  • the processor having received the first designated signal from the external electronic device, converts the first code image displayed on the designated area to a second code image corresponding to the next sequence (eg, as shown in FIG. 5 ). code image 520).
  • the third code image ( 530). Also, 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 on the designated area of the display is converted to a fourth code. An image 540 may be displayed. According to another embodiment, when the processor receives a designated signal from the external electronic device, the code image currently displayed in the designated area is not changed to the code image corresponding to the next sequence, but the designated image (eg, advertisement image) for a designated time period. ), the code image corresponding to the following order can be displayed.
  • the designated image eg, advertisement image
  • FIG. 6 is a diagram for explaining a method of displaying a code image based on a received signal according to an embodiment of the present invention.
  • the processor eg, the processor 204 of FIG. 2 of the electronic device (eg, the electronic device 200 of FIG. 2 ) may split the data when 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.
  • the processor divides the data the data may be divided based on at least one of information on the number, type, and size of at least one piece of information included in the data.
  • the processor of the electronic device may divide data and generate a plurality of code images 611, 613, 615, 617, and 619 corresponding to the divided data.
  • code images 613 and 617 including specific information requiring security among the plurality of code images and code images including information excluding the specific information (615 and 619) can be generated separately.
  • the processor in the code image 611 eg, the code image corresponding to the first order
  • information on a plurality of code images including information on usage right information and communication method for the specific information may be stored.
  • the processor of the electronic device may display the code image 611 corresponding to the first order among the plurality of generated code images on a designated area of a display (eg, the display 201 of FIG. 2 ).
  • the processor may 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.
  • the processor stores one piece of information in one code image based on the number of at least one piece of information included in the data, so that a total of five code images (eg: code images corresponding to 611, 613, 615, 617, and 619 of FIG. 6) may be generated.
  • code images including specific information eg, code images corresponding to 613 and 617 in FIG. 6
  • code images including information excluding specific information Example: code images corresponding to 615 and 619 of FIG. 6) may be separately generated.
  • the processor of the electronic device may display, among the plurality of code images, a first code image (eg, the code image 611 of FIG. 6 ) to be displayed in a first order in a designated area of the display included in the electronic device. (eg, the display 201 of FIG. 2 ) may be displayed in a designated area. While the processor is displaying the first code image through the display in the designated area, the external electronic device may scan the first code image. The processor may receive a first designated signal from the external electronic device that has scanned the first code image. The first designated signal may include information about the external electronic device (eg, address information of the external electronic device or information about a user).
  • a first code image eg, the code image 611 of FIG. 6
  • the processor may receive a first designated signal from the external electronic device that has scanned the first code image.
  • the first designated signal may include information about the external electronic device (eg, address information of the external electronic device or information about a user).
  • the processor of the electronic device may receive a specified signal from the external electronic device that has scanned the code image 631 (eg, the code image 611 of FIG. 6 ) corresponding to the first order.
  • the designated signal may be transmitted by the external electronic device based on information on a plurality of code images included in the code image corresponding to the first order.
  • the information on the plurality of code images may include information on a communication method.
  • the external electronic device that has scanned the code image corresponding to the first order may request the electronic device to establish a communication channel based on information on the communication method.
  • the electronic device may receive a designated signal from the external electronic device through a communication channel formed based on the request.
  • the processor determines whether the external electronic device is a device capable of acquiring code images 633 and 637 (eg, code images 613 and 617 of FIG. 6 ) including specific information, based on the received specified signal. can judge Since the designated signal includes information on the electronic device, the processor of the electronic device may determine whether the external electronic device that has transmitted the designated signal is a device capable of acquiring a code image including specific information. .
  • code images 633 and 637 including the specific information among the plurality of code images in the designated area code images 635 and 639 including information excluding the specific information may be sequentially displayed in the designated area.
  • specific information included in the first code image is specified information (eg, 14235463) in relation to the address (eg, Mac address) of the external electronic device.
  • the processor may identify whether the external electronic device is a device capable of acquiring specific information based on a first designated signal received from the external electronic device that has scanned the first code image. have.
  • the specified information may be usage right information for the specific information.
  • the processor may determine whether the address of the external electronic device (eg, Mac address of the external electronic device) matches the specified information on the external electronic device included in the specified signal.
  • the processor may identify that the external electronic device is a device capable of obtaining specific information.
  • the processor receives the first designated signal from the external electronic device, the external electronic device is based on information on a communication method included in the first code image (eg, when Bluetooth is set). can establish a communication channel with The processor may receive the first designated signal through the established communication channel.
  • the processor of the electronic device which has identified that the external electronic device is a device capable of acquiring specific information, includes specific information in the next order of the first code image corresponding to the first order displayed on the designated area of the display
  • a second code image (eg, code image 633 of FIG. 6 ) may be displayed. If the processor receives a second designated signal through a Bluetooth communication channel from the external electronic device that has scanned the second code image while displaying the second code image, the second code image corresponding to the next sequence
  • a third code image (eg, code image 635 of FIG. 6 ) may be displayed in a designated area.
  • a fourth code image including specific information in the designated area (eg: The code image 637 of FIG. 6 may be displayed.
  • a fifth code image (eg, code image 639 of FIG. 6 ) is displayed in the designated area.
  • the processor of the electronic device may display designated data (eg, advertisement image) for a predetermined time without displaying a code image corresponding to the next sequence. have.
  • the processor of the electronic device identifies that the external electronic device is a device that cannot acquire code images including specific information (eg, code images 613 and 617 of FIG. 6 ), the designated area A code image 655 that does not include specific information in the following order of the first code image 651 (eg, the code image 611 in FIG. 6 ) corresponding to the first order displayed in (eg, in FIG. 6 ) code image 615) Since the processor determines that the external electronic device is a device that cannot obtain specific information, code images including specific information (eg, the code image ( Code images 655 and 659 including information excluding specific information may be displayed in the designated area without displaying 613 and 617 in the designated area.
  • code images including specific information eg, the code images 655 and 659 including information excluding specific information
  • specific information included in the first code image 651 (eg, the code image corresponding to 611 in FIG. 6 ) corresponding to the first order is information specified in relation to a user account (eg, samsung12), the processor allows the account logged into the external electronic device to obtain specific information based on the information about the user included in the first designated signal received from the external electronic device. You can identify whether an account exists.
  • the processor of the electronic device may acquire code images in which the external electronic device includes specific information It can be determined that the device does not exist. After determining that the external electronic device is a device that cannot obtain the code image including the specific information, the processor scans the first code image (eg, the code image 611 of FIG. 6 ) corresponding to the first order.
  • a code image eg, the code image 615 of FIG. 6
  • information excluding specific information may be displayed as a second code image in the designated area.
  • a third code image that is the next order of the second code image is a code image including information excluding specific information (eg, FIG. 6 ).
  • a code image 619 of ) can be displayed.
  • FIG. 7 is a diagram for explaining another method of displaying a code image based on a received signal, according to an embodiment of the present invention.
  • the processor eg, the processor 204 of FIG. 2 of the electronic device (eg, the electronic device 200 of FIG. 2 ) may divide the data when 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.
  • the processor divides the data the data may be divided based on at least one of information on the number, type, and size of at least one piece of information included in the data.
  • 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.
  • code images 713 and 717) can be created.
  • the processor when the processor generates the code images 713 and 717 including the specific information, it corresponds to the order of the code images including the specific information, but includes default information other than the specific information. Code images 713' and 717' may be generated separately.
  • the processor generates a code image (eg, a code 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. image), it is possible to store information on a plurality of code images including usage right information for the specific information and information on a communication method.
  • the processor of the electronic device displays the code image 711 corresponding to the first order among the plurality of generated code images 711, 713, 713', 715, 717, 717', and 719 (eg, in FIG. 2, it can be displayed in a designated area of the display 201).
  • the processor may 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.
  • the processor stores one piece of information in one code image based on the number of at least one piece of information included in the data, so that a total of five code images (eg: code images corresponding to 711, 713, 715, 717, and 719 of FIG. 7) may be generated.
  • code images including specific information eg, code images corresponding to 713 and 717 in FIG. 7
  • code images including information excluding specific information Example: code images corresponding to 715 and 719 of FIG. 7 may be separately generated.
  • the processor corresponds to the order of the code image including the specific information, but includes code images including default information excluding the specific information (eg, code images corresponding to 713' and 717' in FIG. 7) , to generate a total of 7 code images.
  • the processor of the electronic device may display, among the plurality of code images, a first code image (eg, the code image 711 of FIG. 7 ) to be displayed in the first order in a designated area of the display included in the electronic device. (eg, the display 202 of FIG. 2 ) may be displayed in a designated area. While the processor is displaying the first code image through the display in the designated area, the 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 on the external electronic device (eg, address information of the external electronic device or information on a user account).
  • a first code image eg, the code image 711 of FIG. 7
  • the processor may receive a first designated signal from the external electronic device.
  • the first designated signal may include information on the external electronic device (eg, address information of the external electronic device or information on a user account).
  • the processor of the electronic device may receive a specified signal from the external electronic device that has scanned the code image 731 (eg, the code image 711 of FIG. 7 ) corresponding to the first order.
  • the processor determines whether the external electronic device is a device capable of acquiring code images 733 and 737 (eg, code images 713 and 717 of FIG. 7 ) including specific information, based on the received specified signal. can judge whether the external electronic device is a device capable of acquiring code images 733 and 737 (eg, code images 713 and 717 of FIG. 7 ) including specific information, based on the received specified signal. can judge
  • the usage right information for specific information included in the first code image corresponding to the first order is the address of the external electronic device (eg, Mac). address) is set to specified information (eg, 14235463), the processor determines that the specific information It is possible to identify whether the device is capable of obtaining .
  • the processor determines that the external electronic device is a device capable of acquiring specific information.
  • the processor when the processor receives the first designated signal from the external electronic device, the processor selects a communication channel formed based on information on a communication method included in the first code image (eg, when set to Wi-Fi). It is possible to receive the first designated signal through.
  • the processor of the electronic device which has identified that the external electronic device is a device capable of acquiring specific information, includes specific information in the next order of the first code image corresponding to the first order displayed on the designated area of the display
  • a second code image (eg, code image 733 of FIG. 7 ) may be displayed.
  • the processor receives a second designated signal through a Wi-Fi communication channel from the external electronic device that has scanned the second code image while displaying the second code image, the second code image corresponding to the next sequence
  • a third code image (eg, code image 735 of FIG. 7 ) may be displayed in a designated area.
  • a fourth code image including specific information in the designated area (eg: The code image 737 of FIG. 7 may 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 (eg, the code image 739 of FIG. 7 ) is displayed in the designated area. can be displayed
  • the processor of the electronic device may identify that the external electronic device is a device that cannot acquire code images including specific information (eg, code images 713 and 717 of FIG. 7 ). , code images (eg, in FIG. Corresponding to the order of the code images 713 and 717 of 7, but including the code image 755 (eg, the code image 715 of FIG. 7 ) including default information other than the specific information, the code including the specific information It can be displayed instead of an image.
  • code images eg, in FIG. Corresponding to the order of the code images 713 and 717 of 7, but including the code image 755 (eg, the code image 715 of FIG. 7 ) including default information other than the specific information, the code including the specific information It can be displayed instead of an image.
  • the processor determines that the external electronic device is a device that cannot obtain specific information, the processor includes default information corresponding to the order in which the code images including the specific information are displayed in the order in which the code images including the specific information are displayed code images can be displayed in the designated area.
  • the usage right information for specific information included in the first code image 751 (eg, the code image corresponding to 711 in FIG. 7 ) corresponding to the first order is a user account. If it is set to specified information (eg, samsung12) in relation to , the processor determines 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. You can determine if it is an account.
  • the processor of the electronic device may determine that the external electronic device is a device that cannot obtain code images including specific information. After determining that the external electronic device is a device that cannot obtain the code image including the specific information, the processor scans the first code image (eg, the code image 711 in FIG. 7 ) corresponding to the first order.
  • the code image 753' including default information, not the code image 753 (eg, the code image 715 in FIG. 7 ) including specific information (eg, the code image 753 ') : The code image 713' of FIG. 7) may be displayed as a second code image in the designated area.
  • a code image 755 including information excluding specific information as a third code image that is the next order of the second code image (eg : Code image 715 of FIG. 7) can be displayed.
  • the code image 755 including information excluding specific information is converted into a fourth code image. It can be displayed as a code image 757' (eg, the code image 717' of FIG. 7) including default information. Additionally, when the processor of the electronic device receives the fourth designated signal from the external electronic device, the code image 757 ′ including default information displayed as the fourth code image in the designated area is the fifth code image.
  • a code image 759 (eg, the code image 719 of FIG. 7 ) including information excluding specific information may be displayed in the designated area.
  • Electronic devices may be devices of various types.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a camera
  • a wearable device e.g., a smart bracelet
  • first, second, or “first”, “second” may simply be used to distinguish the element from other elements in question, and may refer to elements in other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic block, component, or circuit.
  • a module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • one or more stored in a storage medium eg, the internal memory 136 or the external memory 138 readable by a machine (eg, the electronic device 101 ) It may be implemented as software (eg, program 140) including instructions.
  • the processor eg, the processor 120
  • the device may call at least one of one or more instructions stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the at least one command called.
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the device-readable storage medium may be provided in the form of a non-transitory storage medium.
  • 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term refers to the case where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
  • a signal eg, electromagnetic wave
  • the method according to various embodiments disclosed in this document may be provided by being included in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • the computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, online between smartphones (eg: smartphones).
  • a part of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
  • each component eg, a module or a program of the above-described components may include a singular or a plurality of entities.
  • one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg, a module or a program
  • the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, omitted, or , or one or more other operations may be added.

Abstract

Disclosed is an electronic device comprising a display, a communication module, a processor, and a memory, wherein the processor is configured to: when a size of data is equal to or greater than a designated value, divide the data; generate a plurality of code images corresponding to the respective divided data; designate display orders of the plurality of generated code images; display a code image, the display order of which corresponds to a first in order, from among the plurality of code images in a designated area of the display; and when a designated signal is received from an external electronic device via the communication module, display a code image, the display order of which corresponds to the next in order, from among the plurality of code images in the designated area, and the code image, the display order of which corresponds to the first in order, from among the plurality of code images includes information on the plurality of code images. Various other embodiments identified from the present document are also possible.

Description

데이터의 제공 방법 및 이를 지원하는 전자 장치Data provision method and electronic device supporting the same
본 발명의 다양한 실시 예들은, 데이터를 제공하는 방법 및 이를 지원하는 전자 장치에 관한 것이다.Various embodiments of the present disclosure relate to a method of providing data and an electronic device supporting the same.
스마트 폰과 같은 전자 장치는 여러가지 방식으로 전자 장치 간 데이터를 교환할 수 있다. 예를 들어, 전자 장치는 데이터를 코드 이미지(예: 바 코드(bar code) 또는 QR 코드(quick response code))로 생성하여 디스플레이에 표시할 수 있다. 또한, 외부 전자 장치는 상기 코드 이미지를 인식할 수 있는 장치(예: 카메라)를 이용하여 상기 코드 이미지를 인식하여 상기 코드 이미지에 대응되는 데이터를 획득할 수 있다. 다만, 바 코드의 경우, 코드 이미지를 통해 전달할 수 있는 데이터의 양이 현저하게 작기 때문에, 최근에는 바코드보다 많은 데이터를 포함할 수 있는 QR 코드가 주로 사용되고 있다.An electronic device such as a smart phone may exchange data between the electronic devices in various ways. For example, the electronic device may generate data as a code image (eg, a bar code or a quick response code) and display it on the display. In addition, the external electronic device may recognize the code image using a device (eg, a camera) capable of recognizing the code image to 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 remarkably small, a QR code that can contain more data than a bar code is mainly used in recent years.
그러나, QR 코드를 통해 대용량의 데이터를 전달하는 경우, 대용량의 데이터를 지정된 크기의 QR 코드에 포함하기 위해서는 QR 코드 내의 패턴이 밀집되게 되어, QR 코드의 인식률이 저하되는 현상이 발생할 수 있다.However, when a large amount of data is transmitted through a QR code, in order to include a large amount of data in a QR code of a specified size, patterns in the QR code become dense, and a phenomenon that the recognition rate of the QR code is lowered may occur.
본 발명의 다양한 실시 예들은, 데이터의 크기가 지정된 값 이상인 경우, 데이터를 복수 개로 분할하고, 분할된 데이터에 대응되는 복수 개의 코드 이미지들을 생성하고, 생성된 복수 개의 코드 이미지들을 분할된 데이터의 순서에 따라 순차적으로 디스플레이에 표시하는 데이터 제공 방법 및 이를 지원하는 전자 장치를 제공할 수 있다.According to various embodiments of the present disclosure, when the size of data is greater than or equal to a specified value, data is divided into a plurality of pieces, a plurality of code images corresponding to the divided data are generated, and the generated plurality of code images are arranged in the order of the divided data. Accordingly, it is possible to provide a method of providing data sequentially displayed on a display and an electronic device supporting the same.
본 발명의 다양한 실시 예에 따른 전자 장치에 있어서, 디스플레이, 통신 모듈, 프로세서 및 메모리를 포함하고, 상기 프로세서는, 데이터의 크기가 지정된 값 이상인 경우, 상기 데이터를 분할하고, 상기 분할된 각각의 데이터에 대응되는 복수 개의 코드 이미지들을 생성하고, 상기 생성된 복수 개의 코드 이미지들의 표시 순서를 지정하고, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 첫 번째 순서에 해당하는 코드 이미지를 상기 디스플레이의 지정된 영역에 표시하고, 상기 통신 모듈을 통해 외부 전자 장치로부터 지정된 신호를 수신하면, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 다음 순서에 해당하는 코드 이미지를 상기 지정된 영역에 표시할 수 있고, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 첫 번째 순서에 해당하는 코드 이미지는 상기 복수 개의 코드 이미지들에 대한 정보를 포함하는 전자 장치를 포함할 수 있다.In an electronic device according to various embodiments of the present disclosure, the electronic device includes a display, a communication module, a processor, and a memory, wherein the processor divides the data when the size of data is greater than or equal to a specified value, and divides the divided data generate a plurality of code images corresponding to , designate a display order of the generated plurality of code images, and display a code image corresponding to the first order among the plurality of code images in a designated area of the display and when a designated signal is received from the external electronic device through the communication module, a code image corresponding to the next order among the plurality of code images may be displayed on the designated area, The code image corresponding to the first order among the code images may include an electronic device including information on the plurality of code images.
또한, 본 발명의 다양한 실시 예에 따른 데이터를 제공하는 방법에 있어서, 데이터의 크기가 지정된 값 이상인 경우, 상기 데이터를 분할하는 동작, 상기 분할된 각각의 데이터에 대응되는 복수 개의 코드 이미지들을 생성하는 동작, 상기 생성된 복수 개의 코드 이미지들의 표시 순서를 지정하는 동작, 상기 복수 개의 코드 이미지들 중 표시 순서가 첫 번째 순서에 해당하는 코드 이미지를 디스플레이의 지정된 영역에 표시하는 동작, 및 통신 모듈을 통해 외부 전자 장치로부터 지정된 신호를 수신하면, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 다음 순서에 해당하는 코드 이미지를 상기 지정된 영역에 표시하는 동작을 포함할 수 있고, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 첫 번째 순서에 해당하는 코드 이미지는 상기 복수 개의 코드 이미지들에 정보를 포함할 수 있다.In addition, in the method of providing data according to various embodiments of the present disclosure, when the size of data is greater than or equal to a specified value, dividing the data, generating a plurality of code images corresponding to each of the divided data operation, an operation of designating a display order of the plurality of generated code images, an operation of displaying a code image corresponding to the first order among the plurality of code images in a designated area of the display, and through a communication module The method may include displaying, on the designated area, a code image corresponding to a next order among the plurality of code images when receiving a designated signal from the external electronic device, wherein the code image of the plurality of code images A code image whose display order corresponds to the first order may include information in the plurality of code images.
본 발명의 다양한 실시 예들에 따른 전자 장치는, 데이터가 지정된 값 이상인 경우, 데이터를 분할하고, 분할한 데이터와 대응되는 복수 개의 코드 이미지들을 생성하여 외부 전자 장치가 상기 코드 이미지 스캔 시, 인식률이 저하되는 현상을 방지하는 정확성이 높은 코드 이미지를 제공할 수 있다.The electronic device according to various embodiments of the present disclosure divides data when data is greater than or equal to a specified value, and generates a plurality of code images corresponding to the divided data, so that when the external electronic device scans the code image, the recognition rate decreases It is possible to provide a high-accuracy code image that prevents this from happening.
또한, 본 발명의 다양한 실시 예들에 따른 전자 장치는, 복수 개의 코드 이미지 중 표시 순서에 따라 표시될 첫 번째 순서에 해당하는 코드 이미지에 상기 복수 개의 코드 이미지들에 대한 정보를 포함시켜, 복수 개의 코드 이미지에 대한 보안성을 보완할 수 있다.In addition, the electronic device according to various embodiments of the present disclosure includes information about the plurality of code images in a code image corresponding to a first order to be displayed according to a display order among a plurality of code images, The security of the image can be supplemented.
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects directly or indirectly identified through this document may be provided.
도 1은 본 발명의 다양한 실시 예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure;
도 2는 본 발명의 일 실시 예에 따른 복수 개의 코드 이미지를 생성하는 전자 장치의 블록도이다.2 is a block diagram of an electronic device for generating a plurality of code images according to an embodiment of the present invention.
도 3은 본 발명의 일 실시 예에 따른, 복수 개의 코드 이미지를 생성하는 방법을 설명하기 위한 도면이다.3 is a view for explaining a method of generating a plurality of code images, according to an embodiment of the present invention.
도 4는 본 발명의 일 실시 예에 따른, 특정 정보에 대한 사용 권한 정보를 기반으로 코드 이미지를 제공하는 방법을 설명하기 도면이다.4 is a diagram for explaining a method of providing a code image based on usage right information for specific information, according to an embodiment of the present invention.
도 5는 본 발명의 일 실시 예에 따른, 다음 순서에 해당하는 코드 이미지를 표시하는 방법을 설명하기 도면이다.5 is a diagram for explaining a method of displaying a code image corresponding to the following sequence, according to an embodiment of the present invention.
도 6은 본 발명의 일 실시 예에 따른, 수신된 신호를 기반으로 코드 이미지를 표시하는 방법을 설명하기 도면이다.6 is a diagram for explaining a method of displaying a code image based on a received signal according to an embodiment of the present invention.
도 7은 본 발명의 일 실시 예에 따른, 수신된 신호를 기반으로 코드 이미지를 표시하는 다른 방법을 설명하기 도면이다.7 is a diagram for explaining another method of displaying a code image based on a received signal, according to an embodiment of the present invention.
이하, 첨부된 도면을 참조하여 본 발명의 다양한 실시 예들이 설명된다. 설명의 편의를 위하여 도면에 도시된 구성요소들은 그 크기가 과장 또는 축소될 수 있으며, 본 발명이 반드시 도시된 바에 의해 한정되는 것은 아니다.Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. For convenience of description, the sizes of the components shown in the drawings may be exaggerated or reduced, and the present invention is not necessarily limited to the illustrated ones.
도 1은 다양한 실시 예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다.1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments of the present disclosure.
도 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 , the electronic device 101 communicates with the electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input device 150 , a sound output device 155 , a display device 160 , an audio module 170 , and a sensor module ( 176 , interface 177 , haptic module 179 , camera module 180 , power management module 188 , battery 189 , communication module 190 , subscriber identification module 196 , or antenna module 197 . ) may be included. In some embodiments, at least one of these components (eg, the display device 160 or the camera module 180 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components may be implemented as a single integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시 예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시 예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, the program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to an embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190) to the volatile memory 132 . may be loaded into the volatile memory 132 , process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134 . According to an embodiment, the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor), and an auxiliary processor 123 (eg, a graphic processing unit or an image signal processor) that can be operated independently or together with the main processor 121 . , a sensor hub processor, or a communication processor). 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 designated function. The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시 예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다.The auxiliary processor 123 may be, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display device 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to an embodiment, the auxiliary processor 123 (eg, an image signal processor or a communication processor) may be implemented as a part of another functionally related component (eg, the camera module 180 or the communication module 190). have.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176 ) of the electronic device 101 . The data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto. The memory 130 may include a volatile memory 132 or a non-volatile memory 134 .
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.The program 140 may be stored as software in the 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 may receive a command or data to be used by a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 . The input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (eg, a stylus pen).
음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시 예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output device 155 may output a sound signal to the outside of the electronic device 101 . The sound output device 155 may 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 incoming calls. According to an embodiment, the receiver may be implemented separately from or as a part of the speaker.
표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)는, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시 예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다.The display device 160 may visually provide information to the outside (eg, a user) of the electronic device 101 . The display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the corresponding device. According to an embodiment, the display device 160 may include a touch circuitry configured to sense a touch or a sensor circuit (eg, a pressure sensor) configured to measure the intensity of a force generated by the touch. have.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시 예에 따르면, 오디오 모듈(170)은, 입력 장치(150)를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input device 150 , or an external electronic device (eg, a sound output device 155 ) connected directly or wirelessly with the electronic device 101 . The electronic device 102) (eg, a speaker or headphones) may output a sound.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시 예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to an embodiment, the sensor module 176 may 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, It may include 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 specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ). According to an 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 can be physically connected to an external electronic device (eg, the electronic device 102 ). According to an embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시 예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시 예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may 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 may manage power supplied to the electronic device 101 . According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시 예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to an embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, 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 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication through the established communication channel. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to an embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a local area network (LAN) communication module, or a power line communication module). Among these communication modules, a corresponding communication module may be a first network 198 (eg, a short-range communication network such as Bluetooth, WiFi direct, or infrared data association (IrDA)) or a second network 199 (eg, a cellular network, the Internet, or It may communicate with an external electronic device via a computer network (eg, a telecommunication network such as a LAN or WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 . The electronic device 101 may be identified and authenticated.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제1 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시 예에 따르면, 방사체 이외에 다른 부품(예: RFIC)이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include one antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas. In this case, it may be selected from the first plurality of antennas. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, RFIC) other than the radiator may 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 components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( e.g. commands or data) can be exchanged with each other.
일 실시 예에 따르면, 명령 또는 데이터는 제2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시 예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the electronic devices 102 and 104 may be the same or a different type of the electronic device 101 . According to an embodiment, all or part of the operations performed by the electronic device 101 may be performed by one or more of the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a function or service automatically or in response to a request from a user or other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. The 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 a result of the execution to the electronic device 101 . The electronic device 101 may process the result as it 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는 본 발명의 일 실시 예에 따른 복수 개의 코드 이미지를 생성하는 전자 장치의 블록도이다.2 is a block diagram of an electronic device for generating a plurality of code images according to an embodiment of the present invention.
도 2를 참조하면, 상기 전자 장치(200)(예: 도 1의 전자 장치(101))는 정해진 크기의 데이터(예: 이미지 데이터 또는 텍스트 데이터)를 저장할 수 있는 코드 이미지(예: QR-code)에 정해진 크기 이상의 데이터가 저장되는 경우, 인식률이 저하되는 현상을 방지하기 위하여 데이터를 분할해 복수 개의 코드 이미지로 생성할 수 있다. 상기 전자 장치(200)는 상기 데이터가 지정된 값(예: 데이터의 크기) 이상인 경우, 상기 데이터를 분할하여 복수 개의 코드 이미지로 생성할 수 있다. 상기 전자 장치(200)는 상기 생성한 복수 개의 코드 이미지 중 디스플레이(201)(예: 도 1의 표시 장치(160))를 통해 첫 번째 순서로 출력될 코드 이미지(예: 첫 번째 순서에 해당하는 코드 이미지)를 상기 디스플레이의 지정된 영역에 표시할 수 있다. 상기 첫 번째 순서에 해당하는 코드 이미지는 복수 개의 코드 이미지들에 대한 정보를 포함할 수 있다. 상기 복수 개의 코드 이미지들에 대한 정보는 상기 데이터에 포함된 특정 정보에 대한 사용 권한 정보를 포함할 수 있다. 상기 특정 정보는 상기 복수 개의 코드 이미지를 스캔할 수 있는 복수의 외부 전자 장치들 중 미리 지정된 외부 전자 장치만 획득할 수 있는 정보를 포함할 수 있다.Referring to FIG. 2 , the electronic device 200 (eg, the electronic device 101 of FIG. 1 ) may store a code image (eg, QR-code) capable of storing data (eg, image data or text data) of a predetermined size. ), in order to prevent a decrease in the recognition rate, when data of a size larger than a predetermined size is stored, the data can be divided and generated as a plurality of code images. When the data is greater than or equal to a specified value (eg, the size of data), the electronic device 200 may divide the data and generate a plurality of code images. The electronic device 200 generates a code image (eg, a code image corresponding to the first order) to be output in the first order through the display 201 (eg, the display device 160 of FIG. 1 ) among the plurality of generated code images. code image) can be displayed in a designated area of the display. The code image corresponding to the first order may include information on a plurality of code images. The information on the plurality of code images may include use permission information on specific information included in the data. The specific information may include information that can only acquire a predetermined external electronic device from among a plurality of external electronic devices capable of scanning the plurality of code images.
일 실시 예에 따르면, 상기 코드 이미지는 QR-code를 포함할 수 있다. 예를 들면, QR-code는 사각형의 가로세로 격자무늬에 다양한 정보를 담을 수 있는 2차원(매트릭스) 형식의 코드일 수 있다.According to an embodiment, the code image may include a QR-code. For example, the QR-code may be a two-dimensional (matrix) type code that can contain various information in a rectangular horizontal and vertical grid pattern.
상기 사용 권한 정보는 상기 특정 정보를 상기 미리 지정된 외부 전자 장치만 획득하도록 할 수 있는 기준 정보를 포함할 수 있다. 예를 들어, 상기 사용 권한 정보는 상기 특정 정보를 획득할 수 있는 상기 미리 지정된 외부 전자 장치의 식별 정보(예: 미리 지정된 외부 전자 장치의 Mac address) 및 상기 특정 정보를 획득할 수 있는 사용자의 식별 정보(예: 특정 정보를 획득할 수 있는 사용자의 계정에 대한 정보)중 적어도 하나를 포함할 수 있다. The use right information may include reference information for allowing only the predetermined external electronic device to acquire the specific information. For example, the usage right information may include identification information (eg, a Mac address of a pre-specified external electronic device) of the external electronic device capable of acquiring the specific information and identification of a user capable of acquiring the specific information. It may include at least one of information (eg, information about a user's account that can obtain specific information).
상기 전자 장치(200)는 상기 지정된 영역에 표시될 상기 복수 개의 코드 이미지들 중 상기 첫 번째 순서에 해당하는 코드 이미지를 표시할 수 있다. 외부 전자 장치가 상기 디스플레이에 표시되고 있는 상기 첫 번째 순서에 해당하는 코드 이미지를 스캔(scan)하는 경우, 상기 전자 장치(200)는 상기 외부 전자 장치로부터 지정된 신호(예: ack 신호)를 수신할 수 있다.The electronic device 200 may display a code image corresponding to the first order among the plurality of code images to be displayed in the designated area. When the external electronic device scans the code image corresponding to the first order displayed on the display, the electronic device 200 receives a specified signal (eg, ack signal) from the external electronic device. can
상기 전자 장치(200)는 상기 외부 전자 장치로부터 수신한 상기 지정된 신호를 기반으로, 상기 외부 전자 장치가 상기 특정 정보를 획득할 수 있는 장치인지를 판단할 수 있다. 또한, 상기 전자 장치(200)는 상기 사용자의 식별 정보를 기반으로, 상기 지정된 신호를 송신한 외부 전자 장치에 로그인(login) 된 계정이 상기 특정 정보를 획득할 수 있는 계정인지 판단할 수 있다.The electronic device 200 may determine whether the external electronic device is a device capable of obtaining the specific information based on the specified signal received from the external electronic device. Also, the electronic device 200 may determine whether an account logged in to the external electronic device that has transmitted the specified signal is an account capable of acquiring the specific information, based on the user's identification information.
상기 전자 장치(200)는 상기 외부 전자 장치(200)로부터 상기 지정된 신호를 수신하면, 상기 지정된 영역에 표시되고 있는 코드 이미지를 다음 순서에 해당하는 코드 이미지로 표시할 수 있다. When receiving the designated signal from the external electronic device 200 , the electronic device 200 may display the code image displayed in the designated area as a code image corresponding to the following sequence.
상술한 기능을 수행하기 위한 전자 장치(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 includes the display 201 , the communication module 202 (eg, the communication module 190 of FIG. 1 ), and the memory 203 (eg, the memory 130 of FIG. 1 ). )) and a processor 204 (eg, 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 (eg, the camera module 180 of FIG. 1 ).
상기 디스플레이(201)는 상기 외부 전자 장치가 상기 복수의 코드 이미지를 스캔할 수 있도록 상기 복수의 코드 이미지를 지정된 영역에 표시할 수 있다. 상기 지정된 영역은 상기 디스플레이의 적어도 일부 영역일 수 있다. 상기 디스플레이(201)는 상기 코드 이미지뿐만 아니라, 각종 컨텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 또는 심볼 등)를 표시할 수 있다. 상기 디스플레이(201)는 터치스크린을 포함할 수 있다. 예를 들면, 코드 이미지를 확대하려고 하는 사용자의 신체 일부를 이용한 터치, 제스처, 근접 또는 호버링(hovering) 입력을 수신할 수 있다. The display 201 may 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 partial area of the display. The display 201 may display not only the code image but also various contents (eg, text, image, video, icon, or symbol). The display 201 may include a touch screen. For example, a touch, gesture, proximity, or hovering input using a body part of a user attempting to enlarge the code image may be received.
상기 통신 모듈(202)은 상기 전자 장치(200)와 상기 외부 전자 장치 간에 통신을 지원할 수 있다. 일 실시 예에 따르면, 상기 통신 모듈(202)을 통해 상기 외부 전자 장치로부터 상기 지정된 신호를 수신할 수 있다. 다만, 상기 통신 모듈(202)은 상기 지정된 신호만 수신하는 것은 아닐 수 있다.The communication module 202 may support communication between the electronic device 200 and the external electronic device. According to an embodiment, the designated signal may be received from the external electronic device through the communication module 202 . However, the communication module 202 may not receive only the designated signal.
상기 메모리(203)는 상기 전자 장치(200)의 적어도 하나의 구성요소에 의해 사용되는 다양한 데이터를 저장할 수 있다. 일 실시 예에 따르면, 상기 메모리(203)는 상기 특정 정보에 대한 사용 권한 정보를 저장할 수 있다.The memory 203 may store various data used by at least one component of the electronic device 200 . According to an embodiment, the memory 203 may store use right 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 an embodiment, the processor 204 divides data, generates a plurality of code images based on the divided data, outputs the plurality of code images, receives and outputs the specified signal from the external electronic device, and At least one command set to output a code image corresponding to the next order of the existing code image may be executed. When the size of the data is greater than or equal to a specified value, the processor 204 may divide the data to generate a plurality of code images. The designated value may include information on the size of data. In addition, the designated 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 an embodiment, when the specified value is set to 10 kb in relation to the size of data and the size of the data to be generated as a code image is 100 kb, the processor 204 determines that one code image includes 10 kb of data. You can create 10 code images that can be used.
상기 프로세서(204)는 생성한 복수 개의 코드 이미지 중 상기 지정된 영역에 첫 번째 순서로 표시할 코드 이미지에 복수 개의 코드 이미지들에 대한 정보를 포함하도록 할 수 있다. 상기 복수 개의 코드 이미지들에 대한 정보는 특정 정보에 대한 사용 권한 정보 및 통신 방식에 대한 정보 및 데이터에 대한 정보를 포함할 수 있다. 또한, 상기 복수 개의 코드 이미지들에 대한 정보는 특정 정보에 대한 인증 정보를 더 포함할 수 있다. 상기 특정 정보에 대한 인증 정보는 상기 외부 전자 장치가 상기 복수 개의 코드 이미지들이 포함하고 있는 특정 정보를 획득하기 위해, 상기 외부 전자 장치가 상기 특정 정보를 획득할 수 있는 장치임을 인증하도록 하는 정보일 수 있다.The processor 204 may include information on the plurality of code images in the code image to be displayed in the first order in the designated area among the generated plurality of code images. The information on the plurality of code images may include information on usage right information for specific information, information on a communication method, and information on data. In addition, the information on the plurality of code images may further include authentication information for specific information. The authentication information for the specific information may be information that allows the external electronic device to authenticate that the external electronic device is a device capable of acquiring the specific information in order to acquire the specific information included in the plurality of code images. have.
상기 특정 정보(예: 보안을 필요로 하는 정보)에 대한 사용 권한 정보는 복수 개의 코드 이미지에 포함되어 있는 정보 중 보안을 필요로 하는 정보를 복수의 외부 전자 장치 중 미리 지정된 외부 전자 장치가 획득할 수 있도록 하는 기준 정보일 수 있다. 상기 특정 정보에 대한 사용 권한 정보는 상기 외부 전자 장치(예: 삼성 전자 장치)의 식별 정보(예: 외부 전자 장치의 Mac address) 및 상기 특정 정보를 획득할 수 있는 사용자의 식별 정보(예: 특정 정보를 획득할 수 있는 사용자의 계정에 대한 정보) 중 적어도 하나를 포함할 수 있다. 상기 프로세서는 상기 외부 전자 장치로부터 수신한 지정된 신호를 기반으로, 상기 사용 권한 정보가 상기 지정된 신호를 송신한 외부 전자 장치의 주소(예: Mac address)와 일치하는지 판단할 수 있다.The usage right information for the specific information (eg, information requiring security) may be obtained by an external electronic device designated in advance among a plurality of external electronic devices to obtain information requiring security among information included in a plurality of code images. It may be reference information that makes it possible. The usage right information for the specific information includes identification information (eg, Mac address of an external electronic device) of the external electronic device (eg, a Samsung electronic device) and identification information of a user who can obtain the specific information (eg, specific information). information about the user's account from which the information can be obtained). The processor may determine, based on the specified signal received from the external electronic device, whether the use right information matches an address (eg, Mac address) of the external electronic device that has transmitted the specified signal.
상기 복수 개의 코드 이미지에 대한 정보는 예를 들어, 복수 개의 코드 이미지의 총 개수, 데이터의 유형(종류), 복수 개의 코드 이미지 각각에 포함된 데이터의 용량(크기)에 대한 정보를 포함할 수 있다. 상기 복수 개의 코드 이미지에 대한 정보는 상기 데이터가 복수 개의 코드 이미지로 생성될 때 결정될 수 있다. 상기 통신 방식에 대한 정보는 상기 전자 장치(200)와 상기 외부 전자 장치가 어떤 통신 방식으로 통신할 지 미리 설정된 정보 일 수 있다. 상기 통신 방식은 NFC(Near Field Communication), 블루투스(Bluetooth), 또는 와이파이(Wifi-direction)를 포함할 수 있으며, 유/무선 네트워크를 통해 상기 전자 장치(200)와 상기 외부 전자 장치가 데이터를 송수신할 수 있으면, 이에 한정되지 않는다.The information on the plurality of code images may include, for example, information on the total number of the plurality of code images, the type (type) of data, and the capacity (size) of data included in each of the plurality of code images. . Information on the plurality of code images may be determined when the data is generated as a plurality of code images. The information on the communication method may be information previously set for which communication method the electronic device 200 and the external electronic device will communicate with. The communication method may include Near Field Communication (NFC), Bluetooth, or Wifi-direction, and the electronic device 200 and the external electronic device transmit and receive data through a wired/wireless network. If possible, it is not limited to this.
일 실시 예에 따르면, 상기 복수 개의 코드 이미지들에 대한 정보는 상기 특정 권한에 대한 사용 권한 정보 및 상기 통신 방식에 대한 정보만 포함하는 것이 아닌, 상기 데이터에 대한 정보(예: 컨텐츠 데이터) 또한 포함할 수 있으며, 이에 한정되지 않는다.According to an embodiment, the information on the plurality of code images does not include only information on the use permission information for the specific permission and the communication method, but also includes information about the data (eg, content data). can, but is not limited thereto.
상기 프로세서(204)는 상기 첫 번째 순서에 해당하는 코드 이미지를 상기 디스플레이(201)의 지정된 영역에 표시할 수 있다. 상기 외부 전자 장치는 상기 지정된 영역에 표시되고 있는 상기 첫 번째 순서에 해당하는 코드 이미지를 스캔(scan)할 수 있다.The processor 204 may display a code image corresponding to the first order on a designated area of the display 201 . The external electronic device may scan a code image corresponding to the first order displayed in the designated area.
상기 프로세서(204)는 상기 첫 번째 순서에 해당하는 코드 이미지를 스캔한 상기 외부 전자 장치로부터 상기 통신 모듈(202)을 통해 지정된 신호(예: ack 신호)를 수신할 수 있다. 상기 지정된 신호는 상기 외부 전자 장치가 상기 전자 장치(200)의 상기 디스플레이(201)에 표시되고 있는 코드 이미지를 스캔하면, 상기 전자 장치(200)에게 상기 외부 전자 장치가 상기 코드 이미지를 획득했음을 알리는 신호일 수 있다. The processor 204 may receive a specified signal (eg, an ack signal) through the communication module 202 from the external electronic device that has scanned the code image corresponding to the first order. When the external electronic device scans the code image displayed on the display 201 of the electronic device 200, the designated signal notifies the electronic device 200 that the external electronic device has acquired the code image. It could be a signal.
상기 프로세서(204)는 상기 외부 전자 장치로부터 상기 지정된 신호를 수신하면, 상기 지정된 영역에 표시되고 있는 첫 번째 순서에 해당하는 코드 이미지를 다음 순서에 해당하는 코드 이미지로 표시할 수 있다. 또한, 상기 지정된 신호는 전자 장치(200)의 프로세서(204)가 상기 외부 전자 장치의 식별정보(예: 외부 전자 장치의 Mac address) 또는 외부 전자 장치를 사용하고 있는 사용자의 식별 정보(예: 외부 전자 장치를 사용하고 있는 사용자의 계정)를 판단할 수 있는 외부 전자 장치에 대한 정보를 포함할 수 있다. 또한, 프로세서가 상기 지정된 신호에 포함되어 있는 외부 전자 장치에 대한 정보를 기반으로, 상기 지정된 신호를 송신한 외부 전자 장치가 특정 정보를 획득할 수 있는 미리 지정된 장치인지를 판단할 수 있다. 상기 외부 전자 장치에 대한 정보는 상기 외부 전자 장치의 주소(예: 외부 전자 장치의 Mac address) 또는 상기 외부 전자 장치에 접속된 사용자의 계정에 대한 정보를 포함할 수 있다.When receiving the designated signal from the external electronic device, the processor 204 may display a code image corresponding to a first order displayed in the designated area as a code image corresponding to a next order. In addition, the designated signal is the processor 204 of the electronic device 200 , identification information of the external electronic device (eg, Mac address of the external electronic device) or identification information of a user who is using the external electronic device (eg, external electronic device). information on an external electronic device capable of determining an account of a user who is using the electronic device). In addition, the processor may determine whether the external electronic device that has transmitted the specified signal is a predetermined device capable of acquiring specific information, based on information on the external electronic device included in the specified signal. The information on the external electronic device may include an address of the external electronic device (eg, a Mac address of the external electronic device) or information on 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, the electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) may include a display (eg, the display device 160 of FIG. 1 or FIG. 2 ). display 201 of ), a communication module (eg, the communication module 190 of FIG. 1 or the communication module 202 of FIG. 2 ), a processor (eg, the processor 120 of FIG. 1 or the processor 204 of FIG. 2 ) ) and a memory (eg, the memory 130 of FIG. 1 or the memory 203 of FIG. 2 ), wherein the processor divides 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 data, designate a display order of the generated plurality of code images, and display a code image corresponding to the first order among the plurality of code images. displayed on the area, and based on information included in the code image corresponding to the first order or receiving a specified signal from an external electronic device through the communication module, the display order among the plurality of code images is in the next order A code image that is set to display a corresponding code image in the designated area, and whose display order is a first order among the plurality of code images, may include information on the plurality of code images.
다양한 실시 예에 따르면, 상기 복수 개의 코드 이미지들에 대한 정보는, 상기 데이터에 포함된 특정 정보에 대한 사용 권한 정보 및 상기 지정된 신호를 송수신하기 위한 통신 방식에 대한 정보 중 적어도 하나를 포함할 수 있다.According to various embodiments, the information on the plurality of code images may include at least one of information on use right information for specific information included in the data and information on a communication method for transmitting and receiving the specified signal. .
다양한 실시 예에 따르면, 상기 특정 정보에 대한 사용 권한 정보는, 상기 특정 정보를 획득할 수 있는 상기 외부 전자 장치의 식별 정보 또는 사용자의 식별 정보 중 적어도 하나를 포함할 수 있다.According to various embodiments, the use right information for the specific information may include at least one of identification information of the external electronic device capable of acquiring the specific information or identification information of a user.
다양한 실시 예에 따르면, 상기 복수 개의 코드 이미지들에 대한 정보는, 상기 데이터에 포함된 특정 정보에 대한 인증 정보를 더 포함하고, 상기 특정 정보에 대한 인증 정보는, 상기 복수 개의 코드 이미지들에 포함된 상기 특정 정보를 상기 외부 전자 장치가 획득할 수 있는 장치임을 인증하도록 하는 정보를 포함할 수 있다.According to various embodiments, the information about the plurality of code images further includes authentication information for specific information included in the data, and the authentication information for the specific information is included in the plurality of code images. It may include information for authenticating that the external electronic device is a device capable of acquiring the specified information.
다양한 실시 예에 따르면, 상기 프로세서는, 상기 수신한 지정된 신호에 포함된 외부 전자 장치에 대한 정보를 기반으로, 상기 외부 전자 장치가 상기 복수 개의 코드 이미지들에 포함된 특정 정보를 식별할 수 있는 장치인지를 판단할 수 있다.According to various embodiments, the processor is a device in which the external electronic device can identify specific information included in the plurality of code images based on information on the external electronic device included in the received specified signal cognition can be judged.
다양한 실시 예에 따르면, 상기 외부 전자 장치에 대한 정보는, 상기 특정 정보를 획득할 수 있는 장치에 대한 주소 정보 및 상기 특정 정보를 획득할 수 있는 사용자 계정에 대한 정보 중 적어도 하나를 포함할 수 있다.According to various embodiments, the information on the external electronic device may include at least one of address information on a device capable of acquiring the specific information and information on a user account capable of acquiring 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 the display order of the plurality of code images to be displayed in the designated area based on the priority of the information included in each of the divided data.
다양한 실시 예에 따르면, 상기 프로세서는, 상기 지정된 신호의 수신에 응답하여, 상기 지정된 영역에 지정된 이미지를 표시하고, 상기 지정된 이미지가 표시된 후 지정된 시간이 경과하면, 상기 다음 순서에 해당하는 코드 이미지를 표시할 수 있다.According to various embodiments, the processor, in response to receiving the specified signal, displays a specified image in the specified area, and when a specified time elapses after the specified image is displayed, a code image corresponding to the next sequence can be displayed
다양한 실시 예에 따르면, 상기 프로세서는, 상기 수신한 지정된 신호를 기반으로, 상기 외부 전자 장치가 상기 특정 정보를 식별할 수 없는 장치임을 판단하면, 상기 특정 정보를 제외한 정보를 포함하는 코드 이미지들을 상기 표시 순서에 따라 상기 지정된 영역에 순차적으로 표시할 수 있다.According to various embodiments, when determining that the external electronic device is a device that cannot identify the specific information based on the received specified signal, the processor generates code images including information excluding the specific information. They may be sequentially displayed in the designated area according to the display order.
도 3은 본 발명의 일 실시 예에 따른, 복수 개의 코드 이미지를 생성하는 방법을 설명하기 위한 도면이다.3 is a view for explaining a method of generating a plurality of code images, according to an embodiment of the present invention.
도 3을 참조하면, 301 동작에서, 전자 장치(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 데이터가 지정된 값(예: 데이터의 크기) 이상인 경우, 상기 데이터를 분할할 수 있다. 상기 지정된 값은 상기 데이터를 분할하기 위한 기준으로, 상기 데이터의 크기가 상기 지정된 값 이상인 경우, 상기 프로세서는 상기 데이터를 상기 데이터에 포함된 적어도 하나의 정부의 개수에 대한 정보, 종류에 대한 정보 및 크기에 대한 정보 중 적어도 하나를 기반으로 분할할 수 있다. Referring to FIG. 3 , in operation 301 , the processor (eg, the processor 204 of FIG. 2 ) of the electronic device (eg, the electronic device 200 of FIG. 2 ) determines that data is greater than or equal to a specified value (eg, the size of data). In this case, the data may be divided. The specified value is a criterion for dividing the data, and when the size of the data is equal to or greater than the specified value, the processor converts the data to information on the number of at least one government included in the data, information on types, and The division may be performed based on at least one of size information.
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 an embodiment, the data may be data having a size of 130 kb including image information and text information. In addition, the designated value may be set to 13 kb, and the designated value may be a threshold for the size of data included in each of a plurality of code images to be generated.
일 실시 예에 따르면, 상기 프로세서는 상기 130kb의 크기를 가지고 있는 데이터를 상기 데이터에 포함된 정보의 크기에 기반하여, 10장의 코드 이미지로 생성할 수 있다. 이때, 정보의 크기는 13kb일 수 있다. 상기 프로세서는 상기 데이터를 분할할 때, 상기 데이터에 포함된 적어도 하나의 정보의 개수에 대한 정보, 종류에 대한 정보 및 크기에 대한 정보 중 적어도 하나를 기반으로 데이터를 분할할 수 있다. According to an embodiment, the processor may generate the data having a size of 130 kb as 10 code images based on the size of information included in the data. In this case, 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 on the number, type, and size of at least one piece of information included in the data.
또한, 상기 프로세서는 상기 데이터에 포함된 이미지 정보 및 텍스트 정보를 구분하여, 데이터에 포함된 정보의 종류(예: 유형)에 대한 정보를 기반으로 복수 개의 코드 이미지를 생성할 수 있다. 상기 정보의 종류를 기반으로 상기 복수 개의 코드 이미지를 생성할 경우, 이미지 정보만 포함하는 코드 이미지를 생성할 수 있고, 텍스트 정보만 포함하는 코드 이미지를 생성할 수 있다. Also, the processor may classify image information and text information included in the data, and generate a plurality of code images based on information on a type (eg, 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 may be generated, and a code image including only text information may be generated.
상기 프로세서는 상기 복수 개의 코드 이미지를 생성하는 동작에 있어서, 디스플레이(예: 도 2의 디스플레이(201))를 통해 출력할 상기 복수 개의 코드 이미지 중 첫 번째 순서에 해당하는 코드 이미지에 복수 개의 코드 이미지들에 대한 정보가 포함되도록 할 수 있다. 상기 복수 개의 코드 이미지들에 대한 정보는 특정 정보에 대한 사용 권한 정보 및 통신 방식에 대한 정보를 포함할 수 있으며, 이에 한정되지 않는다. 상기 특정 정보에 대한 사용 권한 정보는, 상기 복수 개의 코드 이미지들에 포함된 정보들 중 보안을 필요로 하는 정보와 관련하여, 허가된 장치만 특정 정보를 획득할 수 있도록 하는 정보일 수 있다. 상기 사용 권한 정보는 복수의 외부 전자 장치들 중 미리 지정된 외부 전자 장치의 식별 정보(예: 삼성 전자 장치의 Mac address) 또는 상기 보안 정보를 획득할 수 있는 사용자에 대한 식별 정보(예: 외부 전자 장치를 사용하는 사용자의 계정)를 포함할 수 있으며, 이에 한정되지 않는다. 상기 복수 개의 코드 이미지들에 대한 정보는 예를 들어, 복수 개의 코드 이미지의 총 개수, 상기 복수 개의 코드 이미지 각각에 포함된 정보의 종류(예: 유형), 복수 개의 코드 이미지 각각에 포함된 데이터의 용량에 대한 정보를 포함할 수 있다. 상기 통신 방식에 대한 정보는 상기 전자 장치(200)와 상기 외부 전자 장치가 어떤 통신 방식으로 데이터를 송수신할 지 미리 설정된 정보 일 수 있다. 상기 통신 방식은 NFC(Near Field Communication), Bluetooth, 또는 Wifi-direction을 포함할 수 있으며, 유/무선 네트워크를 통해 상기 전자 장치(200)와 상기 외부 전자 장치가 통신할 수 있으면, 이에 한정되지 않는다.In the operation of generating the plurality of code images, the processor includes a plurality of code images in a code image corresponding to a first order among the plurality of code images to be output through a display (eg, the display 201 of FIG. 2 ). information about them may be included. The information on the plurality of code images may include, but is not limited to, usage right information for specific information and information on a communication method. The usage right information for the specific information may be information that allows only an authorized device to acquire specific information in relation to information requiring security among information included in the plurality of code images. The use right information may include identification information (eg, Mac address of a Samsung electronic device) of an external electronic device designated in advance among a plurality of external electronic devices or identification information of a user who can obtain the security information (eg, an external electronic device) user's account), but is not limited thereto. The information on the plurality of code images is, for example, the total number of the plurality of code images, the type (eg, type) of information included in each of the plurality of code images, the data included in each of the plurality of code images. May contain information about capacity. The information on the communication method may be information previously set as to which communication method the electronic device 200 and the external electronic device will transmit/receive data to. The communication method may include Near Field Communication (NFC), Bluetooth, or Wifi-direction, and is not limited thereto, as long as the electronic device 200 and the external electronic device can communicate through a wired/wireless network. .
305 동작에서, 상기 프로세서는 생성한 복수 개의 코드 이미지들 중 상기 디스플레이를 통해 첫 번째 순서로 표시될 코드 이미지를 표시할 수 있다. 상기 첫 번째 순서에 해당하는 코드 이미지는 상기 디스플레이의 적어도 일부 영역인 지정된 영역에 표시될 수 있다.In operation 305, the processor may display a code image to be displayed in a first order through the display among a plurality of generated code images. The code image corresponding to the first order may be displayed in a designated area that is at least a partial area of the display.
일 실시 예에 따르면, 상기 프로세서는 디스플레이(예: 도 2의 디스플레이(201))에 상기 복수 개의 코드 이미지 중 제1 코드 이미지를 디스플레이(예: 도 2의 디스플레이(201))의 지정된 영역에 표시할 수 있다. 상기 프로세서는 상기 지정된 영역에 표시할 복수 개의 코드 이미지가 총 13개인 경우, 상기 복수 개의 코드 이미지의 총 개수에 대한 정보를 포함하는 복수 개의 코드 이미지들에 대한 정보를 상기 제1 코드 이미지에 포함되도록 할 수 있다. 상기 프로세서는 상기 제1 코드 이미지를 상기 지정된 영역 예를 들어, 상기 전자 장치에서 실행된 응용 어플리케이션의 윈도우에 표시할 수 있다. 또한, 상기 전자 장치와 상기 외부 전자 장치는 복수 개의 코드 이미지들에 대한 정보에 포함된 통신 방식에 대한 정보를 기반으로, 상기 지정된 신호를 송수신할 수 있다. 예를 들어, 상기 통신 방식에 대한 정보가 와이파이와 관련된 정보로 설정되어 있을 경우, 상기 전자 장치의 프로세서는 상기 외부 전자 장치와 와이파이 통신 채널을 통해 상기 지정된 신호를 수신할 수 있다.According to an embodiment, the processor displays a first code image among the plurality of code images on a display (eg, the display 201 of FIG. 2 ) in a designated area of the display (eg, the display 201 of FIG. 2 ). can do. The processor is configured to include, in the first code image, information on a plurality of code images including information on the total number of the plurality of code images when there are a total of 13 plurality of code images to be displayed in the designated area. can do. 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. Also, the electronic device and the external electronic device may transmit/receive the designated signal based on information on a communication method included in the information on the plurality of code images. For example, when the information on the communication method is set as 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 specified signal (eg, an ack signal) from an external electronic device through a communication module (eg, the communication module 202 of FIG. 2 ). The processor may receive the specified signal based on information on a communication method of information on a plurality of code images included in a code image corresponding to a first code sequence scanned by the external electronic device. Upon receiving the designated signal, the processor may display the code image corresponding to the next order of the code image corresponding to the first order on the designated area of the display. The display order of the plurality of code images to be displayed in the designated area may be set based on the priority of at least one piece of information included in the data. According to an embodiment, the code image displayed by the processor through the display may include data related to a contact. The data related to the contact information may include basic address book information (eg, basic information) such as address information, name information, and phone number information of the user, and image information (eg, additional information) such as photos and videos. The processor may display the contact-related data as a plurality of code images through the display based on the priority of information included in the contact-related data. 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 includes basic address book information having a size of 8 kb in a code image corresponding to a first order among a plurality of code images. It can be displayed in a designated area of the display.
상기 프로세서는 상기 외부 전자 장치로부터 상기 지정된 신호를 수신하면, 상기 20kb의 크기를 가지는 이미지 정보를 10kb 크기를 가지는 제1 이미지 정보 및 제2 이미지 정보로 분할할 수 있다. 상기 프로세서는 상기 첫 번째 코드 이미지의 다음 순서로 표시될 두 번째 코드 이미지에 상기 제1 이미지 정보를 포함하여 상기 지정된 영역을 통해 표시할 수 있다. 상기 프로세서가 상기 외부 전자 장치로부터 상기 지정된 신호를 수신하면, 상기 두 번째 코드 이미지의 다음 순서로 표시될 세 번째 코드 이미지에 제2 이미지 정보를 포함하여, 상기 지정된 영역을 통해 표시할 수 있다. 즉, 상기 프로세서는 데이터에 포함된 정보들을 기본 정보 및 추가 정보로 필드를 구분하여 분할할 수 있다. 다른 일 예로, 상기 프로세서는 데이터에 포함된 복수의 정보들 중 데이터 통신이 간편하고 빠른 정보(예: 기본 정보)를 우선적으로 첫 번째 코드 이미지에 포함하여 출력할 수 있다. 이 후, 상기 프로세서는 하나의 코드 이미지가 저장할 수 있는 정보의 크기보다 큰 다른 정보(예: 추가 정보)를 분할하여 복수의 코드 이미지에 포함시켜 출력할 수 있다. When receiving the designated signal from the external electronic device, the processor may divide the image information having a size of 20 kb into first image information and second image information having a 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 it through the designated area. When the processor receives the designated signal from the external electronic device, second image information may be included in a third code image to be displayed in the next order of the second code image, and displayed through the designated area. That is, the processor may divide the information included in the data by dividing the fields into basic information and additional information. As another example, the processor may preferentially output information (eg, basic information) through which data communication is easy and quick among a plurality of pieces of information included in data, including in the first code image. Thereafter, the processor may divide other information (eg, additional information) larger than the size of information that can be stored in one code image, and output the divided information into a plurality of code images.
일 실시 예에 따르면, 상기 프로세서는 상기 제1 코드 이미지에 포함된 복수 개의 코드 이미지들에 대한 정보의 통신 방식에 대한 정보가 블루투스로 설정되어 있을 경우, 블루투스 통신을 통해 상기 외부 전자 장치로부터 상기 지정된 신호를 수신할 수 있다. 다른 일 실시 예에 따르면, 상기 프로세서는 상기 지정된 영역을 통해 상기 제1 코드 이미지를 출력할 수 있다. 상기 외부 전자 장치가 상기 제1 코드 이미지를 인식하면, 상기 제1 코드 이미지를 인식했다는 신호를 브로드 캐스팅(broad casting)할 수 있다. 상기 프로세서는 상기 외부 전자 장치로부터 상기 제1 코드 이미지를 인식했다는 것을 알리는 신호를 BT 비콘(beacon)을 통해 수신할 수 있다. 상기 프로세서는 상기 BT비콘을 통해 상기 수신한 신호를 기반으로 상기 외부 전자 장치가 상기 제1 코드 이미지를 인식했다는 것을 확인하여, 상기 지정된 영역을 통해 표시하고 있는 제1 코드 이미지를 다음 순서에 해당하는 코드 이미지로 변경할 수 있다. 상기 프로세서가 상기 통신 모듈을 통해 블루투스 통신으로 상기 지정된 신호를 수신하면, 제1 코드 이미지의 다음 순서에 해당하는 제2 코드 이미지를 상기 디스플레이에 표시할 수 있다. 다만, 상기 다음 순서에 해당하는 코드 이미지는 제2 코드 이미지에 한정되지 않으며, 다른 코드 이미지를 포함할 수 있다. 다른 실시 예에 따르면, 상기 지정된 신호를 수신한 상기 프로세서가 제1 코드 이미지의 다음 순서에 해당하는 코드 이미지를 상기 지정된 영역에 표시할 때, 상기 다음 순서에 해당하는 코드 이미지를 바로 표시하지 않고, 지정된 시간(예: 3s) 동안 지정된 이미지(예: 광고 이미지)를 표시한 후 상기 다음 순서에 해당하는 코드 이미지를 표시하도록 할 수 있다. 또 다른 일 예로, 상기 프로세서는 상기 지정된 이미지를 지정된 시간동안 표시하면서, 상기 지정된 영역에 표시될 상기 복수 개의 코드 이미지 중 적어도 하나의 코드 이미지의 일부 영역에 지정된 객체(예: 이미지, 텍스트 및 아이콘)가 포함되도록 할 수 있다.According to an 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 is configured to receive the designated information from the external electronic device through Bluetooth communication. signal can be received. According to another embodiment, the processor may output the first code image through the designated area. When the external electronic device recognizes the first code image, it may broadcast a signal indicating that the first code image has been recognized. The processor may receive a signal indicating that the first code image has been recognized from the external electronic device through a BT beacon. The processor confirms that the external electronic device has recognized the first code image based on the received signal through the BT beacon, and displays the first code image displayed through the designated area in the following order You can change it to a code image. When the processor receives the designated signal through Bluetooth communication through the communication module, a second code image corresponding to the next order of the first code image may be displayed on the display. However, the code image corresponding to the next order is not limited to the second code image, and may include another code image. 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 designated area, the code image corresponding to the next order is not displayed immediately, After displaying a specified image (eg, an advertisement image) for a specified time (eg, 3s), the code image corresponding to the next sequence may be displayed. As another example, the processor displays the specified image for a specified time, and an object (eg, image, text, and icon) specified in a partial area of at least one code image among the plurality of code images to be displayed in the specified area. may be included.
또 다른 일 실시 예에 따르면, 상기 프로세서는 상기 외부 전자 장치로부터 상기 지정된 신호를 수신하지 않고, 상기 제1 코드 이미지에 포함된 정보를 기반으로, 상기 제1 코드 이미지의 다음 순서에 해당하는 코드 이미지를 상기 지정된 영역에 표시할 수 있다. 상기 제1 코드 이미지에 포함된 정보는 싱크 타이밍과 관련된 정보일 수 있다. 상기 싱크 타이밍과 관련된 정보는 상기 지정된 영역을 통해 출력되는 상기 복수의 코드 이미지 각각의 출력되는 순서 및 시간과 관련된 정보 일 수 있다. 상기 프로세서는 상기 제1 코드 이미지에 포함된 정보(예: 싱크 타이밍과 관련된 정보)를 기반으로, 제1 코드 이미지를 상기 지정된 영역에 지정된 시간 동안 출력한 후, 제1 코드 이미지의 다음 순서에 해당하는 코드 이미지를 지정된 시간 동안 출력할 수 있다. 예를 들면, 상기 프로세서는 제1 코드 이미지를 상기 지정된 영역을 통해 1초 동안 출력할 수 있다. 상기 프로세서는 상기 제1 코드 이미지에 포함된 정보(예: 싱크 타이밍과 관련된 정보)를 기반으로, 상기 제1 코드 이미지를 1초 동안 출력한 후, 다음 순서에 해당하는 코드 이미지를 1.5초 동안 출력할 수 있다. 상기 지정된 시간은 상기 복수의 코드 이미지 각각에 포함되는 정보의 복잡도에 따라 변경될 수 있다.According to another embodiment, the processor does not receive the specified signal from the external electronic device, but based on the information included in the first code image, a code image corresponding to the next order of the first code image may be displayed in the designated area. 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 outputs a first code image to the designated area for a designated time based on information (eg, sync timing related information) included in the first code image, and corresponds to the next sequence of the first code image code image can be output for a specified time. For example, the processor may output the first code image through the designated area for 1 second. The processor outputs the first code image for 1 second based on information included in the first code image (eg, information related to sync timing), and then outputs the code image corresponding to the next sequence for 1.5 seconds can do. The specified time may be changed according to the complexity of information included in each of the plurality of code images.
도 4는 본 발명의 일 실시 예에 따른, 특정 정보에 대한 사용 권한 정보를 기반으로 코드 이미지를 제공하는 방법을 설명하기 도면이다.4 is a diagram for explaining a method of providing a code image based on usage right information for specific information, according to an embodiment of the present invention.
도 4를 참조하면, 401 동작에서, 전자 장치(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 데이터가 지정된 값 이상일 경우, 상기 데이터를 분할하여 분할한 데이터와 대응하는 복수 개의 코드 이미지를 생성할 수 있다. 상기 프로세서는 상기 데이터를 분할할 때, 상기 데이터에 포함된 적어도 하나의 정보의 개수, 종류(예: 유형) 및 크기(용량) 중 적어도 하나를 기반으로 상기 데이터를 분할할 수 있다. 상기 프로세서는 상기 분할한 데이터를 복수 개의 코드 이미지로 생성하는 동작에서, 디스플레이(예: 도 2의 디스플레이(201))를 통해 첫 번째 순서로 표시될 상기 복수 개의 코드 이미지 중 첫 번째 순서에 해당하는 코드 이미지에 복수 개의 코드 이미지들에 대한 정보가 포함되도록 할 수 있다. 상기 프로세서는 상기 첫 번째 순서에 해당하는 코드 이미지를 상기 디스플레이의 적어도 일부 영역인 지정된 영역에 표시할 수 있다.Referring to FIG. 4 , in operation 401, the processor (eg, the processor 204 of FIG. 2 ) of the electronic device (eg, the electronic device 200 of FIG. 2 ) divides the data when the data is greater than or equal to a specified value. A plurality of code images corresponding to the divided data may be generated. When dividing the data, the processor may divide the data based on at least one of the number, type (eg, 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 corresponds to the first order among the plurality of code images to be displayed in the first order through a display (eg, the display 201 of FIG. 2 ). The code image may include information on a plurality of code images. The processor may display the code image corresponding to the first order on a designated area that is at least a partial area of the display.
일 실시 예에 따르면, 상기 프로세서는 지정된 값이 100kb인 경우, 이미지 정보 및 텍스트 정보가 포함된 150kb의 크기를 가지고 있는 데이터를 분할할 수 있다. 상기 프로세서는 상기 데이터를 분할할 때, 상기 데이터에 포함된 적어도 하나의 정보의 개수, 종류 및 크기 중 적어도 하나를 기반으로 상기 데이터를 분할할 수 있다. 상기 데이터에 포함된 적어도 하나의 정보의 크기가 10kb인 경우, 상기 프로세서는 상기 데이터를 한 개의 코드 이미지에 10kb의 크기가 저장되는 15개의 코드 이미지로 생성할 수 있다. 다른 실시 예에 따르면, 상기 프로세서는 상기 데이터에 포함된 적어도 하나의 정보의 종류가 이미지 정보로 설정된 경우, 상기 데이터에 포함된 이미지 정보를 식별하여, 이미지 정보와 텍스트 정보를 구분하여 상기 복수 개의 코드 이미지 중 이미지 정보를 포함하는 코드 이미지를 생성할 수 있다. According to an embodiment, when the specified value is 100 kb, the processor may divide data having a size of 150 kb including image information and text information. When dividing the data, the processor may 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 may generate the data as 15 code images in which a size of 10 kb is stored in one code image. According to another embodiment, when the type of at least one information included in the data is set to image information, the processor identifies image information included in the data, distinguishes image information from text information, and divides the plurality of codes A code image including image information among images may be generated.
상기 프로세서는 생성한 15개의 코드 이미지 중 상기 지정된 영역에 첫 번째 순서로 표시할 코드 이미지가 복수 개의 코드 이미지들에 대한 정보를 포함하도록 할 수 있다. 상기 복수 개의 코드 이미지들에 대한 정보는 통신 방식에 대한 정보, 복수 개의 코드 이미지들에 대한 정보, 특정 정보에 대한 사용 권한 정보를 포함할 수 있다.The processor may cause the code image to be displayed in the first order in the designated area among the 15 generated code images to include information on a plurality of code images. The information on the plurality of code images may include information on a communication method, information on a plurality of code images, and usage right information on specific information.
403 동작에서, 상기 프로세서는 외부 전자 장치로부터 지정된 신호를 수신할 수 있다. 상기 프로세서가 상기 디스플레이를 통해 상기 복수 개의 코드 이미지들에 대한 정보가 포함된 첫 번째 순서에 해당하는 코드 이미지를 표시하는 동안, 상기 외부 전자 장치는 상기 복수 개의 코드 이미지들에 대한 정보가 포함된 첫 번째 순서에 해당하는 코드 이미지를 스캔(scan)할 수 있다.In operation 403, the processor may receive a specified signal from the external electronic device. While the processor displays a code image corresponding to a first order including information on the plurality of code images through the display, the external electronic device displays the first code image including information on the plurality of code images A code image corresponding to the second order may be scanned.
상기 전자 장치의 프로세서는 상기 복수 개의 코드 이미지들에 대한 정보가 포함된 첫 번째 순서에 해당하는 코드 이미지를 스캔한 상기 외부 전자 장치로부터, 상기 복수 개의 코드 이미지들에 대한 정보에 포함된 통신 방식에 대한 정보를 기반으로 상기 지정된 신호를 수신할 수 있다.The processor of the electronic device sends a communication method included in the information on the plurality of code images from the external electronic device that has scanned a code image corresponding to a first order including information on the plurality of code images. It is possible to receive the specified signal based on the information.
일 실시 예에 따르면, 상기 복수 개의 코드 이미지들에 대한 정보에 포함된 통신 방식에 대한 정보가 와이파이(Wifi-direction)와 관련된 정보인 경우, 상기 전자 장치의 프로세서는 상기 외부 전자 장치가 상기 복수 개의 코드 이미지들에 대한 정보에 포함된 통신 방식에 대한 정보를 기반으로 상기 전자 장치의 프로세서와 와이파이 통신 채널을 형성할 수 있다. 상기 전자 장치의 프로세서는 상기 형성된 와이파이 통신 채널을 통해 상기 지정된 신호를 수신할 수 있다. 상기 지정된 신호는 ack신호일 수 있으며, 이에 한정되지 않는다.According to an embodiment, when the information on the communication method included in the information on the plurality of code images is information related to Wifi-direction, the processor of the electronic device determines that the external electronic device A Wi-Fi communication channel may be formed with the processor of the electronic device based on information on a communication method included in the information on the code images. The processor of the electronic device may receive the designated signal through the established Wi-Fi 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 acquiring specific information, based on a specified signal received from the external electronic device.
상기 프로세서는 통신 방식에 대한 정보를 기반으로, 형성된 통신 채널을 통하여 상기 외부 전자 장치로부터 상기 지정된 신호를 수신할 수 있다. 상기 프로세서가 수신한 상기 지정된 신호는 상기 외부 전자 장치에 대한 정보를 포함할 수 있다. 상기 외부 전자 장치에 대한 정보는 상기 외부 전자 장치의 주소 정보(예: 외부 전자 장치의 Mac address) 또는 상기 외부 전자 장치를 사용하고 있는 사용자에 대한 정보(예: 외부 전자 장치를 사용하고 있는 사용자의 계정) 중 적어도 하나를 포함할 수 있다. 상기 외부 전자 장치에 대한 정보는 상기 프로세서가 상기 외부 전자 장치와 통신 채널을 형성할 때 획득할 수 있고, 상기 외부 전자 장치로부터 획득한 지정된 신호에 포함되어 있을 수 있다.The processor may receive the designated signal from the external electronic device through the established communication channel based on information on the communication method. The designated signal received by the processor may include information on the external electronic device. The information on the external electronic device may include address information of the external electronic device (eg, Mac address of the external electronic device) or information about a user who is using the external electronic device (eg, of a user using the external electronic device). account) may be included. The information on the external electronic device may be acquired when the processor establishes a communication channel with the external electronic device, and may be included in a designated signal acquired from the external electronic device.
상기 프로세서는 상기 외부 전자 장치에 대한 정보를 기반으로, 상기 외부 전자 장치가 상기 복수 개의 코드 이미지들에 포함된 특정 정보(예: 보안을 필요하는 정보)를 식별할 수 있는 장치인지 판단할 수 있다.The processor may determine whether the external electronic device is a device capable of identifying specific information (eg, information requiring security) included in the plurality of code images based on the information on the external electronic device .
일 실시 예에 따르면, 상기 프로세서는 상기 첫 번째 순서에 해당하는 코드 이미지에 포함된 복수 개의 코드 이미지들에 대한 정보의 특정 정보가 지정된 정보(예: dmsdngq)로 설정될 수 있다. 상기 프로세서는 수신한 지정된 신호에 포함된 외부 전자 장치의 주소 정보를 기반으로, 상기 지정된 신호를 송신한 상기 외부 전자 장치의 주소가 지정된 정보(예: dmsdngq)와 일치하는지 판단할 수 있다. 상기 지정된 정보는 상기 특정 정보에 대한 사용 권한 정보일 수 있다. 다른 실시 예에 따르면, 사용자 계정(user account)과 관련하여 상기 특정 정보에 대한 지정된 정보(예: samsung12)로 설정되어 있는 경우, 상기 프로세서는 수신한 지정된 신호에 포함된 사용자에 대한 정보를 기반으로, 상기 외부 전자 장치에 로그인 된 계정이 지정된 정보(예: samsung12)와 일치하는지를 판단할 수 있다. 상기 외부 전자 장치에 로그인 된 계정이 지정된 정보와 일치하는 경우, 상기 프로세서는 상기 외부 전자 장치가 상기 복수 개의 코드 이미지에 포함되어 있는 특정 정보를 식별할 수 있는 장치임을 판단할 수 있다. 따라서, 상기 전자 장치의 프로세서는 상기 외부 전자 장치로부터 수신한 상기 지정된 신호를 기반으로, 상기 외부 전자 장치가 상기 복수 개의 코드 이미지에 포함된 특정 정보를 획득할 수 있는지 장치인지를 판단할 수 있다.According to an embodiment, the processor may set specific information of information on a plurality of code images included in the code image corresponding to the first order as designated information (eg, dmsdngq). The processor may determine whether the address of the external electronic device that has transmitted the specified signal matches specified information (eg, dmsdngq) based on address information of the external electronic device included in the received specified signal. The specified information may be usage right information for the specific information. According to another embodiment, when it is set as specified information (eg, samsung12) for the specific information in relation to a user account, the processor based on the information about the user included in the received specified signal , it may be determined whether the account logged into the external electronic device matches specified information (eg, samsung12). When the account logged into the external electronic device matches specified 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 may determine whether the external electronic device is capable of acquiring specific information included in the plurality of code images or not, based on the specified 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 converts a code image corresponding to a next sequence of the code image corresponding to the first sequence to a code image including specific information can be displayed as
일 실시 예에 따르면, 상기 프로세서는 외부 전자 장치의 주소(Mac address)와 관련하여 특정 정보에 대한 지정된 정보(예: dmsdngq)로 설정되어 있는 경우, 제1 코드 이미지를 스캔한 외부 전자 장치로부터 지정된 신호를 수신할 수 있다. 상기 지정된 정보는 상기 특정 정보에 대한 사용 권한 정보일 수 있다. 상기 프로세서는 상기 수신한 지정된 신호에 포함된 외부 전자 장치의 주소와 관련하여 지정된 정보와 일치하는지를 확인하여, 상기 외부 전자 장치가 상기 복수 개의 코드 이미지들에 포함된 특정 정보를 획득할 수 있는 장치인지를 판단할 수 있다.According to an embodiment, when the processor is set as specified information (eg, dmsdngq) for specific information in relation to the address of the external electronic device (Mac address), the processor is configured by the external electronic device that has scanned the first code image. signal can be received. The specified information may be usage right information for the specific information. The processor determines whether the external electronic device is a device capable of acquiring specific information included in the plurality of code images by checking whether the external electronic device matches information specified in relation to the address of the external electronic device included in the received specified signal can be judged
상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치임을 판단한 상기 전자 장치의 프로세서는 상기 디스플레이의 지정된 영역에서 표시되고 있는 코드 이미지의 다음 순서에 해당하면서, 특정 정보를 포함하고 있는 코드 이미지를 표시할 수 있다. 다른 실시 예에 따르면, 상기 특정 정보를 포함하고 있는 코드 이미지를 상기 디스플레이에 표시할 때, 상기 특정 정보를 포함하고 있는 코드 이미지의 지정된 영역에 지정된 객체가 포함되도록 할 수 있다.After determining that the external electronic device is a device capable of acquiring specific information, the processor of the electronic device may display a code image including specific information while corresponding to the next sequence of the code image being displayed in the designated area of the display. can According to another embodiment, when the code image including the specific information is displayed 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 that the external electronic device is a device that cannot obtain specific information based on the specified signal received from the external electronic device. In operation 409, the processor of the electronic device, having determined that the external electronic device is a device from which specific information cannot be obtained, may display a code image corresponding to a next order of a code image corresponding to a first order in a designated area. In this case, the code image corresponding to the next order displayed in the designated area may include information excluding specific information.
일 실시 예에 따르면, 상기 프로세서는 사용자 계정(user account)과 관련하여 특정 정보에 대한 지정된 정보(예: samsung12)로 설정되어 있는 경우, 상기 프로세서는 제1 코드 이미지를 스캔한 외부 전자 장치로부터, 지정된 신호를 수신할 수 있다. 상기 지정된 정보는 상기 특정 정보에 대한 사용 권한 정보일 수 있다. 상기 프로세서는 상기 수신한 지정된 신호에 포함된 사용자에 대한 정보를 기반으로, 상기 외부 전자 장치에 로그인 된 계정이 상기 지정된 정보와 일치하는지를 판단할 수 있다. 상기 외부 전자 장치에 로그인 된 계정이 상기 지정된 정보와 일치하는 경우, 상기 프로세서는 상기 외부 전자 장치가 복수 개의 코드 이미지들에 포함된 특정 정보를 식별할 수 없는 장치임을 판단할 수 있다.According to an embodiment, when the processor is set as specified information (eg, samsung12) for specific information in relation to a user account, the processor receives the first code image from the scanned external electronic device, A specified signal can be received. The specified information may be usage right information for the specific information. The processor may determine whether an account logged into the external electronic device matches the specified information based on the information about the user included in the received specified signal. When the account logged into the external electronic device matches the specified 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 코드 이미지의 다음 순서에 해당하면서, 특정 정보를 포함하지 않는 코드 이미지를 상기 디스플레이의 지정된 영역에 표시할 수 있다.After determining that the external electronic device is a device that cannot obtain specific information, the processor of the electronic device may display a code image corresponding to the next sequence of the first code image and not including specific information on the designated area of the display. have.
상술한 바와 같이, 다양한 실시 예에 따르면, 데이터를 제공하는 방법은 데이터의 크기가 지정된 값 이상인 경우, 상기 데이터를 분할하는 동작, 상기 분할된 각각의 데이터에 대응되는 복수 개의 코드 이미지들을 생성하는 동작, 상기 생성된 복수 개의 코드 이미지들의 표시 순서를 지정하는 동작, 상기 복수 개의 코드 이미지들 중 표시 순서가 첫 번째 순서에 해당하는 코드 이미지를 디스플레이(예: 도 1의 표시 장치(160) 또는 도 2의 디스플레이(201))의 지정된 영역에 표시하는 동작 및 통신 모듈(예: 도 1의 통신 모듈(190) 또는 도 2의 통신 모듈(202))을 통해 외부 전자 장치(예: 도 1의 전자 장치(102 또는 104))로부터 지정된 신호를 수신하거나, 상기 첫 번째 순서에 해당하는 코드 이미지에 포함된 정보를 기반으로, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 다음 순서에 해당하는 코드 이미지를 상기 지정된 영역에 표시하는 동작을 포함하고, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 첫 번째 순서에 해당하는 코드 이미지는 상기 복수 개의 코드 이미지들에 정보를 포함할 수 있다.As described above, according to various embodiments of the present disclosure, the method of providing data includes dividing the data when the size of the data is greater than or equal to a specified value, and generating a plurality of code images corresponding to each of the divided data. , an operation of designating a display order of the plurality of generated code images, and displaying a code image corresponding to the first order among the plurality of code images (eg, the display device 160 of FIG. 1 or FIG. 2 ) of an external electronic device (eg, the electronic device of FIG. 1) through an operation and communication module (eg, the communication module 190 of FIG. 1 or the communication module 202 of FIG. (102 or 104)), or based on information included in the code image corresponding to the first order, the code image corresponding to the next order among the plurality of code images and displaying in a designated area, wherein a code image corresponding 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 on the plurality of code images may include at least one of information on use right information for specific information included in the data and information on a communication method for transmitting and receiving the specified signal. .
다양한 실시 예에 따르면, 상기 특정 정보에 대한 사용 권한 정보는, 상기 특정 정보를 획득할 수 있는 상기 외부 전자 장치의 식별 정보 또는 사용자의 식별 정보 중 적어도 하나를 포함할 수 있다.According to various embodiments, the use right information for the specific information may include at least one of identification information of the external electronic device capable of acquiring the specific information or identification information of a user.
다양한 실시 예에 따르면, 상기 복수 개의 코드 이미지들에 대한 정보는, 상기 데이터에 포함된 특정 정보에 대한 인증 정보를 더 포함하고, 상기 특정 정보에 대한 인증 정보는 상기 복수 개의 코드 이미지들에 포함된 상기 특정 정보를 상기 외부 전자 장치가 획득할 수 있는 장치임을 인증하도록 하는 정보를 포함할 수 있다.According to various embodiments, the information about the plurality of code images further includes authentication information for specific information included in the data, and the authentication information for the specific information is included in the plurality of code images. It may include information for authenticating that the specific information is a device that can be obtained by the external electronic device.
다양한 실시 예에 따르면, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 다음 순서에 해당하는 코드 이미지를 상기 지정된 영역에 표시하는 동작은, 상기 수신한 지정된 신호에 포함된 외부 전자 장치에 대한 정보를 기반으로, 상기 외부 전자 장치가 상기 복수 개의 코드 이미지들에 포함된 특정 정보를 식별할 수 있는 장치인지를 판단하는 동작을 더 포함할 수 있다.According to various embodiments, the operation of displaying the code image corresponding to the next order among the plurality of code images in the designated area is based on information on the external electronic device included in the received designated signal. The method may further include determining 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 on the external electronic device may include at least one of address information on a device capable of acquiring the specific information and information on a user account capable of acquiring the specific information. .
다양한 실시 예에 따르면, 상기 데이터를 분할하는 동작은, 상기 데이터에 포함된 정보의 개수, 정보의 종류 및 정보의 크기 중 적어도 하나를 기반으로 상기 데이터를 분할하는 동작을 포함할 수 있다.According to various embodiments, the dividing of the data may include 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 specifying the display order of the plurality of code images to be displayed in the designated area based on the priority of the information included in each of the divided data.
다양한 실시 예에 따르면, 상기 외부 전자 장치로부터 지정된 신호를 수신하면, 상기 복수 개의 코드 이미지들을 상기 지정된 영역에 표시하는 동작은, 상기 지정된 신호의 수신에 응답하여, 상기 지정된 영역에 지정된 이미지를 표시하는 동작 및 상기 지정된 이미지가 표시된 후, 지정된 시간이 경과하면 상기 다음 순서에 해당하는 코드 이미지를 표시하는 동작을 더 포함할 수 있다.According to various embodiments, when a specified signal is received from the external electronic device, the operation of displaying the plurality of code images in the specified area may include displaying the specified image in the specified area in response to the reception of the specified signal. The method may further include an operation of displaying a code image corresponding to the next order when a specified time elapses after the operation and the specified image are displayed.
다양한 실시 예에 따르면, 상기 외부 전자 장치로부터 지정된 신호를 수신하면, 상기 복수 개의 코드 이미지들을 상기 지정된 영역에 표시하는 동작은, 상기 지정된 신호를 기반으로, 상기 외부 전자 장치가 상기 특정 정보를 식별할 수 없는 장치임을 판단하면, 상기 특정 정보를 제외한 정보를 포함하는 코드 이미지들을 상기 표시 순서에 따라 상기 지정된 영역에 순차적으로 표시하는 동작을 더 포함할 수 있다.According to various embodiments, when a specified signal is received from the external electronic device, the operation of displaying the plurality of code images in the specified area may include, based on the specified signal, the external electronic device to identify the specific information. The method may further include sequentially displaying code images including information excluding the specific information in the designated area according to the display order, if it is determined that the device cannot be used.
도 5는 본 발명의 일 실시 예에 따른, 다음 순서에 해당하는 코드 이미지를 표시하는 방법을 설명하기 도면이다.5 is a diagram for explaining a method of displaying a code image corresponding to the following sequence, according to an embodiment of the present invention.
도 5를 참조하면, 501 상태에서 전자 장치(500)(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 상기 전자 장치(500)의 디스플레이(예: 도 2의 디스플레이(201))를 통해 지정된 영역에 복수 개의 코드 이미지들 중 첫 번째 순서에 해당하는 코드 이미지(510)를 표시할 수 있다. 상기 전자 장치(500)의 프로세서는 데이터의 크기가 상기 지정된 값 이상인 경우, 상기 데이터를 분할하여 분할한 데이터에 대응하는 복수 개의 코드 이미지를 생성할 수 있다. 상기 프로세서는 상기 복수 개의 코드 이미지 중 상기 디스플레이의 지정된 영역에 첫 번째 순서로 표시될 코드 이미지(예: 첫 번째 순서에 해당하는 코드 이미지)를 표시할 수 있다. 상기 프로세서가 상기 지정된 영역에 상기 첫 번째 순서에 해당하는 코드 이미지(510)를 표시하는 동안, 외부 전자 장치는 상기 첫 번째 순서로 표시될 코드 이미지를 스캔할 수 있다. 상기 프로세서는 상기 첫 번째 순서에 해당하는 코드 이미지(510)를 스캔한 상기 외부 전자 장치로부터 지정된 신호를 수신할 수 있다. 상기 프로세서는, 상기 지정된 신호에 포함된 외부 전자 장치에 대한 정보를 기반으로, 상기 전자 장치가 특정 정보를 획득할 수 있는 장치인지를 판단할 수 있다.Referring to FIG. 5 , in a state 501 , the processor (eg, the processor 204 of FIG. 2 ) of the electronic device 500 (eg, the electronic device 200 of FIG. 2 ) displays (eg, the display of the electronic device 500 ) : A code image 510 corresponding to a first order among a plurality of code images may be displayed in a designated area through the display 201 of FIG. 2 . When the size of the data is equal to or greater than the specified 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 (eg, a code image corresponding to the first order) to be displayed in a first order on a 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, the external electronic device may scan the code image to be displayed in the first order. The processor may receive a designated signal from the external electronic device that has scanned the code image 510 corresponding to the first order. The processor may determine whether the electronic device is a device capable of acquiring specific information, based on information on the external electronic device included in the designated signal.
일 실시 예에 따르면, 지정된 값이 10kb이고 코드 이미지로 생성할 데이터의 크기가 120kb인 경우, 상기 프로세서는 120kb의 크기를 가지고 있는 상기 데이터를 분할하여, 분할한 데이터와 대응하는 복수 개의 코드 이미지를 생성할 수 있다. 상기 프로세서는 상기 데이터를 상기 복수 개의 코드 이미지로 생성할 때, 상기 데이터에 포함된 적어도 하나의 정보의 개수, 종류(예: 유형) 및 크기(예: 용량) 중 적어도 하나를 기반으로 상기 데이터를 분할할 수 있다. 상기 프로세서는 상기 데이터에 포함된 적어도 하나의 정보의 크기를 기반으로, 상기 120kb의 데이터를 10kb의 데이터를 포함할 수 있는 코드 이미지 12개로 생성할 수 있다. 상기 프로세서는 상기 생성된 12개의 코드 이미지 중 첫 번째 순서로 지정된 영역에 표시될 제1 코드 이미지(예: 도 5의 첫 번째 순서에 해당하는 코드 이미지(510))를 표시할 수 있다. According to an 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 divides the data having a size of 120 kb and generates a plurality of code images corresponding to the divided data. can create When the processor generates the data as the plurality of code images, the data is generated based on at least one of the number, type (eg, type) and size (eg, capacity) of at least one piece of information included in the data. can be divided The processor may generate the 120 kb of data as 12 code images including 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 (eg, the code image 510 corresponding to the first order of FIG. 5 ) to be displayed in a region designated in a first order among the generated 12 code images.
상기 프로세서가 상기 제1 코드 이미지를 상기 지정된 영역에 표시하는 동안, 외부 전자 장치가 상기 지정된 영역에 표시되고 있는 상기 제1 코드 이미지(510)를 스캔(scan)할 수 있다.While the processor displays the first code image on the designated area, the external electronic device may scan the first code image 510 displayed on the designated area.
상기 전자 장치(500)는 상기 제1 코드 이미지에 포함된 통신 방식에 대한 정보를 기반으로, 형성된 통신 채널을 통해 상기 외부 전자 장치로부터 제1 지정된 신호를 수신할 수 있다. The electronic device 500 may receive a first designated signal from the external electronic device through a communication channel formed based on information on 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, the next sequence of the code image 510 corresponding to the first sequence displayed in the designated area A code image 520 corresponding to may be displayed. Thereafter, whenever the processor displaying the next code image 520 receives a specified signal from the external electronic device, the code image 520 currently displayed in the designated area is displayed in the next order of code images. (530 and 540).
일 실시 예에 따르면, 상기 외부 전자 장치로부터 상기 제1 지정된 신호를 수신한 상기 프로세서는 상기 지정된 영역에 표시하고 있던 상기 제1 코드 이미지를 다음 순서에 해당하는 제2 코드 이미지(예: 도 5의 코드 이미지 520)로 표시할 수 있다.According to an embodiment, the processor, having received the first designated signal from the external electronic device, converts the first code image displayed on the designated area to a second code image corresponding to the next sequence (eg, as shown in FIG. 5 ). code image 520).
상기 전자 장치(500)의 프로세서가 상기 외부 전자 장치로부터 제2 지정된 신호를 수신하는 경우, 상기 디스플레이의 지정된 영역에 표시하고 있는 제2 코드 이미지(520)를 다음 순서에 해당하는 제3 코드 이미지(530)로 표시할 수 있다. 또한, 507 상태에서, 상기 전자 장치(500)의 프로세서가 상기 외부 전자 장치로부터 제3 지정된 신호를 수신하는 경우, 상기 디스플레이의 지정된 영역에 표시되고 있는 상기 제3 코드 이미지(530)를 제4 코드 이미지(540)로 표시할 수 있다. 다른 실시 예에 따르면, 프로세서가 외부 전자 장치로부터 지정된 신호를 수신하면, 현재 지정된 영역에 표시되고 있는 코드 이미지를 다음 순서에 해당하는 코드 이미지로 변경하지 않고, 지정된 시간동안 지정된 이미지(예: 광고 이미지)를 표시한 후, 다음 순서에 해당하는 코드 이미지를 표시하도록 할 수 있다.When the processor of the electronic device 500 receives the second designated signal from the external electronic device, the third code image ( 530). Also, 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 on the designated area of the display is converted to a fourth code. An image 540 may be displayed. According to another embodiment, when the processor receives a designated signal from the external electronic device, the code image currently displayed in the designated area is not changed to the code image corresponding to the next sequence, but the designated image (eg, advertisement image) for a designated time period. ), the code image corresponding to the following order can be displayed.
도 6은 본 발명의 일 실시 예에 따른, 수신된 신호를 기반으로 코드 이미지를 표시하는 방법을 설명하기 도면이다.6 is a diagram for explaining a method of displaying a code image based on a received signal according to an embodiment of the present invention.
도 6을 참조하면, 전자 장치(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 데이터의 크기가 지정된 값 이상인 경우, 상기 데이터를 분할할 수 있다. 상기 프로세서는 분할한 데이터와 대응하는 복수 개의 코드 이미지를 생성할 수 있다. 상기 프로세서가 상기 데이터를 분할할 때, 상기 데이터에 포함된 적어도 하나의 정보의 개수에 대한 정보, 종류에 대한 정보 및 크기에 대한 정보 중 적어도 하나를 기기반으로, 상기 데이터를 분할할 수 있다.Referring to FIG. 6 , the processor (eg, the processor 204 of FIG. 2 ) of the electronic device (eg, the electronic device 200 of FIG. 2 ) may split the data when 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 on the number, type, and size of at least one piece of information included in 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 data and generate a plurality of code images 611, 613, 615, 617, and 619 corresponding to the divided data. When the processor generates the plurality of code images, code images 613 and 617 including specific information requiring security among the plurality of code images and code images including information excluding the specific information (615 and 619) can be generated separately. The processor in the code image 611 (eg, the 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 , information on a plurality of code images including information on usage right information and communication method for the specific information may be stored. The processor of the electronic device may display the code image 611 corresponding to the first order among the plurality of generated code images on a designated area of a display (eg, the display 201 of FIG. 2 ).
일 실시 예에 따르면, 상기 프로세서는 데이터에 포함된 적어도 하나의 정보의 개수, 종류 및 크기 중 적어도 하나를 기반으로 상기 데이터를 분할할 수 있다.According to an embodiment, the processor may 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.
상기 프로세서는 상기 데이터가 5개의 정보를 포함하고 있는 경우, 데이터에 포함된 적어도 하나의 정보에 대한 개수를 기반으로, 한 개의 코드 이미지에 한 개의 정보를 저장하여, 총 5개의 코드 이미지(예: 도 6의 611, 613, 615, 617 및 619에 해당하는 코드 이미지들)를 생성할 수 있다. 상기 프로세서는 상기 5개의 코드 이미지를 생성할 때, 특정 정보를 포함하는 코드 이미지들(예: 도 6의 613 및 617에 해당하는 코드 이미지들) 및 특정 정보를 제외한 정보를 포함하는 코드 이미지들(예: 도 6의 615 및 619에 해당하는 코드 이미지들)을 구분하여 생성할 수 있다.When the data includes five pieces of information, the processor stores one piece of information in one code image based on the number of at least one piece of information included in the data, so that a total of five code images (eg: code images corresponding to 611, 613, 615, 617, and 619 of FIG. 6) may be generated. When the processor generates the five code images, code images including specific information (eg, code images corresponding to 613 and 617 in FIG. 6 ) and code images including information excluding specific information ( Example: code images corresponding to 615 and 619 of FIG. 6) may be separately generated.
상기 전자 장치의 프로세서는 상기 복수 개의 코드 이미지들 중 디스플레이의 지정된 영역에 첫 번째 순서로 표시될 제1 코드 이미지(예: 예: 도 6의 코드 이미지(611))를 상기 전자 장치에 포함된 디스플레이(예: 도 2의 디스플레이(201))의 지정된 영역에 표시할 수 있다. 상기 프로세서가 상기 지정된 영역에 상기 디스플레이를 통해 상기 제1 코드 이미지를 표시하고 있는 동안, 외부 전자 장치는 상기 제1 코드 이미지를 스캔할 수 있다. 상기 프로세서는 상기 제1 코드 이미지를 스캔한 상기 외부 전자 장치로부터 제1 지정된 신호를 수신할 수 있다. 상기 제1 지정된 신호는 상기 외부 전자 장치에 대한 정보(예: 외부 전자 장치의 주소 정보 또는 사용자에 대한 정보)를 포함할 수 있다.The processor of the electronic device may display, among the plurality of code images, a first code image (eg, the code image 611 of FIG. 6 ) to be displayed in a first order in a designated area of the display included in the electronic device. (eg, the display 201 of FIG. 2 ) may be displayed in a designated area. While the processor is displaying the first code image through the display in the designated area, the external electronic device may scan the first code image. The processor may receive a first designated signal from the external electronic device that has scanned the first code image. The first designated signal may include information about the external electronic device (eg, 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 may receive a specified signal from the external electronic device that has scanned the code image 631 (eg, the code image 611 of FIG. 6 ) corresponding to the first order. The designated signal may be transmitted by the external electronic device based on information on a plurality of code images included in the code image corresponding to the first order. The information on the plurality of code images may include information on a communication method. Accordingly, the external electronic device that has scanned the code image corresponding to the first order may request the electronic device to establish a communication channel based on information on the communication method. The electronic device may receive a designated signal from the external electronic device through a communication channel formed based on the request. The processor determines whether the external electronic device is a device capable of acquiring code images 633 and 637 (eg, code images 613 and 617 of FIG. 6 ) including specific information, based on the received specified signal. can judge Since the designated signal includes information on the electronic device, the processor of the electronic device may determine whether the external electronic device that has transmitted the designated signal is a device capable of acquiring a code image including 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 acquiring specific information, code images 633 and 637 including the specific information among the plurality of code images in the designated area; Code images 635 and 639 (eg, code images 615 and 619 of FIG. 6 ) including information excluding the specific information may be sequentially displayed in the designated area.
일 실시 예에 따르면, 상기 제1 코드 이미지(예: 도 6의 631에 해당하는 코드 이미지)에 포함된 특정 정보가 외부 전자 장치의 주소(예: Mac address)와 관련하여 지정된 정보(예: 14235463)로 설정되어 있는 경우, 상기 프로세서는 상기 제1 코드 이미지를 스캔한 외부 전자 장치로부터 수신한 제1 지정된 신호를 기반으로, 상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치인지를 식별할 수 있다. 상기 지정된 정보는 상기 특정 정보에 대한 사용 권한 정보일 수 있다. 상기 프로세서는 상기 지정된 신호에 포함된 상기 외부 전자 장치에 대한 지정된 정보를 기반으로, 상기 외부 전자 장치의 주소(예: 외부 전자 장치의 Mac address)와 일치하는지를 판단할 수 있다. 상기 외부 전자 장치의 주소와 관련된 지정된 정보가 상기 외부 전자 장치의 주소와 일치하는 경우, 상기 프로세서는 상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치임을 식별할 수 있다. 또한, 상기 프로세서는 상기 외부 전자 장치로부터 상기 제1 지정된 신호를 수신할 때, 상기 제1 코드 이미지에 포함된 통신 방식에 대한 정보(예: 블루투스로 설정되어 있는 경우)를 기반으로 상기 외부 전자 장치와 통신 채널을 형성할 수 있다. 상기 프로세서는 형성된 통신 채널을 통해 상기 제1 지정된 신호를 수신할 수 있다. According to an embodiment, specific information included in the first code image (eg, the code image corresponding to 631 in FIG. 6 ) is specified information (eg, 14235463) in relation to the address (eg, Mac address) of the external electronic device. ), the processor may identify whether the external electronic device is a device capable of acquiring specific information based on a first designated signal received from the external electronic device that has scanned the first code image. have. The specified information may be usage right information for the specific information. The processor may determine whether the address of the external electronic device (eg, Mac address of the external electronic device) matches the specified information on the external electronic device included in the specified signal. When the specified 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 specific information. In addition, when the processor receives the first designated signal from the external electronic device, the external electronic device is based on information on a communication method included in the first code image (eg, when Bluetooth is set). can establish a communication channel with The processor may receive the first designated signal through the established communication channel.
상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치임을 식별한 상기 전자 장치의 프로세서는 상기 디스플레이의 지정된 영역에 표시되고 있는 첫 번째 순서에 해당하는 제1 코드 이미지의 다음 순서로 특정 정보를 포함하는 제2 코드 이미지(예: 도 6의 코드 이미지 633)를 표시할 수 있다. 상기 프로세서가 상기 제2 코드 이미지를 표시하고 있는 동안, 상기 제2 코드 이미지를 스캔한 상기 외부 전자 장치로부터 블루투스 통신 채널을 통해 제2 지정된 신호를 수신하면, 제2 코드 이미지의 다음 순서에 해당하는 제3 코드 이미지(예: 도 6의 코드 이미지 635)를 지정된 영역에 표시할 수 있다. The processor of the electronic device, which has identified that the external electronic device is a device capable of acquiring specific information, includes specific information in the next order of the first code image corresponding to the first order displayed on the designated area of the display A second code image (eg, code image 633 of FIG. 6 ) may be displayed. If the processor receives a second designated signal through a Bluetooth communication channel from the external electronic device that has scanned the second code image while displaying the second code image, the second code image corresponding to the next sequence A third code image (eg, code image 635 of FIG. 6 ) may be displayed in a 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 including specific information in the designated area (eg: The code image 637 of FIG. 6 may 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 (eg, code image 639 of FIG. 6 ) is displayed in the designated area. can be displayed In another embodiment, when the processor of the electronic device receives the designated signal from the external electronic device, the processor of the electronic device may display designated data (eg, advertisement image) for a predetermined time without displaying a code image corresponding to the next sequence. have.
반면에, 650 상태에서 상기 전자 장치의 프로세서가 상기 외부 전자 장치가 특정 정보를 포함하는 코드 이미지(예: 도 6의 코드 이미지(613 및 617)획득할 수 없는 장치임을 식별한 경우, 상기 지정된 영역에 표시되고 있는 첫 번째 순서에 해당하는 제1 코드 이미지(651)(예: 도 6의 코드 이미지(611))의 다음 순서로 특정 정보를 포함하지 않는 코드 이미지(655)(예: 도 6의 코드 이미지(615))를 표시할 수 있다. 상기 프로세서는 상기 외부 전자 장치가 특정 정보를 획득할 수 없는 장치인 것을 판단했기 때문에, 특정 정보를 포함한 코드 이미지들(예: 도 6의 코드 이미지(613 및 617)을 상기 지정된 영역에 표시하지 않고, 특정 정보를 제외한 정보를 포함하고 있는 코드 이미지들(655 및 659)을 상기 지정된 영역에 표시할 수 있다.On the other hand, in the state 650, when the processor of the electronic device identifies that the external electronic device is a device that cannot acquire code images including specific information (eg, code images 613 and 617 of FIG. 6 ), the designated area A code image 655 that does not include specific information in the following order of the first code image 651 (eg, the code image 611 in FIG. 6 ) corresponding to the first order displayed in (eg, in FIG. 6 ) code image 615) Since the processor determines that the external electronic device is a device that cannot obtain specific information, code images including specific information (eg, the code image ( Code images 655 and 659 including information excluding specific information may be displayed in the designated area without displaying 613 and 617 in the designated area.
일 실시 예에 따르면, 상기 첫 번째 순서에 해당하는 제1 코드 이미지(651)(예: 도 6의 611에 해당하는 코드 이미지)에 포함된 특정 정보가 사용자 계정(user account)과 관련하여 지정된 정보(예: samsung12)로 설정되어 있는 경우, 상기 프로세서는 외부 전자 장치로부터 수신한 제1 지정된 신호에 포함된 사용자에 대한 정보를 기반으로, 상기 외부 전자 장치에 로그인 된 계정이 특정 정보를 획득할 수 있는 계정인지 식별할 수 있다.According to an embodiment, specific information included in the first code image 651 (eg, the code image corresponding to 611 in FIG. 6 ) corresponding to the first order is information specified in relation to a user account (eg, samsung12), the processor allows the account logged into the external electronic device to obtain specific information based on the information about the user included in the first designated signal received from the external electronic device. You can identify whether an account exists.
상기 제1 지정된 신호를 송신한 외부 전자 장치에 로그인 된 계정이 상기 지정된 정보와 일치하지 않는 계정인 경우, 상기 전자 장치의 프로세서는 상기 외부 전자 장치가 특정 정보를 포함하고 있는 코드 이미지들을 획득할 수 없는 장치임을 판단할 수 있다. 상기 외부 전자 장치가 상기 특정 정보를 포함하는 코드 이미지를 획득할 수 없는 장치임을 판단한 상기 프로세서는 상기 첫 번째 순서에 해당하는 제1 코드 이미지(예: 도 6의 코드 이미지(611))를 스캔한 외부 전자 장치로부터 제1 지정된 신호를 수신하는 경우, 특정 정보를 제외한 정보를 포함하는 코드 이미지(예: 도 6의 코드 이미지(615))를 상기 지정된 영역에 제2 코드 이미지로 표시할 수 있다. 상기 프로세서가 블루투스 통신 채널을 통해 상기 외부 전자 장치로부터 제2 지정된 신호를 수신하면, 상기 제2 코드 이미지의 다음 순서인 제3 코드 이미지로 특정 정보를 제외한 정보를 포함하는 코드 이미지(예: 도 6의 코드 이미지(619))를 표시할 수 있다.When the account logged into the external electronic device that has transmitted the first designated signal is an account that does not match the designated information, the processor of the electronic device may acquire code images in which the external electronic device includes specific information It can be determined that the device does not exist. After determining that the external electronic device is a device that cannot obtain the code image including the specific information, the processor scans the first code image (eg, the code image 611 of FIG. 6 ) corresponding to the first order. When receiving the first designated signal from the external electronic device, a code image (eg, the code image 615 of FIG. 6 ) including information excluding specific information may be displayed as a second code image in the designated area. When the processor receives the second designated signal from the external electronic device through the Bluetooth communication channel, a third code image that is the next order of the second code image is a code image including information excluding specific information (eg, FIG. 6 ). A code image 619 of ) can be displayed.
도 7은 본 발명의 일 실시 예에 따른, 수신된 신호를 기반으로 코드 이미지를 표시하는 다른 방법을 설명하기 도면이다.7 is a diagram for explaining another method of displaying a code image based on a received signal, according to an embodiment of the present invention.
도 7을 참조하면, 전자 장치(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 데이터의 크기가 지정된 값 이상인 경우, 상기 데이터를 분할할 수 있다. 상기 프로세서는 분할한 데이터와 대응하는 복수 개의 코드 이미지를 생성할 수 있다. 상기 프로세서가 상기 데이터를 분할할 때, 상기 데이터에 포함된 적어도 하나의 정보의 개수에 대한 정보, 종류에 대한 정보 및 크기에 대한 정보 중 적어도 하나를 기반으로, 상기 데이터를 분할할 수 있다.Referring to FIG. 7 , the processor (eg, the processor 204 of FIG. 2 ) of the electronic device (eg, the electronic device 200 of FIG. 2 ) may divide the data when 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 on the number, type, and size of at least one piece of information included in the data.
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 the processor generates the plurality of code images, code images ( 713 and 717) can be created. However, when the processor generates the code images 713 and 717 including the specific information, it corresponds to the order of the code images including the specific information, but includes default information other than the specific information. Code images 713' and 717' may be generated separately.
상기 프로세서는 상기 생성한 복수 개의 코드 이미지들(711, 713, 713', 715, 717, 717' 및 719) 중 상기 지정된 영역에 첫 번째로 표시될 코드 이미지(예: 첫 번째 순서에 해당하는 코드 이미지)에, 상기 특정 정보에 대한 사용 권한 정보 및 통신 방식에 대한 정보를 포함하고 있는 복수 개의 코드 이미지들에 대한 정보를 저장할 수 있다. 상기 전자 장치의 프로세서는 상기 생성한 복수 개의 코드 이미지들(711, 713, 713', 715, 717, 717' 및 719) 중 상기 첫 번째 순서에 해당하는 코드 이미지(711)를 디스플레이(예: 도 2의 디스플레이(201))의 지정된 영역에 표시할 수 있다.The processor generates a code image (eg, a code 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. image), it is possible to store information on a plurality of code images including usage right information for the specific information and information on a communication method. The processor of the electronic device displays the code image 711 corresponding to the first order among the plurality of generated code images 711, 713, 713', 715, 717, 717', and 719 (eg, in FIG. 2, it can be displayed in a designated area of the display 201).
일 실시 예에 따르면, 상기 프로세서는 데이터에 포함된 적어도 하나의 정보의 개수, 종류 및 크기 중 적어도 하나를 기반으로 상기 데이터를 분할할 수 있다.According to an embodiment, the processor may 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.
상기 프로세서는 상기 데이터가 5개의 정보를 포함하고 있는 경우, 데이터에 포함된 적어도 하나의 정보에 대한 개수를 기반으로, 한 개의 코드 이미지에 한 개의 정보를 저장하여, 총 5개의 코드 이미지(예: 도 7의 711, 713, 715, 717 및 719에 해당하는 코드 이미지들)를 생성할 수 있다. 상기 프로세서는 상기 5개의 코드 이미지를 생성할 때, 특정 정보를 포함하는 코드 이미지들(예: 도 7의 713 및 717에 해당하는 코드 이미지들) 및 특정 정보를 제외한 정보를 포함하는 코드 이미지들(예: 도 7의 715 및 719에 해당하는 코드 이미지들)을 구분하여 생성할 수 있다. 또한, 상기 프로세서는 상기 특정 정보를 포함하는 코드 이미지의 순서와 대응하되, 상기 특정 정보를 제외한 디폴트 정보를 포함하는 코드 이미지들(예: 도 7의 713' 및 717'에 해당하는 코드 이미지들)을 생성하여, 총 7개의 코드 이미지들을 생성할 수 있다.When the data includes five pieces of information, the processor stores one piece of information in one code image based on the number of at least one piece of information included in the data, so that a total of five code images (eg: code images corresponding to 711, 713, 715, 717, and 719 of FIG. 7) may be generated. When the processor generates the five code images, code images including specific information (eg, code images corresponding to 713 and 717 in FIG. 7 ) and code images including information excluding specific information ( Example: code images corresponding to 715 and 719 of FIG. 7) may be separately generated. In addition, the processor corresponds to the order of the code image including the specific information, but includes code images including default information excluding the specific information (eg, code images corresponding to 713' and 717' in FIG. 7) , to generate a total of 7 code images.
상기 전자 장치의 프로세서는 상기 복수 개의 코드 이미지들 중 디스플레이의 지정된 영역에 첫 번째 순서로 표시될 제1 코드 이미지(예: 예: 도 7의 코드 이미지(711))를 상기 전자 장치에 포함된 디스플레이(예: 도 2의 디스플레이(202))의 지정된 영역에 표시할 수 있다. 상기 프로세서가 상기 지정된 영역에 상기 디스플레이를 통해 상기 제1 코드 이미지를 표시하고 있는 동안, 외부 전자 장치는 상기 제1 코드 이미지를 스캔할 수 있다. 상기 프로세서는 상기 외부 전자 장치로부터 제1 지정된 신호를 수신할 수 있다. 상기 제1 지정된 신호는 상기 외부 전자 장치에 대한 정보(예: 외부 전자 장치의 주소 정보 또는 사용자 계정에 대한 정보)를 포함할 수 있다.The processor of the electronic device may display, among the plurality of code images, a first code image (eg, the code image 711 of FIG. 7 ) to be displayed in the first order in a designated area of the display included in the electronic device. (eg, the display 202 of FIG. 2 ) may be displayed in a designated area. While the processor is displaying the first code image through the display in the designated area, the 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 on the external electronic device (eg, address information of the external electronic device or information on a user account).
730 상태에서, 상기 전자 장치의 프로세서는 상기 첫 번째 순서에 해당하는 코드 이미지(731)(예: 도 7의 코드 이미지(711))를 스캔한 상기 외부 전자 장치로부터 지정된 신호를 수신할 수 있다. 상기 프로세서는 수신한 지정된 신호를 기반으로, 상기 외부 전자 장치가 특정 정보를 포함하는 코드 이미지(733 및 737)(예: 도 7의 코드 이미지(713 및 717))를 획득할 수 있는 장치인지를 판단할 수 있다.In state 730, the processor of the electronic device may receive a specified signal from the external electronic device that has scanned the code image 731 (eg, the code image 711 of FIG. 7 ) corresponding to the first order. The processor determines whether the external electronic device is a device capable of acquiring code images 733 and 737 (eg, code images 713 and 717 of FIG. 7 ) including specific information, based on the received specified signal. can judge
상기 전자 장치의 프로세서가 상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치임을 판단하면, 상기 지정된 영역에 상기 복수 개의 코드 이미지들 중 상기 특정 정보를 포함하고 있는 코드 이미지들(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 acquiring specific information, code images 733 and 737 including the specific information among the plurality of code images in the designated area; Code images 735 and 739 (eg, code images 715 and 719 of FIG. 7 ) including information excluding the specific information may be sequentially displayed in the designated area.
일 실시 예에 따르면, 상기 첫 번째 순서에 해당하는 제1 코드 이미지(예: 도 7의 731에 해당하는 코드 이미지)에 포함된 특정 정보에 대한 사용 권한 정보가 외부 전자 장치의 주소(예: Mac address)와 관련하여 지정된 정보(예: 14235463)로 설정되어 있는 경우, 상기 프로세서는 상기 제1 코드 이미지를 스캔한 외부 전자 장치로부터 수신한 제1 지정된 신호를 기반으로, 상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치인지를 식별할 수 있다. 상기 지정된 신호에 포함된 상기 외부 전자 장치의 주소(예: 외부 전자 장치의 Mac address)가 상기 지정된 정보와 일치하는 경우, 상기 프로세서는 상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치임을 식별할 수 있다. 또한, 상기 프로세서는 상기 외부 전자 장치로부터 상기 제1 지정된 신호를 수신할 때, 상기 제1 코드 이미지에 포함된 통신 방식에 대한 정보(예: 와이파이로 설정되어 있는 경우)를 기반으로 형성된 통신 채널을 통해 상기 제1 지정된 신호를 수신할 수 있다. According to an embodiment, the usage right information for specific information included in the first code image corresponding to the first order (eg, the code image corresponding to 731 in FIG. 7 ) is the address of the external electronic device (eg, Mac). address) is set to specified information (eg, 14235463), the processor determines that the specific information It is possible to identify whether the device is capable of obtaining . When the address of the external electronic device included in the specified signal (eg, the Mac address of the external electronic device) matches the specified information, the processor identifies that the external electronic device is a device capable of acquiring specific information. can In addition, when the processor receives the first designated signal from the external electronic device, the processor selects a communication channel formed based on information on a communication method included in the first code image (eg, when set to Wi-Fi). It is possible to receive the first designated signal through.
상기 외부 전자 장치가 특정 정보를 획득할 수 있는 장치임을 식별한 상기 전자 장치의 프로세서는 상기 디스플레이의 지정된 영역에 표시되고 있는 첫 번째 순서에 해당하는 제1 코드 이미지의 다음 순서로 특정 정보를 포함하는 제2 코드 이미지(예: 도 7의 코드 이미지 733)를 표시할 수 있다. 상기 프로세서가 상기 제2 코드 이미지를 표시하고 있는 동안, 상기 제2 코드 이미지를 스캔한 상기 외부 전자 장치로부터 와이파이 통신 채널을 통해 제2 지정된 신호를 수신하면, 제2 코드 이미지의 다음 순서에 해당하는 제3 코드 이미지(예: 도 7의 코드 이미지 735)를 지정된 영역에 표시할 수 있다. The processor of the electronic device, which has identified that the external electronic device is a device capable of acquiring specific information, includes specific information in the next order of the first code image corresponding to the first order displayed on the designated area of the display A second code image (eg, code image 733 of FIG. 7 ) may be displayed. When the processor receives a second designated signal through a Wi-Fi communication channel from the external electronic device that has scanned the second code image while displaying the second code image, the second code image corresponding to the next sequence A third code image (eg, code image 735 of FIG. 7 ) may be displayed in a 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 including specific information in the designated area (eg: The code image 737 of FIG. 7 may 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 (eg, the code image 739 of FIG. 7 ) is displayed in the designated area. can be displayed
반면에, 750 상태에서 상기 전자 장치의 프로세서가 상기 외부 전자 장치가 특정 정보를 포함하는 코드 이미지(예: 도 7의 코드 이미지(713 및 717)획득할 수 없는 장치임을 식별할 수 있다. 상기 프로세서는, 상기 지정된 영역에 표시되고 있는 첫 번째 순서에 해당하는 제1 코드 이미지(751)(예: 도 7의 코드 이미지(711))의 다음 순서로 특정 정보를 포함하는 코드 이미지들(예: 도 7의 코드 이미지(713 및 717)의 순서와 대응하되, 상기 특정 정보가 아닌 디폴트 정보를 포함하는 코드 이미지(755)(예: 도 7의 코드 이미지(715))를 상기 특정 정보를 포함하는 코드 이미지 대신 표시할 수 있다. On the other hand, in state 750 , the processor of the electronic device may identify that the external electronic device is a device that cannot acquire code images including specific information (eg, code images 713 and 717 of FIG. 7 ). , code images (eg, in FIG. Corresponding to the order of the code images 713 and 717 of 7, but including the code image 755 (eg, the code image 715 of FIG. 7 ) including default information other than the specific information, the code including the specific information It can be displayed instead of an image.
상기 프로세서는 상기 외부 전자 장치가 특정 정보를 획득할 수 없는 장치인 것을 판단했기 때문에, 특정 정보를 포함한 코드 이미지들이 표시되는 순서에 특정 정보를 포함한 코드 이미지들이 표시되는 순서에 대응하는 디폴트 정보를 포함하는 코드 이미지들을 상기 지정된 영역에 표시할 수 있다.Since the processor determines that the external electronic device is a device that cannot obtain specific information, the processor includes default information corresponding to the order in which the code images including the specific information are displayed in the order in which the code images including the specific information are displayed code images can be displayed in the designated area.
일 실시 예에 따르면, 상기 첫 번째 순서에 해당하는 제1 코드 이미지(751)(예: 도 7의 711에 해당하는 코드 이미지)에 포함된 특정 정보에 대한 사용 권한 정보가 사용자 계정(user account)과 관련하여 지정된 정보(예: samsung12)로 설정되어 있는 경우, 상기 프로세서는 외부 전자 장치로부터 수신한 제1 지정된 신호에 포함된 사용자에 대한 정보를 기반으로, 상기 외부 전자 장치에 로그인 된 계정이 어떤 계정인지 판단할 수 있다.According to an embodiment, the usage right information for specific information included in the first code image 751 (eg, the code image corresponding to 711 in FIG. 7 ) corresponding to the first order is a user account. If it is set to specified information (eg, samsung12) in relation to , the processor determines 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. You can determine if it is an account.
상기 외부 전자 장치에 로그인 된 계정이 상기 지정된 정보와 일치하지 않는 경우, 상기 전자 장치의 프로세서는 상기 외부 전자 장치가 특정 정보를 포함하고 있는 코드 이미지들을 획득할 수 없는 장치임을 판단할 수 있다. 상기 외부 전자 장치가 상기 특정 정보를 포함하는 코드 이미지를 획득할 수 없는 장치임을 판단한 상기 프로세서는 상기 첫 번째 순서에 해당하는 제1 코드 이미지(예: 도 7의 코드 이미지(711))를 스캔한 외부 전자 장치로부터 제1 지정된 신호를 수신하는 경우, 특정 정보를 포함하는 코드 이미지(753)(예: 도 7의 코드 이미지(715))가 아닌 디폴트 정보를 포함하는 코드 이미지(753')(예: 도 7의 코드 이미지(713'))를 상기 지정된 영역에 제2 코드 이미지로 표시할 수 있다. 상기 프로세서가 와이파이 통신 채널을 통해 상기 외부 전자 장치로부터 제2 지정된 신호를 수신하면, 상기 제2 코드 이미지의 다음 순서인 제3 코드 이미지로 특정 정보를 제외한 정보를 포함하는 코드 이미지(755)(예: 도 7의 코드 이미지(715))를 표시할 수 있다.When the 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 specific information. After determining that the external electronic device is a device that cannot obtain the code image including the specific information, the processor scans the first code image (eg, the code image 711 in FIG. 7 ) corresponding to the first order. When receiving the first designated signal from the external electronic device, the code image 753' including default information, not the code image 753 (eg, the code image 715 in FIG. 7 ) including specific information (eg, the code image 753 ') : The code image 713' of FIG. 7) may be displayed as a second code image in the designated area. When the processor receives the second designated signal from the external electronic device through the Wi-Fi communication channel, a code image 755 including information excluding specific information as a third code image that is the next order of the second code image (eg : Code image 715 of FIG. 7) can be displayed.
이 후, 상기 프로세서가 상기 외부 전자 장치로부터 제3 지정된 신호를 수신하면, 상기 지정된 영역에 표시하고 있는 제3 코드 이미지인 특정 정보를 제외한 정보를 포함하는 코드 이미지(755)를 제4 코드 이미지로 디폴트 정보를 포함하는 코드 이미지(757')(예: 도 7의 코드 이미지(717'))로 표시할 수 있다. 추가적으로, 상기 전자 장치의 프로세서가 상기 외부 전자 장치로부터 제4 지정된 신호를 수신하면, 상기 지정된 영역에 제4 코드 이미지로 표시되고 있는 디폴트 정보를 포함하는 코드 이미지(757')를 제5 코드 이미지인 특정 정보를 제외한 정보를 포함하는 코드 이미지(759)(예: 도 7의 코드 이미지(719))로 상기 지정된 영역에 표시할 수 있다.Thereafter, when the processor receives the third designated signal from the external electronic device, the code image 755 including information excluding specific information, which is the third code image displayed in the designated area, is converted into a fourth code image. It can be displayed as a code image 757' (eg, the code image 717' of FIG. 7) including default information. Additionally, when the processor of the electronic device receives the fourth designated signal from the external electronic device, the code image 757 ′ including default information displayed as the fourth code image in the designated area is the fifth code image. A code image 759 (eg, the code image 719 of FIG. 7 ) including information excluding specific information may be displayed in the designated area.
본 문서에 개시된 다양한 실시 예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of this document is 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 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, "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 "A , B, or C" each may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first", "second" may simply be used to distinguish the element from other elements in question, and may refer to elements in other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is "coupled" or "connected" to another (eg, second) component, with or without the terms "functionally" or "communicatively". When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시 예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.As used herein, the term “module” may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic block, component, or circuit. A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the 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)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.According to various embodiments of the present disclosure, one or more stored in a storage medium (eg, the internal memory 136 or the external memory 138 ) readable by a machine (eg, the electronic device 101 ) It may be implemented as software (eg, program 140) including instructions. For example, the processor (eg, the processor 120 ) of the device (eg, the electronic device 101 ) may call at least one of one or more instructions stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the at least one command called. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term refers to the case where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
일 실시 예에 따르면, 본 문서에 개시된 다양한 실시 예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to an embodiment, the method according to various embodiments disclosed in this document may be provided by being included in a computer program product. Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, online between smartphones (eg: smartphones). In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
다양한 실시 예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시 예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, a module or a program) of the above-described components may include a singular or a plurality of entities. According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, omitted, or , or one or more other operations may be added.

Claims (15)

  1. 전자 장치에 있어서,In an electronic device,
    디스플레이;display;
    통신 모듈;communication module;
    메모리; 및Memory; and
    상기 디스플레이, 상기 통신 모듈, 및 상기 메모리와 전기적으로 연결된 프로세서를 포함하고, 상기 프로세서는:a processor electrically coupled to the display, the communication module, and the memory, the processor comprising:
    데이터의 크기가 지정된 값 이상인 경우, 상기 데이터를 분할하고,If the size of the data is greater than or equal to a specified value, the data is divided,
    상기 분할된 각각의 데이터에 대응되는 복수 개의 코드 이미지들을 생성하고,Generate a plurality of code images corresponding to each of the divided data,
    상기 생성된 복수 개의 코드 이미지들의 표시 순서를 지정하고,Designate the display order of the generated plurality of code images,
    상기 복수 개의 코드 이미지들 중 상기 표시 순서가 첫 번째 순서에 해당하는 코드 이미지를 상기 디스플레이의 지정된 영역에 표시하고,Displaying a code image corresponding to the first order among the plurality of code images in a designated area of the display,
    상기 통신 모듈을 통해 외부 전자 장치로부터 지정된 신호를 수신하거나 상기 첫 번째 순서에 해당하는 코드 이미지에 포함된 정보를 기반으로, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 다음 순서에 해당하는 코드 이미지를 상기 지정된 영역에 표시하고,Receiving a specified signal from an external electronic device through the communication module or based on information included in a code image corresponding to the first order, a code image corresponding to the next order among the plurality of code images marked in the designated area,
    상기 복수 개의 코드 이미지들 중 상기 표시 순서가 첫 번째 순서에 해당하는 코드 이미지는 상기 복수 개의 코드 이미지들에 대한 정보를 포함하는 전자 장치.The code image corresponding to the first order among the plurality of code images includes information on the plurality of code images.
  2. 제1항에 있어서,According to claim 1,
    상기 복수 개의 코드 이미지들에 대한 정보는,Information about the plurality of code images,
    상기 데이터에 포함된 특정 정보에 대한 사용 권한 정보 및 상기 지정된 신호를 송수신하기 위한 통신 방식에 대한 정보 중 적어도 하나를 포함하는 전자 장치.An electronic device comprising at least one of usage right information for specific information included in the data and information on a communication method for transmitting and receiving the specified signal.
  3. 제2항에 있어서,3. The method of claim 2,
    상기 특정 정보에 대한 사용 권한 정보는,The usage right information for the specific information is,
    상기 특정 정보를 획득할 수 있는 상기 외부 전자 장치의 식별 정보 또는 사용자의 식별 정보 중 적어도 하나를 포함하는 전자 장치.An electronic device comprising at least one of identification information of the external electronic device capable of acquiring the specific information and identification information of a user.
  4. 제2항에 있어서,3. The method of claim 2,
    상기 복수 개의 코드 이미지들에 대한 정보는,Information about the plurality of code images,
    상기 데이터에 포함된 특정 정보에 대한 인증 정보를 더 포함하고,Further comprising authentication information for specific information included in the data,
    상기 특정 정보에 대한 인증 정보는,Authentication information for the specific information,
    상기 복수 개의 코드 이미지들에 포함된 상기 특정 정보를 상기 외부 전자 장치가 획득할 수 있는 장치임을 인증하도록 하는 정보를 포함하는 전자 장치.and information for authenticating that the external electronic device can obtain the specific information included in the plurality of code images.
  5. 제1항에 있어서,According to claim 1,
    상기 프로세서는,The processor is
    상기 수신한 지정된 신호에 포함된 외부 전자 장치에 대한 정보를 기반으로, 상기 외부 전자 장치가 상기 복수 개의 코드 이미지들에 포함된 특정 정보를 식별할 수 있는 장치인지를 판단하는 전자 장치. An electronic device for determining whether the external electronic device is a device capable of identifying specific information included in the plurality of code images, based on information on the external electronic device included in the received designated signal.
  6. 제5항에 있어서,6. The method of claim 5,
    상기 외부 전자 장치에 대한 정보는,Information about the external electronic device,
    상기 특정 정보를 획득할 수 있는 장치에 대한 주소 정보 및 상기 특정 정보를 획득할 수 있는 사용자 계정에 대한 정보 중 적어도 하나를 포함하는 전자 장치.An electronic device comprising at least one of address information on a device capable of acquiring the specific information and information on a user account capable of acquiring the specific information.
  7. 제1항에 있어서,According to claim 1,
    상기 프로세서는,The processor is
    상기 데이터에 포함된 정보의 개수, 정보의 종류 및 정보의 크기 중 적어도 하나를 기반으로 상기 데이터를 분할하는 전자 장치.An electronic device for dividing the data based on at least one of a number of information included in the data, a type of information, and a size of the information.
  8. 제7항에 있어서,8. The method of claim 7,
    상기 프로세서는,The processor is
    상기 분할된 데이터 각각에 포함된 정보에 대한 우선 순위를 기반으로, 상기 지정된 영역에 표시할 상기 복수 개의 코드 이미지들에 대한 상기 표시 순서를 지정하는 전자 장치.An electronic device for designating the display order of the plurality of code images to be displayed in the designated area based on the priority of information included in each of the divided data.
  9. 제1항에 있어서,According to claim 1,
    상기 프로세서는,The processor is
    상기 지정된 신호의 수신에 응답하여, 상기 지정된 영역에 지정된 이미지를 표시하고,In response to receiving the designated signal, displaying a designated image in the designated area,
    상기 지정된 이미지가 표시된 후 지정된 시간이 경과하면, 상기 다음 순서에 해당하는 코드 이미지를 표시하는 전자 장치.When a specified time elapses after the specified image is displayed, the electronic device displays a code image corresponding to the next sequence.
  10. 제1항에 있어서,According to claim 1,
    상기 프로세서는,The processor is
    상기 수신한 지정된 신호를 기반으로, 상기 외부 전자 장치가 상기 복수 개의 코드 이미지들에 포함된 특정 정보를 식별할 수 없는 장치임을 판단하면, 상기 특정 정보를 제외한 정보를 포함하는 코드 이미지들을 상기 표시 순서에 따라 상기 지정된 영역에 순차적으로 표시하는 전자 장치.If it is determined based on the received specified signal that the external electronic device is a device that cannot identify specific information included in the plurality of code images, code images including information excluding the specific information are displayed in the display order The electronic device sequentially displays on the designated area according to the
  11. 데이터를 제공하는 방법에 있어서,A method of providing data, comprising:
    데이터의 크기가 지정된 값 이상인 경우, 상기 데이터를 분할하는 동작;dividing the data when the size of the data is greater than or equal to a specified value;
    상기 분할된 각각의 데이터에 대응되는 복수 개의 코드 이미지들을 생성하는 동작;generating a plurality of code images corresponding to each of the divided data;
    상기 생성된 복수 개의 코드 이미지들의 표시 순서를 지정하는 동작;designating a display order of the generated plurality of code images;
    상기 복수 개의 코드 이미지들 중 표시 순서가 첫 번째 순서에 해당하는 코드 이미지를 디스플레이의 지정된 영역에 표시하는 동작; 및displaying a code image corresponding to a first order among the plurality of code images in a designated area of a display; and
    통신 모듈을 통해 외부 전자 장치로부터 지정된 신호를 수신하거나, 상기 첫 번째 순서에 해당하는 코드 이미지에 포함된 정보를 기반으로, 상기 복수 개의 코드 이미지들 중 상기 표시 순서가 다음 순서에 해당하는 코드 이미지를 상기 지정된 영역에 표시하는 동작을 포함하고,Receiving a specified signal from an external electronic device through the communication module, or based on information included in the code image corresponding to the first order, a code image corresponding to the next order among the plurality of code images Including the operation of displaying in the designated area,
    상기 복수 개의 코드 이미지들 중 상기 표시 순서가 첫 번째 순서에 해당하는 코드 이미지는 상기 복수 개의 코드 이미지들에 정보를 포함하는 데이터 제공 방법.The code image corresponding to the first order among the plurality of code images includes information in the plurality of code images.
  12. 제11항에 있어서,12. The method of claim 11,
    상기 복수 개의 코드 이미지들에 대한 정보는,Information about the plurality of code images,
    상기 데이터에 포함된 특정 정보에 대한 사용 권한 정보 및 상기 지정된 신호를 송수신하기 위한 통신 방식에 대한 정보 중 적어도 하나를 포함하고,It includes at least one of usage right information for specific information included in the data and information on a communication method for transmitting and receiving the designated signal,
    상기 특정 정보에 대한 사용 권한 정보는,The usage right information for the specific information is,
    상기 특정 정보를 획득할 수 있는 상기 외부 전자 장치의 식별 정보 또는 사용자의 식별 정보 중 적어도 하나를 포함하는 데이터 제공 방법.The data providing method including at least one of identification information of the external electronic device capable of acquiring the specific information and identification information of a user.
  13. 제12항에 있어서,13. The method of claim 12,
    상기 복수 개의 코드 이미지들에 대한 정보는,Information about the plurality of code images,
    상기 데이터에 포함된 특정 정보에 대한 인증 정보를 더 포함하고,Further comprising authentication information for specific information included in the data,
    상기 특정 정보에 대한 인증 정보는 상기 복수 개의 코드 이미지들에 포함된 상기 특정 정보를 상기 외부 전자 장치가 획득할 수 있는 장치임을 인증하도록 하는 정보를 포함하는 데이터 제공 방법.The authentication information for the specific information includes information for authenticating that the external electronic device is capable of acquiring the specific information included in the plurality of code images.
  14. 제11항에 있어서,12. The method of claim 11,
    상기 복수 개의 코드 이미지들 중 상기 표시 순서가 다음 순서에 해당하는 코드 이미지를 상기 지정된 영역에 표시하는 동작은,The operation of displaying a code image corresponding to the next order among the plurality of code images in the designated area,
    상기 수신한 지정된 신호에 포함된 외부 전자 장치에 대한 정보를 기반으로, 상기 외부 전자 장치가 상기 복수 개의 코드 이미지들에 포함된 특정 정보를 식별할 수 있는 장치인지를 판단하는 동작을 더 포함하고,The method further includes the operation of determining whether the external electronic device is a device capable of identifying specific information included in the plurality of code images, based on the information on the external electronic device included in the received designated signal,
    상기 외부 전자 장치에 대한 정보는,Information about the external electronic device,
    상기 특정 정보를 획득할 수 있는 장치에 대한 주소 정보 및 상기 특정 정보를 획득할 수 있는 사용자 계정에 대한 정보 중 적어도 하나를 포함하는 데이터 제공 방법.A data providing method comprising at least one of address information on a device capable of acquiring the specific information and information on a user account capable of acquiring the specific information.
  15. 제11항에 있어서,12. The method of claim 11,
    상기 외부 전자 장치로부터 지정된 신호를 수신하면, 상기 복수 개의 코드 이미지들을 상기 지정된 영역에 표시하는 동작은,When a designated signal is received from the external electronic device, the operation of displaying the plurality of code images in the designated area includes:
    상기 지정된 신호의 수신에 응답하여, 상기 지정된 영역에 지정된 이미지를 표시하는 동작; 및displaying a designated image in the designated area in response to reception of the designated signal; and
    상기 지정된 이미지가 표시된 후, 지정된 시간이 경과하면 상기 다음 순서에 해당하는 코드 이미지를 표시하는 동작을 더 포함하는 데이터 제공 방법.and displaying a code image corresponding to the next sequence when a specified time elapses after the specified image is displayed.
PCT/KR2021/003996 2020-04-01 2021-03-31 Data providing method and electronic device supporting same WO2021201593A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2021201593A1 true WO2021201593A1 (en) 2021-10-07

Family

ID=77929271

Family Applications (1)

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

Country Status (2)

Country Link
KR (1) KR20210122541A (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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120087284A (en) * 2010-12-27 2012-08-07 서울과학기술대학교 산학협력단 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
JP2015169952A (en) * 2014-03-04 2015-09-28 セイコーエプソン株式会社 Communication system, imaging apparatus, program, and communication method
JP5976240B2 (en) * 2014-01-31 2016-08-23 三菱電機株式会社 Transmission device, reception device, and information processing system
KR20190048139A (en) * 2017-10-30 2019-05-09 한국정보통신주식회사 Method providing escrow service for remittance payment and server thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120087284A (en) * 2010-12-27 2012-08-07 서울과학기술대학교 산학협력단 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
JP5976240B2 (en) * 2014-01-31 2016-08-23 三菱電機株式会社 Transmission device, reception device, and information processing system
JP2015169952A (en) * 2014-03-04 2015-09-28 セイコーエプソン株式会社 Communication system, imaging apparatus, program, and communication method
KR20190048139A (en) * 2017-10-30 2019-05-09 한국정보통신주식회사 Method providing escrow service for remittance payment and server thereof

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2019221451A1 (en) Method and an electronic device connecting plurality of electronic devices to server through hub
WO2019088793A1 (en) Electronic device and screen sharing method using same
WO2020067639A1 (en) Electronic device for pairing with stylus pen and method thereof
WO2021086012A1 (en) Method for transmitting data based on multiple communication schemes and electronic device supporting same
WO2019164079A1 (en) Method for performing biometric authentication according to display of object related to biometric authentication and electronic device therefor
WO2019209075A1 (en) Electronic device and method for controlling external electronic device
WO2020032541A1 (en) Method for processing incoming call and electronic device for supporting the same
WO2019172723A1 (en) Interface connected to image sensor and electronic device comprising interfaces connected among plurality of processors
WO2021230568A1 (en) Electronic device for providing augmented reality service and operating method thereof
WO2019190024A1 (en) Mobile electronic device and method for forwarding user input to application according to input means
WO2021201593A1 (en) Data providing method and electronic device supporting same
WO2021132852A1 (en) Audio data output method and electronic device supporting same
WO2020145653A1 (en) Electronic device and method for recommending image capturing place
WO2020138909A1 (en) Content sharing method and electronic device therefor
WO2019203443A1 (en) Method for pairing devices using near field communication and electronic apparatus using same
WO2020111488A1 (en) Electronic device, server, and operation method for registering iot device
WO2019164204A1 (en) Electronic device and operating method therefor
WO2019107975A1 (en) Electronic device shooting image and method for displaying the image
WO2019172610A1 (en) Electronic device and method for making payment by using audio module
WO2019151667A1 (en) Apparatus and method for transmitting personal information using automatic response system
WO2021101173A1 (en) Electronic device and method for obtaining user identification information of near-field communication apparatus using same
WO2022030943A1 (en) Image segmentation apparatus and method based on deep learning
WO2021145614A1 (en) Electronic device for controlling external electronic device and method thereof
WO2021125875A1 (en) Electronic device for providing image processing service through network
WO2021153962A1 (en) Method and electronic device for processing streaming data

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21782263

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21782263

Country of ref document: EP

Kind code of ref document: A1