In Bluetooth TM Electronic device and method for displaying external electronic device query list in network environment

By using wireless communication circuits and processors in electronic devices to identify and display clock values ​​of external devices in Bluetooth network environments, the problem of reduced readability of query lists is solved, and the efficiency of device selection and user interface visibility is improved.

CN113853754BActive Publication Date: 2025-06-17SAMSUNG ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202080037892.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-06-11
Filing Date
2020-04-28
Publication Date
2025-06-17
Estimated Expiration
2040-04-28

AI Technical Summary

Technical Problem

In a Bluetooth network environment, as the number of external electronic devices increases, the readability or visibility of the query list may decrease, making it difficult for users to quickly find the required device.

Method used

By enabling the cooperation of wireless communication circuits and processors in the electronic device, broadcasting and receiving control packets, identifying the clock value of the external device, and displaying a user interface on the display, indicating an external device with a high possibility of connection.

Benefits of technology

Improves the efficiency of users selecting external devices in Bluetooth network environments, ensuring that query lists display devices with high connectivity possibilities at a high level, and enhances the readability and visibility of the user interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113853754B_ABST
    Figure CN113853754B_ABST
Patent Text Reader

Abstract

An electronic device includes a display, a wireless communication circuit configured to support a protocol capable of short-range wireless communication between electronic devices, at least one processor operably connected to the display and the wireless communication circuit, and a memory operably connected to the at least one processor, wherein the memory is configured to store instructions that, when executed, cause the at least one processor to: broadcast a first control packet for a query process through the wireless communication circuit, receive multiple second control packets in response to the first control packet through the wireless communication circuit, identify multiple clock values ​​in the multiple second control packets, and display a user interface on the display, the user interface indicating query results of multiple external electronic devices that sent multiple second control packets based on the multiple clock values.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method for TM An electronic device and method for displaying a query list of external electronic devices in a network environment. Background Art

[0002] By Bluetooth TM Bluetooth SIG TM The standard technology defines the protocol for short-range wireless communication between electronic devices. TM In a network environment, electronic devices may transmit or receive data packets containing content such as text, voice, image, or video in a designated frequency band (eg, approximately 2.4 gigahertz (GHz)).

[0003] For example, a user equipment (UE) such as a smartphone, tablet, desktop, or laptop computer can send data packets to another UE or an accessory device. The accessory device can include, for example, at least one of an earphone, a headset, a wearable device, a speaker, a mouse, a keyboard, and / or a display device. Summary of the invention

[0004] Technical issues

[0005] In the Bluetooth TM In the topology of the network environment, the electronic device can query at least one external electronic device and display the query result through the display. Because the electronic device can perform queries on multiple external electronic devices within a specified time, the electronic device can display a query list including multiple queried external electronic devices.

[0006] Electronic devices can be based on Bluetooth TM The electronic device may establish a link with the external electronic device desired by the user among the multiple queried external electronic devices. For example, after displaying the query list through the display, the electronic device may receive a user input selecting at least one of the multiple external electronic devices included in the query list. The electronic device may establish a link with at least one external electronic device selected by the user input.

[0007] As the number of external electronic devices queried by the electronic device increases, the number of external electronic devices included in the query list increases. For the user, the readability or visibility of the query list may decrease. For example, when the external electronic device desired by the user is displayed at a low level in the query list, the user may misunderstand that the external electronic device desired by the user is not queried normally, or the time taken for the user to find the external electronic device may increase.

[0008] Solution to the problem

[0009] One aspect of the present disclosure provides an electronic device. The electronic device includes a display, a wireless communication circuit configured to support a protocol capable of short-range wireless communication between electronic devices, at least one processor operably connected to the display and the wireless communication circuit, and a memory operably connected to the at least one processor, wherein the memory is configured to store instructions, which, when executed, cause the at least one processor to: broadcast a first control packet for a query process through the wireless communication circuit, receive a plurality of second control packets in response to the first control packet through the wireless communication circuit, identify a plurality of clock values ​​in the plurality of second control packets, and display a user interface on the display, the user interface indicating the query results of a plurality of external electronic devices that sent a plurality of second control packets based on the plurality of clock values.

[0010] Another aspect of the present disclosure provides an electronic device. The electronic device includes a wireless communication circuit, the wireless communication circuit being configured to: support a protocol that enables short-range wireless communication between electronic devices, enable an inquiry mode based on the protocol, set a clock value of an electronic device that starts operating when the inquiry mode is enabled to a specified value in response to an occurrence of a specified event, receive a first control packet for the inquiry process from an external electronic device, identify the clock value of the electronic device that starts operating from the specified value in response to receiving the first control packet, and send a second control packet including the clock value to the external electronic device.

[0011] Another aspect of the present disclosure provides a method of an electronic device. The method includes: broadcasting a first control packet for a query process based on a protocol capable of short-range wireless communication between electronic devices, receiving a plurality of second control packets in response to the first control packet, identifying a plurality of clock values ​​in the plurality of second control packets, and displaying a user interface indicating query results of a plurality of external electronic devices that sent the plurality of second control packets based on the plurality of clock values.

[0012] Advantageous Effects of the Invention

[0013] The electronic device can provide an environment in which a user can display a Bluetooth TM An external electronic device with a high connection possibility in a network environment is used to easily select an external electronic device.

[0014] Even when the external electronic device does not insert additional bit information, the electronic device can display the information using the previously used Bluetooth TM The information defined in the protocol is queried for multiple external electronic devices to sort the multiple external electronic devices.

[0015] Furthermore, various effects directly or indirectly determined by the present disclosure can be provided. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a block diagram of an electronic device in a network environment according to an embodiment;

[0017] Figure 2 is a Bluetooth according to an embodiment TM A block diagram of the topology of the network environment;

[0018] Figure 3 is a diagram of a user interface showing query results according to an embodiment;

[0019] Figure 4 is a diagram of a user interface showing query results according to an embodiment;

[0020] Figure 5 According to an embodiment, the Bluetooth TM A graphical representation of the protocol's clock;

[0021] Figure 6 is a signal flow diagram for displaying a query list based on clock information according to an embodiment;

[0022] Figure 7 According to an embodiment, the Bluetooth TM Signal flow diagram of traditional protocols;

[0023] Figure 8 According to an embodiment, the Bluetooth TM A diagram of the format of a frequency hopping synchronization (FHS) packet of a conventional protocol;

[0024] Fig. 9 According to an embodiment, the Bluetooth TM Signal flow diagram of the Bluetooth Low Energy (BLE) protocol;

[0025] Fig.10 is a diagram of a packet format based on a BLE protocol according to an embodiment;

[0026] Fig.11 is a signal flow chart of the start of operation of a clock of a second device according to an embodiment;

[0027] Fig.12 is a signal flow chart of the start of operation of a clock of a second device according to an embodiment;

[0028] Fig.13a is a diagram of an operation scenario for resetting a clock according to an embodiment;

[0029] Fig.13b is a diagram of an operation scenario for resetting a clock according to an embodiment;

[0030] Fig.14is a flowchart of a method of an electronic device for displaying a query list according to an embodiment; and

