WO2022211236A1 - 외부 전자 장치의 ip 주소를 할당하는 전자 장치 및 전자 장치의 동작 방법 - Google Patents

외부 전자 장치의 ip 주소를 할당하는 전자 장치 및 전자 장치의 동작 방법 Download PDF

Info

Publication number
WO2022211236A1
WO2022211236A1 PCT/KR2022/000851 KR2022000851W WO2022211236A1 WO 2022211236 A1 WO2022211236 A1 WO 2022211236A1 KR 2022000851 W KR2022000851 W KR 2022000851W WO 2022211236 A1 WO2022211236 A1 WO 2022211236A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
external electronic
address
identification information
memory
Prior art date
Application number
PCT/KR2022/000851
Other languages
English (en)
French (fr)
Inventor
서성기
박현상
이미림
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to US17/677,220 priority Critical patent/US11949652B2/en
Publication of WO2022211236A1 publication Critical patent/WO2022211236A1/ko

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4552Lookup mechanisms between a plurality of directories; Synchronisation of directories, e.g. metadirectories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/30Types of network names
    • H04L2101/35Types of network names containing special prefixes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses

Definitions

  • Specific embodiments of the present disclosure relate to an electronic device and an operating method of the electronic device, and to an electronic device for allocating an IP address of an external electronic device.
  • the electronic device may exchange data with the external electronic device using an Internet protocol (IP) address assigned to the electronic device.
  • IP Internet protocol
  • the electronic device may transmit or receive data through an IP address allocated through a router connected to the electronic device.
  • the IP address that the router can allocate may include a local address that can be used inside a local network including the electronic device and the router, or a global address that can communicate with entities outside the network.
  • the global address may be designated by a communication service provider and may have a limited number. An entity existing outside the network may directly access the electronic device through a global address.
  • An electronic device capable of allocating an IPv6-based IP address may support a bridge mode (or an IP passthrough mode).
  • a bridge mode an entity outside the network may transmit data directly (or transmit data without going through a router) to an external electronic device connected to the electronic device through a global address.
  • an IP address request message eg, router solicitation message
  • a response message eg, router advertising message
  • the electronic device may transmit all response messages to each of the external electronic devices that have transmitted the IP address request message. When all of the response messages are transmitted to each of the external electronic devices that have transmitted the IP address request message, a situation in which an unauthorized external electronic device may use the bridge mode may occur.
  • An electronic device includes a memory for storing identification information of at least one external electronic device to which an IPv6-based IP address can be assigned; communication circuit; and a processor, wherein the processor receives, from the external electronic device, an IP address request message (router solicitation) including a link local address generated by the external electronic device and identification information of the external electronic device. receiving, checking whether the identification information of the external electronic device included in the IP address request message is stored in the memory, and based on the storage of the identification information of the external electronic device in the memory, The communication circuit may be controlled to transmit a router advertisement including generation-related information to the external electronic device.
  • IP address request message router solicitation
  • an IP address request message including a link local address generated by the external electronic device and identification information of the external electronic device from an external electronic device receiving (router solicitation); checking whether identification information of the external electronic device included in the IP address request message is stored in a memory; and transmitting, to the external electronic device, a router advertisement including information related to generation of the IP address, based on the identification information of the external electronic device being stored in the memory.
  • An electronic device and an operating method of the electronic device determine whether to transmit a response message based on whether identification information of an external electronic device included in an IP address request message is stored in a memory. can decide Accordingly, the electronic device may transmit the response message only to the designated external electronic device and not to transmit the response message to other electronic devices other than the designated external electronic device, so that other electronic devices other than the designated external electronic device use the bridge mode. phenomenon can be prevented.
  • FIG. 1 is a block diagram of an electronic device, according to certain embodiments of the present disclosure.
  • FIG. 2 is a block diagram of a program according to certain embodiments of the present disclosure.
  • FIG. 3 is a block diagram of a network in accordance with certain embodiments of the present disclosure.
  • FIG. 4 is a diagram illustrating an example in which an electronic device allocates IPs of a first external electronic device and an IP of a second external electronic device according to specific embodiments of the present disclosure
  • 5A is a block diagram of an electronic device according to certain embodiments of the present disclosure.
  • FIG. 5B is a diagram illustrating an embodiment in which an electronic device transmits a response message when a bridge mode is deactivated according to specific embodiments of the present disclosure.
  • 5C is a diagram illustrating an embodiment in which an electronic device transmits a response message when a bridge mode is activated, according to specific embodiments of the present disclosure
  • 6A, 6B, and 6C are diagrams illustrating an embodiment of selecting an external electronic device authorized to receive an IP address in an electronic device according to specific embodiments of the present disclosure
  • FIG. 7 is a diagram illustrating an embodiment in which an electronic device allocates IPs of a first external electronic device and an IP of a second external electronic device according to specific embodiments of the present disclosure
  • FIG. 8 is an operation flowchart illustrating a method of operating an electronic device according to specific embodiments of the present disclosure.
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100, according to various embodiments.
  • an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with at least one of the electronic device 104 and 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
  • 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 module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an antenna module 197 .
  • at least one of these components eg, the connection terminal 178
  • some of these components are integrated into one component (eg, display module 160 ). can be
  • the processor 120 for example, executes software (eg, a 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 one 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 stored in , process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 .
  • software eg, a 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 stored in , process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 .
  • the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor).
  • the main processor 121 eg, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor.
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a
  • the secondary processor 123 may, for example, act 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 module 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 coprocessor 123 eg, an image signal processor or a communication processor
  • may be implemented as part of another functionally related component eg, the camera module 180 or the communication module 190 ). have.
  • the auxiliary processor 123 may include a hardware structure specialized for processing an artificial intelligence model.
  • Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 108).
  • the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited
  • the artificial intelligence model may include a plurality of artificial neural network layers.
  • Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example.
  • the artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.
  • 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 module 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 module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
  • the sound output module 155 may output a sound signal to the outside of the electronic device 101 .
  • the sound output module 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.
  • the receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
  • the display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 .
  • the display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device.
  • the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.
  • 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 module 150 , or an external electronic device (eg, a sound output module 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, a 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 .
  • 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 performance 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 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 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 among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a first network 198 eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)
  • a second network 199 eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a telecommunication network
  • 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 electronic device 101 may be identified or authenticated.
  • the wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR).
  • NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • URLLC ultra-reliable and low-latency
  • the wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example.
  • a high frequency band eg, mmWave band
  • the wireless communication module 192 uses various techniques for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna.
  • the wireless communication module 192 may support various requirements defined in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ).
  • the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: Downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) can be supported.
  • a peak data rate eg, 20 Gbps or more
  • loss coverage eg, 164 dB or less
  • U-plane latency for realizing URLLC
  • 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 an 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 (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. 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, a radio frequency integrated circuit (RFIC)
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
  • 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 external electronic devices 102 or 104 may be the same as or different from the electronic device 101 .
  • all or a part of operations executed in the electronic device 101 may be executed in one or more 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.
  • 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, mobile edge computing (MEC), or client-server computing technology may be used.
  • the electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • the external electronic device 104 may include an Internet of things (IoT) device.
  • the server 108 may be an intelligent server using machine learning and/or neural networks.
  • the external electronic device 104 or the server 108 may be included in the second network 199 .
  • the electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • FIG. 2 is a block diagram 200 illustrating a program 140 in accordance with various embodiments.
  • the program 140 executes an operating system 142 for controlling one or more resources of the electronic device 101 , middleware 144 , or an application 146 executable in the operating system 142 .
  • Operating system 142 may include, for example, Android TM , iOS TM , Windows TM , Symbian TM , Tizen TM , or Bada TM .
  • At least some of the programs 140 are, for example, preloaded into the electronic device 101 at the time of manufacture, or an external electronic device (eg, the electronic device 102 or 104 ), or a server (eg, the electronic device 102 or 104 ) when used by a user. 108))) or may be updated.
  • the operating system 142 may control management (eg, allocation or retrieval) of one or more system resources (eg, a process, memory, or power) of the electronic device 101 .
  • the operating system 142 may additionally or alternatively include other hardware devices of the electronic device 101 , for example, the input module 150 , the sound output module 155 , the display module 160 , and the audio module 170 . , 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 It may include one or more driver programs for driving the antenna module 197 .
  • the middleware 144 may provide various functions to the application 146 so that functions or information provided from one or more resources of the electronic device 101 may be used by the application 146 .
  • the middleware 144 includes, for example, an application manager 201 , a window manager 203 , a multimedia manager 205 , a resource manager 207 , a power manager 209 , a database manager 211 , and a package manager 213 . ), a connectivity manager 215 , a notification manager 217 , a location manager 219 , a graphics manager 221 , a security manager 223 , a call manager 225 , or a voice recognition manager 227 .
  • an application manager 201 includes, for example, an application manager 201 , a window manager 203 , a multimedia manager 205 , a resource manager 207 , a power manager 209 , a database manager 211 , and a package manager 213 .
  • a connectivity manager 215 a notification manager 217 , a
  • the application manager 201 may manage the life cycle of the application 146 , for example.
  • the window manager 203 may manage one or more GUI resources used in the screen, for example.
  • the multimedia manager 205 for example, identifies one or more formats required for playback of media files, and encodes or decodes a corresponding media file among the media files using a codec suitable for the selected format. can be done
  • the resource manager 207 may manage the space of the source code of the application 146 or the memory of the memory 130 , for example.
  • the power manager 209 may, for example, manage the capacity, temperature, or power of the battery 189 , and determine or provide related information required for the operation of the electronic device 101 by using the corresponding information. . According to an embodiment, the power manager 209 may interwork with a basic input/output system (BIOS) (not shown) of the electronic device 101 .
  • BIOS basic input/output system
  • the database manager 211 may create, retrieve, or change a database to be used by the application 146 , for example.
  • the package manager 213 may manage installation or update of an application distributed in the form of a package file, for example.
  • the connectivity manager 215 may manage, for example, a wireless connection or a direct connection between the electronic device 101 and an external electronic device.
  • the notification manager 217 may provide, for example, a function for notifying the user of the occurrence of a specified event (eg, an incoming call, a message, or an alarm).
  • the location manager 219 may manage location information of the electronic device 101 , for example.
  • the graphic manager 221 may manage, for example, one or more graphic effects to be provided to a user or a user interface related thereto.
  • Security manager 223 may provide, for example, system security or user authentication.
  • the telephony manager 225 may manage, for example, a voice call function or a video call function provided by the electronic device 101 .
  • the voice recognition manager 227 for example, transmits the user's voice data to the server 108, and based at least in part on the voice data, a command corresponding to a function to be performed in the electronic device 101; Alternatively, the converted text data may be received from the server 108 based at least in part on the voice data.
  • the middleware 244 may dynamically delete some existing components or add new components.
  • at least a portion of the middleware 144 may be included as a part of the operating system 142 or implemented as software separate from the operating system 142 .
  • Application 146 includes, for example, home 251 , dialer 253 , SMS/MMS 255 , instant message (IM) 257 , browser 259 , camera 261 , alarm 263 . , contacts 265, voice recognition 267, email 269, calendar 271, media player 273, album 275, watch 277, health 279 (such as exercise or blood sugar) measuring biometric information), or environmental information 281 (eg, measuring atmospheric pressure, humidity, or temperature information).
  • the application 146 may further include an information exchange application (not shown) capable of supporting information exchange between the electronic device 101 and an external electronic device.
  • the information exchange application may include, for example, a notification relay application configured to transmit specified information (eg, call, message, or alarm) to an external electronic device, or a device management application configured to manage the external electronic device.
  • the notification relay application for example, transmits notification information corresponding to a specified event (eg, mail reception) generated in another application (eg, the email application 269 ) of the electronic device 101 to the external electronic device.
  • the notification relay application may receive notification information from the external electronic device and provide it to the user of the electronic device 101 .
  • the device management application is, for example, a power source (eg, turn-on or turn-off) of an external electronic device that communicates with the electronic device 101 or some components thereof (eg, a display module or a camera module of the external electronic device). ) or a function (eg, brightness, resolution, or focus of the display device 160 or the camera module 180 ).
  • the device management application may additionally or alternatively support installation, deletion, or update of an application operating in an external electronic device.
  • FIG. 3 is a block diagram of a network in accordance with certain embodiments of the present disclosure.
  • the network 300 may include an external server 310 , an electronic device 320 , a first external electronic device 330 , and/or a second external electronic device 340 . have.
  • the electronic device 320 transmits a packet transmitted by the first external electronic device 330 and/or the second external electronic device 340 connected to the electronic device 320 to a designated destination.
  • a path of a packet may be set to be delivered to (eg, an external server 310 ).
  • the electronic device 320 may be various electronic devices capable of serving as a router connecting the network 300 and another network (not shown).
  • the electronic device 320 may perform a series of operations for allocating IP addresses of the first external electronic device 330 and/or the second external electronic device 340 .
  • the first external electronic device 330 and/or the second external electronic device 340 may transmit or receive data with the external server 310 through an IP address assigned through a series of operations with the electronic device 320 .
  • the IP address allocated to the first external electronic device 330 and/or the second external electronic device 340 may be an IPv6-based IP address.
  • a specific embodiment in which the first external electronic device 330 and/or the second external electronic device 340 is assigned an IP address will be described later with reference to FIG. 4 .
  • the first external electronic device 330 and/or the second external electronic device 340 uses a link local address that is an address usable only within the network 300 . generated, and may communicate with the electronic device 320 through the link local address.
  • the first external electronic device 330 and/or the second external electronic device 340 communicate with entities external to the network 300 (eg, external) through an IP address allocated through a series of operations with the electronic device 320 . It can exchange data with the server 310).
  • the first external electronic device 330 and/or the second external electronic device 340 may be used to exchange data with an address usable within the network and with entities outside the network.
  • IP addresses can be stored.
  • the IP address corresponding to the first external electronic device 330 and the IP address corresponding to the second external electronic device 340 may be different from each other.
  • FIG. 4 is a diagram illustrating an example in which an electronic device allocates IPs of a first external electronic device and an IP of a second external electronic device according to specific embodiments of the present disclosure
  • the first external electronic device 330 may transmit an IP address request message to the electronic device 320 in operation 401 .
  • the electronic device 320 uses an IP address that entities outside the network 300 may use to perform data communication to an external electronic device (eg, the first external electronic device 330 ). and/or a bridge mode (or IP passthrough mode) that can be assigned to the second external electronic device 340 may be activated.
  • an external electronic device eg, the first external electronic device 330
  • a bridge mode or IP passthrough mode
  • the first external electronic device 330 before transmitting the IP address request message, the first external electronic device 330 generates a link local address (LLA) and the same link as the generated link local address. An attempt may be made to determine whether another external electronic device using a local address exists.
  • LLA link local address
  • the first external electronic device 330 may transmit an IP address request message including the generated link local address and identification information of the first external electronic device 330 to the electronic device 320 .
  • the identification information of the first external electronic device 330 may include various information for distinguishing the first external electronic device 330 from other electronic devices.
  • the identification information of the first external electronic device 330 may include a media access control (MAC) address of the first external electronic device 330 .
  • MAC media access control
  • the IP address request message transmitted by the first external electronic device 330 may mean a router solicitation (RS) message.
  • RS router solicitation
  • the electronic device 320 may transmit a response message to the first external electronic device 330 .
  • the response message may include information used by the first external electronic device 330 to generate an IP address (eg, a global address) for communication with entities outside the network.
  • the information for generating the IP address may be various information including IPv6 prefix information and/or hop limit.
  • the response message may include identification information of the first external electronic device 330 , identification information of the electronic device 320 , and/or a link local address of the electronic device 320 .
  • the response message may mean a router advertisement (RA) message.
  • RA router advertisement
  • the first external electronic device 330 generates an IP address based on information for generating an IP address included in the response message, and uses the IP address to create a network ( 300) may communicate with external entities.
  • the second external electronic device 340 may transmit an IP address request message to the electronic device 320 in operation 405 .
  • the second external electronic device 340 before transmitting the IP address request message, the second external electronic device 340 generates a link local address (LLA) and is identical to the generated link local address. It may be checked whether another external electronic device using the link local address exists.
  • LSA link local address
  • the second external electronic device 340 may transmit an IP address request message including the generated link local address and identification information of the second external electronic device 340 to the electronic device 320 .
  • the identification information of the second external electronic device 340 may include various information for distinguishing the second external electronic device 340 from other electronic devices.
  • the identification information of the second external electronic device 340 may include a media access control (MAC) address of the second external electronic device 340 .
  • MAC media access control
  • the IP address request message transmitted by the second external electronic device 340 may mean a router solicitation (RS) message.
  • RS router solicitation
  • the electronic device 320 may transmit a response message to the second external electronic device 340 according to the reception of the IP address request message.
  • the response message may include information for the second external electronic device 340 to generate an IP address (eg, a global address) for communication with entities outside the network.
  • the information for generating the IP address may be various information including IPv6 prefix information and/or hop limit.
  • the response message may include identification information of the second external electronic device 340 , identification information of the electronic device 320 , and/or a link local address of the electronic device 320 .
  • the response message may mean a router advertisement (RA) message.
  • RA router advertisement
  • the second external electronic device 340 generates an IP address based on information for generating an IP address included in the response message, and uses the IP address to create a network ( 300) may communicate with external entities.
  • the electronic device 320 may broadcast a response message (eg, an RA message) as a specified condition is satisfied.
  • the specified condition may include a condition related to the renewal of an IP address or a condition in which a specified time expires.
  • the electronic device 320 transmits a response message including information for updating the IP address to the first external electronic device 330 , and in operation 411 , including information for updating the IP address
  • the response message may be transmitted to the second external electronic device 340 .
  • the electronic device 320 includes all electronic devices that have transmitted the IP address request message (eg, the first external electronic device 330 and/or the second external electronic device 340 ). ) to send a response message.
  • the number of external electronic devices that can be connected to the electronic device 320 (eg, the first external electronic device 330 and/or the second external electronic device 340 ) in the electronic device 320 is limited in the bridge mode. can be According to an embodiment, the electronic device 320 transmits a response message to the first external electronic device 330 in a situation where one external electronic device connectable to the electronic device 320 should be set while the bridge mode is activated. ) and the second external electronic device 340 .
  • a situation in which both the first external electronic device 330 and the second external electronic device 340 are connected to the electronic device 320 may occur according to the reception of the response message.
  • the electronic device 320 may occur.
  • A, an embodiment for preventing the phenomenon of being connected to all external electronic devices in the bridge mode will be described.
  • 5A is a block diagram of an electronic device according to certain embodiments of the present disclosure.
  • an electronic device eg, the electronic device 101 of FIG. 1 320 according to certain embodiments of the present disclosure includes a communication circuit (eg, the wireless communication module 192 of FIG. 1 ) ( 510 ), a processor (eg, the processor 120 of FIG. 1 ) 520 , and/or a memory (eg, the memory 130 of FIG. 1 ) 530 .
  • a communication circuit eg, the wireless communication module 192 of FIG. 1
  • a processor eg, the processor 120 of FIG. 1
  • a memory eg, the memory 130 of FIG. 1
  • the communication circuit 510 performs data communication with entities (eg, the external server 300 of FIG. 3 ) external to the network (eg, the network 300 of FIG. 3 ). can be done
  • the communication circuit 510 includes the electronic device 320 and various external electronic devices connected to the electronic device 320 from the communication service provider (eg, the first external electronic device 330 and/or the second external electronic device of FIG. 3 ). 340) may receive an available IP address.
  • the communication circuit 510 is connected to entities within the network 300 (eg, the first external electronic device 330 and/or the second external electronic device 340 ). data can be exchanged.
  • a communication method eg, cellular communication
  • a communication method eg, including Wi-Fi, bluetooth
  • the communication circuit 510 is illustrated as one integrated component, it may be implemented as a plurality of communication circuits according to a communication method.
  • the communication circuit 510 may include a communication circuit supporting cellular communication and a circuit supporting short-range wireless communication.
  • the processor 520 may obtain identification information of an external electronic device that can be assigned an IP address for communication with an entity external to the network 300 .
  • the processor 520 uses an IP address that entities outside the network 300 may use to perform data communication to an external electronic device (eg, the first external electronic device 330 and/or the second A bridge mode (or IP passthrough mode) that can be assigned to the external electronic device 340 may be activated.
  • an external electronic device eg, the first external electronic device 330 and/or the second A bridge mode (or IP passthrough mode) that can be assigned to the external electronic device 340 may be activated.
  • the processor 520 may include external electronic devices connected through the communication circuit 510 (eg, the first external electronic device 330 and/or the second external electronic device 340 of FIG. 3 ). Among them, a user input for selecting at least a part capable of performing the bridge mode may be received, and identification information of the selected external electronic devices may be stored in the memory 530 .
  • the first external electronic device 330 of the first external electronic device 330 and/or the second external electronic device 340 connected to the electronic device 320 is defined as the external electronic device 330 of the network 300 .
  • the second external electronic device 340 cannot be assigned an IP address for communication with an entity external to the network 300 . Assume the device
  • the memory 530 may store identification information of at least one or more external electronic devices to which an IPv6-based IP address can be assigned.
  • the memory 530 may store identification information of the external electronic devices by mapping the link local addresses of the external electronic devices.
  • identification information of the external electronic devices and the link local address of the external electronic device may be stored in the memory 530 in the form of a table.
  • the processor 520 may generate an IP address request message ( router solicitation message) may be received through the communication circuit 510 .
  • the first external electronic device 330 may transmit an IP address request message to the electronic device 320 .
  • the processor 520 responds to the reception of the IP address request message, based on the identification information of the first external electronic device 330 included in the IP address request message, a response message You can decide whether to transmit or not.
  • the processor 520 may check whether identification information of the first external electronic device 330 included in the IP address request message is stored in the memory 530 .
  • the first external electronic device 330 allocates an IP address for communication with an entity external to the network 300 . It may be an electronic device that can receive it.
  • the processor 520 responds including information related to generation of an IP address based on the storage of the identification information of the first external electronic device 330 in the memory 530 .
  • the communication circuit 510 may be controlled to transmit a router advertisement message to the first external electronic device 330 .
  • the response message may include information for the first external electronic device 330 to generate an IP address (eg, a global address) for communication with entities outside the network.
  • the information for generating the IP address may be various information including IPv6 prefix information and/or hop limit.
  • the response message may include identification information of the first external electronic device 330 , identification information of the electronic device 320 , and/or a link local address of the electronic device 320 .
  • the first external electronic device 330 generates an IP address based on information for generating an IP address included in the response message, and uses the IP address to create a network ( 300) may communicate with external entities.
  • the processor 520 receives the IP address request message, and stores the link local address of the first external electronic device 330 included in the IP address request message on the memory 530 . can be saved When a specified condition is satisfied, the processor 520 may transmit a response message to the first external electronic device 330 through the link local address.
  • the specified condition may include a condition related to renewal of an IP address or a condition that a specified time expires.
  • the processor 520 may determine that the specified condition is satisfied and transmit a response message to the first external electronic device 330 through the link local address.
  • the first external electronic device 330 may update the IP address based on information related to generation of the IP address included in the response message.
  • the processor 520 determines that a specified condition is satisfied, and sends a response message through the link local address to the first external server. may be transmitted to the electronic device 330 .
  • the first external electronic device 330 may update the IP address based on information related to generation of the IP address included in the response message.
  • the response message may be transmitted in a unicast format rather than a broadcasting scheme.
  • the processor 520 may generate an IP address request message ( router solicitation message) may be received through the communication circuit 510 .
  • the processor 520 responds to the reception of the IP address request message, based on the identification information of the second external electronic device 340 included in the IP address request message, a response message You can decide whether to transmit or not.
  • the processor 520 may check whether identification information of the second external electronic device 340 included in the IP address request message is stored in the memory 530 .
  • identification information of the second external electronic device 340 is not stored in the memory 530 , the second external electronic device 340 obtains an IP address for communication with an entity external to the network 300 . It may be an electronic device that cannot be assigned.
  • the processor 520 may generate information related to generation of an IP address based on the identification information of the second external electronic device 340 not being stored in the memory 530 .
  • a router advertisement message including the router advertisement message may not be transmitted to the second external electronic device 340 (or transmission of the response message may be omitted).
  • the processor 520 receives the IP address request message transmitted by the second external electronic device 340 based on the fact that the identification information of the second external electronic device 340 is not stored in the memory 530 . may be ignored.
  • the second external electronic device 340 Since the second external electronic device 340 does not receive the response message, it cannot check information related to generation of the IP address, and thus cannot generate an IP address for communication with an entity outside the network 300 . .
  • the electronic device 320 transmits an IP address request message including identification information of an external electronic device stored in the memory 530 among external electronic devices transmitting the IP address request message.
  • An external electronic device that transmits a response message to an external electronic device eg, the first external electronic device 330
  • the response message may not be transmitted to (eg, the second external electronic device 340 ). Accordingly, a phenomenon in which the electronic device 320 is connected to a specified number (eg, one) or more external electronic devices (eg, the first external electronic device 330 and the second external electronic device 340) in the bridge mode. can prevent
  • 5B is a diagram illustrating an embodiment in which an electronic device transmits a response message when a bridge mode is deactivated according to specific embodiments of the present disclosure.
  • the processor may include an IP address allocation unit 540 that allocates an IP address.
  • the IP address allocation unit 540 is configured to assign an IPv4-based IP address and/or an IPv6-based IP address to an external electronic device connected to the electronic device 320 (eg, the first external electronic device 330 of FIG. 3 and/or Alternatively, it may be allocated to the second external electronic device 340 .
  • the IP address allocation unit 540 may allocate an IPv6-based IP address to the first external electronic device 330 and/or the second external electronic device 340 . It may include an RA daemon 541 .
  • the RA daemon 541 receives the IP address request message transmitted by the first external electronic device 330 and/or the second external electronic device 340 and transmits a unicast response message corresponding to the IP address request message. It may include a responder 543 and/or a multicast transmitter 545 that broadcasts a response message in response to detecting that a specified condition is satisfied.
  • the first external electronic device 330 may transmit an IP address request message including the generated link local address and identification information of the first external electronic device 330 to the electronic device 320 .
  • the identification information of the first external electronic device 330 may be used to distinguish the first external electronic device 330 from other electronic devices.
  • the identification information of the first external electronic device 330 may include a media access control (MAC) address of the first external electronic device 330 .
  • MAC media access control
  • the IP address request message transmitted by the first external electronic device 330 may mean a router solicitation (RS) message.
  • RS router solicitation
  • the unicast responder 543 receives the IP address request message transmitted by the first external electronic device 330 and transmits a response message corresponding to the IP address request message to the first external electronic device 330 .
  • the response message may mean a router advertisement (RA) message.
  • RA router advertisement
  • the first external electronic device 330 generates an IP address based on information for generating an IP address included in the response message, and uses the IP address to create a network ( 300) may communicate with external entities.
  • the second external electronic device 340 transmits an IP address request message including a link local address and identification information of the second external electronic device 340 to the electronic device 320 .
  • the identification information of the second external electronic device 340 may be used to distinguish the second external electronic device 340 from other electronic devices.
  • the identification information of the second external electronic device 340 may include a media access control (MAC) address of the second external electronic device 340 .
  • MAC media access control
  • the IP address request message transmitted by the second external electronic device 340 may mean a router solicitation (RS) message.
  • RS router solicitation
  • the unicast responder 543 may transmit a response message to the second external electronic device 340 upon reception of the IP address request message.
  • the multicast responder 545 may broadcast a response message (eg, an RA message) in response to detecting satisfaction of a specified condition.
  • the specified condition may include a condition related to the renewal of an IP address or a condition in which a specified time expires.
  • the multicast responder 545 transmits a response message including information for updating the IP address to the first external electronic device 330, and in operation 411, transmits the response message including information for updating the IP address to the second
  • the data may be transmitted to the external electronic device 340 .
  • the first external electronic device 330 transmits an IP address request message including the generated link local address and identification information of the first external electronic device 330 to the electronic device 320 .
  • the identification information of the first external electronic device 330 may include various information for distinguishing the first external electronic device 330 from other electronic devices.
  • the identification information of the first external electronic device 330 may include a media access control (MAC) address of the first external electronic device 330 .
  • MAC media access control
  • the IP address request message transmitted by the first external electronic device 330 may mean a router solicitation (RS) message.
  • RS router solicitation
  • the unicast responder 543 receives the IP address request message transmitted by the first external electronic device 330 , and the first external electronic device 330 included in the IP address request message ) based on the identification information, it is possible to determine whether to transmit the response message.
  • the unicast responder 543 may check whether identification information of the first external electronic device 330 included in the IP address request message is stored in the memory 530 .
  • the first external electronic device 330 allocates an IP address for communication with an entity external to the network 300 . It may be an electronic device that can receive it.
  • the unicast responder 543 sends a router advertisement message including information related to generation of an IP address based on the identification information of the first external electronic device 330 stored in the memory 530 to the first external device.
  • the communication circuit 510 may be controlled to transmit to the electronic device 330 .
  • the response message may include information used by the first external electronic device 330 to generate an IP address (eg, a global address) for communication with entities outside the network.
  • the information for generating the IP address may be various information including IPv6 prefix information and/or hop limit.
  • the response message may include identification information of the first external electronic device 330 , identification information of the electronic device 320 , and/or a link local address of the electronic device 320 .
  • the first external electronic device 330 generates an IP address based on information for generating an IP address included in the response message, and uses the IP address to create a network ( 300) may communicate with external entities.
  • the unicast responder 543 receives an IP address request message including a link local address generated by the second external electronic device 340 and identification information of the second external electronic device 340 . (router solicitation message) can be received.
  • the unicast responder 543 may determine whether to transmit the response message based on identification information of the second external electronic device 340 included in the IP address request message in response to the reception of the IP address request message.
  • the unicast responder 543 may check whether identification information of the second external electronic device 340 included in the IP address request message is stored in the memory 530 . When identification information of the second external electronic device 340 is not stored in the memory 530 , the second external electronic device 340 obtains an IP address for communication with an entity external to the network 300 . It may be determined as an electronic device that cannot be allocated.
  • the unicast responder 543 determines that the identification information of the second external electronic device 340 is not stored in the memory 530 , and based on the confirmation that the identification information of the second external electronic device 340 is not stored in the memory 530 , a router advertisement including information related to generation of an IP address. message) may not be transmitted to the second external electronic device 340 .
  • the processor 520 may request an IP address transmitted from the second external electronic device 340 based on confirming that the identification information of the second external electronic device 340 is not stored in the memory 530 . You can also ignore the message.
  • the unicast responder 543 receives the IP address request message, and stores the link local address of the first external electronic device 330 included in the IP address request message on the memory 530 . can be stored in The multicast responder 545 may transmit a response message to the first external electronic device 330 through the stored link local address according to the detection of satisfaction of the specified condition. The multicast responder 545 may not transmit the response message to the second external electronic device 340 by using the link local address of the second external electronic device 340 instead of the stored link local address. The second external electronic device 340 may not receive a response message while the bridge mode is activated on the electronic device 320 , and the second external electronic device 340 sets the IP address to the electronic device ( 320) may not be assigned.
  • 6A, 6B, and 6C are diagrams illustrating an embodiment of selecting an external electronic device authorized to receive an IP address in an electronic device according to specific embodiments of the present disclosure
  • the electronic device may further include a display (eg, the display module 160 of FIG. 1 ) capable of displaying various screens.
  • a display eg, the display module 160 of FIG. 1
  • the electronic device 320 may display on the display 160 a user interface 610 for selecting whether to activate the bridge mode (or IP passthrough mode) on the display 160 . have.
  • an external electronic device connected to the electronic device 320 eg, the first external electronic device 320 of FIG. 3
  • the bridge mode an external electronic device connected to the electronic device 320 is not a local link address, but outside the network 300 . It may refer to a mode in which an entity of ' provides an IP address capable of directly communicating with the first external electronic device 330 to the external electronic device.
  • the user interface 610 may include an area 611 indicating whether to activate the bridge mode and an area 612 for receiving a user input regarding whether to activate the bridge mode.
  • the electronic device 320 may perform activation or deactivation of the bridge mode based on the user input to the area 612 capable of receiving the user input.
  • the area 621 capable of receiving a user input may indicate that the bridge mode is deactivated.
  • the electronic device 320 includes external electronic devices connected through the communication circuit 510 (eg, the first external electronic device 330 and/or the second external electronic device 340 of FIG. 3 ). ) may receive a user input for selecting at least some of the , and may store identification information of the selected external electronic devices in the memory 530 .
  • the electronic device 320 selects an IP address for communication with an entity external to the network 300 among external electronic devices connected through the communication circuit 510 according to the activation of the bridge mode.
  • a screen 621 for selecting an electronic device to be allocated may be displayed on the display 160 .
  • the screen 621 may include a list 623 of external electronic devices connected to the electronic device 320 .
  • the screen 621 may be displayed on the user interface 610 in such a way that it is overlaid on other underlying UI layers (eg, the layer shown in the illustrated screen 610 ).
  • the electronic device 320 receives a user input for selecting at least one external electronic device (eg, the first external electronic device 330 ) on the screen 621 , and identifies information on the first external electronic device 330 . may be stored in the memory 530 .
  • the user interface 610 may include an area 611 indicating whether to activate the bridge mode and an area 612 for receiving a user input regarding whether to activate the bridge mode.
  • the area 612 capable of receiving a user input may indicate that the activation of the bridge mode is completed.
  • FIG. 7 is a diagram illustrating an embodiment in which an electronic device allocates IPs of a first external electronic device and an IP of a second external electronic device according to specific embodiments of the present disclosure
  • the first external electronic device may transmit an IP address request message to the electronic device 320 in operation 701 . .
  • the first external electronic device 330 before transmitting the IP address request message, the first external electronic device 330 generates a link local address (LLA) and the same link as the generated link local address. It may be checked whether another external electronic device using a local address exists.
  • LLA link local address
  • the first external electronic device 330 may transmit an IP address request message including the generated link local address and identification information of the first external electronic device 330 to the electronic device 320 .
  • the identification information of the first external electronic device 330 may include various information for distinguishing the first external electronic device 330 from other electronic devices.
  • the identification information of the first external electronic device 330 may include a media access control (MAC) address of the first external electronic device 330 .
  • MAC media access control
  • the IP address request message transmitted by the first external electronic device 330 may mean a router solication (RS) message.
  • RS router solication
  • the electronic device (eg, the electronic device 320 of FIG. 3 ) stores the identification information of the first external electronic device 330 included in the IP address request message in the memory in operation 703 . It can be checked whether the data is stored in (eg, the memory 530 of FIG. 5A ).
  • the memory 530 may store identification information of at least one or more external electronic devices to which an IPv6-based IP address can be assigned.
  • the memory 530 may store identification information of the external electronic devices by mapping the link local addresses of the external electronic devices.
  • identification information of the external electronic devices and the link local address of the external electronic device may be stored in the memory 530 in the form of a table.
  • the electronic device 320 responds based on the identification information of the first external electronic device 330 included in the IP address request message, based on the reception of the IP address request message. You can decide whether to send the message or not.
  • the electronic device 320 may check whether identification information of the first external electronic device 330 included in the IP address request message is stored in the memory 530 .
  • the first external electronic device 330 allocates an IP address for communication with an entity external to the network 300 . It may be an electronic device that can receive it.
  • the electronic device 320 is configured to store the identification information of the first external electronic device 330 included in the IP address request message in the memory 530 .
  • a response message may be transmitted to the first external electronic device 330 .
  • the response message may include information for the first external electronic device 330 to generate an IP address (eg, a global address) for communication with entities outside the network.
  • the information for generating the IP address may be various information including IPv6 prefix information and/or hop limit.
  • the response message may include identification information of the first external electronic device 330 , identification information of the electronic device 320 , and/or a link local address of the electronic device 320 .
  • the first external electronic device 330 generates an IP address based on information for generating an IP address included in the response message, and uses the IP address to create a network ( 300) may communicate with external entities.
  • the second external electronic device may transmit an IP address request message to the electronic device 320 in operation 707 . .
  • the second external electronic device 340 before transmitting the IP address request message, the second external electronic device 340 generates a link local address (LLA) and the same link as the generated link local address. It may be checked whether another external electronic device using a local address exists.
  • LLA link local address
  • the second external electronic device 340 may transmit an IP address request message including the generated link local address and identification information of the second external electronic device 340 to the electronic device 320 .
  • the identification information of the second external electronic device 340 may include various information for distinguishing the second external electronic device 340 from other electronic devices.
  • the identification information of the second external electronic device 340 may include a media access control (MAC) address of the second external electronic device 340 .
  • MAC media access control
  • the IP address request message transmitted by the second external electronic device 340 may mean a router solication (RS) message.
  • RS router solication
  • the electronic device 320 may determine whether identification information of the second external electronic device 340 is stored in the memory 530 .
  • the electronic device 320 responds based on the identification information of the second external electronic device 340 included in the IP address request message, based on the reception of the IP address request message. You can decide whether to send the message or not.
  • the electronic device 320 may check whether identification information of the second external electronic device 340 included in the IP address request message is stored in the memory 530 . When identification information of the second external electronic device 340 is not stored in the memory 530 , the second external electronic device 340 obtains an IP address for communication with an entity external to the network 300 . It may be an electronic device that cannot be assigned.
  • the electronic device 320 provides information related to generation of an IP address based on the identification information of the second external electronic device 340 not being stored in the memory 530 . may not transmit a router advertisement message including Alternatively, the electronic device 320 transmits the IP address request message from the second external electronic device 340 based on the fact that the identification information of the second external electronic device 340 is not stored in the memory 530 . may be ignored.
  • the second external electronic device 340 Since the second external electronic device 340 does not receive the response message, it cannot check information related to generation of the IP address, and thus cannot generate an IP address for communication with an entity outside the network 300 . .
  • the electronic device 320 uses local address information of the first external electronic device 330 stored in the memory 530 .
  • the response message may be transmitted to the first external electronic device 330 .
  • the electronic device 320 receives the IP address request message, and stores the link local address of the first external electronic device 330 included in the IP address request message on the memory 530 . can be stored in The electronic device 320 may transmit a response message to the first external electronic device 330 through the link local address as a specified condition is satisfied.
  • the specified condition may include a condition related to renewal of an IP address or a condition that a specified time expires.
  • the electronic device 320 determines that the specified condition is satisfied, and transmits a response message to the first external electronic device 330 through the link local address.
  • the first external electronic device 330 may update the IP address based on information related to generation of the IP address included in the response message.
  • the electronic device 320 determines that a specified condition is satisfied, and sends a first response message through the link local address. It may transmit to the external electronic device 330 .
  • the first external electronic device 330 may update the IP address based on information related to generation of the IP address included in the response message.
  • the response message may be transmitted in a unicast format rather than a broadcasting scheme.
  • An electronic device includes a memory for storing identification information of at least one external electronic device to which an IPv6-based IP address can be assigned; communication circuit; and a processor, wherein the processor receives, from the external electronic device, an IP address request message (router solicitation) including a link local address generated by the external electronic device and identification information of the external electronic device. receiving, checking whether the identification information of the external electronic device included in the IP address request message is stored in the memory, and based on the storage of the identification information of the external electronic device in the memory, The communication circuit may be controlled to transmit a router advertisement including generation-related information to the external electronic device.
  • IP address request message router solicitation
  • the processor may not transmit the response message to the external electronic device based on that the identification information of the external electronic device is not stored in the memory.
  • the processor may ignore the IP address request message based on the fact that the identification information of the external electronic device is not stored in the memory.
  • the processor stores the link request address included in the IP address request message in the memory, and transmits the link request message to the response message based on satisfying a specified condition
  • the communication circuit may be controlled to transmit to the external electronic device through an address.
  • the processor may control the communication circuit to transmit the response message to the external electronic device in a unicast manner.
  • the specified condition may include a condition related to the renewal of the IP address.
  • the IP address request message may include information indicating that the IP passthrough mode is activated.
  • the memory may be configured to store identification information of an external electronic device authorized to be assigned the IPv6-based IP address.
  • the IP address request message may include a message for requesting an IPv6-based IP address.
  • the identification information of the external electronic device may include a media access control (MAC) address of the external electronic device.
  • MAC media access control
  • FIG. 8 is an operation flowchart illustrating a method of operating an electronic device according to specific embodiments of the present disclosure.
  • the electronic device performs the external electronic device (eg, the first external electronic device 330 and/or the first external electronic device 330 of FIG. 3 ).
  • An IP address request message including a link local address and identification information of the external electronic device may be received from the second external electronic device 340 .
  • the first external electronic device 330 may transmit an IP address request message including the generated link local address and identification information of the first external electronic device 330 to the electronic device 320 .
  • the identification information of the first external electronic device 330 may include various information for distinguishing the first external electronic device 330 from other electronic devices.
  • the identification information of the first external electronic device 330 may include a media access control (MAC) address of the first external electronic device 330 .
  • MAC media access control
  • the IP address request message transmitted by the first external electronic device 330 may mean a router solicitation (RS) message.
  • RS router solicitation
  • the electronic device 320 stores identification information of the external electronic device included in the IP address request message in a memory (eg, the memory 530 of FIG. 5A ). You can check whether it has been
  • the memory 530 may store identification information of at least one or more external electronic devices to which an IPv6-based IP address can be assigned.
  • the memory 530 may store identification information of the external electronic devices by mapping the link local addresses of the external electronic devices.
  • identification information of the external electronic devices and the link local address of the external electronic device may be stored in the memory 530 in the form of a table.
  • the electronic device 320 transmits a response message based on identification information of the external electronic device included in the IP address request message.
  • the electronic device 320 may check whether identification information of the external electronic device included in the IP address request message is stored in the memory 530 .
  • the external electronic device may be an electronic device that can be assigned an IP address for communication with an entity external to the network 300 .
  • the external electronic device may be an electronic device that cannot be assigned an IP address for communication with an entity external to the network 300 .
  • the electronic device 320 stores identification information of the external electronic device included in the IP address request message in the memory 530 (operation 820-Y). Based on , a response message including information related to generation of an IP address may be transmitted to an external electronic device (eg, the first external electronic device 330 of FIG. 3 ).
  • the response message may include information for the first external electronic device 330 to generate an IP address (eg, a global address) for communication with entities outside the network.
  • the information for generating the IP address may be various information including IPv6 prefix information and/or hop limit.
  • the response message may include identification information of the first external electronic device 330 , identification information of the electronic device 320 , and/or a link local address of the electronic device 320 .
  • the first external electronic device 330 generates an IP address based on information for generating an IP address included in the response message, and uses the IP address to create a network ( 300) may communicate with external entities.
  • the electronic device 320 does not store identification information of the external electronic device included in the IP address request message in the memory 530 (operation 820 -N) ), the IP address request message can be ignored.
  • the electronic device 320 may generate a response message including information related to generation of an IP address based on the identification information of the external electronic device not being stored in the memory 530 . (router advertisement message) may not be transmitted to the external electronic device. Alternatively, the electronic device 320 may ignore the IP address request message transmitted by the second external electronic device 340 based on the fact that identification information of the external electronic device is not stored in the memory 530 .
  • the second external electronic device 340 Since the second external electronic device 340 does not receive the response message, it cannot check information related to generation of the IP address, and thus cannot generate an IP address for communication with an entity outside the network 300 . .
  • an IP address request message including a link local address generated by the external electronic device and identification information of the external electronic device from an external electronic device receiving (router solicitation); checking whether identification information of the external electronic device included in the IP address request message is stored in a memory; and transmitting, to the external electronic device, a router advertisement including information related to generation of the IP address, based on the identification information of the external electronic device being stored in the memory.
  • the method of operating an electronic device may further include not transmitting the response message to the external electronic device based on the identification information of the external electronic device not being stored in the memory.
  • the method of operating an electronic device may further include ignoring the IP address request message based on that the identification information of the external electronic device is not stored in the memory.
  • a method of operating an electronic device may include: storing the link request address included in the IP address request message in the memory; The method may further include transmitting the response message to the external electronic device through the link request address based on satisfaction of a specified condition.
  • the method of operating an electronic device may further include transmitting the response message to the external electronic device in a unicast manner.
  • the specified condition may include a condition related to the renewal of the IP address.
  • the IP address request message may include information indicating that the IP passthrough mode is activated.
  • the method of operating an electronic device may further include storing identification information of an external electronic device authorized to receive the IPv6-based IP address allocation in the memory.
  • the IP address request message may include a message for requesting an IPv6-based IP address.
  • the identification information of the external electronic device may include a media access control (MAC) address of the external electronic device.
  • MAC media access control
  • the electronic device may have various types of devices.
  • 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 wearable device e.g., a smart bracelet
  • a home appliance device e.g., a home appliance
  • first, second, or first or second may simply be used to distinguish an element from other elements in question, and may refer elements to 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 used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable 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
  • Various embodiments of the present document include one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101).
  • a storage medium eg, internal memory 136 or external memory 138
  • the processor eg, the processor 120
  • the device eg, the electronic device 101
  • 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 is used in cases 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 in a computer program product (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 StoreTM) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, online between smartphones (eg: smartphones).
  • a portion 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, and some of the plurality of entities may be separately disposed in other components. have.
  • 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, or omitted. , or one or more other operations may be added.

