WO2021132940A1 - Dispositif électronique et procédé de commande de communication de dispositif électronique basée sur un réseautage sensible au voisinage (nan) - Google Patents

Dispositif électronique et procédé de commande de communication de dispositif électronique basée sur un réseautage sensible au voisinage (nan) Download PDF

Info

Publication number
WO2021132940A1
WO2021132940A1 PCT/KR2020/017801 KR2020017801W WO2021132940A1 WO 2021132940 A1 WO2021132940 A1 WO 2021132940A1 KR 2020017801 W KR2020017801 W KR 2020017801W WO 2021132940 A1 WO2021132940 A1 WO 2021132940A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
service group
service
nan
information
Prior art date
Application number
PCT/KR2020/017801
Other languages
English (en)
Korean (ko)
Inventor
정부섭
김범집
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2021132940A1 publication Critical patent/WO2021132940A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • NAN neighbor awareness networking
  • the electronic device may perform wireless communication with other electronic devices using not only a wide area network (WAN) but also a local area network (LAN).
  • WAN wide area network
  • LAN local area network
  • a NAN protocol based on a neighbor awareness networking (NAN) specification among short-distance communication networks is a protocol for synchronizing transmission or reception times of messages between an electronic device and another electronic device.
  • NAN neighbor awareness networking
  • Various embodiments disclosed in this document are intended to provide an electronic device capable of efficiently operating a service group between terminals supporting NAN-based communication and a NAN-based communication control method of the electronic device.
  • An electronic device may include a communication circuit, a memory, and a processor operatively connected to the communication circuit and the memory.
  • the memory when executed, synchronizes the processor with a cluster for performing neighbor awareness networking (NAN)-based communication with at least one external electronic device through the communication circuit, and the communication circuit
  • NAN neighbor awareness networking
  • a service group comprising at least one of at least one external electronic device and at least one external electronic device based on the service discovery operation and performing a NAN-based service discovery operation based on the service information and at least one external electronic device included in the cluster through configures, shares service group information with an external electronic device included in the configured service group through the communication circuit, registers the service group information in a BLE (Bluetooth low energy) scan filter, and uses the communication circuit to It is possible to store instructions for performing NAN-based communication within a service group.
  • BLE Bluetooth low energy
  • the NAN-based communication control method of an electronic device is synchronized to a cluster for performing neighbor awareness networking (NAN)-based communication with at least one external electronic device through a communication circuit.
  • NAN neighbor awareness networking
  • operation performing a NAN-based service discovery operation based on service information and at least one external electronic device included in the cluster through the communication circuit, and at least one external electronic device based on the service discovery operation
  • An operation of configuring a service group including at least one, an operation of sharing service group information with at least one external electronic device included in the configured service group through the communication circuit, and an operation of converting the service group information to Bluetooth low energy (BLE) It may include an operation of registering to a scan filter, and an operation of performing NAN-based communication within the service group through the communication circuit.
  • BLE Bluetooth low energy
  • the electronic device includes a communication circuit, a memory, and a processor operatively connected to the communication circuit and the memory, wherein the memory, when executed, the processor , when the communication in the previously configured neighbor awareness networking (NAN)-based service group is restarted, the previously stored service group information is recognized, and Bluetooth low energy (BLE) triggers based on the service group information registered in the BLE scan filter Recognizing at least one external electronic device corresponding to the service group based on a NAN communication protocol, controlling to activate a NAN function of the electronic device and the recognized at least one external electronic device, and controlling the electronic device and the at least one external electronic device A NAN-based service discovery operation is performed based on one external electronic device and the service group information, the service group is restored based on the service discovery, and a NAN-based service is performed in the restored service group through the communication circuit. It is possible to store instructions for performing the communication.
  • NAN neighbor awareness networking
  • BLE Bluetooth low energy
  • a service group may be formed between electronic devices supporting NAN-based communication, and NAN-based communication may be efficiently controlled based on service group information.
  • an electronic device belonging to a previously formed service group may be easily searched for based on service group information, and an existing service group may be re-formed to perform communication.
  • a previously formed service group may be quickly and easily re-formed based on service group information.
  • FIG. 1 illustrates an electronic device in a network environment according to various embodiments of the present disclosure.
  • FIG. 2 is a block diagram of an electronic device according to an exemplary embodiment.
  • FIG. 3 is a diagram illustrating a cluster in which an electronic device is synchronized according to an exemplary embodiment.
  • FIG. 4 is a diagram illustrating a time clock synchronized with an electronic device according to an exemplary embodiment.
  • FIG. 5 is a diagram illustrating a role and state transition of an electronic device in a cluster according to an exemplary embodiment.
  • FIG. 6 is a diagram illustrating a signal transmission/reception form of an electronic device according to an embodiment.
  • FIG. 7 is a diagram illustrating a NAN service discovery protocol using BLE communication according to an embodiment.
  • FIG. 8 is a diagram illustrating a BLE TDS packet according to an embodiment.
  • FIG. 9 is a flowchart of a NAN-based communication control method of an electronic device according to an embodiment.
  • FIG. 10 is a flowchart of a NAN-based communication control method of an electronic device according to an embodiment.
  • FIG. 11 is a flowchart of a NAN-based communication control method according to an embodiment.
  • FIG. 12 is a flowchart of a NAN-based communication control method of an electronic device according to an embodiment.
  • FIG. 13 is a flowchart of a NAN-based communication control method according to an embodiment.
  • 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 the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • a first network 198 eg, a short-range wireless communication network
  • a second network 199 e.g., a second network 199
  • the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • the electronic device 101 includes a processor 120 , a memory 130 , an input device 150 , a sound output device 155 , a display device 160 , an audio module 170 , and a sensor module ( 176 , interface 177 , haptic module 179 , camera module 180 , power management module 188 , battery 189 , communication module 190 , subscriber identification module 196 , or antenna module 197 . ) may be included. In some embodiments, at least one of these components (eg, the display device 160 or the camera module 180 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components may be implemented as one integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).
  • the sensor module 176 eg, a fingerprint sensor, an iris sensor, or an illuminance sensor
  • the processor 120 executes software (eg, the program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to 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 loaded into the volatile memory 132 , process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134 .
  • software eg, the program 140
  • the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 .
  • the volatile memory 132 may be loaded into the volatile memory 132 , process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134 .
  • the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor), and a secondary processor 123 (eg, a graphics processing unit, an image signal processor) that can be operated independently or in conjunction with the main processor 121 . , a sensor hub processor, or a communication processor). Additionally or alternatively, the auxiliary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a designated function. The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
  • a main processor 121 eg, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphics processing unit, an image signal processor
  • the auxiliary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a designated function.
  • the auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
  • the auxiliary processor 123 may be, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display device 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the 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 memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176 ) of the electronic device 101 .
  • the data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto.
  • the memory 130 may include a volatile memory 132 or a non-volatile memory 134 .
  • the program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .
  • the input device 150 may receive a command or data to be used by a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 .
  • the input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (eg, a stylus pen).
  • the sound output device 155 may output a sound signal to the outside of the electronic device 101 .
  • the sound output device 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback, and the receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
  • the display device 160 may visually provide information to the outside (eg, a user) of the electronic device 101 .
  • the display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the corresponding device.
  • the display device 160 may include a touch circuitry configured to sense a touch or a sensor circuit (eg, a pressure sensor) configured to measure the intensity of a force generated by the touch. have.
  • the audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input device 150 , or an external electronic device (eg, a sound output device 155 ) connected directly or wirelessly with the electronic device 101 .
  • the electronic device 102) eg, a speaker or headphones
  • the electronic device 102 may output a sound.
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do.
  • the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
  • the interface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ).
  • the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • the connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication through the established communication channel.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a local area network (LAN) communication module, or a power line communication module).
  • a wireless communication module 192 eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module
  • GNSS global navigation satellite system
  • wired communication module 194 eg, : It may include a local area network (LAN) communication module, or a power line communication module.
  • the corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, WiFi direct or IrDA (infrared data association)) or a second network 199 (eg, a cellular network, the Internet, Alternatively, it may communicate with the external electronic device 104 through a computer network (eg, a telecommunication network such as a LAN or WAN).
  • a computer network eg, a telecommunication network such as a LAN or WAN.
  • These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other.
  • the wireless communication module 192 uses the subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 .
  • the electronic device 101 may be identified and authenticated.
  • the antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device).
  • the antenna module 197 may include one antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern.
  • the antenna module 197 may include a plurality of antennas. In this case, 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, RFIC
  • other than the radiator may be additionally formed as a part of the antenna module 197 .
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • GPIO general purpose input and output
  • SPI serial peripheral interface
  • MIPI mobile industry processor interface
  • the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 .
  • Each of the external electronic devices 102 and 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 of the external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 may perform the function or service itself instead of executing the function or service itself.
  • one or more external electronic devices may be requested to perform at least a part of the function or the service.
  • the one or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 .
  • the electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request.
  • cloud computing, distributed computing, or client-server computing technology may be used.
  • FIG. 2 is a block diagram of an electronic device according to an exemplary embodiment.
  • the electronic device 200 may include a communication circuit 210 , a processor 230 , and a memory 220 .
  • the communication circuit 210 (eg, the communication module 190 of FIG. 1 ) is an external electronic device (eg, the electronic device of FIG. 1 ) under the control of the processor 230 or independently of the processor 230 . 102 , 104 or the server 108 ) or an external network (eg, the first network 198 or the second network 196 of FIG. 1 ).
  • the communication circuit 210 may perform neighbor awareness networking (NAN)-based communication.
  • the communication circuit 210 may perform a Bluetooth low energy (BLE) triggers NAN protocol defined in the NAN protocol.
  • the communication circuit 210 may include at least a part of the communication module 190 illustrated in FIG. 1 .
  • the processor 230 may configure a neighbor awareness networking (NAN) cluster with at least one external electronic device through the communication circuit 210 .
  • NAN neighbor awareness networking
  • the processor 230 may configure a NAN cluster with at least one external electronic device supporting the same service by using the BLE triggers NAN communication protocol through the communication circuit 210 .
  • the processor 230 is a first BLE TDS advertisement (BLE TDS) including service information (eg, service name or application name) corresponding to the application being executed (in service) through the communication circuit 210 .
  • transport discovery service) advertisement eg, M1 of FIG. 7
  • M1 of FIG. 7 may be transmitted to the external electronic device.
  • the processor 230 may receive a second BLE TDS advertisement packet from an external electronic device matching service information included in the first BLE TDS advertisement packet.
  • the external electronic device matching the service information included in the first BLE TDS advertisement packet may be a device that has registered service information in the BLE scan filter.
  • the processor 230 may enable the external electronic device matching the service information to activate the NAN function through the first BLE TDS advertisement packet.
  • the processor 230 may receive the second BLE TDS advertisement packet (eg, M2 of FIG. 7 ) in response to the first BLE TDS advertisement packet from the external electronic device through the communication circuit 210 . have. According to an embodiment, the processor 230 may activate a NAN function in response to receiving the second BLE TDS advertisement packet and perform a NAN cluster synchronization operation. According to an embodiment, the processor 230 may activate the NAN function while transmitting the first BLE TDS advertisement packet. According to an embodiment, the processor 230 may configure the NAN cluster in a manner according to a separate NAN protocol without using the BLE triggers NAN protocol.
  • the processor 230 may perform service discovery through the communication circuit 210 .
  • the processor 230 may perform service discovery based on service information.
  • the processor 230 may transmit a subscribe message including service information to at least one external electronic device included in the NAN cluster.
  • the processor 230 may receive a publish message transmitted by the external electronic device in response to the subscription message.
  • the publication message may include device information (eg, device name, ID, or phone number information) or user information (user name, profile information, or account information) of the external electronic device.
  • the processor 230 may configure a service group based on service discovery. According to an embodiment, when the processor 230 receives a publication message from at least one external electronic device included in the NAN cluster, the processor 230 includes information on at least one external electronic device based on the information included in the publication message.
  • a user interface can be provided. According to an embodiment, the processor 230 may select an external electronic device to configure a service group according to a user input through the user interface. According to an embodiment, the processor 230 is configured to have the same account information or related account information (eg, family account information) as the electronic device 200 based on the account information of the external electronic device included in the received issued message.
  • An external electronic device may be selected as an electronic device (eg, the electronic devices 102 and 104 of FIG.
  • the processor 230 configures a service group for an external electronic device that satisfies a specified condition based on information (eg, phone number or contact information) of the external electronic device included in the issued message.
  • An electronic device eg, the electronic devices 102 and 104 of FIG. 1 ) may be selected.
  • the processor 230 may configure a service group with the selected at least one external electronic device, and may synchronize it with the at least one external electronic device based on the service group information.
  • the service group information includes at least one of a service group profile ID, a service group ID, a service group key, a service group validity period, service group member information, service information, service related application information, and a service role. may include.
  • the processor 230 may share service group information with an external electronic device included in the service group through the communication circuit 210 .
  • the processor 230 may store the service group information in the memory 220 and transmit the service group information to an external electronic device in the service group through the communication circuit 210 .
  • the processor 230 may transmit a follow up (SDF) message including service group information to an external electronic device in the service group through the communication circuit 210 .
  • the processor 230 may transmit a NAN action frame including service group information to an external electronic device in the service group through the communication circuit 210 .
  • the processor 230 may transmit a follow up (SDF) message including a service group key to the external electronic device through the communication circuit 210 .
  • SDF follow up
  • the service group key may be included in the SDF message in a hash manner.
  • the service group key may be used to encrypt SDF, NAF, and data frames in the service group, and to communicate in a secure service group.
  • the processor 230 provides information (eg, service group member information) of the electronic device 200 and/or the external electronic device belonging to the service group to the external electronic device within the service group through the communication circuit 210 . can be transmitted.
  • information on the electronic device 200 and the external electronic device belonging to the service group may include a device name and/or device address information.
  • the processor 230 may delete the service group information whose validity period has elapsed.
  • the processor 230 may register service group information (eg, service group ID) in the BLE scan filter.
  • the BLE scan filter may be used when searching for an external electronic device supporting a NAN service by the BLE triggers NAN protocol.
  • the BLE scan filter may filter a signal corresponding to registered service group information among signals received from an external electronic device (eg, a BLE TDS packet broadcast by the external electronic device).
  • the processor 230 may recognize an external electronic device supporting specified service group information through a BLE scan filter.
  • the processor 230 may cause the external electronic device in the service group that has received the service group information to register the service group information (eg, service group ID) in the BLE scan filter.
  • each of the electronic device 200 or external electronic devices in the service group may register the same service group information to the BLE scan filter.
  • each of the electronic device 200 or external electronic devices in the service group may register a list of devices included in the same service group in the BLE scan filter.
  • the processor 230 may perform NAN-based communication within a service group through the communication circuit 210 .
  • the electronic device 200 and external electronic devices in the service group may provide a NAN-based service (eg, a function corresponding to the first service information).
  • the processor 230 performs a NAN-based service (eg, SDF exchange, NDP communication, ranging, or multicast service) corresponding to service information through the communication circuit 210 . can do.
  • a NAN-based service eg, SDF exchange, NDP communication, ranging, or multicast service
  • the processor 230 may recognize the NAN service interruption. For example, when the electronic device 200 terminates an application related to a service being provided, a user input to stop the NAN service, or an electronic device and/or an external electronic device in the service group deactivates the NAN function, within the service group NAN service interruption can be recognized when there is no communication for more than a specified time, or when a service group enters power saving mode.
  • the power saving mode of the service group may be a mode for reducing power consumed in the service group.
  • the power saving mode may include a state in which a service being provided in a service group is temporarily suspended.
  • the power saving mode may include a case in which at least one electronic device included in a service group operates in a power saving mode (eg, a battery saving mode) provided by the corresponding electronic device.
  • the processor 230 may transmit a message notifying the service suspension to an external electronic device in the service group through the communication circuit 210 .
  • the processor 230 may deactivate the NAN function when the NAN service is stopped. According to an embodiment, the processor 230 may cause the external electronic device to deactivate the NAN function through a message informing of service interruption.
  • the processor 230 may recognize the NAN service restart.
  • the processor 230 may receive a user's input for resuming a suspended or terminated NAN-based service.
  • the processor 230 outputs a user interface including information on a previously configured service group and/or a service performed in the service group through a display (eg, the display device 160 of FIG. 1 ). can do.
  • the processor 230 may receive a user input for selecting a specific service group or service through the user interface.
  • the processor 230 may recognize the resumption of NAN communication within the service group or deactivation of the power saving mode of the service group.
  • the power saving mode of the service group may be a mode for reducing power consumed in the service group.
  • the power saving mode may include a state in which a service being provided in a service group is temporarily suspended.
  • the power saving mode may include a case in which there is no NAN-based data communication for a predetermined period of time among NAN communication within a service group or a case in which a user selects a preset power saving mode through a user interface.
  • a host electronic device connected to an external output device forms a NAN-based service group with an external guest electronic device, and the host electronic device Assuming that a service of receiving audio data of a guest electronic device and outputting audio through a connected external output device is performed, any one of the host electronic device and/or the guest electronic device temporarily suspends (You can activate a user interface button to pause), or you can automatically pause a currently running service to launch another service temporarily.
  • NAN communication in the NAN-based service group may be temporarily stopped, and this state may be a state operating in a power saving mode.
  • the processor 230 may recognize pre-stored service group information.
  • the processor 230 may include at least one of a service group ID, a service group profile, service group member information, service information related to a service group, or roles of the electronic device 200 and/or external electronic devices within the service group.
  • the processor 230 may transmit the BLE TDS advertisement packet to the external electronic device based on the service group information through the communication circuit 210 .
  • service group information may be used to activate the NAN function by distinguishing only external electronic devices belonging to a previously configured service group, unlike service information generally used in the BLE TDS triggers NAN protocol.
  • the processor 230 may transmit a BLE TDS advertisement packet including service group information (eg, service group ID) to at least one external electronic device through the communication circuit 210 .
  • the processor 230 may receive the second BLE TDS advertisement packet from an external electronic device that has previously registered service group information in the BLE scan filter among the external electronic devices that have received the first BLE TDS advertisement packet. have.
  • the processor 230 transmits a BLE TDS packet (first BLE TDS advertisement packet) to the external electronic device and activates the NAN function, or responds (second BLE TDS advertisement packet) from the external electronic device ), you can activate the NAN function.
  • the external electronic device matching the service group information included in the first BLE TDS advertisement packet may transmit the second BLE TDS advertisement packet to the electronic device 200 and activate the NAN function.
  • only external electronic devices that previously belonged to the corresponding service group may selectively activate the NAN function.
  • the processor 230 may perform service discovery based on service group information. According to an embodiment, the processor 230 may perform service discovery through SDF exchange with an external electronic device. For example, the processor 230 may recognize an external electronic device belonging to a current NAN cluster among service group members. According to an embodiment, the processor 230 may generate a separate message based on service group information and related information (eg, service group member information or role information of the electronic device 200 and/or external electronic devices within the service group). It is also possible to configure NAN service groups without exchange.
  • service group information and related information eg, service group member information or role information of the electronic device 200 and/or external electronic devices within the service group. It is also possible to configure NAN service groups without exchange.
  • the processor 230 may reconfigure the service group. For example, the processor 230 may restore a previously configured service group. According to an embodiment, the processor 230 may perform NAN-based communication within a service group. For example, the processor 230 may provide a NAN-based service (eg, service information or a service corresponding to service group information) together with an external electronic device in the service group.
  • a NAN-based service eg, service information or a service corresponding to service group information
  • the processor 230 may include at least a portion of the processor 120 illustrated in FIG. 1 .
  • the memory 220 may store instructions executed by the processor 230 .
  • the memory 220 may store service group information.
  • the service group information includes a service group profile ID, a service group ID, a service group key, an expiration date, service group member information, service information, service related application information, or the electronic device 200 and an external electronic device belonging to the service group. It may include at least one of the service roles of the devices.
  • the service group profile ID may be an ID assigned by the electronic device 200 (or a user) to distinguish one or more service groups.
  • the memory 220 may include at least a portion of the memory 130 illustrated in FIG. 1 .
  • the electronic device 200 restores the service group by performing the BLE triggers NAN protocol and service discovery based on the service group information to prevent the NAN functions of external electronic devices not belonging to the service group from being activated.
  • the electronic device 200 improves the speed of reconfiguring a previously configured service group and reduces unnecessary current consumption and/or resource consumption of the electronic device 200 and/or external electronic devices when operating the service group. can be reduced
  • FIG. 3 is a diagram illustrating a cluster in which an electronic device is synchronized according to an exemplary embodiment.
  • the cluster 301 mentioned below may include a NAN cluster 301 according to a neighbor awareness networking (NAN) standard.
  • the NAN cluster 301 may refer to a set of at least one electronic device that transmits and receives data or signals based on, for example, a proximity network.
  • at least one electronic device synchronized with the NAN cluster 301 may include at least one parameter (eg, a discovery window) that is identical to each other in relation to operation of a proximity network or a proximity service (eg, a discovery window, between discovery windows). interval interval, beacon interval and/or NAN channel) may be used.
  • an electronic device 310 (eg, the electronic device 101 of FIG. 1 , and the electronic device 200 of FIG. 2 ) according to an embodiment includes a wireless communication circuit (or a wireless communication module) (eg, the electronic device 200 of FIG. 1 ).
  • a wireless communication circuit or a wireless communication module
  • At least one external electronic device 320a in order to operate low-power proximity communication (eg, first communication) of the NAN standard using the wireless communication module 192 of FIG. 1 and the communication circuit 210 of FIG. 2) 320b and/or 320c) and a network (eg, the first network 198 of FIG. 1 ) may be established, and a cluster 301 may be formed to interact.
  • the electronic device 310 transmits data or signals related to the operation of the proximity service through a discovery window period that is a communication period synchronized with the at least one external electronic device 320a, 320b, and/or 320c. It can transmit and receive.
  • the electronic device 310 transmits a sync beacon including at least one information related to synchronization with at least one external electronic device 320a, 320b, and/or 320c through the discovery window section. It can transmit and receive.
  • the electronic device 310 may transmit and receive a service discovery frame related to service advertisement or service information sharing through the discovery window period.
  • FIG. 4 is a diagram illustrating a time clock synchronized with an electronic device according to an exemplary embodiment.
  • an electronic device within a cluster (eg, the cluster 301 of FIG. 3 ) and/or at least one external electronic device ( Example: Time clocks are synchronized between the external electronic devices 320a, 320b, and 320c of FIG. 3, so that a beacon and a service discovery frame are mutually in the same discovery window (DW) period frames) can be exchanged.
  • the electronic device synchronized with the cluster and/or at least one external electronic device may operate in a wake state and a sleep state on a mutually synchronized time clock.
  • the electronic device synchronized to the cluster and/or the at least one external electronic device operates in a awake state in the discovery window (DW) period 410, and in a period other than the discovery window (DW) period 410, For example, in the interval period 440 between the plurality of discovery window (DW) periods 410 , power consumption may be reduced by operating in a sleep state.
  • the electronic device synchronized to the cluster and/or at least one external electronic device may perform other than the low-power proximity communication of the NAN standard in the interval period 440 between the plurality of discovery window (DW) periods 410 . Other communication methods may be used.
  • the electronic device synchronized with the cluster and/or at least one external electronic device may transmit and receive data or signals through a synchronization channel (eg, channel 6) according to the NAN standard.
  • a synchronization channel eg, channel 6
  • the electronic device synchronized with the cluster and/or the at least one external electronic device may be synchronized with a time clock of a specific electronic device defined as a master device.
  • the electronic device synchronized to the cluster and/or at least one external electronic device occupies 16 time units (TUs) according to the NAN standard on the time clock, and 512 time units
  • At least one of the synchronization beacon 420 and the service discovery frame 430 may be transmitted and received within the discovery window (DW) period 410 that exists at intervals.
  • the transmission of the synchronization beacon 420 and the service discovery frame 430 may be performed based on competition between an electronic device synchronized to a cluster and/or at least one external electronic device.
  • the synchronization beacon 420 is a specific electronic device defined as a master device or a non-master sync device among electronic devices synchronized with the cluster and/or at least one external electronic device. may be transmitted by the device.
  • the synchronization beacon 420 may function as a signal for maintaining synchronization (eg, time clock synchronization) between an electronic device synchronized with the cluster and/or at least one external electronic device.
  • the synchronization beacon 420 may include at least one piece of information accompanying synchronization between the electronic device and/or at least one external electronic device.
  • the synchronization beacon 420 may include a frame control field (FC) indicating a signal function (eg, a beacon), a broadcast address, and an electronic device that has transmitted the synchronization beacon 420 .
  • FC frame control field
  • MAC address media access control address
  • cluster identifier identifier
  • sequence control field sequence control field
  • time stamp time stamp
  • the synchronization beacon 420 may maintain synchronization with at least one other electronic device synchronized with the cluster based on the reception of the synchronization beacon 420 .
  • the synchronization beacon 420 may further include an information element related to a proximity network, the information element may include, for example, content of a proximity service that may be provided via the proximity network. have.
  • the service discovery frame 430 advertises a proximity service between an electronic device synchronized to the cluster and/or at least one external electronic device, and a signal for sharing information related to the proximity service based on a proximity network can function as
  • the service discovery frame 430 is a vendor specific public action frame and may include various fields.
  • the service discovery frame 430 may include at least one of a category field and an action field, and may further include an information element related to a proximity network.
  • at least one electronic device receiving the service discovery frame 430 may discover a proximity service advertised by the electronic device that has transmitted the service discovery frame 430, and may discover a proximity service related to the discovered proximity service. information can be obtained.
  • a specific electronic device functioning as a master device among the electronic device synchronized with the cluster and/or at least one external electronic device is a section 440 other than the discovery window (DW) section 410
  • Example: A discovery beacon 450 may be transmitted in an interval between a plurality of discovery window (DW) periods 410 ).
  • the discovery beacon 450 may function as a cluster advertisement signal transmitted so that other electronic devices that do not participate in the cluster can discover the cluster.
  • the other electronic device that did not participate in the cluster discovers the cluster by performing a passive scan to detect the discovery beacon 450 transmitted from the master electronic device synchronized to the cluster, Whether to synchronize the cluster may be determined.
  • the discovery beacon 450 may include at least one piece of information for synchronization with the cluster.
  • the discovery beacon 450 includes a frame control field (FC field) indicating a function (eg, a beacon) of a signal, a broadcast address, and an electronic device that has transmitted the discovery beacon 450 .
  • FC field frame control field
  • MAC address media access control address
  • cluster identifier identifier
  • sequence control field sequence control field
  • time stamp for the beacon frame
  • beacon interval field indicating the transmission interval of the discovery beacon (450) (beacon) interval field
  • the discovery beacon 450 may further include an information element related to a proximity network.
  • the information element included in the discovery beacon 450 may include, for example, cluster grade information.
  • a single channel eg, channel 6
  • a single frequency band eg, 2.4 GHz band
  • a plurality of frequency bands Example: A plurality of channels (eg, channel 6 and channel 149) of 2.4Ghz band and 5Ghz band) may be configured as DW at the same time.
  • the channel of the 5Ghz band may be determined differently according to the channel policy of each region.
  • electronic devices eg, the electronic devices 310 , 320a , 320b , and 320c of FIG. 3
  • electronic devices included in the NAN cluster perform beacon and service discovery in a plurality of DW sections configured in a plurality of frequency bands and channels. Frames can be sent and received.
  • FIG. 5 is a diagram illustrating a role and state transition of an electronic device in a cluster according to an exemplary embodiment.
  • electronic devices eg, electronic device 310 of FIG. 3 , and external electronic devices 320a, 320b, 320c synchronized with the cluster (eg, cluster 301 of FIG. 3 ) are the master ( role and status of any one of master) device 510 , non-master sync device 530 , and non-master non-sync device 550 .
  • electronic devices may have the role and status of the master device 510 when forming or participating in a cluster, and the role and status of the electronic devices satisfy the condition according to the NAN standard.
  • the NAN standard defines conditions (eg, RSSI and/or master rank) for changing the roles ((1), (2), (3), (4)) of electronic devices included in a cluster, and
  • conditions eg, RSSI and/or master rank
  • the roles (1), (2), (3), (4)
  • all conditions defined in the NAN standard will not be described in detail but will be briefly described.
  • roles of electronic devices included in the NAN cluster may be determined based on a master rank.
  • a master rank For example, an electronic device having a large master rank value among electronic devices included in the NAN cluster may be the master device 510 .
  • Master Rank Master Preference*2 ⁇ 56 + Random Factor*2 ⁇ 48 + MAC[5]*2 ⁇ 40 + ... + MAC[0]
  • Equation 1 above may represent a master rank referred to in determining the class of the cluster.
  • the master rank includes a master preference (eg, a value of 0 to 128), a random factor (eg, a value of 0 to 255) and a media access control address (MAC) ( Example: NAN interface address of the electronic device).
  • the master rank according to the sum of the factors is to be calculated for each of the electronic devices synchronized to the cluster (eg, the electronic device 310 of FIG. 3 and the external electronic devices 320a, 320b, 320c). and a specific electronic device having a relatively large master rank may have the role and status of a master device.
  • the master rank may mean a size or level of a cluster grade. For example, if the master rank of a master electronic device synchronized to the cluster is relatively high (or greater) than the master rank of another master electronic device synchronized to another cluster, the class of the cluster is higher than the other master rank. It can be understood as relatively high (or large) to the class of the cluster.
  • the grade of the cluster may be determined by the master rank calculated using only master preference among factors constituting the master rank. If the master preference used in determining the rating of a cluster and the master preference used in determining the rating of another cluster have the same value, the rating relationship between the cluster and the other cluster is determined by the remaining factors constituting the master rank, such as a random factor ( It may be determined by the master rank calculated by further using at least one of a random factor and a media access control address (MAC).
  • the class of the cluster may be determined based on at least one of the number of electronic devices synchronized to the cluster, the number of proximity services provided by the cluster, and the security level of the cluster, regardless of the master rank.
  • the cluster when the number of electronic devices synchronized to the cluster is large, the number of proximity services provided by the cluster is large, and/or the security level of the cluster is high (or large), the cluster is high (or large). , large) can be determined by the grade.
  • electronic devices synchronized with the cluster may determine whether to transmit a synchronization beacon (eg, 420 in FIG. 4 ) and a discovery beacon (eg, 450 in FIG. 4 ) according to their respective roles and states.
  • the sync beacon may be transmittable by a master device 510 and a non-master sync device 530
  • the discovery beacon may be transmitted by a master device 510 .
  • FIG. 6 is a diagram illustrating a signal transmission/reception form of an electronic device according to an embodiment.
  • the first electronic device 600 may transmit a synchronization beacon and a service discovery frame within the synchronized communication period 610 (eg, a discovery window) 610 .
  • the second electronic device 601 , the third electronic device 603 , and/or the fourth electronic device 605 in the cluster communicates with the first electronic device through the synchronized communication section 610 .
  • a synchronization beacon and a service discovery frame transmitted by the electronic device 600 may be received.
  • the second electronic device 601 , the third electronic device 603 , and/or the fourth electronic device 605 may maintain synchronization with other electronic devices in the cluster based on the reception of the synchronization beacon. .
  • the second electronic device 601 , the third electronic device 603 , and/or the fourth electronic device 605 discovers a service advertised by the first electronic device 600 by receiving the service discovery frame, Service information can be obtained.
  • the at least one electronic device 600 , 601 , 603 and/or 605 in the cluster operates in a wake state only in the communication period 610 synchronized on a time clock, and the synchronization In a section 640 other than the communication section 610 (eg, an interval section between synchronized communication sections 610), by operating in a sleep state, power consumption can be reduced.
  • the at least one electronic device 600 , 601 , 603 and/or 605 in the cluster may have a period other than the synchronized communication period 610 (eg, an interval 640 between discovery windows DW). ), it is possible to operate a network of a communication method other than the low-power proximity communication of the NAN standard.
  • FIG. 7 is a diagram illustrating a NAN service discovery protocol using BLE communication according to an embodiment.
  • the NAN electronic devices 701 and 703 perform a low-power proximity communication operation according to the NAN standard
  • BLE (Bluetooth) low energy) triggers can operate according to the NAN communication protocol.
  • the NAN electronic device performs BLE communication-based scanning to discover other adjacent electronic devices, and uses low-power proximity communication according to the NAN standard.
  • the other electronic device may determine synchronization with respect to the synchronized cluster.
  • an electronic device is a provider (passive) electronic device 701 or a browser or seeker (browser or seeker (browser or seeker) active)) may correspond to the electronic device 703 .
  • the seeker electronic device 703 may transmit a first BLE transport discovery service (TDS) advertisement packet M1 using BLE communication.
  • TDS transport discovery service
  • the searcher electronic device 703 includes the service information or service group information in a hash method.
  • a first BLE TDS advertisement packet may be transmitted.
  • the searcher electronic device 703 may hash the service group information to the first BLE TDS advertisement packet using a bloom filter and transmit it.
  • the searcher electronic device 703 may transmit a first BLE TDS advertisement packet including service group information related to a previously configured service group instead of service information.
  • the provider electronic device 701 and the searcher electronic device 703 may be in a state in which the NAN function is deactivated.
  • the provider (passive) electronic device 701 transmits the first BLE TDS advertisement packet (M1) from the searcher electronic device 703 through a scanning operation using BLE communication. may be received, and service group information included in the first BLE TDS advertisement packet may be checked. For example, in operation 720, the provider electronic device 701 provides service group information included in the first BLE TDS advertisement packet and service group information included in the provider electronic device 701 (eg, registered in the BLE scan filter). service group information) may be determined. According to an embodiment, in operation 720 , the provider electronic device 701 and the searcher electronic device 703 may be in a state in which the NAN function is deactivated. For example, the provider electronic device 701 may recognize a service match through a scan in an inactive state of the NAN function (Provider scan hit (service matched) and NAN is off).
  • the provider electronic device 701 uses the BLE communication to include the service information or the service group information of the provider electronic device 701 in a hash manner in a second BLE TDS advertisement packet (M2). ) may be transmitted to the searcher electronic device 703 .
  • M2 BLE TDS advertisement packet
  • the provider electronic device 701 and the searcher electronic device 703 may be in a state in which the NAN function is deactivated.
  • the seeker (Active) electronic device 703 performs a scanning operation using BLE communication to receive the second BLE TDS advertisement packet transmitted by the provider electronic device 701 . to determine whether the service group information included in the second BLE TDS advertisement packet and the service group information of the searcher electronic device 703 (eg, service group information registered in the BLE scan filter) match can
  • the provider electronic device 701 and the searcher electronic device 703 may be in a state in which the NAN function is deactivated.
  • the searcher electronic device 703 may perform service matching and BLE address resolution through a scan (seeker scan hit (service matched + resolved BLE addresses).
  • the searcher electronic device 703 may connect to the provider electronic device 701 using BLE communication. For example, the searcher electronic device 703 may transmit the third BLE TDS advertisement packet M3 to the provider electronic device 701 to which the service group information matches.
  • the provider electronic device 701 and the searcher electronic device 703 may be in a state in which the NAN function is deactivated.
  • the provider electronic device 701 and the searcher electronic device 703 may prepare to activate the NAN function.
  • the provider electronic device 701 may activate a NAN-based communication function (turn on NAN).
  • the provider electronic device 701 having service group information matching the searcher electronic device 703 may activate a NAN-based communication function.
  • the searcher electronic device 703 may activate a NAN-based communication function (turn on NAN).
  • the searcher electronic device 703 performs information related to the provider electronic device 701 having matching service information or service group information (eg, an icon and additional information (eg, user name)). ) can be provided.
  • the searcher electronic device 703 may display icons and additional information (eg, user name) for known devices and may activate a NAN function (display icon + additional info (user name) if is a known devices and turns on NAN).
  • the searcher electronic device 703 and the provider electronic device 701 may perform NAN standard service discovery (NAN service discovery).
  • NAN service discovery NAN standard service discovery
  • the provider electronic device 701 may activate the NAN function in operation 720 when it matches the service group information included in the received first BLE TDS advertisement packet, and , the searcher electronic device 703 may activate the NAN function in operation 740 in response to the received second BLE TDS advertisement packet.
  • the searcher electronic device 703 may activate the NAN function in operation 740 in response to the received second BLE TDS advertisement packet.
  • at least one of operations 750, 751, and 753 may be omitted.
  • FIG. 8 is a diagram illustrating a BLE TDS packet according to an embodiment.
  • the electronic device communicates in the NAN standard according to the BLE triggers NAN communication protocol specified in release 3 of the NAN standard.
  • the BLE TDS packet 800 including service group information provided by the electronic device may be transmitted using BLE communication.
  • a description of the general configuration of the BLE TDS packet 800 defined in the BLE triggers NAN communication protocol defined in release 3 of the NAN standard will be omitted.
  • the electronic device may include a value generated by hashing service group information using a bloom filter 850 in the bloom filter 850 .
  • the electronic device performs a scanning operation using the BLE communication to receive the BLE TDS packet 800 including service group information provided by the other electronic device from another electronic device (eg, the first external electronic device).
  • the electronic device may obtain service group information based on a value of the Bloom filter 850 of the received BLE TDS packet 800 .
  • the electronic device may determine whether the service group information in the BLE TDS packet 800 received from the other electronic device matches the service group information of the electronic device, and based on the determination result, the NAN-based You can control the activation of communication functions. For example, when it is determined that service group information between the external electronic device and the electronic device is matched, the electronic device may activate a NAN-based communication function.
  • the electronic device (eg, the electronic device 101 of FIG. 1 , the electronic device 200 of FIG. 2 , or the electronic device 300 of FIG. 3 ) according to an embodiment of the present disclosure includes a communication circuit (eg, the electronic device 300 of FIG. 1 ).
  • communication module 190 , communication circuitry 210 of FIG. 2 ), a memory (eg, memory 130 of FIG. 1 , memory 220 of FIG. 2 ), and operatively with the communication circuitry and the memory ) may include a connected processor (eg, the processor 120 of FIG. 1 , the processor 230 of FIG. 2 ).
  • the memory when executed, synchronizes the processor with a cluster for performing neighbor awareness networking (NAN)-based communication with at least one external electronic device through the communication circuit, and the communication circuit
  • NAN neighbor awareness networking
  • a service group comprising at least one of at least one external electronic device and at least one external electronic device based on the service discovery operation and performing a NAN-based service discovery operation based on the service information and at least one external electronic device included in the cluster through configures, shares service group information with an external electronic device included in the configured service group through the communication circuit, registers the service group information in a BLE (Bluetooth low energy) scan filter, and uses the communication circuit to It is possible to store instructions for performing NAN-based communication within a service group.
  • BLE Bluetooth low energy
  • the processor controls to deactivate the NAN function of the electronic device included in the service group and the at least one external electronic device when terminating communication within the service group can make it
  • the service when the instructions are executed, when the processor restarts communication in the service group, the service is based on the BLE triggers NAN communication protocol based on the service group information registered in the BLE scan filter. At least one external electronic device included in the group may be recognized.
  • the processor may transmit a signal including a BLE TDS (Bluetooth low energy transport discovery service) packet including the service group information through the communication circuit.
  • BLE TDS Bluetooth low energy transport discovery service
  • the processor may control to activate the NAN function of at least one electronic device included in the service group through a signal including the BLE TDS packet.
  • the instructions when executed, may cause the processor to perform a NAN-based service discovery operation based on service group information and at least one external electronic device included in the synchronized service group.
  • the processor when the instructions are executed, when there is no communication between the electronic devices in the service group for more than a preset time, or when there is no communication between the electronic devices in the service group, the processor receives a user input, the execution of a service-related application ends, or the service group
  • the NAN function of the electronic device included in the service group and the at least one external electronic device may be deactivated based on at least one of the power saving mode execution.
  • the electronic device may further include a display (eg, the display device 160 of FIG. 1 ).
  • a service group recognized by the processor based on the BLE triggers NAN communication protocol or information of at least one external electronic device included in the service group is displayed through the display. can make it
  • the service group information includes at least one of a service group profile ID, a service group ID, a service group key, a service group validity period, service group member information, service information, service related application information, or a service role. may contain one.
  • the service group information may include information on an expiration period.
  • the instructions when executed, may cause the processor to delete the service group information when the expiration period elapses.
  • An electronic device may include a communication circuit, a memory, and a processor operatively connected to the communication circuit and the memory.
  • the memory when the memory is executed, when the processor restarts communication within a previously configured neighbor awareness networking (NAN)-based service group, the memory recognizes pre-stored service group information, and sends the information to the BLE scan filter.
  • NAN neighbor awareness networking
  • BLE Bluetooth low energy
  • FIG. 9 is a flowchart of a NAN-based communication control method of an electronic device according to an embodiment.
  • the electronic device eg, the electronic device 101 of FIG. 1 , the electronic device 200 of FIG. 2 , or the electronic device 300 of FIG. 3
  • the electronic device is connected to at least one external electronic device ( Example: Electronic devices 102 and 104 of FIG. 1 or external electronic devices 320a, 320b, 320c of FIG. 3) and a neighbor awareness networking (NAN) cluster (eg, cluster 301 of FIG. 3) may be configured.
  • NAN neighbor awareness networking
  • the electronic device may configure a NAN cluster with at least one external electronic device supporting the same service by using a BLE (Bluetooth low energy) triggers NAN communication protocol.
  • the electronic device transmits, to the external electronic device, a first BLE TDS advertisement packet M1 including first service information (eg, an application name) corresponding to an application being executed (in service). can be transmitted
  • the external electronic device that has been waiting in the BLE scan mode may receive the first BLE TDS advertisement packet.
  • the external electronic device receiving the first BLE TDS advertisement packet may determine whether the first service information included in the first BLE TDS advertisement packet is registered in the BLE scan filter of the external electronic device.
  • the external electronic device if the external electronic device has an application corresponding to the first service information and the first service information is registered in the BLE scan filter, receives the second BLE advertisement packet M1 corresponding to the received first BLE advertisement packet M1.
  • the BLE TDS advertisement packet M2 may be transmitted to the electronic device.
  • the external electronic device can support a service corresponding to the first service information, not only when the application corresponding to the first service information is included, but also when the application corresponding to the first service information is being executed. In this case, the second BLE TDS advertisement packet M2 corresponding to the received first BLE advertisement packet M1 may be transmitted to the electronic device.
  • the external electronic device may activate a NAN function and perform a NAN cluster synchronization operation while transmitting the second BLE TDS advertisement packet M2.
  • the electronic device in response to receiving the second BLE TDS advertisement packet M2, the electronic device may activate a NAN function and perform a NAN cluster synchronization operation.
  • the electronic device and the at least one external electronic device may configure the NAN cluster in a manner according to a separate NAN protocol without using the BLE triggers NAN protocol.
  • the electronic device may trigger the NAN function through various communication methods (eg, the first network 198 or the second network 199 of FIG. 1 ).
  • the electronic device and at least one external electronic device activate a NAN function through an out of band (OOB) method including a conventional BLE method, near field communication (NFC), or quick response (QR) method, You can configure a NAN cluster.
  • OOB out of band
  • NFC near field communication
  • QR quick response
  • the electronic device may activate a NAN function of at least one external electronic device through a server (eg, the server 108 of FIG. 1 ) and configure a NAN cluster.
  • the electronic device may perform service discovery. For example, the electronic device may perform service discovery based on the first service information.
  • the electronic device may transmit a subscribe message including the first service information to at least one external electronic device included in the NAN cluster.
  • the external electronic device included in the NAN cluster may transmit a publish message to the electronic device in response to the received subscription message.
  • the external electronic device may check the first service information included in the subscription message, and, if a service corresponding to the first service information can be provided, may transmit a publication message to the electronic device.
  • the publication message may include device information (eg, device name, ID, or phone number information) or user information (user name, profile information, or account information).
  • the electronic device may configure a service group based on service discovery.
  • a user interface including information on at least one external electronic device based on information included in the publication message can provide
  • the electronic device may select an external electronic device to configure a service group according to a user input through the user interface.
  • the electronic device provides a service to an external electronic device having the same account information or related account information (eg, family account information) as the electronic device based on the account information of the external electronic device included in the received issued message.
  • a group may be selected as an electronic device to be configured.
  • the electronic device configures an external electronic device that satisfies a specified condition based on information (eg, phone number or contact information) of the external electronic device included in the issued message to form a service group. can be selected as
  • the electronic device may configure a service group with at least one selected external electronic device.
  • the electronic device may synchronize with at least one external electronic device based on service group information.
  • the electronic device may synchronize a message transmission or reception time (eg, the synchronized communication section 610 ) with at least one external electronic device included in the service group.
  • the service group information includes at least one of a service group profile ID, a service group ID, a service group key, a service group validity period, service group member information, service information, service related application information, and a service role. may include.
  • the electronic device may share service group information with an external electronic device included in the service group.
  • the electronic device may store service group information and transmit the service group information to an external electronic device within the service group.
  • the electronic device may transmit a follow up (SDF) message including service group information to an external electronic device in the service group.
  • the electronic device may transmit a NAN action frame including service group information to an external electronic device in the service group.
  • the electronic device may transmit a follow up (SDF) message including a service group key to the external electronic device.
  • the service group key may be included in the SDF message in a hash manner.
  • the service group key may be utilized to encrypt SDF, NAF, and/or data frames in the service group to secure communications within the service group.
  • the electronic device may transmit information (eg, service group member information) of the electronic device belonging to the service group to an external electronic device within the service group.
  • the information on the electronic device belonging to the service group may include a device name and/or device address information.
  • the electronic device and/or the external electronic device may delete service group information whose expiration date has elapsed.
  • the electronic device may register service group information (eg, service group ID) in the BLE scan filter.
  • the external electronic device within the service group that has received the service group information may register the received service group information (eg, service group ID) in the BLE scan filter.
  • each of the electronic device in the service group and the at least one external electronic device may register the same service group information to the BLE scan filter.
  • each of the electronic device and the at least one external electronic device may register at least one service group information in the BLE scan filter.
  • service group information corresponding to a device eg, a provider device
  • the NAN function of the device registered to can be activated.
  • the electronic device and the at least one external electronic device register a plurality of service group information in the BLE scan filter
  • the electronic device and the at least one external electronic device are connected to the registered service group when the NAN service is started.
  • Related information or information related to a service performed by a registered service group may be provided through a user interface.
  • the electronic device and the at least one external electronic device may reconfigure (restore) a selected service group or a service group corresponding to the service through the user interface.
  • each of the electronic device and the at least one external electronic device may set a priority when registering at least one service group information in the BLE scan filter. For example, when a NAN-based service is performed based on a NAN-based service group having a high priority, the service of a NAN-based service group having a low priority may not be provided.
  • the electronic device may perform NAN-based communication within a service group.
  • the electronic device and the external electronic device in the service group may provide a NAN-based service (eg, a function corresponding to the first service information).
  • the electronic device may perform SDF exchange, NDP communication, ranging, or multicast service corresponding to the NAN-based service.
  • FIG. 10 is a flowchart of a NAN-based communication control method of an electronic device according to an embodiment.
  • the electronic device may recognize the start of the NAN service.
  • the electronic device may receive a user's input for starting a NAN-based service.
  • the electronic device may transmit a BLE TDS packet.
  • the electronic device may broadcast a BLE TDS packet based on the BLE triggers NAN protocol.
  • the electronic device may transmit a first BLE TDS packet including service information to at least one peripheral external electronic device.
  • the electronic device may receive the second BLE TDS packet from the external electronic device having matching service information.
  • the electronic device may activate a NAN function.
  • the electronic device may activate the NAN function in response to the second BLE TDS packet received from the external electronic device.
  • the electronic device may synchronize with the NAN cluster using the NAN function.
  • the electronic device may synchronize time for transmitting and receiving a message with at least one external electronic device included in the NAN cluster.
  • the electronic device may perform service discovery. For example, the electronic device may transmit a subscribe message including service information to an external electronic device included in the NAN cluster. For example, the electronic device may receive a publish message from an external electronic device matching service information.
  • the electronic device may determine a service group. For example, the electronic device may provide information on external electronic devices corresponding to the received issued message. For example, the electronic device may display information (eg, a device name or a device description) of the external electronic device matching the service information on the display. For example, the electronic device may select an external electronic device to configure a service group based on a user input or a specified condition. For example, the electronic device may configure a service group with the selected external electronic devices.
  • information eg, a device name or a device description
  • the electronic device may store service group information on the configured service group and share service group information with an external electronic device in the service group.
  • the service group information may include a service group ID.
  • the service group ID may be set according to a user input.
  • the electronic device may store information used to provide a NAN service within the service group. For example, the electronic device may assign a service group profile ID to the service group. For example, the electronic device may store service information performed by the service group and a result of performing service discovery (eg, service info detail). For example, the electronic device may store a role performed by each electronic device in a service group.
  • service info detail e.g., service info detail
  • the electronic device when the electronic device transmits content to the first external electronic device and the second external electronic device, and the first external electronic device and the second external electronic device perform a service for outputting content, the electronic device Information indicating that the device serves as a source for transmitting content and that the first external electronic device and the second external electronic device act as a sink for outputting content may be stored.
  • the electronic device may store the service group profile ID, service information, service discovery performance result, and information on the roles of the electronic devices by including the service group information in the service group information or separately store the information.
  • the electronic device may share the stored information with the electronic device in the service group.
  • the electronic device may register service group information (eg, service group ID) in the BLE scan filter. For example, by registering service group information in the BLE scan filter, the electronic device may utilize it when synchronizing with the NAN cluster based on the BLE triggers NAN protocol later. According to an embodiment, by registering service group information in the BLE scan filter, the electronic device activates the NAN function of the electronic device included in the NAN cluster and the external electronic device based on the conventional BLE method as well as the BLE triggers NAN protocol. can do.
  • service group information eg, service group ID
  • the electronic device may perform NAN-based communication within a service group.
  • the electronic device may provide a service corresponding to service information together with external electronic devices in a service group.
  • at least some of the electronic device and at least one external electronic device included in the service group may first perform NAN-based communication, and then the remaining electronic devices may perform NAN-based communication.
  • at least a portion of the electronic device included in the service group and at least one external electronic device performs NAN-based communication, thereby reducing unnecessary power or resource consumption in the service group.
  • the electronic device included in the service group and the at least one external electronic device may be included in the first group and/or the second group in the service group.
  • the service group may include a first group including at least one of an electronic device and at least one external electronic device, and a second group including at least another one of the electronic device and at least one external electronic device.
  • operation scheduling may be possible for each first group and/or second group within a service group.
  • the first group may perform NAN communication for distance positioning at a first time
  • the second group may perform NAN communication for distance positioning at a second time.
  • the electronic device may recognize the NAN service interruption. For example, when an application related to a service being provided is terminated, a user input to stop the NAN service, there is no communication for more than a specified time within the service group, or when the service group enters the power saving mode, the electronic device stops the NAN service.
  • the power saving mode of the service group may be a mode for reducing power consumed in the service group.
  • the power saving mode may include a state in which a service being provided in the service group is temporarily suspended, or a state in which an electronic device and/or an external electronic device in the service group cannot provide a NAN service.
  • the electronic device may recognize the interruption of the NAN service when a specified time has elapsed or when a specified time has elapsed since service provision is started or when the user leaves a specified place.
  • the electronic device may transmit a service stop message to an external electronic device within the service group.
  • the electronic device may deactivate the NAN function.
  • the electronic device may inactivate at least a part of a NAN-related function or may inactivate at least some components related to a NAN function.
  • the electronic device may switch at least a part of a NAN-related function or at least some components to a sleep mode.
  • FIG. 11 is a flowchart of a NAN-based communication control method according to an embodiment.
  • FIG. 11 shows an electronic device (device A 1101 ) (eg, the electronic device 101 of FIG. 1 , the electronic device 200 of FIG. 2 , or the electronic device 300 of FIG. 3 ) as external electronic devices (device B). (1103), the device C (1105), the device D (1107), the device E (1109) and the case of configuring the NAN cluster 1100 is shown.
  • the electronic device may constitute the NAN cluster 1100 with at least one external electronic device. .
  • the electronic device may recognize the start of the NAN service.
  • the device A 1101 may receive a user input for starting a NAN-based service.
  • device A 1101 , device B 1103 , device C 1105 , device D 1107 , and device E 1109 create a NAN cluster based on the BLE triggered NAN protocol.
  • (1100) can be synchronized.
  • the device A 1101 may hash the service information with a bloom filter and include it in the first BLE TDS advertisement packet (eg, M1 of FIG. 7 ).
  • device A 1101 sends a first BLE TDS advertisement packet M1 including service information to device B 1103 , device C 1105 , device D 1107 , and device E 1109 . can be transmitted.
  • device B 1103 , device C 1105 , device D 1107 , and device E 1109 support the same or similar service as device A 1101 , or an application related to the same service. may include.
  • device B 1103 , device C 1105 , device D 1107 , and device E 1109 may register corresponding service information in the BLE scan filter.
  • the device B 1103, the device C 1105, the device D 1107, and the device E 1109 receive the service information of the first BLE TDS advertisement packet M1 to the BLE scan filter.
  • a second BLE TDS advertisement packet (eg, M2 of FIG. 7 ) may be transmitted to the device A 1101 .
  • device B 1103 , device C 1105 , device D 1107 , and device E 1109 transmit a second BLE TDS advertisement packet M2 to device A 1101 , and Together, the NAN function can be activated.
  • the device A 1101 may activate the NAN function in response to receiving the second BLE TDS advertisement packet.
  • the device A 1101 may transmit the first BLE TDS advertisement packet and activate the NAN function.
  • device A 1101 , device B 1103 , device C 1105 , device D 1107 , and device E 1109 that have activated the NAN function may synchronize the NAN cluster 1100 . can
  • device A 1101 , device B 1103 , device C 1105 , device D 1107 , and device E 1109 perform service discovery based on the NAN protocol. can be done According to an embodiment, in operation 1115 , device A 1101 , device B 1103 , device C 1105 , device D 1107 , and device E 1109 subscribe message including service information to device E 1109 . can be transmitted. According to an embodiment, in operation 1120 , each of the device B 1103 , the device C 1105 , the device D 1107 , and the device E 1109 matches the service supported by the service information included in the received subscription message. If so, it is possible to transmit a publish message to the device A 1101 .
  • the publish messages sent by device B 1103 , device C 1105 , device D 1107 , and device E 1109 are device B 1103 , device C 1105 , device D (1107), and information of device E (1109) (eg, device name, user name, device address (eg, NMI/NDI/WLAN address, or Wi-Fi P2P address), user's profile information (eg, introduction message) , business card, or photo), the user's phone number, and/or the user's account information).
  • device name eg, user name, device address (eg, NMI/NDI/WLAN address, or Wi-Fi P2P address), user's profile information (eg, introduction message) , business card, or photo), the user's phone number, and/or the user's account information).
  • the device A 1101 transmits the publication message based on information included in the received publication message (eg, the device B 1103 , the device C 1105 , Information of the device D 1107 and the device E 1109 may be provided through a user interface.
  • the device A 1101 may select a device (ie, a service target device) to configure a service group according to a user input through the user interface.
  • the device A 1101 may determine the ID of the service group according to the user input.
  • device A 1101 does not provide a user interface, and a relationship established in a contact based on a specified condition (eg, a device having the same user account as device A 1101 , a device having a family account, or a phone number)
  • a device that satisfies e.g., a device having a family, friends
  • the device C 1105 and the device E 1109 are selected, and the device A 1101 , the device C 1105 , and the device E 1109 constitute a service group.
  • the device A 1101 may share service group information with the selected devices (the device C 1105 and the device E 1109 ) to configure the service group.
  • the service group information may include a service group ID, a service group key, group member information, and an expiration date.
  • device A 1101 may transmit a follow up (SDF) message including service group information to device C 1105 and device E 1109 .
  • SDF follow up
  • device A 1101 may transmit a NAN action frame including service group information to device C 1105 and device E 1109 .
  • device A 1101 may share a service group key with devices in the service group (device C 1105 and device E 1109 ).
  • the device A 1101 may process the service group key in a hash manner and transmit it to the device C 1105 and the device E 1109 .
  • the service group key may be utilized to perform secure communication by encrypting SDF, NAF, and data frames used in communication within the service group.
  • the service group key may include an independent key for each SDF, NAF, and data frame.
  • device A 1101 may share service group member information with device C 1105 and device E 1109 .
  • the service group member information may include at least one of names, addresses, users, accounts, and profile information of devices belonging to the service group.
  • device A 1101 , device C 1105 , and device E 1109 share service group member information, so that each device belonging to the service group recognizes information of other devices belonging to the service group. can do.
  • each of the device A 1101 , the device C 1105 , and the device E 1109 belonging to the service group provides service group information for which the validity period has elapsed. can be deleted.
  • device A 1101 , device C 1105 , and device E 1109 belonging to the service group may store service group information.
  • device A 1101 , device C 1105 , and device E 1109 may register service group information (eg, service group ID) to the BLE scan filter.
  • service group information eg, service group ID
  • device A 1101 , device C 1105 , and device E 1109 register service group information in the BLE scan filter, and then quickly and easily reconfigure the service group based on the BLE triggers NAN protocol. can be used to
  • device A 1101 , device C 1105 , and device E 1109 perform NAN protocol-based communication (eg, SDF/NDP/Ranging) within the service group.
  • NAN protocol-based communication eg, SDF/NDP/Ranging
  • the device A 1101 may recognize the NAN service interruption.
  • the device A 1101 may recognize a user input for terminating or temporarily suspending the NAN service being provided.
  • the device A 1101 may recognize the end of the application providing the NAN service.
  • the device A 1101 may recognize a case in which there is no communication within the service group for a specified time or longer.
  • device A 1101 may recognize a case in which a service group (or a device within the service group) is switched to a power saving mode according to a user input.
  • the device A 1101 may transmit a message notifying the end of the service or the suspension of the service to the device C 1105 and the device E 1109 .
  • the device A 1101 may transmit an SDF message or an NAF message including a notification of service interruption to the device C 1105 and the device E 1109 .
  • device A 1101 , device C 1105 , and device E 1109 may deactivate the NAN function.
  • FIG. 11 illustrates that device A 1101 initiates operations related to NAN service start, NAN cluster synchronization, service group configuration, and NAN service cessation, but each operation is performed by device B 1103 ), device C 1105 , device D 1107 , and/or device E 1109 .
  • FIG. 12 is a flowchart of a NAN-based communication control method of an electronic device according to an embodiment. For example, as described with reference to FIG. 10 , FIG. 12 describes operations when the electronic devices in the service group register service group information to the BLE scan filter and then restart the stopped NAN service.
  • the electronic device may recognize the start of the NAN service.
  • the electronic device may receive a user's input for restarting a stopped or terminated NAN-based service.
  • the electronic device may receive a user input for starting a NAN service based on a previously formed service group.
  • the electronic device may output a user interface including information on a previously configured service group and/or a service performed in the service group.
  • the user interface may include information (eg, an icon, a user name, or a device ID) corresponding to an electronic device included in the service group or an external electronic device.
  • the user interface may include service group-related information (eg, service group information (eg, service group ID, service group name)).
  • service group information eg, service group ID, service group name
  • the user interface may include information related to a service being provided by the service group (eg, a multimedia streaming service performed within the service group).
  • the user interface may include information (eg, a list including a device ID or a device name) on at least one external electronic device included in the service group.
  • the electronic device may use a specific device (eg, an electronic device and/or at least one external electronic device), a service group (eg, information related to a service group), or a service (eg, a service and an external electronic device) through a user interface. related information) may be received.
  • a specific device eg, an electronic device and/or at least one external electronic device
  • a service group eg, information related to a service group
  • a service eg, a service and an external electronic device
  • the electronic device may receive a user input for resuming the streaming service through the user interface.
  • the electronic device may recognize resumption of a suspended NAN-based service (eg, resumption of communication within a service group or deactivation of a power saving mode).
  • the electronic device may recognize pre-stored service group information.
  • the electronic device may recognize at least one of a service group ID, a service group profile, service group member information, service information related to a service group, or roles of electronic devices in the service group.
  • the electronic device may transmit a BLE TDS packet based on service group information.
  • service group information may be used to activate a NAN function by distinguishing only electronic devices belonging to a previously configured service group, unlike service information generally used in the BLE TDS triggers NAN protocol.
  • the electronic device may transmit a first BLE TDS advertisement packet including service group information (eg, service group ID) to at least one external electronic device.
  • service group information eg, service group ID
  • an external electronic device that has previously registered service group information in a BLE scan filter among external electronic devices that have received the first BLE TDS advertisement packet may transmit the second BLE TDS advertisement packet to the electronic device.
  • the electronic device may activate a NAN function.
  • the electronic device transmits a BLE TDS packet (a first BLE TDS advertisement packet) to the external electronic device and activates a NAN function or a response from the external electronic device (second BLE TDS advertisement packet) If received, the NAN function can be activated.
  • the external electronic device storing service group information matching service group information included in the first BLE TDS advertisement packet transmitted by the electronic device transmits the second BLE TDS advertisement packet to the electronic device You can activate the NAN function with For example, based on the service group information, only electronic devices previously belonging to the corresponding service group may selectively activate the NAN function and configure the NAN cluster.
  • the electronic device may perform service discovery based on service group information.
  • the electronic device may perform service discovery through SDF exchange.
  • the electronic device may recognize an external electronic device belonging to a current NAN cluster among service group members.
  • the electronic device may configure the NAN service group in operation 1230 without exchanging a separate message based on service group information and related information (eg, service group member information, role information of electronic devices in the service group). have.
  • the electronic device may configure a service group. For example, the electronic device may restore a previously configured service group.
  • the electronic device may perform NAN-based communication within a service group.
  • the electronic device may provide a service corresponding to service information together with external electronic devices in a service group.
  • the electronic device may perform secure communication within the service group using the service group key.
  • the electronic device restores the service group by performing the BLE triggers NAN protocol and service discovery based on the service group information, thereby preventing the NAN functions of external electronic devices not belonging to the service group from being activated. Accordingly, the electronic device may improve the speed of reconfiguring the service group and reduce current consumption during operation of the service group and current or resource consumption of unnecessary electronic devices.
  • FIG. 13 is a flowchart of a NAN-based communication control method according to an embodiment.
  • FIG. 13 describes operations in the case of restarting the NAN service that was stopped after devices in the service group register service group information to the BLE scan filter.
  • the device A 1301 , the device C 1305 , and the device E 1309 are devices that have previously formed a service group and store service group information (eg, service group ID), respectively. may be doing
  • the device A 1301 , the device C 1305 , and the device E 1309 may have registered service group information in the BLE scan filter.
  • device A 1301 , device B 1303 , device C 1305 , device D 1307 , and device E 1309 are device A 1101 and device B 1103 described in FIG. 11 . , device C 1105 , device D 1107 , and device E 1109 , respectively.
  • the electronic device may recognize the start of the NAN service.
  • the devices A 1301 and 1101 may receive a user input for restarting a NAN-based service that has been interrupted or terminated.
  • the device A 1301 may recognize that the power saving mode for the service group is deactivated.
  • device A 1301 performs device B 1303 , device C 1305 , device D 1307 , and device E ( ) according to a BLE triggered NAN protocol based on service group information. 1309), the first BLE TDS advertisement packet (eg, M1 of FIG. 7 ) may be transmitted.
  • the device A 1301 may hash the service group information and include it in the first BLE TDS advertisement packet.
  • each external electronic device eg, device B 1303 , device C 1305 , device D 1307 , and device E 1309 ) that has received the first BLE TDS advertisement packet.
  • the device B 1303 and the device D 1307 have service not-matched, and the device C 1305 and the device E 1309 have matching services ( service matched).
  • the device C 1305 and the device E 1309 determining that the service is matched may enable the NAN function (NAN enable).
  • the service group information included in the received first BLE TDS advertisement packet M1 matches the service information registered in the BLE scan filter device C 1305 and device E 1309 . may transmit a second BLE TDS advertisement packet (eg, M2 of FIG. 7 ) to the device A 1301 .
  • service information eg, first service name
  • device B (1303), device C (1305), device D ( 1307 ), and device E 1309 may both respond to the first BLE TDS advertisement packet of device A 1301 .
  • only devices belonging to a previously configured service group are devices by performing BLE triggers NAN protocol based on service group information.
  • a 1301 may respond to the first BLE TDS advertisement packet.
  • the device A 1301 , the device C 1305 , and the device E 1309 exchanging the BLE TDS advertisement packet including the service group information may activate the NAN function.
  • device B 1303 and device D 1307 that do not have service group information may not activate the NAN function.
  • devices (device B 1303 and device D 1307) unrelated to the NAN service of the service group to be provided do not activate the NAN function, so that the device is irrelevant to the NAN service of the service group. Unnecessary current or resource consumption in the fields can be reduced.
  • device A 1301 , device C 1305 , and device E 1309 may synchronize the NAN cluster based on the activated NAN function.
  • device A 1301 , device C 1305 , and device E 1309 may perform service discovery.
  • device A 1301 provides service information (eg, first service name or second service name) or service group information (eg, service group ID) to device C 1305 and device E 1309 .
  • service information eg, first service name or second service name
  • service group information eg, service group ID
  • a subscription message including e.g., in operation 1335 , device C 1305 and device E 1309 may transmit a publish message including service information to device A 1301 in response to the subscription message.
  • the service group information may include service information (eg, service name) performed in the service group, service group member information, or roles of devices in the service group.
  • service information eg, service name
  • service group member information e.g., service name
  • the service discovery operations 1130 and 1135 may be omitted.
  • the device A 1301 , the device C 1305 , and the device E 1309 may perform operation 1340 according to a service and a role previously performed in the service group.
  • device A 1301 , device C 1305 , and device E 1309 may perform NAN-based communication within the reconfigured service group.
  • device A 1301 , device C 1305 , and device E 1309 provide NAN-based services (eg, SDF exchange, NDP communication, ranging, or multicast service) can be performed.
  • NAN-based services eg, SDF exchange, NDP communication, ranging, or multicast service
  • FIG. 13 shows that the device A 1301 initiates operations related to starting the NAN service, configuring the service group (eg, recognizing external devices belonging to the service group), and performing (resuming) the NAN service.
  • each operation may be initiated by at least one of the device C 1305 and/or the device E 1309 belonging to the service group.
  • a method for controlling NAN-based communication of an electronic device includes synchronizing to a cluster for performing NAN (neighbor awareness networking)-based communication with at least one external electronic device through a communication circuit; At least one of an operation of performing a NAN-based service discovery operation based on service information and at least one external electronic device included in the cluster through a communication circuit, and at least one external electronic device based on the service discovery operation an operation of configuring a service group to perform the following operations, an operation of sharing service group information with at least one external electronic device included in the configured service group through the communication circuit, and registering the service group information to a BLE (Bluetooth low energy) scan filter and performing NAN-based communication in the service group through the communication circuit.
  • NAN neighborhbor awareness networking
  • the method may further include controlling to deactivate the NAN function of the electronic device included in the service group and the at least one external electronic device when communication within the service group is terminated. have.
  • the method includes at least one included in the service group based on a BLE triggers NAN communication protocol based on the service group information registered in the BLE scan filter when the communication in the service group is restarted.
  • the method may further include an operation of recognizing an external electronic device of
  • the synchronizing to the service group may include transmitting a signal including a BLE TDS (Bluetooth low energy transport discovery service) packet including the service group information through the communication circuit.
  • BLE TDS Bluetooth low energy transport discovery service
  • the operation of synchronizing to the service group may include controlling to activate a NAN function of at least one electronic device included in the service group through a signal including the BLE TDS packet.
  • the method may include performing an NAN-based service discovery operation based on service group information and at least one external electronic device included in the synchronized service group.
  • the method includes at least one of a user input, termination of execution of a service related application, a case in which there is no communication between electronic devices in the service group for more than a preset time, or execution of a power saving mode of the service group. and deactivating the NAN function of the electronic device included in the service group and the at least one external electronic device based on the .
  • the method may include displaying information on a service group recognized based on the BLE triggers NAN communication protocol or at least one external electronic device included in the service group through a display. .
  • the service group information includes at least one of a service group profile ID, a service group ID, a service group key, a service group validity period, service group member information, service information, service related application information, or a service role. may contain one.
  • 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
  • a or B at least one of A and B, “at least one of A or B”, “A, B or C”, “at least one of A, B and C” and “A;
  • Each of the phrases “at least one of B, or C” may include any one of, or all possible combinations of, items listed together in the corresponding one of the phrases.
  • Terms such as “first”, “second”, or “first” or “second” may simply be used to distinguish the component from other components in question, and may refer to components in other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic block, component, or circuit.
  • a module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • 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 machine eg, electronic device 101
  • 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 refers to the case where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
  • a signal eg, electromagnetic wave
  • the method according to various embodiments disclosed in this document may be provided 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 via an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, online between smartphones (eg: smartphones).
  • a part of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
  • each component eg, a module or a program of the above-described components may include a singular or a plurality of entities.
  • one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg, a module or a program
  • the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Credit Cards Or The Like (AREA)
  • Communication Control (AREA)