[0031] Fig.15 is a flowchart of a method of an electronic device for transmitting clock information according to an embodiment. DETAILED DESCRIPTION

[0032] Hereinafter, the present disclosure is described with reference to the accompanying drawings. The various embodiments of the present disclosure used herein are not intended to limit the present disclosure to specific embodiments, and it should be understood that these embodiments include modifications, equivalents, and / or substitutes of the embodiments described herein.

[0033] Figure 1 1 is a block diagram illustrating an electronic device 101 in a network environment 100 according to various embodiments. Figure 1 , the electronic device 101 in the network environment may communicate with the electronic device 102 via the first network 198 (e.g., a short-range wireless communication network), or communicate with the electronic device 104 or the server 108 via the second network 199 (e.g., a long-range wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 via the server 108. According to an embodiment, the electronic device 101 may include a processor 120, a memory 130, an input device 150, a sound output device 155, a display device 160, an audio module 170, a sensor module 176, an interface 177, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a user identification module (SIM) 196, or an antenna module 197. In some embodiments, at least one of the components (e.g., the display device 160 or the camera module 180) may be omitted from the electronic device 101, or one or more other components may be added to the electronic device 101. In some embodiments, some of the components may be implemented as a single integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illumination sensor) may be embedded in the display device 160 (eg, a display).

[0034] The processor 120 may run software (e.g., program 140) to control at least one other component (e.g., hardware component or software component) of the electronic device 101 connected to the processor 120, and may perform various data processing or calculations. According to one embodiment, as at least part of the data processing or calculation, the processor 120 may load a command or data received from another component (e.g., sensor module 176 or communication module 190) into the volatile memory 132, process the command or data stored in the volatile memory 132, and store the result data in the non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)) and an auxiliary processor 123 (e.g., a graphics processing unit (GPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is independent of or combined with the main processor 121 in operation. Additionally or alternatively, the auxiliary processor 123 may be adapted to consume less power than the main processor 121, or adapted to be specifically used for a specified function. The auxiliary processor 123 may be implemented separately from the main processor 121 , or as part of the main processor 121 .

[0035] When the main processor 121 is in an inactive (e.g., sleep) state, the auxiliary processor 123 may control at least some of the functions or states related to at least one component (e.g., display device 160, sensor module 176, or communication module 190) among the components of the electronic device 101 (not the main processor 121), or when the main processor 121 is in an active state (e.g., running an application), the auxiliary processor 123 may control at least some of the functions or states related to at least one component (e.g., display device 160, sensor module 176, or communication module 190) among the components of the electronic device 101 together with the main processor 121. According to an embodiment, the auxiliary processor 123 (e.g., image signal processor ISP or communication processor CP) may be implemented as part of another component (e.g., camera module 180 or communication module 190) that is functionally related to the auxiliary processor 123.

[0036] The memory 130 may store various data used by at least one component of the electronic device 101 (e.g., the processor 120 or the sensor module 176). The various data may include, for example, software (e.g., program 140) and input data or output data for commands related thereto. The memory 130 includes a volatile memory 132 or a non-volatile memory 134.

[0037] The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system (OS) 142 , middleware 144 , or applications 146 .

[0038] The input device 150 may receive commands or data from outside the electronic device 101 (e.g., a user) to be used by other components of the electronic device 101 (e.g., the processor 120). The input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (e.g., a stylus).

[0039] The sound output device 155 can output sound signals. The sound output device 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as playing multimedia or playing records, and the receiver can be used for incoming calls. Depending on the embodiment, the receiver can be implemented as separate from the speaker, or as part of the speaker.

[0040] The display device 160 may visually provide information to the outside of the electronic device 101 (e.g., a user). The display device 160 may include, for example, a display, a holographic device, or a projector, and a control circuit for controlling a corresponding one of the display, the holographic device, and the projector. According to an embodiment, the display device 160 may include a touch circuit adapted to detect a touch or a sensor circuit (e.g., a pressure sensor) adapted to measure the strength of a force caused by a touch.

[0041] The audio module 170 may convert sound into an electrical signal, or vice versa. According to an embodiment, the audio module 170 may obtain sound via the input device 150, or output sound via the sound output device 155 or an earphone of an external electronic device (e.g., electronic device 102) directly (e.g., wired) or wirelessly connected to the electronic device 101.

[0042] The sensor module 176 may detect an operating state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a user's state) outside the electronic device 101, and then generate an electrical signal or data value corresponding to the detected state. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illumination sensor.

[0043] The interface 177 may support one or more specific protocols to be used to connect the electronic device 101 directly (e.g., wired) or wirelessly to an external electronic device (e.g., the electronic device 102). According to an embodiment, the interface 177 may include, for example, a high-definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.

[0044] The connection end 178 may include a connector, wherein the electronic device 101 can be physically connected to an external electronic device (e.g., the electronic device 102) via the connector. According to an embodiment, the connection end 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0045] The haptic module 179 may convert the electrical signal into mechanical stimulation (eg, vibration or motion) or electrical stimulation that can be recognized by the user via his sense of touch or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulator.

[0046] The camera module 180 may capture a still image or a moving image. According to an embodiment, the camera module 180 may include one or more lenses, an image sensor, an image signal processor ISP, or a flash.

[0047] The power management module 188 may manage power supply to the electronic device 101. According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

[0048] The battery 189 may power at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0049] The communication module 190 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108), and perform communication via the established communication channel. The communication module 190 may include one or more communication processors CP capable of operating independently from the processor 120 (e.g., AP), and support direct (e.g., wired) communication or wireless communication. According to an embodiment, the communication module 190 includes a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) and a wired communication module 194 (e.g., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules may communicate via a first network 198 (e.g., a short-range communication network such as Bluetooth (Bluetooth)). TM), Wireless Fidelity (Wi-Fi) Direct, or Infrared Data Association (IrDA)), or a second network 199 (e.g., a long-distance communication network such as a cellular network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))) to communicate with an external electronic device. These various types of communication modules can be implemented as a single component (e.g., a single chip), or these various types of communication modules can be implemented as multiple components separated from each other (e.g., multiple chips). The wireless communication module 192 can use the user information (e.g., the International Mobile Subscriber Identity (IMSI)) stored in the user identification module 196 to identify and authenticate the electronic device 101 in the communication network (such as the first network 198 or the second network 199).

[0050] The antenna module 197 may transmit or receive a signal or power to or from the outside of the electronic device 101 (e.g., an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a radiating element formed of a conductive material or a conductive pattern formed in or on a substrate (e.g., a PCB). According to an embodiment, the antenna module 197 may include a plurality of antennas. In this case, at least one antenna suitable for a communication scheme used in a communication network (such as the first network 198 or the second network 199) may be selected from the plurality of antennas by, for example, the communication module 190 (e.g., the wireless communication module 192). A signal or power may then be transmitted or received between the communication module 190 and the external electronic device via the selected at least one antenna. According to an embodiment, another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiating element may be additionally formed as part of the antenna module 197.

[0051] At least some of the above components may be connected to each other via an inter-peripheral communication scheme (e.g., a bus, a general purpose input output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)) and communicatively transmit signals (e.g., commands or data) therebetween.