Landscapes

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

Abstract

다양한 실시예에 따른 전자 장치 및 전자 장치의 동작 방법에서, 전자 장치는 IPv6 기반의 IP 주소를 할당할 수 있는 적어도 하나 이상의 외부 전자 장치의 식별 정보를 저장하는 메모리; 통신 회로; 및 프로세서를 포함하고, 상기 프로세서는 상기 외부 전자 장치로부터, 상기 외부 전자 장치가 생성한 링크 로컬 주소(link local address) 및 상기 외부 전자 장치의 식별 정보를 포함하는 IP 주소 요청 메시지(router solicitation)를 수신하고, 상기 IP 주소 요청 메시지에 포함된 상기 외부 전자 장치의 식별 정보가 상기 메모리에 저장되어 있는지 여부를 확인하고, 상기 외부 전자 장치의 식별 정보가 상기 메모리에 저장됨에 기반하여, 상기 IP 주소의 생성과 관련된 정보를 포함하는 응답 메시지(router advertisement)를 상기 외부 전자 장치로 전송하도록 상기 통신 회로를 제어할 수 있다. 이 밖에 다양한 실시예들이 가능하다.

Description

외부 전자 장치의 IP 주소를 할당하는 전자 장치 및 전자 장치의 동작 방법
본 개시의 특정 실시예들은, 전자 장치 및 전자 장치의 동작 방법에 관한 것으로, 외부 전자 장치의 IP 주소를 할당하는 전자 장치에 관한 것이다.
전자 장치는 외부 전자 장치와 데이터를 교환함에 있어, 전자 장치에 할당된 IP(internet protocol) 주소를 이용하여 외부 전자 장치와 데이터를 교환할 수 있다. 전자 장치가, 근거리 무선 통신을 통해, 데이터를 전송하거나, 수신하는 경우, 전자 장치와 연결된 라우터(router)를 통해 할당 받은 IP 주소를 통해, 데이터를 전송하거나, 수신할 수 있다.
라우터가 할당할 수 있는 IP 주소는, 전자 장치 및 라우터를 포함하는 로컬 네트워크 내부에서 사용 가능한 로컬 주소 또는 네트워크의 외부의 엔티티들과 통신할 수 있는 글로벌 주소를 포함할 수 있다. 글로벌 주소는, 통신 사업자로부터 지정될 수 있으며, 한정된 개수를 가질 수 있다. 네트워크의 외부에 존재하는 엔티티는, 글로벌 주소를 통해, 전자 장치로 직접 접속을 수행할 수 있다.
IPv6 기반의 IP 주소를 할당할 수 있는 전자 장치(예: 라우터)는, 브릿지 모드(또는, IP passthrough mode)를 지원할 수 있다. 브릿지 모드에서, 네트워크 외부의 엔티티는 글로벌 주소를 통해 전자 장치와 연결된 외부 전자 장치로 데이터를 직접 전송(또는, 라우터를 통하지 않고 데이터를 전송)할 수 있다. 외부 전자 장치로부터, IP 주소 요청 메시지(예: router solicitation message)를 수신하고, IP 주소의 생성을 위한 정보를 포함하는 응답 메시지(예: router advertising message)를 전송할 수 있다. 전자 장치는, IP 주소 요청 메시지를 전송한 외부 전자 장치들 각각에 응답 메시지를 모두 전송할 수 있다. IP 주소 요청 메시지를 전송한 외부 전자 장치들 각각에 응답 메시지를 모두 전송하는 경우, 권한이 없는 외부 전자 장치도, 브릿지 모드를 사용할 수 있는 상황이 발생할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치는 IPv6 기반의 IP 주소를 할당할 수 있는 적어도 하나 이상의 외부 전자 장치의 식별 정보를 저장하는 메모리; 통신 회로; 및 프로세서를 포함하고, 상기 프로세서는 상기 외부 전자 장치로부터, 상기 외부 전자 장치가 생성한 링크 로컬 주소(link local address) 및 상기 외부 전자 장치의 식별 정보를 포함하는 IP 주소 요청 메시지(router solicitation)를 수신하고, 상기 IP 주소 요청 메시지에 포함된 상기 외부 전자 장치의 식별 정보가 상기 메모리에 저장되어 있는지 여부를 확인하고, 상기 외부 전자 장치의 식별 정보가 상기 메모리에 저장됨에 기반하여, 상기 IP 주소의 생성과 관련된 정보를 포함하는 응답 메시지(router advertisement)를 상기 외부 전자 장치로 전송하도록 상기 통신 회로를 제어할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치의 동작 방법은 외부 전자 장치로부터, 상기 외부 전자 장치가 생성한 링크 로컬 주소(link local address) 및 상기 외부 전자 장치의 식별 정보를 포함하는 IP 주소 요청 메시지(router solicitation)를 수신하는 동작; 상기 IP 주소 요청 메시지에 포함된 상기 외부 전자 장치의 식별 정보가 메모리에 저장되어 있는지 여부를 확인하는 동작; 상기 외부 전자 장치의 식별 정보가 상기 메모리에 저장됨에 기반하여, 상기 IP 주소의 생성과 관련된 정보를 포함하는 응답 메시지(router advertisement)를 상기 외부 전자 장치로 전송하는 동작을 포함할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치 및 전자 장치의 동작 방법은, IP 주소 요청 메시지에 포함된 외부 전자 장치의 식별 정보가 메모리 상에 저장되어 있는지 여부에 기반하여, 응답 메시지의 전송 여부를 결정할 수 있다. 따라서, 전자 장치는, 지정된 외부 전자 장치만 응답 메시지를 전송하고, 지정된 외부 전자 장치 이외의 다른 전자 장치로 응답 메시지를 전송하지 않을 수 있어, 지정된 외부 전자 장치 이외의 다른 전자 장치가 브릿지 모드를 사용하는 현상을 방지할 수 있다.
도 1은 본 개시의 특정 실시예들에 따른, 전자 장치의 블록도이다.
도 2는 본 개시의 특정 실시예들에 따른 프로그램의 블록도이다.
도 3은 본 개시의 특정 실시예들에 따른 네트워크의 블록도이다.
도 4는 본 개시의 특정 실시예들에 따른 전자 장치가 제 1 외부 전자 장치, 제 2 외부 전자 장치의 IP를 할당하는 실시예를 도시한 도면이다.
도 5a는 본 개시의 특정 실시예들에 따른 전자 장치의 블록도이다.
도 5b는 본 개시의 특정 실시예들에 따른 전자 장치가, 브릿지 모드가 비활성화된 경우, 응답 메시지를 전송하는 실시예를 도시한 도면이다.
도 5c는 본 개시의 특정 실시예들에 따른 전자 장치가, 브릿지 모드가 활성화된 경우, 응답 메시지를 전송하는 실시예를 도시한 도면이다.
도 6a, 도 6b 및 도 6c는 본 개시의 특정 실시예들에 따른 전자 장치에서, IP 주소를 할당 받을 권한이 있는 외부 전자 장치를 선택하는 실시예를 도시한 도면이다.
도 7은 본 개시의 특정 실시예들에 따른 전자 장치가 제 1 외부 전자 장치, 제 2 외부 전자 장치의 IP를 할당하는 실시예를 도시한 도면이다.
도 8은 본 개시의 특정 실시예들에 따른 전자 장치의 동작 방법을 도시한 동작 흐름도이다.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.
도 2은 다양한 실시예에 따른 프로그램(140)을 예시하는 블록도(200)이다. 일실시예에 따르면, 프로그램(140)은 전자 장치(101)의 하나 이상의 리소스들을 제어하기 위한 운영 체제(142), 미들웨어(144), 또는 상기 운영 체제(142)에서 실행 가능한 어플리케이션(146)을 포함할 수 있다. 운영 체제(142)는, 예를 들면, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, 또는 BadaTM를 포함할 수 있다. 프로그램(140) 중 적어도 일부 프로그램은, 예를 들면, 제조 시에 전자 장치(101)에 프리로드되거나, 또는 사용자에 의해 사용 시 외부 전자 장치(예: 전자 장치(102 또는 104), 또는 서버(108))로부터 다운로드되거나 갱신 될 수 있다.
운영 체제(142)는 전자 장치(101)의 하나 이상의 시스템 리소스들(예: 프로세스, 메모리, 또는 전원)의 관리(예: 할당 또는 회수)를 제어할 수 있다. 운영 체제(142)는, 추가적으로 또는 대체적으로, 전자 장치(101)의 다른 하드웨어 디바이스, 예를 들면, 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 구동하기 위한 하나 이상의 드라이버 프로그램들을 포함할 수 있다.
미들웨어(144)는 전자 장치(101)의 하나 이상의 리소스들로부터 제공되는 기능 또는 정보가 어플리케이션(146)에 의해 사용될 수 있도록 다양한 기능들을 어플리케이션(146)으로 제공할 수 있다. 미들웨어(144)는, 예를 들면, 어플리케이션 매니저(201), 윈도우 매니저(203), 멀티미디어 매니저(205), 리소스 매니저(207), 파워 매니저(209), 데이터베이스 매니저(211), 패키지 매니저(213), 커넥티비티 매니저(215), 노티피케이션 매니저(217), 로케이션 매니저(219), 그래픽 매니저(221), 시큐리티 매니저(223), 통화 매니저(225), 또는 음성 인식 매니저(227)를 포함할 수 있다.
어플리케이션 매니저(201)는, 예를 들면, 어플리케이션(146)의 생명 주기를 관리할 수 있다. 윈도우 매니저(203)는, 예를 들면, 화면에서 사용되는 하나 이상의 GUI 자원들을 관리할 수 있다. 멀티미디어 매니저(205)는, 예를 들면, 미디어 파일들의 재생에 필요한 하나 이상의 포맷들을 파악하고, 그 중 선택된 해당하는 포맷에 맞는 코덱을 이용하여 상기 미디어 파일들 중 해당하는 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(207)는, 예를 들면, 어플리케이션(146)의 소스 코드 또는 메모리(130)의 메모리의 공간을 관리할 수 있다. 파워 매니저(209)는, 예를 들면, 배터리(189)의 용량, 온도 또는 전원을 관리하고, 이 중 해당 정보를 이용하여 전자 장치(101)의 동작에 필요한 관련 정보를 결정 또는 제공할 수 있다. 일실시예에 따르면, 파워 매니저(209)는 전자 장치(101)의 바이오스(BIOS: basic input/output system)(미도시)와 연동할 수 있다.
데이터베이스 매니저(211)는, 예를 들면, 어플리케이션(146)에 의해 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(213)는, 예를 들면, 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다. 커넥티비티 매니저(215)는, 예를 들면, 전자 장치(101)와 외부 전자 장치 간의 무선 연결 또는 직접 연결을 관리할 수 있다. 노티피케이션 매니저(217)는, 예를 들면, 지정된 이벤트(예: 착신 통화, 메시지, 또는 알람)의 발생을 사용자에게 알리기 위한 기능을 제공할 수 있다. 로케이션 매니저(219)는, 예를 들면, 전자 장치(101)의 위치 정보를 관리할 수 있다. 그래픽 매니저(221)는, 예를 들면, 사용자에게 제공될 하나 이상의 그래픽 효과들 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다.
시큐리티 매니저(223)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. 통화(telephony) 매니저(225)는, 예를 들면, 전자 장치(101)에 의해 제공되는 음성 통화 기능 또는 영상 통화 기능을 관리할 수 있다. 음성 인식 매니저(227)는, 예를 들면, 사용자의 음성 데이터를 서버(108)로 전송하고, 그 음성 데이터에 적어도 일부 기반하여 전자 장치(101)에서 수행될 기능에 대응하는 명령어(command), 또는 그 음성 데이터에 적어도 일부 기반하여 변환된 문자 데이터를 서버(108)로부터 수신할 수 있다. 일 실시예에 따르면, 미들웨어(244)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. 일 실시예에 따르면, 미들웨어(144)의 적어도 일부는 운영 체제(142)의 일부로 포함되거나, 또는 운영 체제(142)와는 다른 별도의 소프트웨어로 구현될 수 있다.
어플리케이션(146)은, 예를 들면, 홈(251), 다이얼러(253), SMS/MMS(255), IM(instant message)(257), 브라우저(259), 카메라(261), 알람(263), 컨택트(265), 음성 인식(267), 이메일(269), 달력(271), 미디어 플레이어(273), 앨범(275), 와치(277), 헬스(279)(예: 운동량 또는 혈당과 같은 생체 정보를 측정), 또는 환경 정보(281)(예: 기압, 습도, 또는 온도 정보 측정) 어플리케이션을 포함할 수 있다. 일실시예에 따르면, 어플리케이션(146)은 전자 장치(101)와 외부 전자 장치 사이의 정보 교환을 지원할 수 있는 정보 교환 어플리케이션(미도시)을 더 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치로 지정된 정보 (예: 통화, 메시지, 또는 알람)를 전달하도록 설정된 노티피케이션 릴레이 어플리케이션, 또는 외부 전자 장치를 관리하도록 설정된 장치 관리 어플리케이션을 포함할 수 있다. 노티피케이션 릴레이 어플리케이션은, 예를 들면, 전자 장치(101)의 다른 어플리케이션(예: 이메일 어플리케이션(269))에서 발생된 지정된 이벤트(예: 메일 수신)에 대응하는 알림 정보를 외부 전자 장치로 전달할 수 있다. 추가적으로 또는 대체적으로, 노티피케이션 릴레이 어플리케이션은 외부 전자 장치로부터 알림 정보를 수신하여 전자 장치(101)의 사용자에게 제공할 수 있다.
장치 관리 어플리케이션은, 예를 들면, 전자 장치(101)와 통신하는 외부 전자 장치 또는 그 일부 구성 요소(예: 외부 전자장치의 디스플레이 모듈 또는 카메라 모듈)의 전원(예: 턴-온 또는 턴-오프) 또는 기능(예: 표시 장치(160) 또는 카메라 모듈(180)의 밝기, 해상도, 또는 포커스)을 제어할 수 있다. 장치 관리 어플리케이션은, 추가적으로 또는 대체적으로, 외부 전자 장치에서 동작하는 어플리케이션의 설치, 삭제, 또는 갱신을 지원할 수 있다.
도 3은 본 개시의 특정 실시예들에 따른 네트워크의 블록도이다.
본 개시의 특정 실시예들에 따르면, 네트워크(300)는 외부 서버(310), 전자 장치(320), 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340)를 포함할 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, 전자 장치(320)와 연결된 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340)가 전송하는 패킷을 지정된 목적지(예: 외부 서버(310))로 전달할 수 있도록 패킷의 경로를 설정할 수 있다. 예를 들면, 전자 장치(320)는 네트워크(300)와 다른 네트워크(미도시)를 연결하는 라우터(router)의 역할을 수행할 수 있는 다양한 전자 장치일 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340)의 IP 주소를 할당하기 위한 일련의 동작을 수행할 수 있다. 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340)는 전자 장치(320)와의 일련의 동작들을 통해 할당된 IP 주소를 통해 외부 서버(310)와 데이터를 전송하거나, 수신할 수 있다. 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340)에 할당된 IP 주소는 IPv6 기반의 IP 주소일 수 있다. 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340)가 IP 주소를 할당 받는 구체적인 실시예에 대해서는 도 4에서 후술한다.
본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340)는, 네트워크(300) 내에서만 사용 가능한 주소인 링크 로컬 주소(link local address)를 생성하고, 링크 로컬 주소를 통해 전자 장치(320)와 통신을 수행할 수 있다. 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340)는 전자 장치(320)와의 일련의 동작을 통해 할당된 IP 주소를 통해 네트워크(300)의 외부의 엔티티들(예: 외부 서버(310))과 데이터를 교환할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340)는, 네트워크 내에서 사용할 수 있는 주소 및 네트워크 외부의 엔티티들과 데이터를 교환하는데 사용할 수 있는 IP 주소를 저장할 수 있다. 제 1 외부 전자 장치(330)에 대응하는 IP 주소와 제 2 외부 전자 장치(340)에 대응하는 IP 주소는 서로 상이할 수 있다.
도 4는 본 개시의 특정 실시예들에 따른 전자 장치가 제 1 외부 전자 장치, 제 2 외부 전자 장치의 IP를 할당하는 실시예를 도시한 도면이다.
본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(330)는, 동작 401에서, IP 주소 요청 메시지를 전자 장치(320)로 전송할 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, 네트워크(300) 외부의 엔티티들이 데이터 통신을 수행하는데 이용할 수 있는 IP 주소를 외부 전자 장치(예: 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340))에 할당할 수 있는 브릿지 모드(또는, IP passthrough mode)를 활성화할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(330)는, IP 주소 요청 메시지를 전송하기 이전, 링크 로컬 주소(link local address LLA)를 생성하고, 생성한 링크 로컬 주소와 동일한 링크 로컬 주소를 이용하는 다른 외부 전자 장치가 존재하는지 여부의 확인을 시도할 수 있다.
제 1 외부 전자 장치(330)는, 생성한 링크 로컬 주소 및 제 1 외부 전자 장치(330)의 식별 정보를 포함하는 IP 주소 요청 메시지를 전자 장치(320)로 전송할 수 있다. 제 1 외부 전자 장치(330)의 식별 정보는, 제 1 외부 전자 장치(330)를 다른 전자 장치와 구별할 수 있는 다양한 정보를 포함할 수 있다. 예를 들면, 제 1 외부 전자 장치(330)의 식별 정보는, 제 1 외부 전자 장치(330)의 맥 주소(MAC(media access control) address)를 포함할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(330)가 전송하는 IP 주소 요청 메시지는 RS(router solicitation) 메시지를 의미할 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, 동작 403에서, IP 주소 요청 메시지의 수신 이후, 응답 메시지를 제 1 외부 전자 장치(330)로 전송할 수 있다. 응답 메시지는, 제 1 외부 전자 장치(330)가 네트워크의 외부의 엔티티들과 통신을 위한 IP 주소(예: 글로벌 주소)를 생성하는데 사용되는 정보를 포함할 수 있다. IP 주소를 생성하기 위한 정보는, IPv6 prefix 정보 및/또는 홉 한계(Hop limit)를 포함하는 다양한 정보일 수 있다. 응답 메시지는, 제 1 외부 전자 장치(330)의 식별 정보, 전자 장치(320)의 식별 정보 및/또는 전자 장치(320)의 링크 로컬 주소를 포함할 수 있다.
본 개시의 특정 실시예들에 따르면, 응답 메시지는, RA(router advertisement) 메시지를 의미할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(330)는, 응답 메시지에 포함된, IP 주소를 생성하기 위한 정보에 기반하여, IP 주소를 생성하고, IP 주소를 이용하여 네트워크(300)의 외부의 엔티티들과 통신을 수행할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 2 외부 전자 장치(340)는, 동작 405에서, IP 주소 요청 메시지를 전자 장치(320)로 전송할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 2 외부 전자 장치(340)는, IP 주소 요청 메시지를 전송하기 이전, 링크 로컬 주소(link local address, LLA)를 생성하고, 생성한 링크 로컬 주소와 동일한 링크 로컬 주소를 이용하는 다른 외부 전자 장치가 존재하는지 여부를 확인할 수 있다.
제 2 외부 전자 장치(340)는, 생성한 링크 로컬 주소 및 제 2 외부 전자 장치(340)의 식별 정보를 포함하는 IP 주소 요청 메시지를 전자 장치(320)로 전송할 수 있다. 제 2 외부 전자 장치(340)의 식별 정보는, 제 2 외부 전자 장치(340)를 다른 전자 장치와 구별할 수 있는 다양한 정보를 포함할 수 있다. 예를 들면, 제 2 외부 전자 장치(340)의 식별 정보는, 제 2 외부 전자 장치(340)의 맥 주소(MAC(media access control) address)를 포함할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 2 외부 전자 장치(340)가 전송하는 IP 주소 요청 메시지는 RS(router solicitation) 메시지를 의미할 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, 동작 407에서, IP 주소 요청 메시지의 수신에 따라, 응답 메시지를 제 2 외부 전자 장치(340)로 전송할 수 있다. 응답 메시지는, 제 2 외부 전자 장치(340)가 네트워크의 외부의 엔티티들과 통신을 위한 IP 주소(예: 글로벌 주소)를 생성하기 위한 정보를 포함할 수 있다. IP 주소를 생성하기 위한 정보는, IPv6 prefix 정보 및/또는 홉 한계(Hop limit)를 포함하는 다양한 정보일 수 있다. 응답 메시지는, 제 2 외부 전자 장치(340)의 식별 정보, 전자 장치(320)의 식별 정보 및/또는 전자 장치(320)의 링크 로컬 주소를 포함할 수 있다.
본 개시의 특정 실시예들에 따르면, 응답 메시지는, RA(router advertisement) 메시지를 의미할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 2 외부 전자 장치(340)는, 응답 메시지에 포함된, IP 주소를 생성하기 위한 정보에 기반하여, IP 주소를 생성하고, IP 주소를 이용하여 네트워크(300)의 외부의 엔티티들과 통신을 수행할 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, 지정된 조건을 만족함에 따라서, 응답 메시지(예: RA 메시지)를 브로드캐스팅할 수 있다. 지정된 조건은 IP 주소의 갱신과 관련된 조건 또는 지정된 시간이 만료되는 조건을 포함할 수 있다. 전자 장치(320)는, 동작 409에서, IP 주소의 갱신을 위한 정보가 포함된 응답 메시지를 제 1 외부 전자 장치(330)로 전송하고, 동작 411에서, IP 주소의 갱신을 위한 정보가 포함된 응답 메시지를 제 2 외부 전자 장치(340)로 전송할 수 있다.
도 4에 도시된 실시예를 참조하면, 전자 장치(320)는, IP 주소 요청 메시지를 전송한 모든 전자 장치(예: 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340))로 응답 메시지를 전송할 수 있다. 전자 장치(320)는, 브릿지 모드에서, 전자 장치(320)와 연결될 수 있는 외부 전자 장치(예: 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340))의 개수는 한정될 수 있다. 일 실시예에 따르면, 전자 장치(320)는, 브릿지 모드가 활성화되는 동안, 전자 장치(320)와 연결 가능한 외부 전자 장치를 1개로 설정해야 하는 상황에서, 응답 메시지를 제 1 외부 전자 장치(330) 및 제 2 외부 전자 장치(340)로 전송할 수 있다. 제 1 외부 전자 장치(330) 및 제 2 외부 전자 장치(340)는, 응답 메시지의 수신에 따라, 전자 장치(320)와 모두 연결되는 상황이 발생할 수 있다.. 이하에서는, 전자 장치(320)가, 브릿지 모드에서, 모든 외부 전자 장치와 연결되는 현상을 방지하기 위한 실시예에 대해서 서술한다.
도 5a는 본 개시의 특정 실시예들에 따른 전자 장치의 블록도이다.
도 5a를 참조하면, 본 개시의 특정 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101))(320)는, 통신 회로(예: 도 1의 무선 통신 모듈(192))(510), 프로세서(예: 도 1의 프로세서(120))(520) 및/또는 메모리(예: 도 1의 메모리(130))(530)를 포함할 수 있다.
본 개시의 특정 실시예들에 따르면, 통신 회로(510)는, 네트워크(예: 도 3의 네트워크(300))의 외부의 엔티티들(예: 도 3의 외부 서버(300))와 데이터 통신을 수행할 수 있다. 통신 회로(510)는, 통신 사업자로부터 전자 장치(320) 및 전자 장치(320)와 연결된 다양한 외부 전자 장치들(예: 도 3의 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340))이 사용할 수 있는 IP 주소를 수신할 수 있다.
본 개시의 특정 실시예들에 따르면, 통신 회로(510)는, 네트워크(300) 내부의 엔티티들(예: 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340))와 연결되어 데이터를 교환할 수 있다. 네트워크(300)의 외부의 엔티티와의 연결에 이용되는 통신 방식(예: 셀룰러 통신)과 네트워크(300)의 내부의 엔티티와의 연결에 이용되는 통신 방식(예: Wi-Fi, bluetooth를 포함하는 근거리 무선 통신)은 서로 상이할 수 있다. 통신 회로(510)는 하나의 통합된 구성 요소로 도시되어 있으나, 통신 방식에 따라서 복수의 통신 회로로 구현될 수도 있다. 예를 들면, 통신 회로(510)는 셀룰러 통신을 지원하는 통신 회로 및 근거리 무선 통신을 지원하는 회로를 포함할 수 있다.
본 개시의 특정 실시예들에 따르면, 프로세서(520)는, 네트워크(300)의 외부의 엔티티와의 통신을 위한 IP 주소를 할당 받을 수 있는 외부 전자 장치의 식별 정보를 획득할 수 있다.
일 실시예에 따르면, 프로세서(520)는, 네트워크(300) 외부의 엔티티들이 데이터 통신을 수행하는데 이용할 수 있는 IP 주소를 외부 전자 장치(예: 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340))에 할당할 수 있는 브릿지 모드(또는, IP passthrough mode)를 활성화할 수 있다.
일 실시예에 따르면, 프로세서(520)는, 통신 회로(510)를 통해 연결된 외부 전자 장치들(예: 도 3의 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340)) 중 브릿지 모드를 수행할 수 있는 적어도 일부를 선택하는 사용자 입력을 수신하고, 선택된 외부 전자 장치들의 식별 정보를 메모리(530) 상에 저장할 수 있다. 설명의 편의를 위해서, 전자 장치(320)와 연결된 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340) 중 제 1 외부 전자 장치(330)를, 네트워크(300)의 외부의 엔티티와의 통신을 위한 IP 주소를 할당 받을 수 있는 전자 장치로 가정하고, 제2 외부 전자 장치(340)를, 네트워크(300)의 외부의 엔티티와의 통신을 위한 IP 주소를 할당 받을 수 없는 전자 장치로 가정한다.
본 개시의 특정 실시예들에 따르면, 메모리(530)는, IPv6 기반의 IP 주소를 할당할 수 있는 적어도 하나 이상의 외부 전자 장치들의 식별 정보를 저장할 수 있다. 메모리(530)는, 외부 전자 장치들의 식별 정보와 외부 전자 장치의 링크 로컬 주소를 매핑하여 저장할 수 있다. 일 실시예에 따르면, 외부 전자 장치들의 식별 정보 및 외부 전자 장치의 링크 로컬 주소는 테이블 형태로 메모리(530) 상에 저장될 수 있다.
본 개시의 특정 실시예들에 따르면, 프로세서(520)는, 제 1 외부 전자 장치(330)가 생성한 링크 로컬 주소 및 제 1 외부 전자 장치(330)의 식별 정보가 포함된 IP 주소 요청 메시지(router solicitation message)를 통신 회로(510)를 통해 수신할 수 있다. 제 1 외부 전자 장치(330)는, 네트워크(300)로 처음 진입함에 있어서, IP 주소 요청 메시지를 전자 장치(320)으로 전송할 수 있다.
본 개시의 특정 실시예들에 따르면, 프로세서(520)는, IP 주소 요청 메시지의 수신에 대응하여, IP 주소 요청 메시지에 포함된 제 1 외부 전자 장치(330)의 식별 정보에 기반하여, 응답 메시지를 전송할지 여부를 결정할 수 있다. 프로세서(520)는, IP 주소 요청 메시지에 포함된 제 1 외부 전자 장치(330)의 식별 정보가 메모리(530) 상에 저장되어 있는지 여부를 확인할 수 있다. 제 1 외부 전자 장치(330)의 식별 정보가 메모리(530) 상에 저장되어 있는 경우, 제 1 외부 전자 장치(330)는, 네트워크(300)의 외부의 엔티티와의 통신을 위한 IP 주소를 할당 받을 수 있는 전자 장치일 수 있다.
본 개시의 특정 실시예들에 따르면, 프로세서(520)는, 제 1 외부 전자 장치(330)의 식별 정보가 메모리(530) 상에 저장됨에 기반하여, IP 주소의 생성과 관련된 정보를 포함하는 응답 메시지(router advertisement message)를 제 1 외부 전자 장치(330)로 전송하도록 통신 회로(510)를 제어할 수 있다.
응답 메시지는, 제 1 외부 전자 장치(330)가 네트워크의 외부의 엔티티들과 통신을 위한 IP 주소(예: 글로벌 주소)를 생성하기 위한 정보를 포함할 수 있다. IP 주소를 생성하기 위한 정보는, IPv6 prefix 정보 및/또는 홉 한계(Hop limit)를 포함하는 다양한 정보일 수 있다. 응답 메시지는, 제 1 외부 전자 장치(330)의 식별 정보, 전자 장치(320)의 식별 정보 및/또는 전자 장치(320)의 링크 로컬 주소를 포함할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(330)는, 응답 메시지에 포함된, IP 주소를 생성하기 위한 정보에 기반하여, IP 주소를 생성하고, IP 주소를 이용하여 네트워크(300)의 외부의 엔티티들과 통신을 수행할 수 있다.
본 개시의 특정 실시예들에 따르면, 프로세서(520)는, IP 주소 요청 메시지를 수신하고, IP 주소 요청 메시지에 포함된 제 1 외부 전자 장치(330)의 링크 로컬 주소를 메모리(530) 상에 저장할 수 있다. 프로세서(520)는, 지정된 조건을 만족함에 따라서, 링크 로컬 주소를 통해 응답 메시지를 제 1 외부 전자 장치(330)로 전송할 수 있다.
본 개시의 특정 실시예들에 따르면, 지정된 조건은 IP 주소의 갱신과 관련된 조건 또는 지정된 시간이 만료되는 조건을 포함할 수 있다. 일 실시예에 따르면, 프로세서(520)는, 지정된 시간이 만료되는 경우, 지정된 조건을 만족하는 것으로 판단하고, 링크 로컬 주소를 통해 응답 메시지를 제 1 외부 전자 장치(330)로 전송할 수 있다. 제 1 외부 전자 장치(330)는, 응답 메시지에 포함된 IP 주소의 생성과 관련된 정보에 기반하여 IP 주소를 갱신할 수 있다. 일 실시예에 따르면, 프로세서(520)는, 외부 서버로부터 IP 주소의 갱신의 시작을 지시하는 정보를 수신한 경우, 지정된 조건을 만족하는 것으로 판단하고, 링크 로컬 주소를 통해 응답 메시지를 제 1 외부 전자 장치(330)로 전송할 수 있다. 제 1 외부 전자 장치(330)는, 응답 메시지에 포함된 IP 주소의 생성과 관련된 정보에 기반하여 IP 주소를 갱신할 수 있다. 응답 메시지는, 브로드캐스팅 방식이 아닌 유니캐스팅 형식으로 전송될 수 있다.
본 개시의 특정 실시예들에 따르면, 프로세서(520)는, 제 2 외부 전자 장치(340)가 생성한 링크 로컬 주소 및 제 2 외부 전자 장치(340)의 식별 정보가 포함된 IP 주소 요청 메시지(router solicitation message)를 통신 회로(510)를 통해 수신할 수 있다.
본 개시의 특정 실시예들에 따르면, 프로세서(520)는, IP 주소 요청 메시지의 수신에 대응하여, IP 주소 요청 메시지에 포함된 제 2 외부 전자 장치(340)의 식별 정보에 기반하여, 응답 메시지를 전송할지 여부를 결정할 수 있다. 프로세서(520)는, IP 주소 요청 메시지에 포함된 제 2 외부 전자 장치(340)의 식별 정보가 메모리(530) 상에 저장되어 있는지 여부를 확인할 수 있다. 제 2 외부 전자 장치(340)의 식별 정보가 메모리(530) 상에 저장되어 있지 않은 경우, 제 2 외부 전자 장치(340)는, 네트워크(300)의 외부의 엔티티와의 통신을 위한 IP 주소를 할당 받을 수 없는 전자 장치일 수 있다.
본 개시의 특정 실시예들에 따르면, 프로세서(520)는, 제 2 외부 전자 장치(340)의 식별 정보가 메모리(530) 상에 저장되어 있지 않음에 기반하여, IP 주소의 생성과 관련된 정보를 포함하는 응답 메시지(router advertisement message)를 제 2 외부 전자 장치(340)로 전송하지 않을 수 있다(또는, 응답 메시지의 전송을 생략할 수 있다). 또는, 프로세서(520)는, 제 2 외부 전자 장치(340)의 식별 정보가 메모리(530) 상에 저장되어 있지 않음에 기반하여, 제 2 외부 전자 장치(340)가 전송한 IP 주소 요청 메시지를 무시할 수도 있다.
제 2 외부 전자 장치(340)는, 응답 메시지를 수신하지 못함으로써, IP 주소의 생성과 관련된 정보를 확인할 수 없어, 네트워크(300) 외부의 엔티티와의 통신을 위한 IP 주소를 생성하지 못할 수 있다.
상기에 기재된 실시예와 같이, 전자 장치(320)는, IP 주소 요청 메시지를 전송하는 외부 전자 장치들 중, 메모리(530) 상에 저장된 외부 전자 장치의 식별 정보가 포함된 IP 주소 요청 메시지를 전송한 외부 전자 장치(예: 제 1 외부 전자 장치(330))로 응답 메시지를 전송하고, 메모리(530) 상에 저장된 외부 전자 장치의 식별 정보가 포함되지 않은 IP 주소 요청 메시지를 전송한 외부 전자 장치(예: 제 2 외부 전자 장치(340))로 응답 메시지를 전송하지 않을 수 있다. 따라서, 전자 장치(320)는, 브릿지 모드에서, 지정된 수(예: 1 개) 이상의 외부 전자 장치(예: 제 1 외부 전자 장치(330), 제 2 외부 전자 장치(340))와 연결되는 현상을 방지할 수 있다.
도 5b는, 본 개시의 특정 실시예들에 따른 전자 장치가, 브릿지 모드가 비활성화된 경우, 응답 메시지를 전송하는 실시예를 도시한 도면이다.
본 개시의 특정 실시예들에 따르면, 프로세서(예: 도 5a의 프로세서(520))는, IP 주소를 할당하는 IP 주소 할당 유닛(540)를 포함할 수 있다. IP 주소 할당 유닛(540)은, IPv4 기반의 IP 주소 및/또는 IPv6 기반의 IP 주소를, 전자 장치(320)와 연결된 외부 전자 장치(예: 도 3의 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340))에 할당할 수 있다.
본 개시의 특정 실시예들에 따르면, IP 주소 할당 유닛(540)은, IPv6 기반의 IP 주소를, 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340)에 할당할 수 있는 RA daemon(541)를 포함할 수 있다. RA daemon(541)은, 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340)가 전송하는 IP 주소 요청 메시지를 수신하고, IP 주소 요청 메시지에 대응하는 응답 메시지를 전송하는 unicast responder(543) 및/또는 지정된 조건을 만족을 감지함에 대응하여 응답 메시지를 브로드캐스트하는 multicast transmitter(545)를 포함할 수 있다.
제 1 외부 전자 장치(330)는, 생성한 링크 로컬 주소 및 제 1 외부 전자 장치(330)의 식별 정보를 포함하는 IP 주소 요청 메시지를 전자 장치(320)로 전송할 수 있다. 제 1 외부 전자 장치(330)의 식별 정보는, 제 1 외부 전자 장치(330)를 다른 전자 장치와 구별할 수 있는데 사용될 수 있다. 예를 들면, 제 1 외부 전자 장치(330)의 식별 정보는, 제 1 외부 전자 장치(330)의 맥 주소(MAC(media access control) address)를 포함할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(330)가 전송하는 IP 주소 요청 메시지는 RS(router solicitation) 메시지를 의미할 수 있다.
본 개시의 특정 실시예들에 따르면, unicast responder(543)은, 제 1 외부 전자 장치(330)가 전송한 IP 주소 요청 메시지를 수신하고, IP 주소 요청 메시지에 대응하는 응답 메시지를 제 1 외부 전자 장치(330)로 전송할 수 있다. 응답 메시지는, RA(router advertisement) 메시지를 의미할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(330)는, 응답 메시지에 포함된, IP 주소를 생성하기 위한 정보에 기반하여, IP 주소를 생성하고, IP 주소를 이용하여 네트워크(300)의 외부의 엔티티들과 통신을 수행할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 2 외부 전자 장치(340)는, 링크 로컬 주소 및 제 2 외부 전자 장치(340)의 식별 정보를 포함하는 IP 주소 요청 메시지를 전자 장치(320)로 전송할 수 있다. 제 2 외부 전자 장치(340)의 식별 정보는, 제 2 외부 전자 장치(340)를 다른 전자 장치와 구별할 수 있는데 사용될 수 있다. 예를 들면, 제 2 외부 전자 장치(340)의 식별 정보는, 제 2 외부 전자 장치(340)의 맥 주소(MAC(media access control) address)를 포함할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 2 외부 전자 장치(340)가 전송하는 IP 주소 요청 메시지는 RS(router solicitation) 메시지를 의미할 수 있다.
본 개시의 특정 실시예들에 따르면, unicast responder(543)는, IP 주소 요청 메시지의 수신에 따라, 응답 메시지를 제 2 외부 전자 장치(340)로 전송할 수 있다.
본 개시의 특정 실시예들에 따르면, multicast responder(545)는, 지정된 조건의 만족을 감지함에 대응하여, 응답 메시지(예: RA 메시지)를 브로드캐스팅할 수 있다. 지정된 조건은 IP 주소의 갱신과 관련된 조건 또는 지정된 시간이 만료되는 조건을 포함할 수 있다. multicast responder(545)는 IP 주소의 갱신을 위한 정보가 포함된 응답 메시지를 제 1 외부 전자 장치(330)로 전송하고, 동작 411에서, IP 주소의 갱신을 위한 정보가 포함된 응답 메시지를 제 2 외부 전자 장치(340)로 전송할 수 있다.
도 5c는, 본 개시의 특정 실시예들에 따른 전자 장치가, 브릿지 모드가 활성화된 경우, 응답 메시지를 전송하는 실시예를 도시한 도면이다. 본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(330)는, 생성한 링크 로컬 주소 및 제 1 외부 전자 장치(330)의 식별 정보를 포함하는 IP 주소 요청 메시지를 전자 장치(320)로 전송할 수 있다. 제 1 외부 전자 장치(330)의 식별 정보는, 제 1 외부 전자 장치(330)를 다른 전자 장치와 구별할 수 있는 다양한 정보를 포함할 수 있다. 예를 들면, 제 1 외부 전자 장치(330)의 식별 정보는, 제 1 외부 전자 장치(330)의 맥 주소(MAC(media access control) address)를 포함할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(330)가 전송하는 IP 주소 요청 메시지는 RS(router solicitation) 메시지를 의미할 수 있다.
본 개시의 특정 실시예들에 따르면, unicast responder(543)는, 제 1 외부 전자 장치(330)가 전송한 IP 주소 요청 메시지를 수신하고, IP 주소 요청 메시지에 포함된 제 1 외부 전자 장치(330)의 식별 정보에 기반하여, 응답 메시지를 전송할지 여부를 결정할 수 있다. unicast responder(543)는, IP 주소 요청 메시지에 포함된 제 1 외부 전자 장치(330)의 식별 정보가 메모리(530) 상에 저장되어 있는지 여부를 확인할 수 있다. 제 1 외부 전자 장치(330)의 식별 정보가 메모리(530) 상에 저장되어 있는 경우, 제 1 외부 전자 장치(330)는, 네트워크(300)의 외부의 엔티티와의 통신을 위한 IP 주소를 할당 받을 수 있는 전자 장치일 수 있다.
unicast responder(543)는 제 1 외부 전자 장치(330)의 식별 정보가 메모리(530) 상에 저장됨에 기반하여, IP 주소의 생성과 관련된 정보를 포함하는 응답 메시지(router advertisement message)를 제 1 외부 전자 장치(330)로 전송하도록 통신 회로(510)를 제어할 수 있다.
응답 메시지는, 제 1 외부 전자 장치(330)가 네트워크의 외부의 엔티티들과 통신을 위한 IP 주소(예: 글로벌 주소)를 생성하는데 사용되는 정보를 포함할 수 있다. IP 주소를 생성하기 위한 정보는, IPv6 prefix 정보 및/또는 홉 한계(Hop limit)를 포함하는 다양한 정보일 수 있다. 응답 메시지는, 제 1 외부 전자 장치(330)의 식별 정보, 전자 장치(320)의 식별 정보 및/또는 전자 장치(320)의 링크 로컬 주소를 포함할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(330)는, 응답 메시지에 포함된, IP 주소를 생성하기 위한 정보에 기반하여, IP 주소를 생성하고, IP 주소를 이용하여 네트워크(300)의 외부의 엔티티들과 통신을 수행할 수 있다.
본 개시의 특정 실시예들에 따르면, unicast responder(543)는, 제 2 외부 전자 장치(340)가 생성한 링크 로컬 주소 및 제 2 외부 전자 장치(340)의 식별 정보가 포함된 IP 주소 요청 메시지(router solicitation message)를 수신할 수 있다. unicast responder(543)는, IP 주소 요청 메시지의 수신에 대응하여, IP 주소 요청 메시지에 포함된 제 2 외부 전자 장치(340)의 식별 정보에 기반하여, 응답 메시지를 전송할지 여부를 결정할 수 있다. unicast responder(543)는, IP 주소 요청 메시지에 포함된 제 2 외부 전자 장치(340)의 식별 정보가 메모리(530) 상에 저장되어 있는지 여부를 확인할 수 있다. 제 2 외부 전자 장치(340)의 식별 정보가 메모리(530) 상에 저장되어 있지 않은 경우, 제 2 외부 전자 장치(340)는, 네트워크(300)의 외부의 엔티티와의 통신을 위한 IP 주소를 할당 받을 수 없는 전자 장치로 결정될 수 있다.
Unicast responder(543)는, 제 2 외부 전자 장치(340)의 식별 정보가 메모리(530) 상에 저장되어 있지 않음을 확인함에 기반하여, IP 주소의 생성과 관련된 정보를 포함하는 응답 메시지(router advertisement message)를 제 2 외부 전자 장치(340)로 전송하지 않을 수 있다. 또는, 프로세서(520)는, 제 2 외부 전자 장치(340)의 식별 정보가 메모리(530) 상에 저장되어 있지 않음을 확인함에 기반하여, 제 2 외부 전자 장치(340)가 전송한 IP 주소 요청 메시지를 무시할 수도 있다.
본 개시의 특정 실시예들에 따르면, unicast responder(543)는, IP 주소 요청 메시지를 수신하고, IP 주소 요청 메시지에 포함된 제 1 외부 전자 장치(330)의 링크 로컬 주소를 메모리(530) 상에 저장할 수 있다. Multicast responder(545)는, 지정된 조건의 만족의 감지에 따라서, 저장된 링크 로컬 주소를 통해 응답 메시지를 제 1 외부 전자 장치(330)로 전송할 수 있다. Multicast responder(545)는, 저장된 링크 로컬 주소가 아닌 제 2 외부 전자 장치(340)의 링크 로컬 주소를 이용하여, 응답 메시지를 제 2 외부 전자 장치(340)로 전송하지 않을 수 있다. 제 2 외부 전자 장치(340)는, 브릿지 모드가 전자 장치(320) 상에서 활성화된 상태에서, 응답 메시지를 수신하지 못할 수 있고, 제 2 외부 전자 장치(340)는, IP 주소를, 전자 장치(320)로부터 할당 받지 못할 수 있다.
도 6a, 도 6b 및 도 6c는 본 개시의 특정 실시예들에 따른 전자 장치에서, IP 주소를 할당 받을 권한이 있는 외부 전자 장치를 선택하는 실시예를 도시한 도면이다.
본 개시의 특정 실시예들에 따르면, 전자 장치(예: 도 3의 전자 장치(320))는, 다양한 화면을 디스플레이할 수 있는 디스플레이(예: 도 1의 디스플레이 모듈(160))를 더 포함할 수 있다.
도 6a를 참조하면, 전자 장치(320)는, 디스플레이(160) 상에 bridge mode(또는, IP passthrough 모드)의 활성화 여부를 선택할 수 있는 사용자 인터페이스(610)를 디스플레이(160) 상에 디스플레이할 수 있다. 사용자 인터페이스(610)는, bridge mode는, 전자 장치(320)와 연결되는 외부 전자 장치(예: 도 3의 제 1 외부 전자 장치(320))가 로컬 링크 주소가 아닌, 네트워크(300)의 외부의 엔티티가 제 1 외부 전자 장치(330)로 직접 통신이 가능한 IP 주소를 외부 전자 장치에게 제공하는 모드를 의미할 수 있다.
사용자 인터페이스(610)는, bridge mode의 활성화 여부를 지시하는 영역(611) 및 활성화 여부에 대한 사용자 입력을 수신할 수 있는 영역(612)를 포함할 수 있다. 전자 장치(320)는, 사용자 입력을 수신할 수 있는 영역(612)에 대한 사용자 입력에 기반하여, bridge mode의 활성화 또는 비활성화를 수행할 수 있다. 사용자 입력을 수신할 수 있는 영역(621)은 bridge mode가 비활성화됨을 지시할 수 있다.
전자 장치(320)는, bridge mode 활성화에 따라서, 통신 회로(510)를 통해 연결된 외부 전자 장치들(예: 도 3의 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340)) 중 적어도 일부를 선택하는 사용자 입력을 수신하고, 선택된 외부 전자 장치들의 식별 정보를 메모리(530) 상에 저장할 수 있다.
도 6b를 참조하면, 전자 장치(320)는, bridge mode의 활성화에 따라서, 통신 회로(510)를 통해 연결된 외부 전자 장치들 중, 네트워크(300)의 외부의 엔티티와의 통신을 위한 IP 주소를 할당 받을 수 있는 전자 장치를 선택할 수 있는 화면(621)을 디스플레이(160) 상에 디스플레이할 수 있다. 화면(621)은, 전자 장치(320)와 연결된 외부 전자 장치들의 리스트(623)를 포함할 수 있다. 화면(621)은, 다른 밑에 있는(underlying) UI 레이어들(예: 예시된 화면(610)에 도시된 레이어)상에서 오버레이되는 방식으로 사용자 인터페이스(610) 상에서 디스플레이될 수 있다. 전자 장치(320)는, 화면(621) 상에서 적어도 하나의 외부 전자 장치(예: 제 1 외부 전자 장치(330))를 선택하는 사용자 입력을 수신하고, 제 1 외부 전자 장치(330)의 식별 정보를 메모리(530) 상에 저장할 수 있다.
도 6c를 참조하면, 사용자 인터페이스(610)는, bridge mode의 활성화 여부를 지시하는 영역(611) 및 활성화 여부에 대한 사용자 입력을 수신할 수 있는 영역(612)를 포함할 수 있다. Bridge mode의 활성화가 완료된 경우, 사용자 입력을 수신할 수 있는 영역(612)은, bridge mode의 활성화가 완료됨을 지시할 수 있다.
도 7은 본 개시의 특정 실시예들에 따른 전자 장치가 제 1 외부 전자 장치, 제 2 외부 전자 장치의 IP를 할당하는 실시예를 도시한 도면이다.
본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(예: 도 3의 제 1 외부 전자 장치(330))는, 동작 701에서, IP 주소 요청 메시지를 전자 장치(320)로 전송할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(330)는, IP 주소 요청 메시지를 전송하기 이전, 링크 로컬 주소(link local address LLA)를 생성하고, 생성한 링크 로컬 주소와 동일한 링크 로컬 주소를 이용하는 다른 외부 전자 장치가 존재하는지 여부를 확인할 수 있다.
제 1 외부 전자 장치(330)는, 생성한 링크 로컬 주소 및 제 1 외부 전자 장치(330)의 식별 정보를 포함하는 IP 주소 요청 메시지를 전자 장치(320)로 전송할 수 있다. 제 1 외부 전자 장치(330)의 식별 정보는, 제 1 외부 전자 장치(330)를 다른 전자 장치와 구별할 수 있는 다양한 정보를 포함할 수 있다. 예를 들면, 제 1 외부 전자 장치(330)의 식별 정보는, 제 1 외부 전자 장치(330)의 맥 주소(MAC(media access control) address)를 포함할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(330)가 전송하는 IP 주소 요청 메시지는 RS(router solication) 메시지를 의미할 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(예: 도 3의 전자 장치(320))는, 동작 703에서, IP 주소 요청 메시지에 포함된 제 1 외부 전자 장치(330)의 식별 정보가 메모리(예: 도 5a의 메모리(530))에 저장되어 있는지 여부를 확인할 수 있다.
본 개시의 특정 실시예들에 따르면, 메모리(530)는, IPv6 기반의 IP 주소를 할당할 수 있는 적어도 하나 이상의 외부 전자 장치들의 식별 정보를 저장할 수 있다. 메모리(530)는, 외부 전자 장치들의 식별 정보와 외부 전자 장치의 링크 로컬 주소를 매핑하여 저장할 수 있다. 일 실시예에 따르면, 외부 전자 장치들의 식별 정보 및 외부 전자 장치의 링크 로컬 주소는 테이블 형태로 메모리(530) 상에 저장될 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, IP 주소 요청 메시지의 수신에 기반하여, IP 주소 요청 메시지에 포함된 제 1 외부 전자 장치(330)의 식별 정보에 기반하여, 응답 메시지를 전송할지 여부를 결정할 수 있다. 전자 장치(320)는, IP 주소 요청 메시지에 포함된 제 1 외부 전자 장치(330)의 식별 정보가 메모리(530) 상에 저장되어 있는지 여부를 확인할 수 있다. 제 1 외부 전자 장치(330)의 식별 정보가 메모리(530) 상에 저장되어 있는 경우, 제 1 외부 전자 장치(330)는, 네트워크(300)의 외부의 엔티티와의 통신을 위한 IP 주소를 할당 받을 수 있는 전자 장치일 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, 동작 705에서, IP 주소 요청 메시지에 포함된 제 1 외부 전자 장치(330)의 식별 정보가 메모리(530) 상에 저장됨에 기반하여, 응답 메시지를 제 1 외부 전자 장치(330)로 전송할 수 있다.
응답 메시지는, 제 1 외부 전자 장치(330)가 네트워크의 외부의 엔티티들과 통신을 위한 IP 주소(예: 글로벌 주소)를 생성하기 위한 정보를 포함할 수 있다. IP 주소를 생성하기 위한 정보는, IPv6 prefix 정보 및/또는 홉 한계(Hop limit)를 포함하는 다양한 정보일 수 있다. 응답 메시지는, 제 1 외부 전자 장치(330)의 식별 정보, 전자 장치(320)의 식별 정보 및/또는 전자 장치(320)의 링크 로컬 주소를 포함할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(330)는, 응답 메시지에 포함된, IP 주소를 생성하기 위한 정보에 기반하여, IP 주소를 생성하고, IP 주소를 이용하여 네트워크(300)의 외부의 엔티티들과 통신을 수행할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 2 외부 전자 장치(예: 도 3의 제 2 외부 전자 장치(340))는, 동작 707에서, IP 주소 요청 메시지를 전자 장치(320)로 전송할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 2 외부 전자 장치(340)는, IP 주소 요청 메시지를 전송하기 이전, 링크 로컬 주소(link local address LLA)를 생성하고, 생성한 링크 로컬 주소와 동일한 링크 로컬 주소를 이용하는 다른 외부 전자 장치가 존재하는지 여부를 확인할 수 있다.
제 2 외부 전자 장치(340)는, 생성한 링크 로컬 주소 및 제 2 외부 전자 장치(340)의 식별 정보를 포함하는 IP 주소 요청 메시지를 전자 장치(320)로 전송할 수 있다. 제 2 외부 전자 장치(340)의 식별 정보는, 제 2 외부 전자 장치(340)를 다른 전자 장치와 구별할 수 있는 다양한 정보를 포함할 수 있다. 예를 들면, 제 2 외부 전자 장치(340)의 식별 정보는, 제 2 외부 전자 장치(340)의 맥 주소(MAC(media access control) address)를 포함할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 2 외부 전자 장치(340)가 전송하는 IP 주소 요청 메시지는 RS(router solication) 메시지를 의미할 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, 동작 709에서, 제 2 외부 전자 장치(340)의 식별 정보가 메모리(530) 상에 저장되어 있는지 여부를 확인할 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, IP 주소 요청 메시지의 수신에 기반하여, IP 주소 요청 메시지에 포함된 제 2 외부 전자 장치(340)의 식별 정보에 기반하여, 응답 메시지를 전송할지 여부를 결정할 수 있다. 전자 장치(320)는, IP 주소 요청 메시지에 포함된 제 2 외부 전자 장치(340)의 식별 정보가 메모리(530) 상에 저장되어 있는지 여부를 확인할 수 있다. 제 2 외부 전자 장치(340)의 식별 정보가 메모리(530) 상에 저장되어 있지 않은 경우, 제 2 외부 전자 장치(340)는, 네트워크(300)의 외부의 엔티티와의 통신을 위한 IP 주소를 할당 받을 수 없는 전자 장치일 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, 제 2 외부 전자 장치(340)의 식별 정보가 메모리(530) 상에 저장되어 있지 않음에 기반하여, IP 주소의 생성과 관련된 정보를 포함하는 응답 메시지(router advertisement message)를 제 2 외부 전자 장치(340)로 전송하지 않을 수 있다. 또는, 전자 장치(320)는, 제 2 외부 전자 장치(340)의 식별 정보가 메모리(530) 상에 저장되어 있지 않음에 기반하여, 제 2 외부 전자 장치(340)가 전송한 IP 주소 요청 메시지를 무시할 수도 있다.
제 2 외부 전자 장치(340)는, 응답 메시지를 수신하지 못함으로써, IP 주소의 생성과 관련된 정보를 확인할 수 없어, 네트워크(300) 외부의 엔티티와의 통신을 위한 IP 주소를 생성하지 못할 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, 동작 711에서, 전자 장치(320)는, 메모리(530) 상에 저장된 제 1 외부 전자 장치(330)의 로컬 주소 정보를 이용하여 응답 메시지를 제 1 외부 전자 장치(330)로 전송할 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, IP 주소 요청 메시지를 수신하고, IP 주소 요청 메시지에 포함된 제 1 외부 전자 장치(330)의 링크 로컬 주소를 메모리(530) 상에 저장할 수 있다. 전자 장치(320) 는, 지정된 조건을 만족함에 따라서, 링크 로컬 주소를 통해 응답 메시지를 제 1 외부 전자 장치(330)로 전송할 수 있다.
본 개시의 특정 실시예들에 따르면, 지정된 조건은 IP 주소의 갱신과 관련된 조건 또는 지정된 시간이 만료되는 조건을 포함할 수 있다. 일 실시예에 따르면, 전자 장치(320)는, 지정된 시간이 만료되는 경우, 지정된 조건을 만족하는 것으로 판단하고, 링크 로컬 주소를 통해 응답 메시지를 제 1 외부 전자 장치(330)로 전송할 수 있다. 제 1 외부 전자 장치(330)는, 응답 메시지에 포함된 IP 주소의 생성과 관련된 정보에 기반하여 IP 주소를 갱신할 수 있다. 일 실시예에 따르면, 전자 장치(320)는, 외부 서버로부터 IP 주소의 갱신의 시작을 지시하는 정보를 수신한 경우, 지정된 조건을 만족하는 것으로 판단하고, 링크 로컬 주소를 통해 응답 메시지를 제 1 외부 전자 장치(330)로 전송할 수 있다. 제 1 외부 전자 장치(330)는, 응답 메시지에 포함된 IP 주소의 생성과 관련된 정보에 기반하여 IP 주소를 갱신할 수 있다. 응답 메시지는, 브로드캐스팅 방식이 아닌 유니캐스팅 형식으로 전송될 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치는 IPv6 기반의 IP 주소를 할당할 수 있는 적어도 하나 이상의 외부 전자 장치의 식별 정보를 저장하는 메모리; 통신 회로; 및 프로세서를 포함하고, 상기 프로세서는 상기 외부 전자 장치로부터, 상기 외부 전자 장치가 생성한 링크 로컬 주소(link local address) 및 상기 외부 전자 장치의 식별 정보를 포함하는 IP 주소 요청 메시지(router solicitation)를 수신하고, 상기 IP 주소 요청 메시지에 포함된 상기 외부 전자 장치의 식별 정보가 상기 메모리에 저장되어 있는지 여부를 확인하고, 상기 외부 전자 장치의 식별 정보가 상기 메모리에 저장됨에 기반하여, 상기 IP 주소의 생성과 관련된 정보를 포함하는 응답 메시지(router advertisement)를 상기 외부 전자 장치로 전송하도록 상기 통신 회로를 제어할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치에서, 상기 프로세서는 상기 외부 전자 장치의 식별 정보가 상기 메모리에 저장되지 않음에 기반하여, 상기 응답 메시지를 상기 외부 전자 장치로 전송하지 않을 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치에서, 상기 프로세서는 상기 외부 전자 장치의 식별 정보가 상기 메모리에 저장되지 않음에 기반하여, 상기 IP 주소 요청 메시지를 무시할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치에서, 상기 프로세서는 상기 IP 주소 요청 메시지에 포함된 상기 링크 요청 주소를 상기 메모리에 저장하고, 지정된 조건을 만족함에 기반하여, 상기 응답 메시지를 상기 링크 요청 주소를 통해 상기 외부 전자 장치로 전송하도록 상기 통신 회로를 제어할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치에서, 상기 프로세서는 상기 응답 메시지를 유니캐스트 방식으로 상기 외부 전자 장치로 전송하도록 상기 통신 회로를 제어할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치에서, 상기 지정된 조건은 상기 IP 주소의 갱신과 관련된 조건을 포함할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치에서, 상기 IP 주소 요청 메시지는 IP passthrough 모드가 활성화됨을 지시하는 정보를 포함할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치에서, 상기 메모리는 상기 IPv6 기반의 IP 주소를 할당 받을 권한이 있는 외부 전자 장치의 식별 정보를 저장하도록 설정될 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치에서, 상기 IP 주소 요청 메시지는 IPv6 기반의 IP 주소를 요청하는 메시지를 포함할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치에서, 상기 외부 전자 장치의 식별 정보는 상기 외부 전자 장치의 MAC(media access control) 주소를 포함할 수 있다.
도 8은 본 개시의 특정 실시예들에 따른 전자 장치의 동작 방법을 도시한 동작 흐름도이다.
본 개시의 특정 실시예들에 따르면, 전자 장치(예: 도 3의 전자 장치(320))는, 동작 810에서, 외부 전자 장치(예: 도 3의 제 1 외부 전자 장치(330) 및/또는 제 2 외부 전자 장치(340))로부터, 외부 전자 장치의 링크 로컬 주소 및 식별 정보가 포함된 IP 주소 요청 메시지를 수신할 수 있다.
제 1 외부 전자 장치(330)는, 생성한 링크 로컬 주소 및 제 1 외부 전자 장치(330)의 식별 정보를 포함하는 IP 주소 요청 메시지를 전자 장치(320)로 전송할 수 있다. 제 1 외부 전자 장치(330)의 식별 정보는, 제 1 외부 전자 장치(330)를 다른 전자 장치와 구별할 수 있는 다양한 정보를 포함할 수 있다. 예를 들면, 제 1 외부 전자 장치(330)의 식별 정보는, 제 1 외부 전자 장치(330)의 맥 주소(MAC(media access control) address)를 포함할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(330)가 전송하는 IP 주소 요청 메시지는 RS(router solicitation) 메시지를 의미할 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, 동작 820에서, IP 주소 요청 메시지에 포함된 외부 전자 장치의 식별 정보가 메모리(예: 도 5a의 메모리(530)) 상에 저장되어 있는지 여부를 확인할 수 있다.
본 개시의 특정 실시예들에 따르면, 메모리(530)는, IPv6 기반의 IP 주소를 할당할 수 있는 적어도 하나 이상의 외부 전자 장치들의 식별 정보를 저장할 수 있다. 메모리(530)는, 외부 전자 장치들의 식별 정보와 외부 전자 장치의 링크 로컬 주소를 매핑하여 저장할 수 있다. 일 실시예에 따르면, 외부 전자 장치들의 식별 정보 및 외부 전자 장치의 링크 로컬 주소는 테이블 형태로 메모리(530) 상에 저장될 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, IP 주소 요청 메시지의 수신에 기반하여, IP 주소 요청 메시지에 포함된 외부 전자 장치의 식별 정보에 기반하여, 응답 메시지를 전송할지 여부를 결정할 수 있다. 전자 장치(320)는, IP 주소 요청 메시지에 포함된 외부 전자 장치 의 식별 정보가 메모리(530) 상에 저장되어 있는지 여부를 확인할 수 있다. 외부 전자 장치의 식별 정보가 메모리(530) 상에 저장되어 있는 경우, 외부 전자 장치는, 네트워크(300)의 외부의 엔티티와의 통신을 위한 IP 주소를 할당 받을 수 있는 전자 장치일 수 있다. 외부 전자 장치의 식별 정보가 메모리(530) 상에 저장되어 있지 않은 경우, 외부 전자 장치는, 네트워크(300)의 외부의 엔티티와의 통신을 위한 IP 주소를 할당 받을 수 없는 전자 장치일 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, 동작 830에서, IP 주소 요청 메시지에 포함된 외부 전자 장치의 식별 정보가 메모리(530) 상에 저장되어 있음(동작 820-Y)에 기반하여, IP 주소의 생성과 관련된 정보를 포함하는 응답 메시지를 외부 전자 장치(예: 도 3의 제 1 외부 전자 장치(330))로 전송할 수 있다.
응답 메시지는, 제 1 외부 전자 장치(330)가 네트워크의 외부의 엔티티들과 통신을 위한 IP 주소(예: 글로벌 주소)를 생성하기 위한 정보를 포함할 수 있다. IP 주소를 생성하기 위한 정보는, IPv6 prefix 정보 및/또는 홉 한계(Hop limit)를 포함하는 다양한 정보일 수 있다. 응답 메시지는, 제 1 외부 전자 장치(330)의 식별 정보, 전자 장치(320)의 식별 정보 및/또는 전자 장치(320)의 링크 로컬 주소를 포함할 수 있다.
본 개시의 특정 실시예들에 따르면, 제 1 외부 전자 장치(330)는, 응답 메시지에 포함된, IP 주소를 생성하기 위한 정보에 기반하여, IP 주소를 생성하고, IP 주소를 이용하여 네트워크(300)의 외부의 엔티티들과 통신을 수행할 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, 동작 840에서, IP 주소 요청 메시지에 포함된 외부 전자 장치의 식별 정보가 메모리(530) 상에 저장되어 있지 않음(동작 820-N)에 기반하여, IP 주소 요청 메시지를 무시할 수 있다.
본 개시의 특정 실시예들에 따르면, 전자 장치(320)는, 외부 전자 장치의 식별 정보가 메모리(530) 상에 저장되어 있지 않음에 기반하여, IP 주소의 생성과 관련된 정보를 포함하는 응답 메시지(router advertisement message)를 외부 전자 장치로 전송하지 않을 수 있다. 또는, 전자 장치(320)는, 외부 전자 장치의 식별 정보가 메모리(530) 상에 저장되어 있지 않음에 기반하여, 제 2 외부 전자 장치(340)가 전송한 IP 주소 요청 메시지를 무시할 수도 있다.
제 2 외부 전자 장치(340)는, 응답 메시지를 수신하지 못함으로써, IP 주소의 생성과 관련된 정보를 확인할 수 없어, 네트워크(300) 외부의 엔티티와의 통신을 위한 IP 주소를 생성하지 못할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치의 동작 방법은 외부 전자 장치로부터, 상기 외부 전자 장치가 생성한 링크 로컬 주소(link local address) 및 상기 외부 전자 장치의 식별 정보를 포함하는 IP 주소 요청 메시지(router solicitation)를 수신하는 동작; 상기 IP 주소 요청 메시지에 포함된 상기 외부 전자 장치의 식별 정보가 메모리에 저장되어 있는지 여부를 확인하는 동작; 상기 외부 전자 장치의 식별 정보가 상기 메모리에 저장됨에 기반하여, 상기 IP 주소의 생성과 관련된 정보를 포함하는 응답 메시지(router advertisement)를 상기 외부 전자 장치로 전송하는 동작을 포함할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치의 동작 방법은 상기 외부 전자 장치의 식별 정보가 상기 메모리에 저장되지 않음에 기반하여, 상기 응답 메시지를 상기 외부 전자 장치로 전송하지 않는 동작을 더 포함할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치의 동작 방법은 상기 외부 전자 장치의 식별 정보가 상기 메모리에 저장되지 않음에 기반하여, 상기 IP 주소 요청 메시지를 무시하는 동작을 더 포함할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치의 동작 방법은 상기 IP 주소 요청 메시지에 포함된 상기 링크 요청 주소를 상기 메모리에 저장하는 동작; 지정된 조건을 만족함에 기반하여, 상기 응답 메시지를 상기 링크 요청 주소를 통해 상기 외부 전자 장치로 전송하는 동작을 더 포함할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치의 동작 방법은 상기 응답 메시지를 유니캐스트 방식으로 상기 외부 전자 장치로 전송하는 동작을 더 포함할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치의 동작 방법에서, 상기 지정된 조건은 상기 IP 주소의 갱신과 관련된 조건을 포함할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치의 동작 방법에서, 상기 IP 주소 요청 메시지는 IP passthrough 모드가 활성화됨을 지시하는 정보를 포함할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치의 동작 방법은 상기 IPv6 기반의 IP 주소를 할당 받을 권한이 있는 외부 전자 장치의 식별 정보를 상기 메모리 상에 저장하는 동작을 더 포함할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치의 동작 방법에서, 상기 IP 주소 요청 메시지는 IPv6 기반의 IP 주소를 요청하는 메시지를 포함할 수 있다.
본 개시의 특정 실시예들에 따른 전자 장치의 동작 방법에서, 상기 외부 전자 장치의 식별 정보는 상기 외부 전자 장치의 MAC(media access control) 주소를 포함할 수 있다.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.