Abstract

Selon un mode de réalisation, la présente invention concerne un dispositif électronique qui peut comprendre un circuit de communication, une mémoire et un processeur connecté de manière fonctionnelle au circuit de communication et à la mémoire. Selon un mode de réalisation, la mémoire peut stocker des instructions qui, lorsqu'elles sont exécutées, permettent au processeur de se synchroniser avec une grappe pour réaliser une communication basée sur un réseautage sensible au voisinage (NAN) avec au moins un dispositif électronique externe par l'intermédiaire du circuit de communication, de réaliser, sur la base d'informations de service, une opération de découverte de service basée sur un NAN avec l'au moins un dispositif électronique externe inclus dans la grappe par l'intermédiaire du circuit de communication, de configurer un groupe de services comprenant au moins l'un parmi l'au moins un dispositif électronique externe sur la base de l'opération de découverte de service, de partager des informations concernant le groupe de services avec un dispositif électronique externe inclus dans le groupe de services configuré par l'intermédiaire du circuit de communication, d'enregistrer les informations concernant le groupe de services dans un filtre de balayage Bluetooth à faible énergie (BLE), et de réaliser une communication basée sur un NAN au sein du groupe de services par l'intermédiaire du circuit de communication. Divers autres modes de réalisation déduits de la présente invention sont également possibles.
PCT/KR2020/017801 2019-12-23 2020-12-08 Dispositif électronique et procédé de commande de communication de dispositif électronique basée sur un réseautage sensible au voisinage (nan) WO2021132940A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2019-0173027 2019-12-23
KR1020190173027A KR102663265B1 (ko) 2019-12-23 2019-12-23 전자 장치 및 전자 장치의 nan 기반의 통신 제어 방법