[0052] According to an embodiment, a command or data may be sent or received between the electronic device 101 and the external electronic device 104 via the server 108 connected to the second network 199. Each of the electronic device 102 and the electronic device 104 may be a device of the same type as the electronic device 101, or a device of a different type from the electronic device 101. According to an embodiment, all or some operations to be run on the electronic device 101 may be run on one or more of the external electronic device 102, the external electronic device 104, or the server 108. For example, if the electronic device 101 should automatically perform a function or service or should perform a function or service in response to a request from a user or another device, the electronic device 101 may request the one or more external electronic devices to perform at least part of the function or service instead of running the function or service, or the electronic device 101 may request the one or more external electronic devices to perform at least part of the function or service in addition to running the function or service. The one or more external electronic devices that receive the request may perform the requested at least part of the function or service, or perform another function or another service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may provide the result as at least a partial reply to the request with or without further processing the result. To this end, cloud computing technology, distributed computing technology or client-server computing technology may be used, for example.

[0053] Figure 2 is a Bluetooth according to an embodiment TM Block diagram of a topology 200 of a network environment.

[0054] refer to Figure 2 , the first device 201 and the second devices 202-1, 202-2, 202-3, 202-4, and 202-5 included in the topology 200 may perform functions that are the same as or similar to those of the electronic device 101, and may include components that are the same as or similar to those of the electronic device 101. For example, the first device 201 and the second devices 202-1, 202-2, 202-3, 202-4, and 202-5 may include user devices such as smartphones, tablet computers, desktop computers, or laptop computers, or accessory devices such as earphones, headphones, speakers, mice, keyboards, or display devices.

[0055] The first device 201 and the second device 202-1, 202-2, 202-3, 202-4, and 202-5 may include a Bluetooth TM Bluetooth SIG definition TM In this case, the wireless communication circuit may include BluetoothTM Module and / or Bluetooth TM At least one of the chips. Bluetooth TM Protocols may include, for example, Bluetooth TM Traditional protocol and BLE protocol. The wireless communication circuit can support Bluetooth TM One or both of the traditional protocol and the BLE protocol.

[0056] The first device 201 can be based on Bluetooth TM The first device 201 is connected to at least one of the second devices 202-1, 202-2, 202-3, 202-4, and 202-5 by a protocol to provide various services to the user. For example, when at least one second device 202-1, 202-2, 202-3, 202-4, or 202-5 connected to the first device 201 is an accessory device, the first device 201 can provide at least one function of health care, hands-free calling, media playback, file sharing, and / or notification through at least one of the connected second devices 202-1, 202-2, 202-3, 202-4, or 202-5.

[0057] Before the first device 201 is connected to at least one of the second devices 202-1, 202-2, 202-3, 202-4, or 202-5, the first device 201 may connect to the at least one second device 202-1, 202-2, 202-3, 202-4, or 202-5 based on Bluetooth. TM The first device 201 may query (or discover) the second devices 202-1, 202-2, 202-3, 202-4, and 202-5 through the query process within a specified time. For example, the first device 201 may query (or discover) the second devices 202-1, 202-2, 202-3, 202-4, and 202-5 based on the Bluetooth protocol during a specified period of time. TM The conventional protocol sends an identification (ID) packet including an inquiry access code (IAC), and receives an FHS packet in response to the ID packet from the second devices 202-1, 202-2, 202-3, 202-4, and 202-5. For example, the first device 201 can receive an advertising packet or a scan response (SCAN_RSP) packet based on the BLE protocol from the second devices 202-1, 202-2, 202-3, 202-4, and 202-5.

[0058] As described in more detail below Figure 3 or Figure 4 As shown, the first device 201 may output a query list indicating query results of the second devices 202 - 1 , 202 - 2 , 202 - 3 , 202 - 4 , and 202 - 5 through the display device 160 .

[0059] The first device 201 can establish a link 210-1 or 210-2 with at least one second device 202-1 or 202-2, respectively, the at least one second device 202-1 or 202-2 selected by user input from the second devices 202-1, 202-2, 202-3, 202-4, and 202-5 included in the query list, and send or receive data through the established link. At least one of the second devices 202-3, 202-4, and 202-5 that do not have a link established with the first device 201 can monitor (or sniff) the link 210-1 or 210-2 established between the first device 201 and another second device 202-1 or 202-2 to receive data from the first device 201. In this case, at least one of the other second devices 202-3, 202-4, or 202-5 may receive information (eg, channel information and address information) associated with the link 210-1 or 210-2 from the second device 202-1 or 202-2 and monitor the link using the received information.

[0060] Figure 3 and Figure 4 User interfaces 310 and 410 showing query results are shown according to an embodiment.

[0061] refer to Figure 3 , the first device 201 may output a user interface 310 indicating the query results of the second devices 202-1, 202-2, 202-3, 202-4, and 202-5 through the display device 160 to inform the user of the external electronic devices that can establish a link with the first device 201. For example, the user interface 310 may have a list form in which the query results of the second devices 202-1, 202-2, 202-3, 202-4, and 202-5 are listed in a designated direction (e.g., a downward direction).

[0062] The first device 201 may indicate the query results of the second devices 202-1, 202-2, 202-3, 202-4, and 202-5 using information included in the FHS packet, the advertising packet, or the scan response packet received during the query process. For example, the user interface 310 may include a device name (e.g., device A, device B, device C, or device D), a manufacturer name, a Bluetooth TM The addresses or information of the second devices 202-1, 202-2, 202-3, 202-4, and 202-5 are included in the FHS packet, the advertisement packet, or the scan response packet.

[0063] The first device 201 may sequentially and descendingly display a plurality of queried second devices 202-1, 202-2, 202-3, 202-4, and 202-5 based on a specified condition. The specified condition may be based on, for example, at least one of received signal strengths (e.g., received signal strength indicators (RSSIs)) of FHS packets, advertising packets, or scan response packets received from the plurality of second devices, alphabetical order of device names, device types, and / or clock values.

[0064] When the first device 201 displays the query results of the second devices 202-1, 202-2, 202-3, 202-4, and 202-5 in order based on the received signal strength, because the strength of the transmitted signal of one of the second devices 202-1, 202-2, 202-3, 202-4, and 202-5 (e.g., a laptop computer that is always powered) may be high, the query result of the laptop computer may be displayed above the query result of one of the second devices 202-1, 202-2, 202-3, 202-4, and 202-5 (e.g., a headset) that the user wants to use. In this case, the readability or visibility of the second device that the user wants to use may be low for the user.