Claims (15)

  1. 전자 장치에 있어서,
    IPv6 기반의 IP 주소를 할당할 수 있는 적어도 하나 이상의 외부 전자 장치의 식별 정보를 저장하는 메모리;
    통신 회로; 및
    프로세서를 포함하고,
    상기 프로세서는
    상기 외부 전자 장치로부터, 상기 외부 전자 장치가 생성한 링크 로컬 주소(link local address) 및 상기 외부 전자 장치의 식별 정보를 포함하는 IP 주소 요청 메시지(router solicitation)를 수신하고,
    상기 IP 주소 요청 메시지에 포함된 상기 외부 전자 장치의 식별 정보가 상기 메모리에 저장되어 있는지 여부를 확인하고,
    상기 외부 전자 장치의 식별 정보가 상기 메모리에 저장됨에 기반하여, 상기 IP 주소의 생성과 관련된 정보를 포함하는 응답 메시지(router advertisement)를 상기 외부 전자 장치로 전송하도록 상기 통신 회로를 제어하는 전자 장치.
  2. 제 1 항에 있어서,
    상기 프로세서는
    상기 외부 전자 장치의 식별 정보가 상기 메모리에 존재하지 않음에 기반하여, 상기 응답 메시지를 상기 외부 전자 장치로 전송하는 것을 생략하는 전자 장치.
  3. 제 1 항에 있어서,
    상기 프로세서는
    상기 외부 전자 장치의 식별 정보가 상기 메모리에 존재하지 않음에 기반하여, 상기 IP 주소 요청 메시지를 무시하는 전자 장치.
  4. 제 1항에 있어서,
    상기 프로세서는
    상기 IP 주소 요청 메시지에 포함된 상기 링크 로컬 주소를 상기 메모리에 저장하고,
    지정된 조건을 만족함에 기반하여, 상기 응답 메시지를 상기 링크 로컬 주소를 통해 상기 외부 전자 장치로 전송하도록 상기 통신 회로를 제어하는 전자 장치.
  5. 제 4항에 있어서,
    상기 응답 메시지는 유니캐스트 방식으로 상기 외부 전자 장치로 전송되는 전자 장치.
  6. 제 4항에 있어서,
    상기 지정된 조건은
    상기 IP 주소의 갱신과 관련된 전자 장치.
  7. 제 1항에 있어서,
    상기 IP 주소 요청 메시지는
    IP pass-through 모드가 활성화됨을 지시하는 정보를 포함하는 전자 장치.
  8. 제 1항에 있어서,
    상기 메모리는
    상기 IPv6 기반의 IP 주소를 할당 받을 권한이 있는 외부 전자 장치의 식별 정보를 저장하도록 설정된 전자 장치.
  9. 제 1 항에 있어서,
    상기 IP 주소 요청 메시지는 IPv6 기반의 IP 주소를 요청하는 메시지를 포함하는 전자 장치.
  10. 제 1 항에 있어서,
    상기 외부 전자 장치의 식별 정보는
    상기 외부 전자 장치의 MAC(media access control) 주소를 포함하는 전자 장치.
  11. 전자 장치의 동작 방법에 있어서,
    외부 전자 장치로부터, 상기 외부 전자 장치가 생성한 링크 로컬 주소(link local address) 및 상기 외부 전자 장치의 식별 정보를 포함하는 IP 주소 요청 메시지(router solicitation)를 수신하는 동작;
    상기 IP 주소 요청 메시지에 포함된 상기 외부 전자 장치의 식별 정보가 메모리에 저장되어 있는지 여부를 확인하는 동작;
    상기 외부 전자 장치의 식별 정보가 상기 메모리에 저장됨에 기반하여, 상기 IP 주소의 생성과 관련된 정보를 포함하는 응답 메시지(router advertisement)를 상기 외부 전자 장치로 전송하는 동작을 포함하는 전자 장치의 동작 방법.
  12. 제 11항에 있어서,
    상기 전자 장치의 동작 방법은
    상기 외부 전자 장치의 식별 정보가 상기 메모리에 존재하지 않음에 기반하여, 상기 응답 메시지를 상기 외부 전자 장치로 전송하는 동작을 생략하는 동작을 더 포함하는 전자 장치의 동작 방법.
  13. 제 11항에 있어서,
    상기 전자 장치의 동작 방법은
    상기 외부 전자 장치의 식별 정보가 상기 메모리에 존재하지 않음에 기반하여, 상기 IP 주소 요청 메시지를 무시하는 동작을 더 포함하는 전자 장치의 동작 방법.
  14. 제 11 항에 있어서,
    상기 전자 장치의 동작 방법은
    상기 IP 주소 요청 메시지에 포함된 상기 링크 로컬 주소를 상기 메모리에 저장하는 동작;
    지정된 조건을 만족함에 기반하여, 상기 응답 메시지를 상기 링크 로컬 주소를 통해 상기 외부 전자 장치로 전송하는 동작을 더 포함하는 전자 장치의 동작 방법.
  15. 제 14 항에 있어서,
    상기 응답 메시지는 유니캐스트 방식으로 상기 외부 전자 장치로 전송되는 전자 장치의 동작 방법.