Publications (1)

Publication Number Publication Date
WO2021132940A1 true WO2021132940A1 (fr) 2021-07-01

Family

ID=76574462

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2020/017801 WO2021132940A1 (fr) 2019-12-23 2020-12-08 Dispositif électronique et procédé de commande de communication de dispositif électronique basée sur un réseautage sensible au voisinage (nan)

Country Status (2)

Country Link
KR (1) KR102663265B1 (fr)
WO (1) WO2021132940A1 (fr)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024080635A1 (fr) * 2022-10-14 2024-04-18 삼성전자 주식회사 Dispositif électronique d'établissement de communication nan et procédé de fonctionnement d'un dispositif électronique

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160138979A (ko) * 2014-04-02 2016-12-06 엘지전자 주식회사 무선 통신 시스템에서 nan 단말의 신호 송수신 방법 및 장치
WO2017057988A1 (fr) * 2015-10-02 2017-04-06 엘지전자 주식회사 Procédé de fusionnement d'un terminal de nan dans une grappe de nan dans un système de communication sans fil, et dispositif
US20170111773A1 (en) * 2015-01-21 2017-04-20 Intel IP Corporation Apparatus, system and method of communicating in a data link group
US20170289741A1 (en) * 2014-05-02 2017-10-05 Intel Corporation Bluetooth assisted nan cluster discovery
KR101939138B1 (ko) * 2012-10-24 2019-01-16 퀄컴 인코포레이티드 이웃 인식 wi-fi 네트워크들을 위한 프로파일 기반 디스커버리 엔진 구성들

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101939138B1 (ko) * 2012-10-24 2019-01-16 퀄컴 인코포레이티드 이웃 인식 wi-fi 네트워크들을 위한 프로파일 기반 디스커버리 엔진 구성들
KR20160138979A (ko) * 2014-04-02 2016-12-06 엘지전자 주식회사 무선 통신 시스템에서 nan 단말의 신호 송수신 방법 및 장치
US20170289741A1 (en) * 2014-05-02 2017-10-05 Intel Corporation Bluetooth assisted nan cluster discovery
US20170111773A1 (en) * 2015-01-21 2017-04-20 Intel IP Corporation Apparatus, system and method of communicating in a data link group
WO2017057988A1 (fr) * 2015-10-02 2017-04-06 엘지전자 주식회사 Procédé de fusionnement d'un terminal de nan dans une grappe de nan dans un système de communication sans fil, et dispositif