[0065] The first device 201 may display the query results based on the clock value sequence of the second devices 202-1, 202-2, 202-3, 202-4, and 202-5. For example, when the order of the difference between the clock value and the specified value is the first clock value, the second clock value, the third clock value, and the fourth clock value from the smallest difference to the largest difference, and when device A has the third clock value, device B has the first clock value, device C has the fourth clock value, and device D has the second clock value, then the first device 201 may output the query results of the second devices 202-1, 202-2, 202-3, 202-4, and 202-5 in descending order according to the order of device B, device D, device A, and device C. Because based on Bluetooth TM The CLKN (local clock) of the protocol supports Bluetooth TMThe operation starts at the time point when the wireless communication circuit of the protocol is powered on, so it can indicate that one of the second devices 202-1, 202-2, 202-3, 202-4 and 202-5, whose value indicated by CLKN is close to 0x00, is a device in which the wireless communication circuit is turned on for user use (or connected to the first device 201). For example, because one of the second devices 202-1, 202-2, 202-3, 202-4 and 202-5 that receives user input in the second devices 202-1, 202-2, 202-3, 202-4 and 202-5 can change the operating clock to a specified value, it can indicate that one of the second devices 202-1, 202-2, 202-3, 202-4 and 202-5 whose clock value is close to the specified value is a device to be connected to the first device 201.

[0066] refer to Figure 4 , the first device 201 may output the query result considering at least one condition among the clock values, received signal strengths, alphabetical order of the device names, and / or device types of the second devices 202-1, 202-2, 202-3, 202-4, and 202-5. For example, the first device 201 may sort the first group (e.g., device E, device F, device G, and device H) whose received signal strengths are greater than or equal to a first threshold (e.g., -65dBm), the second group (e.g., device A and device B) whose received signal strengths are less than the first threshold and greater than or equal to a second threshold (e.g., -80dBm), and the third group (e.g., device C and device D) whose received signal strengths are less than the second threshold. Thereafter, the first device 201 may arrange the devices included in each group in alphabetical order of the device names. Thereafter, the first device 201 may display the query result of the device (e.g., device F) having a clock value close to the specified value among the queried second devices 202-1, 202-2, 202-3, 202-4, and 202-5 at the top. although Figure 4 An embodiment is shown in which the first device 201 displays the queried second devices in the order of received signal strength, alphabetical order of device name, and order of clock value in the specified condition, but the order of considering the specified condition is only an example, and the order of considering the specified condition may be changed. Figure 4 An embodiment using multiple thresholds (eg, a first threshold and a second threshold) is shown. However, the first device 201 may use one threshold (eg, one of the first threshold and the second threshold) to sequentially display the queried second devices 202-1, 202-2, 202-3, 202-4, and 202-5.

[0067] When additionally querying another one of the second devices 202-1, 202-2, 202-3, 202-4, and 202-5 while outputting the user interface 310 or 410 indicating the query result, the first device 201 may update the query list based on the specified condition. Figure 3 In the embodiment of the present invention, when querying one of the second devices 202-1, 202-2, 202-3, 202-4, and 202-5 (e.g., device X) having a fifth clock value closer to the specified value than the first clock value while displaying the user interface 310, the first device 201 can display the query result of device X above the query result of device B.

[0068] Figure 5 According to an embodiment, the Bluetooth TM Graphic representation of the protocol's clock.

[0069] refer to Figure 5 , support Bluetooth TM The electronic device using the Bluetooth protocol can act as a master device or a slave device. The clock 501 of the master device is TM The standard defines that the clock 502 of the slave device is TM Defined in the standard.

[0070] The master and slave devices can align the packet transmission and reception points in time based on the clock. TM The clocks of the protocol may include a reference clock (CLKR), a local clock (CLKN), an estimated clock (CLKE), and a master clock (CLK). CLKR is a system clock generated by the system of the electronic device, which can be used as a reference for other clocks. CLKN can start from 0x0 with CLKR as a reference at the time when the wireless communication circuit is powered on. For example, the master device and the slave device can operate CLKN by applying a time_base_offset to CLKR.

[0071] CLK can be used for synchronization between electronic devices. In this case, channel resources (e.g., frequency hopping channels) for sending packets can be generated based on the CLKN of the master device. TM In a conventional network, time resources (eg, time slots) may be determined based on the CLKN of the master device. The time slot may be, for example, 625 us (microseconds). The slave device is synchronized by applying an offset to the CLKN of the master device, and the CLKN of the master device may be CLK.

[0072] Figure 6 is a signal flow diagram 600 for displaying a query list based on clock information according to an embodiment. The second device 202 may be one of the second devices 202-1, 202-2, 202-3, 202-4, and 202-5.

[0073] refer to Figure 6 In step 605, the second device 202 may enable a query mode. The query mode may indicate a mode for performing a query process. The enabling of the query mode may indicate, for example, enabling a Bluetooth-based TM Inquiry scanning of traditional protocols or advertising based on BLE protocol.

[0074] The second device 202 may enable the inquiry mode in response to powering on the second device 202, powering on the wireless communication circuit of the second device 202, or opening of a housing device including the second device 202. TM When a user input of a protocol request service is received, an application associated with the first device 201 is installed on the second device 202, or the application is executed, the second device 202 may enable the query mode. When the query mode is enabled, the clock (e.g., CLKN) of the second device 202 may start operating. The clock may start from a specified value (e.g., 0x0).

[0075] In step 615, when the clock is running, the second device 202 may receive a first control packet for the query process from the first device 201. For example, the first control packet may include a Bluetooth-based TM The first control packet may include an ID packet of a traditional protocol or a scan request (SCAN_REQ) packet based on a BLE protocol. The first control packet may include an IAC. The first device 201 may broadcast the first control packet.

[0076] In step 620, the second device 202 may send a second control packet in response to the first control packet to the first device 201. The second control packet may include, for example, a Bluetooth-based TM The FHS packet of the traditional protocol or the scan response packet based on the BLE protocol. The second device 202 can insert clock information about the clock operated from step 605 into the second control packet. For example, the second device 202 can identify the clock value operated based on step 605 in response to the reception of the first control packet. The identified clock value can be inserted into the second control packet.

[0077] In step 625, the first device 201 may display a query list indicating the query results of the second device 202 based on the clock information included in the second control packet. For example, the first device 201 may display at the top the query result of one of the second devices 202-1, 202-2, 202-3, 202-4, and 202-5 having a clock value close to the designated value among the clock values ​​of the second device 202 and the clock values ​​of the other second devices 202-1, 202-2, 202-3, 202-4, and 202-5.

[0078] Figure 7 According to an embodiment, the Bluetooth TM Signal flow diagram 700 of a conventional protocol.

[0079] refer to Figure 7 , the first device 201 and the second device 202 may perform a query process based on a time slot. One time slot may be 0.625 ms. For example, the first device 201 may send (e.g., broadcast) an ID packet multiple times (e.g., twice) during a time slot (e.g., a TX time slot), and then attempt to receive an FHS packet during a next time slot (e.g., a RX time slot). For example, the ID packet may be generated based on a general IAC (GIAC).

[0080] The first device 201 may perform the query process based on the conditions for starting the query process. For example, the first device 201 may respond to the first device 201 entering the Bluetooth setting application. TM The query process is performed by selecting a menu, receiving a user input requesting a specific service (e.g., file sharing), installing an application associated with the second device 202 on the first device 201, or executing the application. The first device 201 can perform a query process of repeatedly sending an ID packet (e.g., a TX operation) and opening a receiving time slot (e.g., a RX operation) for a specified time (e.g., 12.8 seconds).