PCT/KR2022/000851 2021-03-31 2022-01-17 외부 전자 장치의 ip 주소를 할당하는 전자 장치 및 전자 장치의 동작 방법 WO2022211236A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/677,220 US11949652B2 (en) 2021-03-31 2022-02-22 Transmitting router advertisements based on identification information of external devices

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020210041559A KR20220135623A (ko) 2021-03-31 2021-03-31 외부 전자 장치의 ip 주소를 할당하는 전자 장치 및 전자 장치의 동작 방법
KR10-2021-0041559 2021-03-31

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/677,220 Continuation US11949652B2 (en) 2021-03-31 2022-02-22 Transmitting router advertisements based on identification information of external devices

Publications (1)

Publication Number Publication Date
WO2022211236A1 true WO2022211236A1 (ko) 2022-10-06

Family

ID=83456438

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2022/000851 WO2022211236A1 (ko) 2021-03-31 2022-01-17 외부 전자 장치의 ip 주소를 할당하는 전자 장치 및 전자 장치의 동작 방법

Country Status (2)

Country Link
KR (1) KR20220135623A (ko)
WO (1) WO2022211236A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080041989A (ko) * 2006-11-08 2008-05-14 한국전자통신연구원 이동통신 시스템에서 이동 단말에 대한 동적 ip주소 할당방법
KR20100090981A (ko) * 2009-02-09 2010-08-18 삼성전자주식회사 6LoWPAN 기반의 MANEMO 환경에서 통신 경로 최적화를 지원하기 위한 방법
KR101037477B1 (ko) * 2009-11-30 2011-05-26 주식회사 케이티 게이트웨이 존재에 비의존적인 IPv6 주소 할당 방법
US20160036768A1 (en) * 2014-07-31 2016-02-04 Qualcomm Incorporated Technique to Delegate Prefixes To Wi-Fi Clients Connected To Mobile Access Point Routers
KR20170013298A (ko) * 2014-05-29 2017-02-06 테크테코 시큐리티 시스템즈, 에스.엘. 장치들에 네트워크 구성 매개변수들의 향상된 할당 및 분배

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080041989A (ko) * 2006-11-08 2008-05-14 한국전자통신연구원 이동통신 시스템에서 이동 단말에 대한 동적 ip주소 할당방법
KR20100090981A (ko) * 2009-02-09 2010-08-18 삼성전자주식회사 6LoWPAN 기반의 MANEMO 환경에서 통신 경로 최적화를 지원하기 위한 방법
KR101037477B1 (ko) * 2009-11-30 2011-05-26 주식회사 케이티 게이트웨이 존재에 비의존적인 IPv6 주소 할당 방법
KR20170013298A (ko) * 2014-05-29 2017-02-06 테크테코 시큐리티 시스템즈, 에스.엘. 장치들에 네트워크 구성 매개변수들의 향상된 할당 및 분배
US20160036768A1 (en) * 2014-07-31 2016-02-04 Qualcomm Incorporated Technique to Delegate Prefixes To Wi-Fi Clients Connected To Mobile Access Point Routers

