Electronic device and method for taking pre-action in a Bluetooth network environment
By using Bluetooth protocol to establish links with external electronic devices in a Bluetooth network environment and taking pre-actions, the problems of power consumption and insufficient resources are solved, and the success rate of pre-actions and user connection speed are improved.
Patent Information
- Application Number
- CN202080057955.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-08-16
- Filing Date
- 2020-06-10
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2040-06-10
AI Technical Summary
In Bluetooth network environments, electronic devices may lead to power consumption and insufficient resources when taking pre-actions, resulting in battery discharge and call quality degradation.
An electronic device and a method are provided to establish a link with an external electronic device through a Bluetooth protocol and receive or send messages to take pre-actions to reduce power consumption and resource requirements.
While reducing battery consumption, it improves the success rate of pre-actions and user connection speed.
Smart Images

Figure CN114258691B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to an electronic device for taking a pre-action (or referred to as a "pre-procedure"), and more particularly to an electronic device for taking a pre-action for establishing a link in a Bluetooth network environment and a method thereof. Background Art
[0002] The Bluetooth standard technology, defined by the Bluetooth Special Interest Group (SIG), defines a protocol for short-range wireless communication between electronic devices. In a Bluetooth network environment, electronic devices can send or receive data packets (including content such as text, voice, images, or video) in a designated frequency band (e.g., approximately 2.4 gigahertz (GHz)).
[0003] For example, a user equipment (UE) such as a smartphone, tablet, desktop computer, or laptop computer may send a data packet to another UE or an accessory device, such as an earphone, a headset, a smartwatch, a speaker, a mouse, a keyboard, or a display device.
[0004] The above information is presented as background information only to assist with an understanding of the present disclosure. No determination has been made, and no assertion is made, as to whether any of the above might be applicable as prior art with respect to the present disclosure. Summary of the Invention
[0005] Technical issues
[0006] In order to perform wireless communication over a link based on the Bluetooth protocol, the electronic device may take (or execute) preparatory actions for establishing a link. For example, the preparatory actions may include an action for notifying the peripheral of its own presence (e.g., inquiry scanning or Bluetooth low energy (BLE) advertising), an action for discovering external electronic devices existing around the electronic device (e.g., inquiry or BLE scanning), an action for receiving a request for connection from a specific external electronic device (e.g., paging), or an action for requesting a specific external electronic device to connect (e.g., paging or BLE initiation scanning).
[0007] Because the electronic device should send or receive a signal during the specified time period for taking the pre-action, power consumption may occur when taking the pre-action. For example, because the accessory device (such as headphones or smart watches) includes a battery of a limited size, the battery may be discharged due to the pre-action.
[0008] Furthermore, because wireless communication based on the Bluetooth protocol is performed using limited resources (e.g., frequency), when two or more actions are requested in one electronic device, some actions may be ignored or may not be performed properly due to insufficient resources. For example, when a user requests a pre-action with another external electronic device while the UE is in a call using a wirelessly connected headset, the UE may ignore the request for the pre-action to hold the call, and call quality may deteriorate while the UE takes the pre-action.
[0009] Technical Solutions
[0010] Aspects of the present disclosure are to at least address the above-mentioned problems and / or disadvantages and to provide at least the advantages described below. Therefore, one aspect of the present disclosure is to provide an electronic device and method for taking pre-action in a Bluetooth network environment.
[0011] Additional aspects will be set forth in part in the description which follows and, in part, will be apparent from the description, or may be learned by practice of the presented embodiments.
[0012] According to one aspect of the present disclosure, an electronic device is provided. The electronic device includes a wireless communication circuit configured to support a Bluetooth protocol and at least one processor operably connected to the wireless communication circuit. The at least one processor can be configured to: use the wireless communication circuit to establish a first link with a first external electronic device based on the Bluetooth protocol; use the wireless communication circuit to receive a first message from the first external electronic device for requesting to take a first pre-action for establishing a second link between the first external electronic device and the second external electronic device; use the wireless communication circuit to take a first pre-action for establishing a second link with the second external electronic device; and use the wireless communication circuit to send a second message to the first external electronic device for reporting the result of the first pre-action.
[0013] According to another aspect of the present disclosure, an electronic device is provided. The electronic device includes a wireless communication circuit configured to support the Bluetooth protocol, and at least one processor operably connected to the wireless communication circuit. The at least one processor can be configured to: use the wireless communication circuit to establish a first link with a first external electronic device; send a first message for requesting a pre-action for establishing a second link between the electronic device and a second external electronic device to the first external electronic device; receive a second message for reporting a result of the pre-action from the first external electronic device; and establish a second link with the second external electronic device in response to the second message.
[0014] According to another aspect of the present disclosure, a method is provided for an electronic device. The method includes: establishing a first link with a first external electronic device based on a Bluetooth protocol; receiving a first message from the first external electronic device requesting a first pre-action to be taken, the first pre-action being used to establish a second link between the first external electronic device and a second external electronic device; taking the first pre-action for establishing the second link with the second external electronic device; and sending a second message to the first external electronic device reporting a result of the first pre-action.
[0015] Other aspects, advantages, and salient features of the present disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the accompanying drawings, discloses various embodiments of the present disclosure.
[0016] Beneficial effects
[0017] According to various embodiments disclosed in the present disclosure, an electronic device may take preliminary actions for establishing a link in a Bluetooth network environment using limited battery capacity and limited resources.
[0018] According to various embodiments disclosed in the present disclosure, an electronic device can increase the success rate of a pre-action for establishing a link while reducing battery consumption or power consumption in a Bluetooth network environment.
[0019] According to various embodiments disclosed in the present disclosure, the electronic device may guide the user to quickly take preparatory actions for connection by taking preparatory actions for establishing a link using an external electronic device in a Bluetooth network environment.
[0020] Furthermore, various effects directly or indirectly determined by the present disclosure can be provided.
[0021] While the disclosure has been shown and described with reference to various embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the disclosure as defined by the appended claims and their equivalents. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The above and other aspects, features and advantages of certain embodiments of the present disclosure will become more apparent from the following description taken in conjunction with the accompanying drawings, in which:
[0023] Figure 1 is a block diagram illustrating an electronic device in a network environment according to an embodiment of the present disclosure;
[0024] Figure 2 shows a topology indicating a Bluetooth network environment according to an embodiment of the present disclosure;
[0025] Figure 3A user interface (UI) indicating a connection between devices in a Bluetooth network environment according to an embodiment of the present disclosure is shown;
[0026] Figure 4 shows a signal sequence diagram for taking pre-action according to an embodiment of the present disclosure;
[0027] Figure 5 shows a signal sequence diagram for performing an inquiry scan according to an embodiment of the present disclosure;
[0028] Figure 6 shows a signal sequence diagram for performing a page scan according to an embodiment of the present disclosure;
[0029] Figure 7a shows a signal sequence diagram for performing BLE scanning according to an embodiment of the present disclosure;
[0030] Figure 7b showing a user interface indicating a list of devices found using an address of a second device according to an embodiment of the present disclosure;
[0031] Figure 8a shows a signal sequence diagram for performing a BLE initiated scan according to an embodiment of the present disclosure;
[0032] Figure 8b A user interface for inquiring about establishing a link with a second device according to an embodiment of the present disclosure is shown;
[0033] Figure 9 shows a signal sequence diagram for performing a query according to an embodiment of the present disclosure;
[0034] Figure 10 shows a signal sequence diagram for performing paging according to an embodiment of the present disclosure;
[0035] Figure 11 shows a signal sequence diagram for executing an advertisement according to an embodiment of the present disclosure;
[0036] Figure 12 FIG2 shows an operation flow chart of an electronic device for taking a preliminary action according to an embodiment of the present disclosure;
[0037] Figure 13 Another operation flow chart of an electronic device for taking a preliminary action according to an embodiment of the present disclosure is shown;
[0038] Figure 14 A diagram for describing an operation of a control job according to an embodiment of the present disclosure is shown;
[0039] Figure 15An operation flow chart of an electronic device for requesting to take a preliminary action according to an embodiment of the present disclosure is shown;
[0040] Figure 16 Another operational flowchart of an electronic device for requesting a preliminary action according to an embodiment of the present disclosure is shown; and
[0041] Figure 17 A block diagram illustrating some components of an electronic device according to an embodiment of the present disclosure is shown.
[0042] Throughout the drawings, like reference numerals will be understood to refer to like parts, components and structures. DETAILED DESCRIPTION
[0043] The following description, with reference to the accompanying drawings, is provided to facilitate a comprehensive understanding of the various embodiments of the present disclosure as defined by the claims and their equivalents. The description includes various specific details to assist in this understanding, but these details are to be regarded as merely illustrative. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the various embodiments described herein without departing from the scope of the present disclosure. Furthermore, descriptions of well-known functions and structures may be omitted for clarity and conciseness.
[0044] The terms and expressions used in the following description and claims are not limited to the bibliographical meanings, but are merely used by the inventor to enable a clear and consistent understanding of the present disclosure. Therefore, it will be apparent to those skilled in the art that the following description of various embodiments of the present disclosure is for illustration purposes only and not for the purpose of limiting the present disclosure as defined by the appended claims and their equivalents.
[0045] It will be understood that the singular forms "a," "an," and "the" include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to "a component surface" includes reference to one or more of such surfaces.
[0046] Figure 1 is a block diagram illustrating an electronic device 101 in a network environment 100 according to an embodiment of the present disclosure.
[0047] refer to Figure 1, the electronic device 101 in the network environment 100 can 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 can 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 (e.g., a transceiver), a subscriber 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 implemented as embedded in the display device 160 (eg, a display).
[0048] The processor 120 may run, for example, software (e.g., program 140) to control at least one other component of the electronic device 101 coupled to the processor 120 (e.g., a hardware component or a software component), 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 commands or data received from another component (e.g., sensor module 176 or communication module 190) into the volatile memory 132, process the commands or data stored in the volatile memory 132, and store the resulting data in the non-volatile memory 134. According to an embodiment, the processor 120 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 operationally independent of or in conjunction with the main processor 121. Additionally or alternatively, the auxiliary processor 123 may be configured to consume less power than the main processor 121 or to be specifically configured for a designated function. The secondary processor 123 may be implemented separately from the primary processor 121 or as part of the primary processor 121 .
[0049] 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., the display device 160, the sensor module 176, or the 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., the display device 160, the sensor module 176, or the communication module 190) among the components of the electronic device 101 together with the main processor 121. Depending on the embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., the camera module 180 or the communication module 190) that is functionally related to the auxiliary processor 123.
[0050] 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., the program 140) and input data or output data for commands related thereto. The memory 130 may include a volatile memory 132 or a non-volatile memory 134.
[0051] 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 .
[0052] 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).
[0053] The sound output device 155 can output sound signals to the outside of the electronic device 101. The sound output device 155 can 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 separately from the speaker or as part of the speaker.
[0054] The display device 160 can 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. Depending on the embodiment, the display device 160 may include a touch circuit adapted to detect a touch or a sensor circuit adapted to measure the strength of the force caused by the touch (e.g., a pressure sensor).
[0055] The audio module 170 can convert sound into an electrical signal, and vice versa. According to an embodiment, the audio module 170 can 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) connected to the electronic device 101 or wirelessly coupled.
[0056] The sensor module 176 can detect the operating state (e.g., power or temperature) of the electronic device 101 or the environmental state (e.g., the state of the user) outside the electronic device 101, and then generate an electrical signal or data value corresponding to the detected state. Depending on the 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.
[0057] The interface 177 may support one or more designated protocols for directly (e.g., wired) or wirelessly coupling the electronic device 101 to an external electronic device (e.g., the electronic device 102). Depending on the 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.
[0058] 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. Depending on the 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).
[0059] 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.
[0060] The camera module 180 may capture still images or moving images. Depending on the embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
[0061] 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).
[0062] 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.
[0063] 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 capable of operating independently from the processor 120 (e.g., an application processor (AP)) and supporting direct (e.g., wired) communication or wireless communication. Depending on the embodiment, the communication module 190 may include a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or 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 can communicate with an external electronic device via a first network 198 (e.g., a short-range communication network such as Bluetooth, Wireless Fidelity (Wi-Fi) Direct, or Infrared Data Association (IrDA)) or a second network 199 (e.g., a long-range communication network such as a cellular network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))). These various types of communication modules can be implemented as a single component (e.g., a single chip), or can be implemented as multiple components separated from each other (e.g., multiple chips). The wireless communication module 192 can identify and authenticate the electronic device 101 in a communication network (such as the first network 198 or the second network 199) using user information (e.g., an International Mobile Subscriber Identity (IMSI)) stored in the user identification module 196.
[0064] Antenna module 197 can transmit or receive signals or power to or from the outside of electronic device 101 (e.g., an external electronic device). Depending on the embodiment, antenna module 197 may include an antenna comprising a radiating element formed of a conductive material or conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). Depending on the embodiment, antenna module 197 may include multiple antennas. In this case, at least one antenna suitable for the communication scheme used in a communication network (such as first network 198 or second network 199) may be selected from the multiple antennas by, for example, communication module 190 (e.g., wireless communication module 192). Signals or power can then be transmitted or received between communication module 190 and the external electronic device via the selected at least one antenna. Depending on the embodiment, additional components other than the radiating element (e.g., a radio frequency integrated circuit (RFIC)) may also be formed as part of antenna module 197.
[0065] At least some of the above components may be coupled to each other via an inter-peripheral communication scheme (e.g., a bus, general purpose input output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and communicatively transmit signals (e.g., commands or data) therebetween.
[0066] According to an embodiment, commands or data may be sent or received between electronic device 101 and external electronic device 104 via server 108 coupled to second network 199. Each of electronic device 102 and electronic device 104 may be of the same type as electronic device 101, or of a different type. According to an embodiment, all or some operations to be executed on electronic device 101 may be executed on one or more of external electronic device 102, external electronic device 104, or server 108. For example, if electronic device 101 is to automatically execute a function or service or to execute a function or service in response to a request from a user or another device, electronic device 101 may request one or more external electronic devices to execute at least part of the function or service instead of, or in addition to, executing the function or service. Upon receiving the request, the one or more external electronic devices may execute the requested at least part of the function or service, or execute another function or service related to the request, and transmit the results of the execution to 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, for example, cloud computing technology, distributed computing technology, or client-server computing technology may be used.
[0067] Figure 2 A topology 200 indicating a Bluetooth network environment according to an embodiment of the present disclosure is shown.
[0068] The operations of the contents described below may be performed by the hardware configuration (eg, Figure 1 processor 120, Figure 1 Wireless communication module 192, Figure 17 Modem 1710, Figure 17 Bluetooth (BT) circuit 1730, or Figure 17 The second BT circuit 1740) can be executed or can be executed by executing a file stored in a memory (for example, Figure 1 to execute the instructions in the memory 130).
[0069] refer to Figure 2 , the first device 201, the second device 202-1 and the second device 202-2, and the third device 203-1 and the third device 203-2 included in the topology 200 may include components and may perform functions, at least some of which are Figure 1 1 and 2, and at least some of the functions are the same as or similar to the electronic device 101 shown in FIG. 1 . For example, each of the first device 201, the second device 202-1 and the second device 202-2, and the third device 203-1 and the third device 203-2 may include a user equipment (UE) (such as a smart phone, a tablet, a desktop computer, or a laptop computer), or may include an accessory device such as an earphone, a headset, a smart watch, a speaker, a mouse, a keyboard, or a display device. The number of second devices (e.g., 202-1 and 202-2) or third devices (e.g., 203-1 and 203-2) is not limited to Figure 2 Example shown.
[0070] Each of the first device 201, the second device 202-1 and the second device 202-2, and the third device 203-1 and the third device 203-2 may include a wireless communication circuit configured to support the Bluetooth protocol defined by the Bluetooth SIG (e.g., Figure 1 In this case, the wireless communication circuit may include at least one of a Bluetooth module or a Bluetooth chip. The Bluetooth protocol may include, for example, a Bluetooth traditional protocol and a Bluetooth low energy (BLE) protocol. The wireless communication circuit may support one or both of the Bluetooth traditional protocol and the BLE protocol.
[0071] The first device 201, the second device 202-1 and the second device 202-2, or the third device 203-1 and the third device 203-2 can provide various services to the user by connecting to an external electronic device based on the Bluetooth protocol. For example, when at least one second device (e.g., 202-1 or 202-2) connected to the first device 201 is an accessory device, the first device 201 can provide at least one of health care, hands-free calling, media playback, file sharing, or notification functions via the at least one second device (e.g., 202-1 or 202-2).
[0072] Electronic devices (e.g., first device 201, second device 202-1 and second device 202-2, or third device 203-1 and third device 203-2) (where each electronic device supports the Bluetooth protocol) can align the timing of sending or receiving packets based on clocks. Clocks based on the Bluetooth protocol may include a reference clock (CLKR), a local clock (CLKN), an estimated clock (CLKE), and a master clock (CLK). CLKR may be a system clock generated from the system of the electronic device, which may become a standard for other clocks. When a wireless communication circuit supporting the Bluetooth protocol (e.g., Figure 1When at least a portion of the wireless communication module 192 of the master device is powered on, CLKN may start from 0x0 with reference to CLKR. For example, the electronic device may operate CLKN by applying a time-based offset to CLKR. CLK may be used for synchronization between electronic devices. In this case, channel resources (e.g., frequency hopping channels) for sending packets may be generated based on the CLKN of the device assuming the master role. In a Bluetooth legacy network, time resources (e.g., time slots) may be determined based on the CLKN of the master device. The time slot may be, for example, 625 microseconds (us). The device assuming the slave role may be synchronized by applying an offset to the CLKN of the master device, and the CLKN of the master device may be CLK.
[0073] The device that assumes the primary role can perform overall control of the physical channel and the standard for determining CLK. For example, the slave device should receive a packet from the master device to send the packet to the master device. In a BLE network, the master device and the slave device can send a data packet at specified intervals and when a data packet is received, a response can be made after a specified time (e.g., inter-frame space (T_IFS), approximately 150us). For another example, the electronic device can determine the frequency hopping channel based on the clock of the master device and the Bluetooth device address (BD_ADDR). According to an embodiment, the master role or the slave role can be determined in the process of generating a link (e.g., 210-1 or 210-2) between electronic devices (e.g., the first device 201 or the second device 202-1 and the second device 202-2).
[0074] An electronic device (each of which supports the Bluetooth protocol) may have a unique BD_ADDR. The BD_ADDR may be used in the media access control (MAC) layer. The BD_ADDR may include, for example, 48 bits of information. The BD_ADDR may include a lower address part (LAP), an upper address part (UAP), and a non-significant part (NAP). The LAP may indicate a device address specified by the manufacturer, and the UAP and NAP may indicate a device address specified by the Institute of Electrical and Electronics Engineers (IEEE) to the manufacturer. The BD_ADDR may be used to identify a specific electronic device, determine a frequency hopping channel, authentication, or calculation of link operation.
[0075] Electronic devices (each of which supports the Bluetooth protocol) can insert different access codes into the packet according to the purpose. The access code may include, for example, a device access code (DAC), an inquiry access code (IAC), and a channel access code (CAC). The access code may be generated based on the BD_ADDR of a specific electronic device. The IAC may be used to discover peripheral external electronic devices. The IAC includes a general IAC (GIAC) and a dedicated IAC (DIAC). The GIAC may be generated based on a LAP with a fixed value (e.g., 0x9E8B33), and the DIAC may be generated based on a LAP with a specified range (e.g., from 0x9E8B00 to 0x9E8B3F). The DAC may be used to request a connection. In this case, the DAC may be generated based on the LAP of the electronic device being requested to connect. The CAC may be used for data communication when two or more electronic devices are connected (e.g., when a link (e.g., 210-1 or 210-2) is established). The CAC may be generated based on the LAP of the master device.
[0076] An electronic device (each of which supports the Bluetooth protocol) may take a pre-action to establish a link (e.g., 210-1 or 210-2). The pre-action may include, for example, at least one of an inquiry scan, a page scan, a BLE scan, a BLE initiated scan, an inquiry, a page, or an advertisement. When attempting to send or receive at least one packet to take the pre-action, power consumption may occur. For example, when the second device 202-1 uses 100% of its power to perform a BLE scan, 10 milliamperes (mA) or more of current may be consumed.
[0077] According to various embodiments, the second device 202-1 may request the first device 201 to take a preliminary action for establishing a link between the second device 202-1 and the third device 203-1. For example, when the second device 202-1 is a device with a small battery capacity (such as an accessory device), when the remaining capacity of the battery of the second device 202-1 is insufficient, or when the resources available to the second device 202-1 are insufficient, the second device 202-1 may request the first device 201 to take a preliminary action to be performed by the second device 202-1 on the link 210-1 between the second device 202-1 and the first device 201. For another example, when the first device 201 includes a hardware structure capable of minimizing the current consumed by the pre-action, the second device 202-1 may request the first device 201 to take a preliminary action to be performed by the second device 202-1. Figure 17 An embodiment associated with the hardware structure of the first device 201 is described.
[0078] In the embodiments described below, a description will be given of an embodiment in which the second device 202-1 directly requests the first device 201 to take a pre-action. However, according to other embodiments, the second device 202-1 may request the first device 201 to take a pre-action through another entity. For example, when the second device 202-1 and the first device 201 interoperate with each other through the same application or the same account, the second device 202-1 may request the first device 201 to take a pre-action via a server (not shown) that interoperates with the second device 202-1 and the first device 201.
[0079] According to other embodiments, the second device 202-1 may not separately request the first device 201 to take a pre-action, and the first device 201 may take a pre-action for the second device 202- 1. For example, when the first device 201 and the second device 202-1 form a set or have a history of previous connections, the first device 201 may take a pre-action for the second device 202-1 based on a condition associated with the first device 201 (e.g., at least one of the remaining battery capacity, the battery charge level, or the current consumed by the pre-action) even if it does not receive a request from the second device 202-1.
[0080] According to various embodiments, the first device 201 may attempt to receive the signal 205-1 transmitted to the second device 202-1 from the third device 203-1, or may transmit information (e.g., DAC) of the second device 202-1 to the third device 203-1, instead of the second device 202-1 taking the pre-action of the second device 202-1. According to embodiments, the first device 201 may use at least a portion of the information of the second device 202-1 or the information of the third device 203-1 to take the pre-action. For example, the first device 201 may use at least one of the BD_ADDR, DAC, frequency hop synchronization (FHS) packet, extended inquiry response (EIR) packet, or filter information of the second device 202-1, or may use at least one of the BD_ADDR or DAC of the third device 203-1.
[0081] According to various embodiments, the first device 201 may perform preparatory actions for multiple second devices 202-1 and 202-2. For example, the first device 201 may perform preparatory actions for establishing a link between the second device 202-2 and the third device 203-2, while (substantially simultaneously) performing preparatory actions for establishing a link between the second device 202-1 and the third device 203-1. In this case, the first device 201 may attempt to receive the signal 205-2 sent to the second device 202-2 from the third device 203-2, or may transmit information (e.g., DAC) of the second device 202-2 to the third device 203-2.
[0082] Figure 3 A user interface indicating a connection between devices in a Bluetooth network environment according to an embodiment of the present disclosure is shown.
[0083] Figure 3 A plurality of external electronic devices 312-1 and 312-2 (eg, Figure 2 The second device 202-1 and the second device 202-2) are configured by a device for an electronic device (eg, Figure 2 ), but the same principle can be applied to only indicating electronic devices and one external electronic device (e.g., Figure 2 A user interface for a connection between the second device 202-1).
[0084] refer to Figure 3 , in reference numeral 301, the electronic device can identify the first external electronic device 312-1 by receiving an advertising signal transmitted from the first external electronic device 312-1, and can output a first user interface 310 on a display device 160 (e.g., a display) for notifying a user of the identified first external electronic device 312-1 and a second external electronic device 312-2 constituting a set with the first external electronic device 312-1.
[0085] The first user interface 310 may include, for example, at least one of an image 315 indicating the shapes of the first external electronic device 312-1 and the second external electronic device 312-2 or a text 317 indicating the device names (e.g., “My Galaxy Buds”) of the first external electronic device 312-1 and the second external electronic device 312-2. Figure 3 Not shown, the first user interface 310 may indicate whether there is a history of previous connection of the first external electronic device 312 - 1 or the second external electronic device 312 - 2 .
[0086] According to an embodiment, the advertising signal may include information about the connection (or pairing) between the electronic device and the first external electronic device 312-1. For example, the advertising signal may include identification information of the first external electronic device 312-1, user account information, current pairing information indicating whether the first external electronic device 312-1 is paired with another device, a pairing list indicating a list of devices previously paired with the first external electronic device 312-1, simultaneous pairing information indicating devices that can be simultaneously paired with the first external electronic device 312-1, at least one of transmission power, sensing area, or battery status information. For another example, when the first external electronic device 312-1 and the second external electronic device 312-2 form a set, the advertising signal may also include identification information of the second external electronic device 312-2, user account information, current pairing information indicating whether the second external electronic device 312-2 is currently pairing with another device, a pairing list indicating a list of devices previously paired with the second external electronic device 312-2, simultaneous pairing information indicating devices that can be simultaneously paired with the second external electronic device 312-2, at least one of transmission power, sensing area, or battery status information.
[0087] According to an embodiment, the first external electronic device 312 - 1 may transmit the advertisement signal in a multicast scheme or a broadcast scheme.
[0088] According to an embodiment, the first external electronic device 312-1 may transmit an advertising signal according to a condition for executing an advertisement. For example, the first external electronic device 312-1 may transmit an advertising signal in response to detecting that a case stored in the first external electronic device 312-1 and the second external electronic device 312-2 is opened. For another example, the first external electronic device 312-1 may transmit an advertising signal in response to receiving power or receiving user input. For another example, the first external electronic device 312-1 may transmit an advertising signal at every designated time period.
[0089] According to an embodiment, the electronic device may establish a link with the first external electronic device 312-1 in response to receiving a user input 318 for requesting a connection with the first external electronic device 312-1 (eg, Figure 2 or automatically establishes a link with the first external electronic device 312-1 without user input (e.g., Figure 2According to an embodiment, the electronic device and the first external electronic device 312-1 may establish a link according to a procedure based on the Bluetooth standard. For example, the electronic device and the first external electronic device 312-1 may perform a baseband paging procedure for identifying the counterpart device, a link manager protocol (LMP) procedure for identifying the LMP version, clock offset, and supported functions (e.g., supported features), a host request / response procedure for identifying a connection, an authentication procedure for identifying whether the counterpart device is a reliable device, an encryption procedure, and a setup completion procedure for notifying the host of the completion of the connection (e.g., establishment of a link).
[0090] When the link is established, as shown in reference numeral 302, the electronic device may output a second user interface 320 indicating that the first external electronic device 312-1 is connected to the electronic device on the display device 160. The second user interface 320 may also include, for example, an image 325 indicating the battery status of the first external electronic device 312-1 and the second external electronic device 312-2 that constitutes a set with the first external electronic device 312-1. In this case, the electronic device may receive the battery status of the second external electronic device 312-2 from the first external electronic device 312-1 or the second external electronic device 312-2.
[0091] Although Figure 3 Although not shown in the figure, according to an embodiment, when the first external electronic device 312-1 is discovered in a state in which the electronic device was previously connected to another external device other than the first external electronic device 312-1 and the second external electronic device 312-2, the electronic device may send information about the previously connected link to the first external electronic device 312-1 or the second external electronic device 312-2, so that the first external electronic device 312-1 or the second external electronic device 312-2 can monitor the link previously connected between the electronic device and the other external device. In this case, the first user interface 310 may include information indicating that it can add the first external electronic device 312-1 or the second external electronic device 312-2. When receiving a user input for requesting to add the first external electronic device 312-1 or the second external electronic device 312-2, the electronic device may send information about the previously connected link to the first external electronic device 312-1 or the second external electronic device 312-2.
[0092] Figure 3An embodiment in which a user interface is output based on an advertising signal based on the BLE protocol is shown. However, according to other embodiments, the electronic device may output a user interface based on the Bluetooth legacy protocol. For example, the electronic device may receive a frequency hopping synchronization (FHS) packet and an extended inquiry response (EIR) packet from the first external electronic device 312-1 through inquiry, and may output the first user interface 310 based on the information included in the FHS packet and the EIR packet. Upon receiving user input 318 for requesting a connection, the electronic device may establish a link with the first external electronic device 312-1 through paging.
[0093] Figure 4 A signal sequence diagram 400 for taking pre-action according to an embodiment of the present disclosure is shown.
[0094] refer to Figure 4 In operation 405, the first device 201 may establish a first link with the second device 202 based on the Bluetooth protocol (eg, Figure 2 According to an embodiment, the first device 201 may obtain at least a portion of the information of the second device 202 while establishing the first link. For example, the first device 201 may obtain the BD_ADDR of the second device 202.
[0095] In operation 410, the second device 202 may send a first message to the first device 201 requesting a preparatory action for establishing a second link between the second device 202 and an external electronic device (e.g., the third device 203). For example, the second device 202 may send the first message to the first device 201 based on a Bluetooth protocol (e.g., Bluetooth Classic or Bluetooth Low Energy protocol) or another short-range communication protocol. For another example, the second device 202 may send the first message using a field or data payload defined in the Bluetooth protocol. Depending on the embodiment, depending on the type of preparatory action requested by the second device 202, the second device 202 may or may not be able to insert the information of the second device 202 into the first message. For example, when requesting to perform a BLE scan, the second device 202 may insert filter information into the first message. For another example, when the second device 202 requests to perform an inquiry, because the first device 201 only sends an identification (ID) packet including a GIAC, the second device 202 may not be able to insert the information required to take the preparatory action into the first message.
[0096] According to an embodiment, the second device 202 may identify whether the first device 201 is capable of taking a pre-action before sending the first message. For example, the second device 202 may identify whether the first device 201 is capable of taking a pre-action based on at least one of the feature information (e.g., supported features) of the first device 201 shared when the first link is established, information included in the EIR packet of the first device 201, version information of the first device 201, or additional message exchanges.
[0097] According to an embodiment, when the first device 201 can select whether to take a pre-action of the second device 202 based on a specified condition, the second device 202 can insert at least one of the information for determining the specified condition into the first message. The information for determining the specified condition may include, for example, at least one of the information included in Table 1 below.
[0098] Table 1
[0099]
[0100] In Table 1 above, "Total Battery" may refer to the battery charge level of the second device 202, "Current Battery" may refer to the remaining capacity of the battery of the second device 202, "Scan Consumption" may refer to the current consumption required for a pre-action (e.g., scanning), and "ANT Resources" may refer to antenna (ANT) resource information of a frequency (e.g., 2.4 GHz) specified in the Bluetooth protocol. In addition to the information included in Table 1 above, the information used to determine the specified condition may further include at least one of the type (or category) or capabilities of the second device 202.
[0101] According to another embodiment, the second device 202 may not be able to insert information for determining the specified condition into the first message. For example, because the first device 201 may obtain the information included in Table 1 above or the type of the second device 202 through information (e.g., supported features or manufacturer data) obtained during the process of establishing the first link, the second device 202 may not be able to insert information for determining the specified condition into the first message. According to another embodiment, when the first device 201 and the second device 202 form a set or when the first device 201 is configured to take a pre-action without considering the specified condition, the second device 202 may not be able to insert information for determining the specified condition into the first message.
[0102] According to another embodiment, the first device 201 and the second device 202 form a set, and the second device 202 may not be able to perform operation 410. In this case, although the first device 201 does not receive the first message based on a condition related to the first device 201 (for example, at least one of the remaining capacity of the battery, the battery power level, or the current consumed by the pre-action), the first device 201 may perform operation 425. According to an embodiment, when the first device 201 and the second device 202 form a set, a device that takes a pre-action with an external electronic device (for example, the third device 203) and a device that establishes a link (for example, the second link 210-2) with the external electronic device (for example, the third device 203) may be set. For example, a device that plays the master role of the link (for example, the first link 210-1) between the first device 201 and the second device 202 may be set as the device that establishes the link.
[0103] According to an embodiment, when the first device 201 receives a request to take a pre-action of the second device 202, in operation 415, the first device 201 may send a response message to the first message to the second device 202. In this case, the first device 201 may send a response message to accept the request for the pre-action when the specified conditions are met, and may send a response message to reject the request for the pre-action when the specified conditions are not met. According to another embodiment, when the first device 201 does not select whether to take the pre-action of the second device 202, the first device 201 may not perform operation 415.
[0104] Although not in Figure 4 As shown in , however, after sending the first message or after receiving a response message indicating acceptance from the first device 201, the second device 202 may no longer take the preliminary action requested from the first device 201.
[0105] In operation 425, the first device may take a pre-action with the third device 203. According to an embodiment, the first device 201 may perform an inquiry, an inquiry scan, a BLE advertisement, a BLE scan, a paging, or a BLE initiate scan for the second device 202. For example, the first device 201 may receive a packet (e.g., an ID packet or an advertising packet) sent from the third device 203, or may send a packet to the third device 203. According to an embodiment, the first device 201 may adjust the work (duty) based on the resources required to take the pre-action. Figure 14 An embodiment of the adjustment work is described.
[0106] In operation 430, the first device 201 may transmit a second message for reporting the result of the pre-action to the second device 202 over the first link. According to various embodiments, when the pre-action includes multiple actions, the first device 201 may transmit the second message whenever a separate operation is completed, and may transmit the second message when all of the multiple operations are completed.
[0107] According to other embodiments, the first device 201 may not report the result of the pre-action to the second device 202. For example, when the second device 202 requests the first device 201 to perform an inquiry scan, the first device 201 may send the FHS packet and the EIR packet of the second device 202 to the external electronic device performing the inquiry (e.g., the third device 203) without reporting the receipt of the ID packet to the second device 202.
[0108] In operation 435 , the second device 202 may establish a second link between the second device 202 and the third device 203 based at least in part on the received second message.
[0109] By using the above method, the second device 202 can reduce the current and resource consumption required for the pre-action. Figure 4 Examples of embodiments, additions or omissions of some operations are described below. Figure 5 、 Figure 6 、 Figure 7a and Figure 7b 、 Figure 8a and Figure 8b 、 Figures 9 to 11 Example of .
[0110] Figure 5 A signal sequence diagram 500 for performing an inquiry scan according to an embodiment of the present disclosure is shown.
[0111] An electronic device (each of which supports the Bluetooth Classic protocol) can discover external electronic devices existing around it through inquiry or can notify the external electronic device of its presence. For example, the electronic device performing inquiry can send an ID packet including a GIAC at each specified time period (e.g., twice per time slot). The external electronic device performing inquiry scanning can receive the ID packet and can send an FHS packet and an EIR packet to the electronic device that sent the ID packet (i.e., the electronic device performing inquiry).
[0112] The FHS packet and the EIR packet may include information required to notify a user of an external electronic device discovered by the inquiry of the electronic device performing the inquiry (for example, information for constituting Figure 3The FHS packet may include the BD_ADDR of the electronic device performing the inquiry scan, the class of device (COD), UAP, NAP, or LAP. The COD may indicate the class of the electronic device performing the inquiry scan (e.g., earphones, headphones, wearable devices, speakers, mice, keyboards, or display devices). The EIR packet may include, for example, at least one of the device name of the electronic device performing the inquiry scan, the Tx power level, or the manufacturer name.
[0113] refer to Figure 5 , in operation 505 (eg, Figure 4 In operation 405), the first device 201 can establish a first link with the second device 202 based on the Bluetooth protocol (for example, Figure 2 link 210-1).
[0114] In operation 510, the second device 202 may send a message requesting the first device 201 to perform an inquiry scan. Depending on the embodiment, the second device 202 may send at least one of an FHS packet or an EIR packet of the second device 202 along with the message. According to another embodiment, the second device 202 may send only a portion of the information included in the FHS packet or EIR packet along with the message. According to another embodiment, when the first device 201 obtains at least one of an FHS packet or an EIR packet of the second device 202 during the process of establishing the first link, the second device 202 may not be able to send the FHS packet and the EIR packet. Depending on the embodiment, the second device 202 may also insert the information included in Table 1 above into the message. For another example, when the first device 201 and the second device 202 form a set, the second device 202 may not be able to perform operation 510.
[0115] According to an embodiment, the first device 201 may transmit a response message for responding to receiving the message for requesting to perform the inquiry scan to the second device 202 (operation 515), or may perform operation 520 without transmitting the response message.
[0116] In operation 520 , the first device 201 may receive an ID packet including the GIAC from the third device 203 by attempting to receive the ID packet at a designated period (eg, every 1.28 seconds (11.25 ms)).
[0117] In response to receiving the ID packet from the third device 203, the first device 201 may transmit the FHS packet of the second device 202 to the third device 203 in operation 525. After transmitting the FHS packet, the first device 201 may transmit the EIR packet to the third device 203 in operation 530.
[0118] Figure 5 An embodiment is shown in which the first device 201 performs transmission of the FHS packet and transmission of the EIR packet, but according to other embodiments, the first device 201 may receive only the ID packet, and the second device 202 may directly transmit the FHS packet or the EIR packet to the third device 203. In this case, after operation 520, the first device 201 may notify the second device 202 that the ID packet is received from the third device 203.
[0119] Figure 6 A signal sequence diagram 600 for performing a page scan according to an embodiment of the present disclosure is shown.
[0120] Operations 610 to 625 may be performed at Figure 5 The operations of the signal sequence diagram 500 are performed thereafter.
[0121] Electronic devices (each of which supports the Bluetooth traditional protocol) can perform paging and page scanning to establish a link (or connection) with an external electronic device discovered through inquiry based on the Bluetooth protocol. The device requesting a connection can be referred to as a paging device, and the device being requested to connect can be referred to as a page scanning device. The paging device can use the BD_ADDR of the page scanning device to generate a DAC and can send an ID packet including the DAC during a specified time (e.g., 1.28s*4 or 1.28s*5). For example, the paging device can send an ID packet every certain period of time until the connection is completed or until there is a response. The page scanning device can attempt to receive an ID packet during a specified period of time (e.g., every 1.28 seconds (11.25ms)). The paging device and the page scanning device can send and receive ID packets while using the BD_ADDR of the page scanning device to hop frequency channels. When an ID packet is received, the page scanning device can send an ID packet identical to the received ID packet to the paging device.
[0122] Upon receiving an ID packet from a paging scan device, the paging device may transmit an FHS packet including the paging device's BD_ADDR, clock information, and logical transport (LT) address to the paging scan device. The paging scan device may transmit an ID packet to the paging device to notify the paging device of receipt of the paging device's FHS packet. When the ID packet is transmitted, a link may be established between the paging device and the paging scan device. Once the link is established, the paging device and the paging scan device may transmit or receive packets by hopping frequency channels using the paging device's BD_ADDR.
[0123] refer to Figure 6 In operation 610, the second device 202 may connect to the first link (eg, Figure 26. In another embodiment, the second device 202 may insert information indicating whether the first device 201 reports the BD_ADDR of the paging device (e.g., the third device 203) to the second device 202 into the message. When the first device 201 reports the BD_ADDR of the paging device, the second device 202 may use the BD_ADDR of the paging device to send the ID packet to the paging device. In another embodiment, the second device 202 may also insert the information included in Table 1 above into the message. For another example, when the first device 201 and the second device 202 form a set, the second device 202 may not be able to perform operation 610.
[0124] According to an embodiment, the first device 201 may transmit a response message for responding to receiving the message for requesting to perform paging scan to the second device 202 (operation 615), or may perform operation 620 without transmitting the response message.
[0125] In operation 620, the first device 201 may attempt to receive an ID packet while hopping frequency channels using the BD_ADDR of the second device 202. The third device 203 performing paging may attempt to request a connection by transmitting an ID packet including the DAC of the second device 202. When the second device 202 transmits the ID packet and the first device 201 attempts to receive the ID packet, the first device 201 may receive the ID packet from the third device 203.
[0126] In operation 625 , the first device 201 may transmit an ID packet including the DAC of the second device 202 to the third device 203 .
[0127] In operation 630, the third device 203 may transmit an FHS packet of the third device 203 in response to receiving the ID packet. The first device 201 may receive the FHS packet transmitted from the third device 203.
[0128] In operation 635, the first device 201 may transmit a paging notification message to the second device 202 over the first link. According to an embodiment, the first device 201 may transmit an FHS packet of the third device 203 together with the paging notification message.
[0129] In operation 640, the second device 202 may transmit an ID packet indicating that the FHS packet of the third device 203 is normally received to the third device 203. When the third device 203 receives the ID packet from the second device 202, in operation 645, a second link may be established between the second device 202 and the third device 203.
[0130] Figure 6The embodiment in which the first device 201 transmits a paging notification message to the second device 202 after receiving the FHS packet from the third device 203 is shown. However, according to other embodiments, the first device 201 may transmit a paging notification message to the second device 202 after receiving an ID packet from the third device 203 (e.g., after operation 620). In this case, the second device 202 may directly perform operations after operation 625. According to other embodiments, the first device 201 may transmit an ID packet in response to the FHS packet from the third device 203 (e.g., operation 640), and may transmit a paging notification message to the second device 202.
[0131] Figure 7a and Figure 7b An operation of performing a BLE scan according to various embodiments of the present disclosure is illustrated.
[0132] Figure 7a A signal sequence diagram 700 for performing a BLE scan is shown. Figure 7b A user interface 750 indicating a list of devices found using the address of the second device 202 is shown.
[0133] An electronic device (each of which supports the BLE protocol) can perform a BLE scan to search for external electronic devices in its vicinity. For example, multiple external electronic devices may transmit advertising packets at specified intervals, and the electronic device may attempt to connect to an external electronic device that transmits an advertising packet that matches filter information. The filter information may be specified by the manufacturer, for example.
[0134] refer to Figure 7a , in operation 705 (e.g., Figure 2 In operation 405), the first device 201 can establish a first link with the second device 202 based on the Bluetooth protocol (for example, Figure 2 link 210-1).
[0135] In operation 710, the second device 202 may send a message to the first device 201 requesting a BLE scan. Depending on the embodiment, the second device 202 may insert filter information into the message. Depending on the embodiment, the second device 202 may also insert the information included in Table 1 above into the message. For another example, if the first device 201 and the second device 202 form a set, the second device 202 may not be able to perform operation 710.
[0136] According to an embodiment, the first device 201 may transmit a response message for responding to receiving the message for requesting to perform BLE scanning to the second device 202 (operation 715), or may perform operation 720 without transmitting the response message.
[0137] In operation 720, the first device 201 may receive an advertising packet from the third device 203. When the device information of the third device 203 included in the advertising packet matches the filter information, in operation 725, the first device 201 may transmit an advertisement notification message to the second device 202.
[0138] According to various embodiments, the first device 201 may notify the user of the result of the BLE scan of the second device 202. Figure 7b , the first device 201 can output a user interface 750 on the display device 160 (e.g., a display), which indicates a list of external devices (e.g., the third device 203, or "device B" and "device C") found using the address of the second device 202 (e.g., "device A"). Figure 7b Only an embodiment in which only the device name of the found external device is indicated is shown, but according to other embodiments, such as Figure 3 As shown, the first device 201 may output an image of the found external device on the display device 160 .
[0139] Figure 8a and Figure 8b The operation of performing a BLE initiated scan according to various embodiments of the present disclosure is illustrated. Figure 8a A signal sequence diagram 800 for performing a BLE initiated scan is shown. Figure 8b A user interface 850 is shown for inquiring about establishing a link with a second device.
[0140] refer to Figure 8a , you can Figure 7a Operations 810 to 835 are performed after the operation of the signal sequence diagram 700. In operation 810, the second device 202 may connect to the first link (eg, Figure 2 210-1) sends a message requesting a BLE initiate scan to first device 201. Depending on the embodiment, second device 202 may insert address information (e.g., BD_ADDR) of the device to which second device 202 wishes to connect (e.g., third device 203) into the message. Depending on the embodiment, second device 202 may also insert the information included in Table 1 above into the message. For another example, when first device 201 and second device 202 form a set, second device 202 may be unable to perform operation 810.
[0141] According to an embodiment, the first device 201 may transmit a response message for responding to receiving the message for requesting to perform BLE initiation scanning to the second device 202 (operation 815), or may perform operation 820 without transmitting the response message.
[0142] In operation 820, the first device 201 may receive an advertising packet from the third device 203. The advertising packet sent in operation 820 may include, for example, at least one of manufacturer information, a device name, or an access address of the third device 203. The access address may be used in a link layer for connection (or link establishment) between electronic devices.
[0143] In operation 825, the first device 201 may send an advertisement notification message to the second device 202 to notify the second device 202 that the advertisement packet has been received through the first link. According to an embodiment, the first device 201 may send at least one of the manufacturer information, device name, or access address of the third device 203 together with the advertisement notification message.
[0144] According to an embodiment, in response to receiving the advertising packet from the third device 203, the first device 201 may ask the user about the establishment of the second link between the second device 202 and the third device 203 before performing operation 825. For example, referring to Figure 8b , the first device 201 may output a user interface 850 on the display device 160 for inquiring about the establishment of a second link between the second device 202 and the third device 203. The user interface 850 may include, for example, text 852 (e.g., "Device B") for inquiring whether to accept the connection between the third device 203 (e.g., "Device B") and the second device 202 (e.g., "Device A") (e.g., "Device B is requesting Device A to connect. Do you want to connect?"), and objects 854 and 856 capable of receiving user input for accepting or rejecting the connection. Upon receiving the user input for accepting the connection, in operation 825, the first device 201 may send an advertisement notification to the second device 202.
[0145] In operation 830, the second device 202 may send a connection request message including the access address of the third device 203 to the third device 203. When the third device 203 receives the connection request message, a second link between the second device 202 and the third device 203 may be established in operation 835. According to an embodiment, the first device 201 may output information indicating that the second link between the second device 202 and the third device 203 is established on the display device 160 (e.g., a display).
[0146] Figure 9 A signal sequence diagram 900 for performing a query according to an embodiment of the present disclosure is shown.
[0147] refer to Figure 9 , in operation 905 (e.g., Figure 4 In operation 405), the first device 201 can establish a first link with the second device 202 based on the Bluetooth protocol (for example, Figure 2 link 210-1).
[0148] In operation 910, the second device 202 may send a message requesting execution of a query to the first device 201. For another example, when the first device 201 and the second device 202 form a set, the second device 202 may not be able to perform operation 910. Depending on the embodiment, the second device 202 may also insert the information included in Table 1 above into the message. The first device 201 may send a response message to the second device 202 in response to receiving the message requesting execution of the query (operation 915), or may perform operation 920 without sending the response message.
[0149] In operation 920, the first device 201 may transmit the ID packet including the GIAC to the third device 203. For example, the first device 201 may multicast or broadcast the ID packet every designated period (eg, twice per time slot).
[0150] In response to receiving the ID packet from the first device 201, the third device 203 may transmit an FHS packet including the DAC of the third device 203 to the first device 201 in operation 925. The first device 201 may receive the FHS packet transmitted from the third device 203.
[0151] In operation 930, the first device 201 may Figure 2 According to an embodiment, the first device 201 may send the FHS packet of the third device 203 received in operation 925 to the second device 202 together with the query result report message.
[0152] Figure 10 A signal sequence diagram 1000 for performing paging according to an embodiment of the present disclosure is shown.
[0153] Can be Figure 9 Operations 1010 to 1050 are performed after the operations of the signal sequence diagram 900 .
[0154] refer to Figure 10 In operation 1010, the second device 202 may connect to the first link (eg, Figure 21) sends a message requesting to perform paging to the first device 201 on the link 210-1 of the first device 201. According to an embodiment, the second device 202 may insert the address information (e.g., BD_ADDR) or DAC of the third device 203 into the message. According to an embodiment, the second device 202 may send the FHS packet of the second device 202 together with the message. According to an embodiment, the second device 202 may also insert the information included in Table 1 above into the message. For another example, when the first device 201 and the second device 202 form a set, the second device 202 may not be able to perform operation 1010. The first device 201 may send a response message for responding to the received message requesting to perform paging to the second device 202 (operation 1015), or may perform operation 1020 without sending the response message.
[0155] In operation 1020, the first device 201 may transmit an ID packet including the DAC of the third device 203 to the third device 203. In response to receiving the ID packet, in operation 1025, the third device 203 may transmit an ID packet including the DAC of the third device 203 to the first device 201.
[0156] In operation 1030, the first device 201 may transmit the FHS packet of the second device 202 to the third device 203. In operation 1035, the first device 201 may establish a second link with the third device 203. For example, the first device 201 may establish the second link according to the Bluetooth protocol specification based on at least one of the FHS packet, BD_ADDR, DAC, or EIR packet of the second device 202.
[0157] In operation 1040, the first device 201 may connect to the second link (eg, Figure 2 The information related to the second link 210-2 is sent to the second device 202. The information related to the second link may include, for example, at least one of Bluetooth address information, piconet clock information, logical transport (LT) address information, used channel map information, link key information, service discovery protocol (SDP) information, FHS packet, EIR packet and / or supported feature information.
[0158] In operation 1045, the second device 202 may establish a second link with the third device 203 based on the information associated with the second link and the Bluetooth protocol specification. In operation 1050, the first device 201 may release the second link between the first device 201 and the third device 203. For another example, the first device 201 may be unable to release the second link.
[0159] Although Figure 10Although not shown, according to other embodiments, the first device 201 may receive only the ID packet instead of the second device 202. For example, upon receiving the ID packet in operation 1025, the first device 201 may transmit a signal to the second device 202 to notify the second device 202 of the receipt of the ID packet. In this case, the first device 201 may not be able to perform operations 1030 to 1040. The second device 202 may transmit an FHS packet to the third device 203 and may establish a second link with the third device 203 in operation 1045.
[0160] Figure 11 A signal sequence diagram 1100 for performing an advertisement according to an embodiment of the present disclosure is shown.
[0161] refer to Figure 11 , in operation 1105 (e.g., Figure 4 In operation 405), the first device 201 can establish a first link with the second device 202 based on the Bluetooth protocol (for example, Figure 2 link 210-1).
[0162] In operation 1110, the second device 202 may send a message to the first device 201 for requesting execution of an advertisement. According to an embodiment, the second device 202 may insert at least one of the manufacturer information, device name, or access address of the second device 202 into the message. According to an embodiment, the second device 202 may also insert the information included in Table 1 above into the message. For another example, when the first device 201 and the second device 202 form a set, the second device 202 may not be able to perform operation 1110. The first device 201 may send a response message to the second device 202 for responding to receiving the message for requesting execution of an advertisement (operation 1115), or may perform operation 1120 without sending a response message.
[0163] In operation 1120 , the first device 201 may transmit an advertising packet including at least one of manufacturer information, a device name, or an access address of the second device 202 to the third device 203 .
[0164] In response to receiving the advertising packet, in operation 1125, the third device 203 may send a connection request message including the access address of the second device 202 to the second device 202. When the second device 202 receives the connection request message, a second link may be established between the second device 202 and the third device 203 (operation 1130).
[0165] Figure 12 An electronic device (eg, Figure 2 Operational flow chart 1200 of the first device 201).
[0166] The operations of the operational flowcharts described below may be performed by an electronic device or components included in the electronic device (e.g., Figure 1 processor 120 or wireless communication module 192) for execution.
[0167] refer to Figure 12 In operation 1205, the electronic device may communicate with a first external electronic device (eg, Figure 4 The second device 202) establishes a first link (eg, Figure 2 link 210-1).
[0168] In operation 1210, the electronic device may receive a first message for requesting to take a preliminary action for establishing a second link from a first external electronic device. The second link may refer to the first external electronic device and the second external electronic device (eg, Figure 4 A link between the third device 203).
[0169] According to various embodiments, the electronic device may perform operation 1215 in response to receiving the first message, or may perform operation 1215 based on whether a specified condition for taking a preliminary action is satisfied. Figure 13 An embodiment taking the specified conditions into consideration is described.
[0170] In operation 1215, the electronic device may take a pre-action with the second external electronic device. For example, the electronic device may perform at least one of inquiry scanning, paging scanning, BLE scanning, BLE initiation scanning, inquiry, paging, or advertising based on information received from the first external electronic device instead of the first external electronic device.
[0171] In operation 1220, the electronic device may transmit a second message for reporting a result of the pre-action to the first external electronic device.
[0172] Figure 13 An electronic device (eg, Figure 2 Another operational flowchart 1300 of the first device 201).
[0173] refer to Figure 13 , in operation 1302 (e.g., Figure 12 In operation 1210 of FIG. 1 , the electronic device may receive a signal from a first external electronic device (eg, Figure 4 The second device 202) receives the first message.
[0174] In operation 1305, in response to receiving the first message, the electronic device may determine whether the specified condition of the pre-action is met. According to an embodiment, the electronic device may determine whether the specified condition is met based on the information of the first external electronic device or at least one of the information of the electronic device. The information of the first external electronic device may include, for example, at least one of the information included in Table 1 above, the type of the first external electronic device, or the capabilities of the first external electronic device. The information of the electronic device may include, for example, the battery level of the electronic device, the remaining battery capacity of the electronic device, the current consumption required for the pre-action, the antenna resource information of the electronic device, the type of the electronic device, the capabilities of the electronic device, or the surrounding wireless communication status of the electronic device. For example, when the remaining capacity of the battery of the electronic device is greater than the remaining capacity of the battery of the first external electronic device, when the current consumption of the electronic device for the same pre-action is less than the current consumption of the first external electronic device, or when the antenna resources of the first external electronic device are insufficient, the electronic device may determine that the specified condition is met.
[0175] According to an embodiment, the information of the first external electronic device may be Figure 12 The first link is established during the process or can be obtained through the first message.
[0176] When the specified condition is satisfied ("Yes" in operation 1305), the electronic device may send a response message for accepting the request to the first external electronic device in operation 1310. Figure 12 In operation 1215), the electronic device may take a pre-action with the second external electronic device.
[0177] When the specified condition is not satisfied (operation 1305 is "No"), the electronic device may send a response message for rejecting the request to the first external electronic device in operation 1320. For example, when the battery level or remaining battery capacity of the electronic device is less than a specified value, when the current consumption required for pre-action of the first external electronic device is greater than a specified value, or when at least one of the antenna resource information, type, capability, or surrounding wireless communication status of the electronic device is not satisfied, the electronic device may send a response message for rejecting the request to the first external electronic device.
[0178] Figure 14 A diagram 1400 is shown for describing the operation of controlling a duty according to an embodiment of the present disclosure.
[0179] refer to Figure 14The horizontal axis of the graph 1400 may represent a duty cycle according to a time flow. Hereinafter, the number used to describe the duty cycle (e.g., '100' or '50') refers only to a relative value of the duty cycle operated by the first device 201 and is not limited to or interpreted as an absolute value. It can be assumed that the maximum value of the duty cycle that can be operated by the first device 201 is 100.
[0180] The first device 201 according to different embodiments may control the work for taking preliminary actions depending on the state of resources available to the first device 201. For example, when the external electronic device connected to the first device 201 based on the Bluetooth protocol is only the second device 202 and when the first device 201 is requested by the second device 202 to perform an inquiry scan without performing another operation based on the Bluetooth protocol, the first device 201 may perform an inquiry scan using a work of 100 (e.g., a first time interval 1410) from the first timing 1401 requesting the inquiry scan to be performed. When the first device 201 is requested by the second device 202 to perform a paging scan while performing an inquiry scan, it may divide the work of the inquiry scan and the work of the paging scan at a certain ratio (e.g., 50:50) from the second timing 1402 requesting the paging scan to be performed. For example, the first time interval 1410 may be divided into a second time interval 1420 and a third time interval 1430, each of the second time interval 1420 and the third time interval 1430 having the same length. For another example, although in Figure 14 Although not shown, when the first device 201 is connected to another external electronic device to use a call service, the first device 201 may be requested by the second device 202 to perform an inquiry scan. The first device 201 may use a duty of 50 (e.g., the second time interval 1420) to use the call service and may use a duty of 50 (e.g., the third time interval 1430) to perform an inquiry scan. In this case, when the call service ends, the first device 201 may use a duty of 100 (e.g., the first time interval 1410) to perform an inquiry scan.
[0181] According to other embodiments, when the first link (e.g., Figure 2 When the link 210 - 1 ) is established, the allocation of work for the pre-action may be determined by user input or may be predetermined by the first device 201 and the second device 202 .
[0182] Figure 15 An electronic device (eg, Figure 4 Operational flow chart 1500 of the second device 202).
[0183] refer to Figure 15In operation 1505, the electronic device may communicate with a first external electronic device (eg, Figure 2 According to an embodiment, when establishing the first link with the first external electronic device, the electronic device may determine whether the first external electronic device can take a pre-action on behalf of the electronic device based on information received from the first external electronic device.
[0184] In operation 1510, the electronic device may send a first message for requesting to take a preliminary action for establishing a second link to a first external electronic device. The second link may refer to, for example, the electronic device and the second external device (eg, Figure 4 A link between the third device 203).
[0185] In operation 1515, the electronic device may receive a second message from the first external electronic device to report the result of the pre-action. For example, the electronic device may receive a second message from the first external electronic device indicating that an inquiry, inquiry scan, BLE advertisement, BLE scan, paging, or BLE initiated scan has been completed. Depending on the embodiment, the second message may include information obtained through the pre-action by the first external electronic device (e.g., at least one of an ID packet, an FHS packet, an EIR packet, address information of the second external electronic device, or a DAC).
[0186] In operation 1520, the electronic device may establish a second link with the second external electronic device based at least in part on the second message. For example, when the second message includes the information, the electronic device may establish the second link with the second external electronic device based on the information included in the second message and the Bluetooth protocol specification.
[0187] Figure 16 An electronic device (eg, Figure 4 Another operational flowchart 1600 of the second device 202).
[0188] According to various embodiments, the electronic device may request the first external electronic device (eg, Figure 4 The first device 201) may take preliminary action, or may directly establish a second link with a second external electronic device.
[0189] refer to Figure 16In operation 1605, the electronic device may determine whether the specified condition for the pre-action is satisfied. According to an embodiment, the electronic device may determine whether the specified condition is satisfied based on at least one of the information included in Table 1 above, the type of the electronic device, or the capabilities of the electronic device. For example, when the remaining capacity of the battery of the electronic device is less than a threshold value, when the power consumption of the electronic device for pre-action is greater than or equal to a threshold value, or when the antenna resources of the electronic device are less than a threshold value, the electronic device may determine that the specified condition is satisfied.
[0190] When the specified condition is met (operation 1605 is "yes"), the electronic device may send a first message requesting a pre-action to the first external electronic device in operation 1610. In operation 1615, the electronic device may receive a second message from the first external electronic device reporting the result of the pre-action. In operation 1620, the electronic device may establish a second link with the second external electronic device based on the second message.
[0191] When the specified condition is not satisfied (No in operation 1605 ), in operation 1625 , the electronic device may establish a second link with the second external electronic device without intervention of the first external electronic device.
[0192] Figure 17 A block diagram 1700 is shown illustrating some components of the first device 201 according to an embodiment of the present disclosure.
[0193] refer to Figure 17 The first device 201 may include a modem 1710 (eg, a communication processor (CP)) for processing a baseband signal, at least one antenna 1750 (eg, Figure 1 The present invention also includes a first Bluetooth (BT) circuit 1730 and a second Bluetooth (BT) circuit 1740 configured to be operably connected to the modem 1710 and the at least one antenna 1750 and to support the BT protocol. According to various embodiments, the first BT circuit 1730 and the second BT circuit 1740 may be separate components or may be included in one module.
[0194] According to an embodiment, the first BT circuit 1730 and the second BT circuit 1740 may differ from each other in performance and current consumption. For example, the first BT circuit 1730 may provide higher performance (e.g., data throughput) than the second BT circuit 1740, while the second BT circuit 1740 may have lower current consumption than the first BT circuit 1730.
[0195] The first device 201 according to various embodiments may selectively use the plurality of BT circuits 1730 and 1740. For example, the first device 201 may take preliminary actions to establish a link using the second BT circuit 1740 and may perform data communication on the link using the first BT circuit 1730.
[0196] According to an embodiment, the first BT circuit 1730 can receive at least one of the BD_ADDR, DAC, frequency hopping synchronization (FHS) packet, extended inquiry response (EIR) packet or filter information of the second BT circuit 1740 and at least one of the BD_ADDR or DAC of the target for taking pre-action (e.g., the third device 203-1) from the second BT circuit 1740 to take pre-action.
[0197] Through the above structural features, the electronic device 101 can reduce the current consumption required for taking pre-actions.
[0198] As described above, the electronic device according to various embodiments (eg, Figure 4 The first device 201 may include a wireless communication circuit configured to support the Bluetooth protocol (eg, Figure 1 at least a portion of the wireless communication module 192) and at least one processor operatively connected to the wireless communication circuit (e.g., Figure 1 The at least one processor may be configured to: use the wireless communication circuit to communicate with the first external electronic device (eg, Figure 4 using the wireless communication circuit to receive a first message from the first external electronic device for requesting a first pre-action, the first pre-action being used to establish a first link between the first external electronic device and the second external electronic device (e.g., Figure 4 taking a first pre-action for establishing a second link with a second external electronic device using a wireless communication circuit; and sending a second message for reporting a result of the first pre-action to the first external electronic device using the wireless communication circuit.
[0199] According to an embodiment, the at least one processor can be configured to identify whether a specified condition for taking a first pre-action is met based at least in part on information of the first external electronic device, the information being included in the first message or obtained from the first external electronic device while establishing the first link; when the specified condition is met, send a response message for accepting the request to take the first pre-action using the wireless communication circuit; and take the first pre-action with the second external electronic device.
[0200] According to an embodiment, the at least one processor may be configured to identify that a specified condition is satisfied when a battery charge level of the first external electronic device is less than a threshold value, when a remaining battery capacity of the first external electronic device is less than a threshold value, when a current consumed for a first pre-action in the first external electronic device is greater than or equal to a threshold value, when antenna resources of the first external electronic device are less than a threshold value, when a type of the first external electronic device is a specified type, when a remaining battery capacity or a battery charge level of the first external electronic device is less than a remaining battery capacity or a battery charge level of the electronic device, when a current consumption of the first external electronic device for the same pre-action is greater than a current consumption of the electronic device, or when at least two or more conditions are satisfied.
[0201] According to an embodiment, the wireless communication circuit may include a first Bluetooth (BT) circuit (eg, Figure 17 a first BT circuit 1730) and a second BT circuit having smaller current consumption than the first BT circuit (eg, Figure 17 The at least one processor may be configured to use the second BT circuit 1740 to take a first pre-action.
[0202] According to an embodiment, the first pre-action may include an inquiry scan based on the Bluetooth legacy protocol. The at least one processor may be configured to receive an identification (ID) packet including a general inquiry access code (GIAC) from the second external electronic device using the wireless communication circuit, and send a frequency hopping synchronization (FHS) packet and / or an extended inquiry response (EIR) packet of the first external electronic device to the second external electronic device in response to the ID packet, wherein the FHS packet and / or the EIR packet are included in the first message or obtained from the first external electronic device while establishing the first link.
[0203] According to an embodiment, the first pre-action may include a paging scan based on the Bluetooth legacy protocol. The at least one processor may be configured to: receive an ID packet including a device access code (DAC) of the first external electronic device from the second external electronic device using the wireless communication circuit; in response to the ID packet, transmit an ID packet including the DAC of the first external electronic device to the second external electronic device; receive an FHS packet of the second external electronic device from the second external electronic device; and transmit a second message for reporting a result of the paging scan to the first external electronic device.
[0204] According to an embodiment, the first pre-action may include a Bluetooth Low Energy (BLE) scan based on the BLE protocol. The at least one processor may be configured to: receive an advertising packet from the second external electronic device using the wireless communication circuit, and when device information of the second external electronic device (the device information is included in the advertising packet) matches filter information included in the first message, send a second message to the first external electronic device for notifying the first external electronic device of the reception of the advertising packet.
[0205] According to an embodiment, the at least one processor can be configured to: take a first pre-action using a first task in response to a first message; receive a third message from a first external electronic device requesting a second pre-action while taking the first pre-action; take the first pre-action using a second task that is part of the first task in response to the third message; and take a second pre-action using a third task other than the second task in the first task.
[0206] As described above, the electronic device according to various embodiments (eg, Figure 4 The second device 202 may include wireless communication circuitry configured to support the Bluetooth protocol (e.g., Figure 1 at least a portion of a wireless communication module 192 of the present invention) and a processor operatively connected to the wireless communication circuit (e.g., Figure 1 The processor 120 may be configured to communicate with a first external electronic device (eg, Figure 4 The first device 201) establishes a first link; the first link is used to request to take the action for the electronic device and the second external electronic device (eg, Figure 4 The present invention further comprises the steps of: sending a first message of a pre-action for establishing a second link between the first external electronic device and the second device 202) to the first external electronic device; receiving a second message for reporting a result of the pre-action from the first external electronic device; and establishing a second link with the second external electronic device in response to the second message.
[0207] According to an embodiment, the processor may be configured to identify whether a specified condition of the pre-action is satisfied, and when the specified condition is satisfied, transmit the first message to the first external electronic device using the wireless communication circuit.
[0208] According to an embodiment, the electronic device may further include a battery. The processor may be configured to: identify that the specified condition is satisfied when a charge level of the battery of the electronic device is less than a threshold value, when a remaining capacity of the battery of the electronic device is less than a threshold value, when a current consumed by the electronic device for pre-action is greater than or equal to a threshold value, when an antenna resource of the electronic device is less than a threshold value, when the type of the electronic device is a specified type, or when at least two or more of the conditions are satisfied.
[0209] According to an embodiment, the pre-action may include at least one of inquiry scanning, paging scanning, BLE scanning, BLE initiated scanning, inquiry, paging, or advertisement.
[0210] According to an embodiment, the processor can be configured to: send at least one of the FHS packet, the EIR packet, the filter information, or the address information of the second external electronic device together with the first message or insert at least one of the FHS packet, the EIR packet, the filter information, or the address information of the second external electronic device into the first message.
[0211] As described above, the electronic device according to various embodiments (eg, Figure 4 The method of the first device 201 may include: communicating with a first external electronic device (eg, Figure 4 receiving from the first external electronic device a request for taking actions for the first external electronic device and the second external electronic device (eg, Figure 4 taking a first pre-action for establishing a second link with a second external electronic device; and sending a second message to the first external electronic device for reporting a result of the first pre-action.
[0212] According to an embodiment, the method may further include: identifying whether a specified condition for taking a first pre-action is met based at least in part on information of the first external electronic device, the information being included in the first message or obtained from the first external electronic device while establishing the first link; and sending a response message to the first external electronic device to accept the request to take the first pre-action when the specified condition is met.
[0213] According to an embodiment, identifying whether the specified condition is met may include: when the battery power level of the first external electronic device is less than a threshold value, when the remaining battery capacity of the first external electronic device is less than a threshold value, when the current consumed for the first pre-action in the first external electronic device is greater than or equal to a threshold value, when the antenna resources of the first external electronic device are less than a threshold value, when the type of the first external electronic device is a specified type, when the remaining battery capacity or battery power level of the first external electronic device is less than the remaining battery capacity or battery power level of the electronic device, when the current consumption of the first external electronic device for the same pre-action is greater than the current consumption of the electronic device, or when at least two or more of the conditions are met, identifying that the specified condition is met.
[0214] According to an embodiment, taking the first pre-action may include: receiving an ID packet including a GIAC from a second external electronic device; and in response to the ID packet, sending an FHS packet and / or an EIR packet of the first external electronic device to the second external electronic device, the FHS packet and / or the EIR packet being included in the first message or obtained from the first external electronic device while establishing the first link.
[0215] According to an embodiment, taking the first pre-action may include: receiving an ID packet including the DAC of the first external electronic device from the second external electronic device; sending an ID packet including the DAC of the first external electronic device to the second external electronic device in response to the ID packet; and receiving an FHS packet of the second external electronic device from the second external electronic device.
[0216] According to an embodiment, taking the first pre-action may include receiving an advertising packet from the second external electronic device. Sending the second message may include sending the second message to the first external electronic device when device information of the second external electronic device (the device information included in the advertising packet) matches filter information included in the first message.
[0217] According to an embodiment, taking the first pre-action may include: taking the first pre-action using the first task in response to the first message. The method may also include: receiving a third message from the first external electronic device requesting a second pre-action while taking the first pre-action; taking the first pre-action using the second task that is part of the first task in response to the third message; and taking the second pre-action using a third task other than the second task in the first task.
[0218] 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 smartphone), 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 described above.
[0219] 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 rather 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 any one or all possible combinations of the items listed together with the corresponding phrase in the multiple phrases. As used herein, terms such as "1st" and "2nd" or "first" and "second" may be used to simply distinguish a 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 “coupled with another element (e.g., a second element)”, “coupled to another element (e.g., a second element)”, “connected with another element (e.g., a second element)”, or “connected to another element (e.g., a second element)”, with or without the terms “operably” or “communicatively” being used, it means that the element may be directly (e.g., wired) coupled to the other element, wirelessly coupled to the other element, or coupled to the other element via a third element.
[0220] 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," "component," or "circuit"). A module may be a single integrated component adapted to perform one or more functions, or the smallest unit or portion of the single integrated component. For example, depending on an embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0221] The various embodiments described herein can be implemented as software (e.g., program 140) comprising 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) can 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 be operable to perform at least one function according to the called at least one instruction. The one or more instructions can include code generated by a compiler or code that can be executed by an interpreter. The machine-readable storage medium can be provided in the form of a non-transitory storage medium. The term "non-transitory" only means that the storage medium is a tangible device and does not include signals (e.g., electromagnetic waves), but the term does not distinguish between data being semi-permanently stored in the storage medium and data being temporarily stored in the storage medium.
[0222] 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 as a product between a seller and a buyer. The computer program product may be released in the form of a machine-readable storage medium (e.g., a compact disc 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 may be published (e.g., downloaded or uploaded) directly between two user devices (e.g., smartphones). If published online, at least a portion of the computer program product may be temporarily generated, or at least a portion 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).
[0223] According to various embodiments, each of the above-mentioned components (e.g., a module or a program) may include a single entity or multiple entities. According to various embodiments, one or more of the above-mentioned components may be omitted, or one or more other components may be added. Alternatively or additionally, multiple components (e.g., modules or programs) 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 of the multiple components in the same or similar manner as a corresponding one of the multiple components performed one or more functions before integration. According to various embodiments, the operations performed by a module, a program or another component may be performed sequentially, in parallel, repeatedly or in a heuristic manner, or one or more of the operations may be run in a different order or omitted, or one or more other operations may be added.
Claims
1. An electronic device comprising: The wireless communication circuit is configured to support the Bluetooth BT protocol and the Bluetooth low energy BLE protocol; as well as at least one processor operatively connected to the wireless communication circuitry, Wherein, the at least one processor is configured to: Using the wireless communication circuit to establish a first link with the first external electronic device based on the BT protocol or the BLE protocol, receiving, from a first external electronic device using a wireless communication circuit, a first message for requesting execution of a first preparatory action for establishing a second link between the first external electronic device and a second external electronic device, wherein the first message includes at least one of a frequency hopping synchronization (FHS) packet, an extended inquiry response (EIR) packet, filter information, or a BLE address of the first external electronic device, performing a first pre-action with the second external electronic device based on the BT protocol or the BLE protocol using the first message and the wireless communication circuit by sending at least one of the FHS packet, the EIR packet, or the identification ID packet including the device access code of the first external electronic device to the second external electronic device, and A second message for reporting a result of the first pre-action is transmitted to the first external electronic device using the wireless communication circuit.
2. The electronic device according to claim 1, wherein The at least one processor is further configured to: identifying whether a specified condition for taking a first pre-action is satisfied based at least in part on information of the first external electronic device, the information being included in the first message or obtained from the first external electronic device while establishing the first link, When the specified condition is met, a response message for accepting the request to perform the first preliminary action is sent using the wireless communication circuit, and A first pre-action is performed with the second external electronic device.
3. The electronic device according to claim 2, further comprising: Battery, The at least one processor is further configured to identify that the specified condition is satisfied based on at least one of the following: The battery level of the first external electronic device is less than a first threshold value, The remaining battery capacity of the first external electronic device is less than a second threshold value, The current consumed by the first pre-action in the first external electronic device is greater than or equal to a third threshold value, The antenna resource of the first external electronic device is less than a fourth threshold, The type of the first external electronic device is a specified type, the remaining capacity or the battery charge level of the first external electronic device is less than the remaining capacity or the charge level of the battery of the electronic device, For the same pre-action, the current consumption of the first external electronic device is greater than the current consumption of the electronic device, or At least two or more of the specified conditions are met.
4. The electronic device according to claim 1, in, The first link is established based on the BT protocol, The first pre-action is performed based on the BLE protocol.
5. The electronic device according to claim 1, in, The first pre-action includes an inquiry scan based on the Bluetooth traditional protocol, and Wherein, the at least one processor is further configured to: receiving an identification ID packet including a general inquiry access code GIAC from a second external electronic device using the wireless communication circuit, and In response to receiving the ID packet of the second external electronic device, the FHS packet or the EIR packet of the first external electronic device is transmitted to the second external electronic device.
6. The electronic device according to claim 1, in, The first pre-action includes paging scanning based on the Bluetooth legacy protocol, and Wherein, the at least one processor is further configured to: receiving the ID packet including the device access code DAC of the first external electronic device from a second external electronic device using a wireless communication circuit, in response to receiving the ID packet, transmitting an ID packet including the DAC of the first external electronic device to a second external electronic device, receiving an FHS packet of the second external electronic device from the second external electronic device, and A second message for reporting a result of the paging scan is transmitted to the first external electronic device.
7. The electronic device according to claim 1, in, The first pre-action includes a Bluetooth Low Energy (BLE) scan based on the BLE protocol, Wherein, the at least one processor is further configured to: receiving an advertising packet from a second external electronic device using the wireless communication circuit, and When the device information of the second external electronic device included in the advertising packet matches the filter information included in the first message, a second message for notifying the first external electronic device of reception of the advertising packet is transmitted to the first external electronic device.
8. The electronic device according to claim 1, wherein The at least one processor is further configured to: performing a first pre-action using a first time interval in response to the first message, while the first pre-action is being performed, receiving a third message for requesting execution of a second pre-action from the first external electronic device, and In response to the third message, a first pre-action is performed using a second time interval that is a portion of the first time interval, and a second pre-action is performed using a third time interval in the first time interval except the second time interval.
9. A method of an electronic device comprising the operation according to any one of claims 1 to 8.
Citation Information
Patent Citations
Electronic apparatus and controlling method thereof
US20170064755A1