[0081] In step 705, the second device 202 may enable inquiry scanning. When the inquiry scanning is enabled, the second device 202 may attempt to receive an ID packet including a GIAC by opening a receiving time slot.

[0082] When the second device 202 is powered on, the wireless communication circuit of the second device 202 is powered on, or the housing device including the second device 202 is opened, the second device 202 can enable the inquiry scan. In this case, when the inquiry scan is enabled, the CLKN of the second device 202 can start operating from a specified value (e.g., 0x0). The second device 202 can enable the inquiry scan when a user input requesting a specific service (e.g., file sharing) with the first device 201 is received, an application associated with the first device 201 is installed on the second device 202, or the application is executed. In this case, the second device 202 can reset the CLKN value that has been running to the specified value.

[0083] In step 710 , the second device 202 may receive an ID packet transmitted from the first device 201 while CLKN is running.

[0084] In step 715, the second device 202 may send an FHS packet in response to the ID packet to the first device 201. The second device 202 may insert clock information (e.g., CLKN) into the FHS packet. For example, the second device 202 may insert an increasing CLKN value into the FHS packet starting from when the inquiry scan is enabled until the ID packet is received (or until the transmission of the FHS packet starts).

[0085] In step 720, the first device 201 may receive FHS packets from at least one second device 202-1, 202-2, 202-3, 202-4, and 202-5, and display a query list including at least one second device 202-1, 202-2, 202-3, 202-4, and 202-5 based on a CLKN value included in the received FHS packet.

[0086] Figure 8 According to an embodiment, the Bluetooth TM Illustration of the format of an FHS packet 800 of a conventional protocol.

[0087] refer to Figure 8 The data format of the FHS packet 800 may be a first data format 850 including a parity bit field 801 to a page scan mode field 812 , or a second data format 860 further including an additional field 813 in the first data format 850 .

[0088] At least some of the field types and bit sizes of the first data format 850 may be based on Bluetooth TM For example, the FHS packet 800 may include a parity bit field 801 (e.g., 34 bits), a lower address part (LAP) field 802 (e.g., 24 bits), an extended inquiry response (EIR) field 803 (e.g., 1 bit), a reserved field 804 (e.g., 1 bit), a scan repetition (SR) field 805 (e.g., 2 bits), a scan period (SP) field 806 (e.g., 2 bits), an upper address part (UAP) field 800, a non-significant address part (NAP) field 808 (e.g., 16 bits), a device type field 809 (e.g., 24 bits), a logical transfer (LT) address (LT_ADDR) field 810 (e.g., 3 bits), a CLK27-2 field 811 (e.g., 26 bits), and a page scan mode field 812 (e.g., 3 bits).

[0089] The parity bit field 801 may be located at the front of the FHS packet and may be used for error detection. The EIR field 803 may indicate whether the second device 202 supports the EIR packet transmission function. The reserved field 804 may indicate whether the Bluetooth TMThe fields not defined by the standard. The UAP field 807 and the NAP field 808 indicate the manufacturer's code (e.g., an organizational unique identifier (OUI)), while the LAP field 802 may indicate a code assigned by the manufacturer. The SR field 805 may indicate the interval between consecutive page scan windows. The SP field 806 may indicate a scan period. The device category field 809 may indicate the category of the second device 202 (e.g., headphones, headsets, wearable devices, speakers, mice, keyboards, or display devices). The LT address field 810 may indicate a logical transmission address for a connection or role switching between the first device 201 and the second device 202. The CLK27-2 field 811 may indicate the CLKN value of the second device 202. The page scan mode field 812 may indicate which scan mode the second device 202 uses.

[0090] Because the first device 201 can display the query list based on the CLKN value of the second device 202 inserted into the CLK27-2 field 811, the first device 201 can identify the device that the user wants to use even when the second device 202 does not insert the additional data bit. When the FHS packet 800 includes the additional field 813 based on the second data format 860, the second device 202 can insert the reset clock value into the additional field 813.

[0091] Fig. 9 is a signal flow diagram 900 based on the BLE protocol according to an embodiment.

[0092] refer to Fig. 9 , the first device 201 and the second device 202 may use active scanning or passive scanning. When using passive scanning, the first device 201 and the second device 202 may omit steps 915 and 920.

[0093] The first device 201 may attempt to receive the advertisement packet based on the specified interval and duty. Figure 7 When the conditions for starting the query process are described, the first device 201 can attempt to receive the advertising packet.

[0094] In step 905, the second device 202 may enable advertising. The second device 202 may enable advertising when the second device 202 is powered on, the wireless communication circuit of the second device 202 is powered on, the housing device including the second device 202 is opened, a user input requesting a specific service (e.g., file sharing) with the first device 201 is received, an application associated with the first device 201 is installed on the second device 202, or the application is executed. When advertising is enabled, the clock may operate.

[0095] In step 910, the second device 202 may send an advertisement packet to the first device 201. The advertisement packet may include, for example, at least one of a manufacturer ID, a device name, or a COD. The second device 202 may insert clock information into the advertisement packet.

[0096] When active scanning is used, in step 915, the first device 201 may send a scan request packet (SCAN_REQ) to the second device 202. From when advertising is enabled until the scan request packet (SCAN_REQ) is received (or until the transmission of the scan request packet (SCAN_REQ) begins), the second device 202 may insert an increasing clock value into the scan request packet (SCAN_REQ), and in step 920, may send a scan response packet (SCAN_RSP) to the first device 201.

[0097] In step 925 , the first device 201 may display a query list based on a clock value included in a scan response packet (SCAN_RSP) received from at least one of the second devices 202 (eg, 202 - 1 , 202 - 2 , 202 - 3 , 202 - 4 , and 202 - 5 ).

[0098] Fig.10 is a diagram of the format of a packet 1000 based on the BLE protocol according to an embodiment. The packet 1000 may be an advertising packet or a scan response packet (SCAN_RSP).

[0099] refer to Fig.10 The packet 1000 may include a valid part 1001 and a non-valid part 1002, wherein the valid part 1001 includes N advertisement structure (AD structure) fields, where N is a natural number, and the non-valid part 1002 is not provided by Bluetooth. TM Standard definition. The advertisement structure field (e.g., AD structure 1) included in the effective part 1001 may include a length field 1011 indicating the length of the field and a data field 1012. The data field 1012 may include an advertisement type field 1013 and an advertisement data field 1014, and the advertisement type field 1013 includes the type of the advertisement packet. The second device 202 may insert clock information into the advertisement data field 1014.

[0100] Fig.11 and 12 1100 and signal flow chart 1200 according to an embodiment, wherein the operation of the clock of the second device 202 is started. The signal flow charts 1100 and 1200 can be modified by Figure 6 At least a portion of the signal flow diagram is obtained.