Also Published As

Publication number Publication date
KR20210080937A (ko) 2021-07-01
KR102663265B1 (ko) 2024-05-03

Similar Documents

Publication Publication Date Title
WO2021085825A1 (fr) Dispositif électronique et procédé de réalisation d'une télémétrie par l'intermédiaire de uwb
WO2020080776A1 (fr) Dispositif électronique prenant en charge un partage de liens et procédé associé
WO2015167258A1 (fr) Procédé et appareil de communication de proximité
WO2021085939A1 (fr) Dispositif électronique prenant en charge un service de communication de proximité et procédé d'obtention d'informations de dispositif de communication à courte portée l'utilisant
WO2021033954A1 (fr) Dispositif électronique permettant de retransmettre des données dans un environnement de réseau bluetooth et procédé associé
WO2021020915A1 (fr) Dispositif électronique et procédé pour une connexion de communication basse énergie dans un dispositif électronique
WO2020032510A1 (fr) Dispositif électronique comprenant un stylo électronique et procédé de commande de connexion de communication entre un dispositif électronique et un stylo électronique
WO2020180069A1 (fr) Dispositif électronique pour transmettre un message de réponse dans un environnement de réseau bluetooth, et procédé associé
WO2021091175A1 (fr) Procédé de fusion de groupes basée sur un nan, et dispositif électronique le prenant en charge
WO2020096303A1 (fr) Appareil et procédé de communication entre dispositifs à proximité étroite dans un réseau sans fil
WO2021162371A1 (fr) Procédé de communication basé sur un état d'un dispositif électronique et dispositif électronique associé
WO2018190637A1 (fr) Procédé d'établissement d'une liaison de communication d'un dispositif et appareil associé
WO2020180056A1 (fr) Dispositif électronique pour la transmission d'un message de réponse dans un environnement de réseau bluetooth et procédé correspondant
WO2019160356A1 (fr) Procédé de gestion de dispositif basé sur une bande d'intensité de signal et dispositif électronique associé
WO2021025401A1 (fr) Dispositif électronique de réduction de consommation d'énergie et son procédé de fonctionnement
WO2020226332A1 (fr) Dispositif électronique et son procédé de commande
WO2020138831A1 (fr) Dispositif électronique, et procédé pour planifier une liaison de données de communication de celui-ci
WO2021153896A1 (fr) Procédé et appareil de communication sans fil à courte portée
WO2021132940A1 (fr) Dispositif électronique et procédé de commande de communication de dispositif électronique basée sur un réseautage sensible au voisinage (nan)
WO2021033894A1 (fr) Dispositif électronique permettant d'entreprendre une préaction dans un environnement de réseau bluetooth et procédé associé
WO2021085835A1 (fr) Dispositif électronique permettant de transmettre des données à un dispositif électronique externe non connecté au dispositif électronique, et procédé de fonctionnement du dispositif électronique
WO2022030814A1 (fr) Procédé de gestion d'une connexion sans fil d'un dispositif électronique, et appareil associé
WO2022030801A1 (fr) Procédé de gestion d'une connexion sans fil d'un dispositif électronique, et dispositif associé
WO2021066380A1 (fr) Dispositif électronique et procédé permettant de réaliser une découverte de service dans un dispositif électronique
WO2021054573A1 (fr) Dispositif électronique permettant de régler des informations d'adresse et son procédé de fonctionnement

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

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

Country of ref document: EP

Kind code of ref document: A1