Also Published As

Publication number Publication date
KR20220135623A (ko) 2022-10-07

Similar Documents

Publication Publication Date Title
WO2020180056A1 (ko) 블루투스 네트워크 환경에서 응답 메시지를 전송하기 위한 전자 장치 및 그에 관한 방법
WO2022154363A1 (ko) 오디오 데이터를 처리하기 위한 오디오 장치 및 그의 동작 방법
WO2022092824A1 (ko) 캐리어 네트워크를 이용하는 전자 장치 및 그 동작 방법
WO2022145768A1 (ko) 액세서리 장치와 무선 통신을 수행하는 전자 장치 및 그 운용 방법
WO2022065788A1 (ko) Rcs 데이터를 수신 또는 전송하는 전자 장치 및 전자 장치의 동작 방법
WO2022231135A1 (ko) 오디오 신호를 출력하는 방법 및 이를 수행하는 전자 장치
WO2022158735A1 (ko) 오디오 데이터를 처리하는 전자 장치와 이의 동작 방법
WO2022203462A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2022158763A1 (ko) 외부 전자 장치와의 통신 연결을 수립하는 전자 장치 및 이의 동작 방법
WO2022186482A1 (ko) 공유 암호 키 갱신을 수행하는 방법 및 이를 지원하는 전자 장치
WO2022211236A1 (ko) 외부 전자 장치의 ip 주소를 할당하는 전자 장치 및 전자 장치의 동작 방법
WO2022154264A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2022114596A1 (ko) 액세서리 장치의 전력 소모를 제어하는 전자 장치 및 그 운용 방법
WO2022030844A1 (ko) 전자 장치의 위치 확인 서비스를 제공하는 방법 및 그 장치
WO2020180113A1 (ko) 블루투스 네트워크에서 채널 정보를 공유하기 위한 방법 및 이를 위한 전자 장치
WO2023003167A1 (ko) 링크의 매체 동기화를 수행하는 전자 장치 및 전자 장치의 동작 방법
WO2022154564A1 (ko) Ap 기반의 통신 방법 및 전자 장치
WO2023068507A1 (ko) Rcs 기능을 제공하기 위한 전자 장치 및 그의 동작 방법
WO2021256747A1 (ko) 페어링된 장치 정보에 기반한 통신 방법 및 이를 위한 전자 장치
WO2022060092A1 (ko) 블루투스 통신을 위한 무선 통신 회로를 포함하는 전자 장치 및 그의 동작 방법
WO2022086033A1 (ko) 전자 장치 및 통화 중 사용자 인터페이스 제공 방법
WO2022203184A1 (ko) 기능 공유를 위한 전자 장치 및 그의 동작 방법
WO2024049004A1 (ko) 무선 환경 내에서 외부 전자 장치로부터 방송된 어드버타이징 패킷을 처리하는 전자 장치, 방법, 및 비일시적 컴퓨터 판독가능 저장 매체
WO2022114562A1 (ko) 전자 장치 및 그의 동작 방법
WO2022124616A1 (ko) 무선 통신에 의한 전력 소모를 줄이기 위한 전자 장치 및 그의 동작 방법

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: 22781357

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: 22781357

Country of ref document: EP

Kind code of ref document: A1