[0101] refer to Fig.11, the second device 202 may be a user device or an accessory device. In step 1105, the second device 202 may be powered on, or the wireless communication circuit of the second device 202 may be powered on. When the second device 202 is powered on or when the wireless communication circuit of the second device 202 is powered on, the clock may start operating. For example, when the second device 202 is powered on, CLKR may start operating. For example, when the wireless communication circuit of the second device 202 is powered on, CLKN may start operating. When the pairing mode is activated, the wireless communication circuit of the second device 202 may be powered on. For example, when a user input (e.g., a long touch) of pressing a button placed on one side for a specified time is received while the second device 202 is powered on, the wireless communication circuit of the second device 202 may be powered on. When the second device 202 or the wireless communication circuit of the second device 202 is powered on, the clock may start operating from 0x0.

[0102] In step 615, the second device 202 may receive a first control packet for a query process from the first device 201 when the clock is operating. In step 620, the second device 202 may send a second control packet in response to the first control packet to the first device 201. The second device 202 may insert clock information about the clock operating from step 1105 into the second control packet. In step 625, the first device 201 may display a query list indicating a query result of the second device 202 based on the clock information included in the second control packet.

[0103] refer to Fig.12 , at least one accessory device 1202-1 or 1202-2, which may be the second device 202, may be inserted into the housing device 1203. The accessory device 1202-1 or 1202-2 may include, for example, a wireless headset. In step 1205, the housing device 1203 into which the at least one accessory device 1202-1 or 1202-2 is inserted may be opened. When the housing device 1203 is opened, the clock of the at least one accessory device 1202-1 or 1202-2 may start operating. When the at least one accessory device 1202-1 or 1202-2 is separated from the housing device 1203, or when a user input (e.g., a long touch) is received by pressing a button provided on one side of the housing device 1203 for a specified time, the clock of the at least one accessory device 1202-1 or 1202-2 may start operating. The clock may start operating from 0x0.

[0104] In step 615, at least one accessory device 1202-1 or 1202-2 may receive a first control packet for a query process from the first device 1201 when the clock operates. In step 620, at least one accessory device 1202-1 or 1202-2 may send a second control packet corresponding to the first control packet to the first device 1201. At least one accessory device 1202-1 or 1202-2 may insert clock information about the clock that starts operating at a time point in step 1205 (or at a time point at which at least one accessory device 1202-1 or 1202-2 is separated from the shell device 1203 or at a time point at which a user input of pressing a button on a side of the shell device 1203 is received) into the second control packet. In step 625, the first device 1201 may display a query list indicating a query result of the at least one accessory device 1202-1 or 1202-2 based on the clock information included in the second control packet.

[0105] Fig.13a and 13b An operation scenario 1300 of resetting a clock according to an embodiment is shown. The first device 1301 and the second device 1302 may each be a user equipment.

[0106] refer to Fig.13a , the first device 1301 may receive a user input 1310 requesting to share a file with the second device 1302. The second device 1302 may receive a user input 1320 accepting sharing of the file with the first device 1301. Fig.13a In the example, the first device 1301 requests file sharing, but the second device 1302 may request file sharing, and the first device 1301 may accept file sharing. In response to receiving the user input 1320, the second device 1302 may reset the clock (eg, CLKN) operated in step 1330 to a specified value.

[0107] For example, the first device 1301 may display a plurality of images in response to a user input for executing a gallery application. The first device 1301 may receive a user input for selecting at least one of the plurality of displayed images, and receive a user input 1310 for querying the second device 1302 to share at least one selected image. The second device 1302 may execute the gallery application, and receive a user input 1320 for requesting to receive at least one image from the first device 1301 while displaying an execution screen of the gallery application.

[0108] In step 1340, the first device 1301 may send a request message to the second device 1302. The request message may include, for example, at least one of an ID packet and a scan request packet, or may include separate packets. The first device 1301 may send the request message in response to receiving the user input 1310.

[0109] In response to receiving the request message, in step 1350, the second device 1302 may send a reset clock value to the first device 1301. For example, the second device 1302 may send the clock value via an FHS packet, an advertisement packet, or a scan response packet, or via a separate packet. In this case, the second device 1302 may send an increased clock value from when the clock is reset until when the request message is received.

[0110] Fig.13a The order of at least some of the operations shown may be changed or omitted. Step 1340 may be omitted. For example, the second device 1302 may reset the clock in response to receiving the user input 1320 in step 1330, and send the reset clock value to the first device 1301 without waiting for the request message. After the second device 1302 resets the clock in response to receiving the user input 1320 in step 1330, the first device 1301 may receive the user input 1310 and then send the request message to the second device 1302 in step 1340. When the first device 1301 sends the request message in response to the user input 1310 in step 1340, the second device 1302 that receives the request message may receive the user input 1320 of accepting file sharing in step 1330 to reset the clock, and send the reset clock value to the first device 1301 in step 1350.

[0111] refer to Fig.13b , the first device 1301 can use the received clock value to display the query result of the second device 1302 on the display. For example, when the clock value of the second device 1302 is closest to the specified value, the first device 1301 can output the query result of the second device 1302 above the query results of other devices (e.g., device A and device B).

[0112] In step 1360, the first device 1301 may receive a user input 1360 selecting the second device 1302 through the display. In step 1370, in response to the user input 1360, the first device 1301 may TM The protocol establishes a link with the second device 1302. When the establishment of the link is completed, in step 1380, the first device 1301 and the second device 1302 can send data to another person's device through the link.

[0113] Fig.14 is a flowchart 1400 of a method of an electronic device displaying a query list according to an embodiment. Fig.14 The illustrated operations may be performed by an electronic device, or may be performed by components included in the electronic device.

[0114] refer to Fig.14In step 1405, the electronic device may send a first control packet for the query process through the processor and the wireless communication circuit. The first control packet may include, for example, a Bluetooth-based TM ID packets of traditional protocols or scan request packets based on BLE protocols.

[0115] In step 1410, the electronic device may receive a second control packet in response to the first control packet through a processor and a wireless communication circuit. The second control packet may include, for example, a Bluetooth-based TM The electronic device may receive the second control packet from a plurality of external electronic devices.

[0116] In step 1415, the electronic device may identify the clock value of the external electronic device included in the second control packet through the processor. For example, when the wireless communication circuit receives the second control packet, the wireless communication circuit may send the second control packet (or the clock value included in the second control packet) to the processor.

[0117] In step 1420, the electronic device may display a user interface indicating the query results of the plurality of external electronic devices based on the clock value identified by the processor. For example, the electronic device may display the query results of the external electronic devices sequentially, vertically, and descendingly in the order of the difference between the clock value and the specified value, from the smallest difference to the largest difference.

[0118] Fig.15 is a flowchart 1500 of a method of an electronic device transmitting clock information according to an embodiment. Fig.15 The illustrated operations may be performed by an electronic device, or may be performed by components included in the electronic device.

[0119] refer to Fig.15 In step 1505, the electronic device may enable an inquiry mode via the wireless communication circuit. The inquiry mode may include, for example, a Bluetooth-based TM Inquiry scanning of traditional protocols, or advertising based on the BLE protocol. The electronic device can enable the inquiry mode in response to powering on the electronic device, powering on the wireless communication circuit of the electronic device, or opening the housing device including the electronic device. When the inquiry mode is enabled, the clock of the electronic device can start operating (or counting).

[0120] In step 1510, the electronic device may detect that a specified event has occurred. For example, the electronic device may detect that a user input requesting file sharing is received, an application associated with an external electronic device is installed on the electronic device, or the application is executed.

[0121] In step 1515, the electronic device may set the clock value of the electronic device that has been operating since the inquiry mode was enabled to a specified value through the wireless communication circuit. In this case, the clock may start to execute from the specified value.

[0122] In step 1520, the electronic device may receive a first control packet for an inquiry process from an external electronic device through a wireless communication circuit.

[0123] In response to the reception of the first control packet, in step 1525, the electronic device may identify a clock value running from a specified value.

[0124] In step 1530, the electronic device may transmit a second control packet including the identified clock value to the external electronic device in response to the first control packet.

[0125] According to an embodiment, the electronic device may include a display, a Bluetooth-enabled TM A wireless communication circuit for a protocol, at least one processor operably connected to a display and the wireless communication circuit, and a memory operably connected to the at least one processor, wherein the memory can store instructions that, when executed, cause the at least one processor to: broadcast a first control packet for a query process through the wireless communication circuit, receive a plurality of second control packets in response to the first control packet through the wireless communication circuit, identify a plurality of clock values ​​included in the plurality of received second control packets, and display a user interface on the display, the user interface indicating query results of a plurality of external electronic devices that sent the plurality of second control packets based on the identified plurality of clock values.

[0126] The instructions may cause the at least one processor to compare the identified clock value with a specified value to obtain a difference between the identified clock value and the specified value, and control the display to display query results of multiple external electronic devices sequentially, vertically and descendingly in an order from the smallest difference to the largest difference.

[0127] The instructions may cause the at least one processor to control the display to display a user interface indicating query results of the multiple external electronic devices based on at least one of an order of received signal strengths of the multiple second control groups and an alphabetical order indicating device names included in the multiple second control groups.

[0128] The instructions may cause the at least one processor to classify the multiple external electronic devices into a first group having a received signal strength greater than or equal to a threshold and a second group having a received signal strength less than a threshold, control the display to display query results of the external electronic devices included in the first group and query results of the external electronic devices included in the second group, obtain the difference between the clock values ​​of the multiple external electronic devices included in the first group and a specified value, and control the display to display the query results of the multiple external electronic devices included in the first group sequentially, vertically and descendingly in an order from a minimum difference to a maximum difference.

[0129] Wireless communication circuit can support Bluetooth TM Conventional protocol, the first control packet may include a Bluetooth-based TM An ID packet of a conventional protocol, and the plurality of second control packets may include an FHS packet in response to the ID packet.

[0130] The instructions may cause the at least one processor to control the display to display a user interface indicating query results of the plurality of external electronic devices based on a CLKN (local clock) value included in the FHS packet.

[0131] The wireless communication circuit may support the BLE protocol, the first control packet may include a scan request (SCAN_REQ) packet based on the BLE protocol, and the plurality of second control packets may include a scan response (SCAN_RSP) packet in response to the scan request packet.

[0132] The instructions may cause the at least one processor to enable the wireless communication circuit in response to receiving user input requesting file sharing, installing an application associated with the external electronic device on the electronic device, or detecting execution of the application, and to send the first control packet through the enabled wireless communication circuit.

[0133] According to an embodiment, the electronic device may include a Bluetooth-enabled TM The wireless communication circuit can be based on Bluetooth TM The protocol enables a query mode, and from the time the query mode is enabled in response to the occurrence of a specified event, the clock value of the operating electronic device is set to a specified value, a first control packet for the query process is received from an external electronic device, in response to the reception of the first control packet, the clock value of the electronic device operating from the specified value is identified, and a second control packet including the identified clock value is sent to the external electronic device.

[0134] The wireless communication circuitry may enable the inquiry mode in response to powering on of the electronic device, powering on of the wireless communication circuitry, or opening of a housing device including the electronic device.

[0135] The designated event may occur when a user input requesting file sharing is received, an application associated with the external electronic device is installed on the electronic device, or the application is executed.

[0136] Wireless communication circuit can support Bluetooth TM Conventional protocol, the first control packet may include a Bluetooth-based TM The ID packet of the conventional protocol, the second control packet may include an FHS packet in response to the ID packet.

[0137] The wireless communication circuit may support the BLE protocol, the first control packet may include a scan request packet based on the BLE protocol, and the second control packet may include a scan response packet in response to the scan request packet.

[0138] According to an embodiment, a method of an electronic device may include: broadcasting a signal for transmitting a signal based on Bluetooth. TM A first control packet of a query process of a protocol, receiving multiple second control packets in response to the first control packet, identifying multiple clock values ​​included in the multiple received second control packets, and displaying a user interface indicating query results of multiple external electronic devices that sent multiple second control packets based on the identified multiple clock values.

[0139] Displaying the user interface may include comparing the identified clock value with a specified value to obtain a difference between the identified clock value and the specified value, and displaying query results of multiple external electronic devices sequentially, vertically and descendingly in order from a minimum difference to a maximum difference.

[0140] Displaying the user interface may include sequentially, vertically, and descendingly displaying query results of the plurality of external electronic devices based on at least one of an order of received signal strengths of the plurality of second control packets or an alphabetical order indicating device names included in the plurality of second control packets.

[0141] Displaying a user interface may include classifying multiple external electronic devices into a first group having a received signal strength greater than or equal to a threshold and a second group having a received signal strength less than the threshold, and displaying query results of external electronic devices included in the first group over query results of external electronic devices included in the second group, obtaining differences between clock values ​​of the multiple external electronic devices included in the first group and a specified value, and displaying the query results of the multiple external electronic devices included in the first group sequentially, vertically, and descendingly in order from a minimum difference to a maximum difference.

[0142] Broadcasting the first control packet may include sending the first control packet in response to receiving a user input requesting file sharing, installing an application associated with the external electronic device on the electronic device, or detecting execution of an application.

[0143] Bluetooth TM Protocols may include Bluetooth TM Conventional protocol, the first control packet may include a Bluetooth-based TM An ID packet of a conventional protocol, and the plurality of second control packets may include an FHS packet in response to the ID packet.

[0144] Bluetooth TM The protocol may include a BLE protocol, the first control packet may include a scan request packet based on the BLE protocol, and the plurality of second control packets may include a scan response packet in response to the scan request packet.

[0145] The electronic device according to various embodiments may be one of various types of electronic devices. The electronic device may include, for example, a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a household appliance. According to an embodiment of the present disclosure, the electronic device is not limited to those electronic devices described above.

[0146] It should be understood that the various embodiments of the present disclosure and the terms used therein are not intended to limit the technical features set forth herein to specific embodiments, but include various changes, equivalents or alternative forms for the corresponding embodiments. For the description of the accompanying drawings, similar reference numerals may be used to refer to similar or related elements. It will be understood that the nouns in the singular form corresponding to the term may include one or more things unless the relevant context clearly indicates otherwise. As used herein, each of the phrases such as "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C" and "at least one of A, B or C" may include all possible combinations of items listed together with the corresponding one of the multiple phrases. As used herein, terms such as "1st" and "2nd" or "first" and "second" may be used to simply distinguish the corresponding component from another component, and do not limit the component in other aspects (e.g., importance or order). It will be understood that if an element (e.g., a first element) is referred to as being “combined with another element (e.g., the second element)”, “combined to another element (e.g., the second element)”, “connected with another element (e.g., the second element)”, or “connected to another element (e.g., the second element)” when the terms “operably” or “communicatively” are used or when the terms “operably” or “communicatively” are not used, it means that the element may be directly (e.g., wired) connected to the other element, wirelessly connected to the other element, or connected to the other element via a third element.

[0147] As used herein, the term "module" may include units implemented in hardware, software, or firmware, and may be used interchangeably with other terms (e.g., "logic," "logic block," "portion," or "circuit"). A module may be a single integrated component adapted to perform one or more functions or a minimum unit or portion of the single integrated component. For example, according to an embodiment, a module may be implemented in the form of an application specific integrated circuit (ASIC).

[0148] The various embodiments described herein may be implemented as software (e.g., program 140) including one or more instructions stored in a storage medium (e.g., internal memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). For example, under the control of a processor, a processor (e.g., processor 120) of the machine (e.g., electronic device 101) may call at least one of the one or more instructions stored in the storage medium and execute the at least one instruction with or without the use of one or more other components. This enables the machine to operate to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be run by an interpreter. A machine-readable storage medium may be provided in the form of a non-transitory storage medium. Among them, the term "non-transitory" only means that the storage medium is a tangible device and does not include a signal (e.g., an electromagnetic wave), but the term does not distinguish between data being semi-permanently stored in a storage medium and data being temporarily stored in a storage medium.

[0149] According to an embodiment, the method according to various embodiments of the present disclosure may be included and provided in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be released in the form of a machine-readable storage medium (e.g., a compact disk read-only memory (CD-ROM)), or may be downloaded via an application store (e.g., Play Store TM ) The computer program product may be published (e.g., downloaded or uploaded) online, or the computer program product may be distributed (e.g., downloaded or uploaded) directly between two user devices (e.g., smart phones). If published online, at least part of the computer program product may be temporarily generated, or at least part of the computer program product may be at least temporarily stored in a machine-readable storage medium (such as a memory of a manufacturer's server, an application store's server, or a forwarding server).

[0150] According to various embodiments, each component (e.g., module or program) in the above-mentioned components may include a single entity or multiple entities. According to various embodiments, one or more components in the above-mentioned components may be omitted, or one or more other components may be added. Alternatively or additionally, multiple components (e.g., module or program) may be integrated into a single component. In this case, according to various embodiments, the integrated component may still perform the one or more functions of each component in the multiple components in the same or similar manner as a corresponding component in the multiple components before integration. According to various embodiments, the operations performed by a module, program or another component may be performed sequentially, in parallel, repeatedly or in a heuristic manner, or one or more operations in the operations may be run or omitted in different orders, or one or more other operations may be added.

Claims

1. An electronic device, comprising: monitor; wireless communications circuitry configured to support protocols enabling short-range wireless communications between electronic devices; at least one processor operably connected to the display and the wireless communications circuitry; and a memory operably connected to the at least one processor, wherein the memory is configured to store instructions that, when executed, cause the at least one processor to: receiving an advertising packet from an external electronic device via wireless communication circuitry, wherein the advertising packet is sent when the external electronic device enables advertising; In response to receiving the advertisement packet, broadcasting a first control packet for a query process via the wireless communication circuit; receiving a plurality of second control packets in response to the first control packet from a plurality of external electronic devices including the external electronic device through the wireless communication circuit; identifying a plurality of clock values ​​in the plurality of second control packets, wherein each of the plurality of clock values ​​is respectively included in each of the plurality of second control packets and begins when advertising is enabled for each of the plurality of external electronic devices; and A user interface is displayed on the display, the user interface indicating query results of the plurality of external electronic devices that sent the plurality of second control packets, the query results being sequentially arranged based on the order of the plurality of clock values.

2. The electronic device according to claim 1, wherein: Each of the plurality of clock values ​​is inserted into an advertisement data field of each of the plurality of second control packets.

3. The electronic device according to claim 1, wherein: The memory is further configured to store instructions that, when executed, cause the at least one processor to: Further based on at least one of an order of received signal strengths of the plurality of second control packets and an alphabetical order indicating device names in the plurality of second control packets, a display is controlled to display a user interface indicating query results of the plurality of external electronic devices.

4. The electronic device according to claim 3, wherein: The memory is further configured to store instructions that, when executed, cause the at least one processor to: classifying the plurality of external electronic devices into a first group having received signal strengths greater than or equal to a threshold and a second group having received signal strengths less than a threshold; controlling the display to display the query results of the plurality of external electronic devices in the first group above the query results of the plurality of external electronic devices in the second group; and Obtain differences between multiple clock values ​​of multiple external electronic devices in the first group and a specified value, and control the display to sequentially and vertically display query results of multiple external electronic devices in the first group in an order from a minimum difference between multiple clock values ​​of multiple external electronic devices in the first group and the specified value to a maximum difference between multiple clock values ​​of multiple external electronic devices in the first group and the specified value.

5. The electronic device according to claim 1, wherein: The wireless communication circuit is further configured to support a low energy protocol that enables short-range wireless communication between electronic devices, wherein the first control packet comprises a scan request packet based on the low energy protocol, and The plurality of second control packets include a scan response packet in response to the scan request packet.

6. The electronic device according to claim 1, wherein: The memory is further configured to store instructions that, when executed, cause the at least one processor to: enabling wireless communication circuitry in response to receiving user input requesting file sharing, installing an application associated with each of the plurality of external electronic devices on the electronic device, or detecting execution of an application; and A first control packet is sent via the wireless communication circuit.

7. A method of an electronic device, comprising: receiving an advertisement packet from an external electronic device via wireless communication circuitry of the electronic device, wherein the advertisement packet is sent when the external electronic device enables advertising; In response to receiving the advertisement packet, broadcasting a first control packet for a query process via the wireless communication circuit; receiving a plurality of second control packets in response to the first control packet from a plurality of external electronic devices including the external electronic device; identifying a plurality of clock values ​​in the plurality of second control packets, wherein each of the plurality of clock values ​​is respectively included in each of the plurality of second control packets and begins when advertising is enabled for each of the plurality of external electronic devices; and A user interface is displayed, the user interface indicating query results of the plurality of external electronic devices that sent the plurality of second control packets, the query results being sequentially arranged based on the order of the plurality of clock values.

8. The method according to claim 7, wherein: Each of the plurality of clock values ​​is inserted into an advertisement data field of each of the plurality of second control packets.

Citation Information

Patent Citations

  • Method and apparatus for friend discovery

    CN104050231A

  • Method, apparatus, and computer program product for wireless short-range communication disconnection

    EP2672764A1