Abstract:
An electronic device is provided. The electronic device includes a first local area communication part configured to perform a first local area communication, a second local area communication part configured to perform a second local area communication at a lower power than the first local area communication part, and a control part configured to connect the first local area communication to other electronic devices by using the second local area communication part, wherein the second local area communication part may be configured to try a second local area communication with the other electronic devices after the connected first local area communication is disconnected.

Description:
CROSS-REFERENCE TO RELATED APPLICATION(S) 
       [0001]    This application is a U.S. National Stage application under 35 U.S.C. §371 of an International application filed on Aug. 29, 2014 and assigned application number PCT/KR2014/008068, which claimed the benefit of a Korean patent application filed on Sep. 2, 2013 in the Korean Intellectual Property Office and assigned Serial number 10-2013-0104845, the entire disclosure of which is hereby incorporated by reference. 
     
    
     TECHNICAL FIELD 
       [0002]    The present disclosure relates to an electronic device and a communication connecting method of an electronic device. More particularly, the present disclosure relates to an electronic device and a communication connecting method of an electronic device capable of connecting communication with low power in an electronic device. 
       BACKGROUND 
       [0003]    Currently, various electronic devices, for example, mobile devices include wireless communication functions. Protocols or processes for wireless communication between the electronic devices have been established according to the wireless communication functions. 
         [0004]    Direct short-range communication protocols between the electronic devices, for example, Bluetooth, direct Wi-Fi, and the like have been developed. The electronic devices may exchange data or control information with each other by using the short-range communication protocol. 
         [0005]    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 regard to the present disclosure. 
       SUMMARY 
       [0006]    Aspects of the present disclosure are to address at least the above-mentioned problems and/or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the present disclosure is to provide an electronic device and a communication link method of the electronic device capable of making a communication link with low power. 
         [0007]    In a state where a link is established between an electronic device and another electronic device through short-range communication (e.g., Bluetooth), a link loss may occur without any link release operation by a user. For example, when the electronic devices become separated from each other by more than a short-range communicable distance, the link loss may occur. In this case, a Bluetooth communication unit of the electronic device may inform a controller of the electronic device of a link loss state. 
         [0008]    The controller may transmit a Bluetooth communication link command to the Bluetooth communication unit, and the Bluetooth communication unit having received the Bluetooth communication link command may attempt to establish a link for the Bluetooth communication with the other electronic device for a transaction timeout period (e.g., 30 seconds) existing in the Bluetooth communication link command. 
         [0009]    However, in a situation such as a case where the other electronic device does not exist within a predetermined range in which the Bluetooth communication is possible, the electronic device may fail to establish a link for the Bluetooth communication with the other electronic device for the transaction timeout period (e.g., 30 seconds). The Bluetooth communication unit which has failed the Bluetooth communication with the other electronic device for the transaction timeout period repeatedly performs an operation of receiving a Bluetooth communication link command including the transaction timeout period from the controller and attempts to establish the link for the Bluetooth communication with the other electronic device for the transaction timeout period until the link of the Bluetooth communication with the other electronic device is made. The repeatedly performed operation may cause power consumption of the electronic device since the controller causes a wake up state in every transaction timeout period. 
         [0010]    Another aspect of the present disclosure is to provide an electronic device and a communication link method of the electronic device capable of re-making the communication link with low power when the link loss occurs without any operation by the user in a state where a link of short-range communication is made. 
         [0011]    In accordance with an aspect of the present disclosure, an electronic device is provided. The electronic device includes a first short-range communication unit configured to perform first short-range communication, a second short-range communication unit configured to perform second short-range communication with a lower power than that of the first short-range communication unit, and a controller configured to make a link of the first short-range communication with another electronic device by using the second short-range communication unit, wherein the second short-range communication unit is configured to attempt the second short-range communication with the other electronic device after the link of the first short-range communication is lost. 
         [0012]    In accordance with another aspect of the present disclosure, a method of establishing a communication link by an electronic device is provided. The method includes performing first short-range communication with another electronic device by an electronic device, and after a link of the first short-range communication is lost, attempting second short-range communication with the other electronic device by the electronic device. 
         [0013]    In accordance with another aspect of the present disclosure, an electronic device is provided. The electronic device includes a first communication unit configured to perform communication by using a first communication protocol, a second communication unit configured to perform communication by using a second communication protocol with a lower power than that of the first communication unit, and a controller configured to establish a first communication link by using the first communication unit, wherein the second communication unit is configured to attempt a second communication link after the first communication link stops. 
         [0014]    Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses various embodiments of the present disclosure. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0015]    The above and other aspects, features, and advantages of certain embodiments of the present disclosure will be more apparent from the following description taken in conjunction with the accompanying drawings, in which: 
           [0016]      FIG. 1  illustrates a short-range communication link operation between electronic devices according to various embodiments of the present disclosure; 
           [0017]      FIG. 2  schematically illustrates a configuration of an electronic device according to various embodiments of the present disclosure; 
           [0018]      FIG. 3  is a flowchart illustrating an operation for establishing a communication link by an electronic device according to various embodiments of the present disclosure; 
           [0019]      FIGS. 4A and 4B  are flowcharts illustrating an operation for establishing a link for a short-range communication by an electronic device according to various embodiments of the present disclosure; 
           [0020]      FIGS. 5A and 5B  are flowcharts illustrating an operation for making a link of a short-range communication by an electronic device according to various embodiments of the present disclosure; 
           [0021]      FIG. 6  is a flowchart illustrating an operation for making a link of a short-range communication by an electronic device according to various embodiments of the present disclosure; 
           [0022]      FIGS. 7A and 7B  are flowcharts illustrating an operation for making a link of a short-range communication by an electronic device according to various embodiments of the present disclosure; and 
           [0023]      FIGS. 8A and 8B  are flowcharts illustrating an operation for making a link of a short-range communication by an electronic device according to various embodiments of the present disclosure. 
       
    
    
       [0024]    Throughout the drawings, like reference numerals will be understood to refer to like parts, components, and structures. 
       DETAILED DESCRIPTION 
       [0025]    The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of various embodiments of the present disclosure as defined by the claims and their equivalents. It includes various specific details to assist in that understanding but these are to be regarded as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the various embodiments described herein can be made without departing from the scope and spirit of the present disclosure. In addition, descriptions of well-known functions and constructions may be omitted for clarity and conciseness 
         [0026]    The terms and words 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. Accordingly, it should be apparent to those skilled in the art that the following description of various embodiments of the present disclosure is provided for illustration purpose only and not for the purpose of limiting the present disclosure as defined by the appended claims and their equivalents. 
         [0027]    It is to 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. 
         [0028]    An electronic device according to the present disclosure may be a device including a communication function. For example, the electronic device may be a combination of one or more of a smartphone, a tablet personal computer, a mobile phone, a video phone, an e-book reader, a desktop personal computer, a laptop personal computer, a netbook computer, a personal digital assistant (PDA), a portable multimedia player (PMP), an moving picture experts group layer-3 Audio (MP3) player, a mobile medical device, an electronic bracelet, an electronic necklace, an electronic appcessory, a camera, a wearable device, an electronic clock, a wrist watch, a home appliance (e.g. a refrigerator, an air conditioner, a cleaner, an oven, a microwave oven, a washing machine, a vacuum cleaner, etc.), an artificial intelligent robot, a television (TV), a digital versatile disc (DVD) player, an audio player, various medical machines (e.g. a magnetic resonance angiography (MRA), a magnetic resonance imaging (MRI), a computed tomography (CT), a tomography camera, a sonography device, and the like), a navigation device, a global positioning system (GPS) receiver, an event data recorder (EDR), a flight data recorder (FDR), a set-top box, a TV box (e.g. SamSung HomeSync™, Apple TV™, or Google TV™), an electronic dictionary, a vehicle infotainment device, electronic equipment for a ship (e.g. navigation equipment for a ship, a gyrocompass, and the like), avionic equipment, a security device, an electronic cloth, an electronic key, a camcorder, a game console, a head-mounted display (HMD), a flat panel display device, an electronic frame, an electronic album, a furniture or a part of a building/structure including a communication function, an electronic board, an electronic signature receiving device, a projector, and the like. It is obvious to those skilled in the art that the electronic device according to the present disclosure is not limited to the aforementioned devices. 
         [0029]      FIG. 1  illustrates a short-range communication link operation between electronic devices according to various embodiments of the present disclosure. 
         [0030]    Referring to  FIG. 1 , an electronic device  200  (hereinafter, referred to as a “first electronic device”) may include a first short-range communication unit that may perform first short-range communication and a second short-range communication unit that may perform second short-range communication with lower power (low power) compared to the first short-range communication unit. According to another embodiment of the present disclosure, one short-range communication unit may have a first short-range communication mode using a first power amount and a second short-range communication mode using a second power amount. The second power amount may be different from the first power amount and, for example, may be lower than the first power amount. 
         [0031]    When the first electronic device  200  has a link loss in a state where a link for first short-range communication is established between the first electronic device  200  and another electronic device  300  (hereinafter, referred to as a “second electronic device”) through the first short-range communication unit, the first electronic device  200  may acquire a time point when the link with the second electronic device  300  is possible through a second short-range communication unit and attempt to re-establish a link with the second electronic device  300  through the first short-range communication unit at the connectable time point. 
         [0032]    The second electronic device  300  may include the first short-range communication unit that may perform the first short-range communication and the second short-range communication unit that may perform the second short-range communication with lower power than that of the first short-range communication unit. 
         [0033]    When a link loss occurs in a state where the second electronic device  300  has a link for the first short-range communication with the first electronic device  200  through the first short-range communication unit, the second electronic device  300  may broadcast an advertising packet including address information on the second electronic device through the second short-range communication unit. Thereafter, when a request for the link through the first short-range communication unit is made by the first electronic device  200 , the second electronic device  300  may re-establish a link for the first short-range communication with the first electronic device  200 . 
         [0034]    According to various embodiments of the present disclosure, when the link loss occurs while the first short-range communication is connected, a scan role for performing a scan operation of the second short-range communication may be set to the first electronic device  200 , and a broadcasting role for performing an advertising packet broadcasting operation of the second short-range communication may be preset to the second electronic device  300 . 
         [0035]    However, according to the role setting, the scan role for performing the scan operation of the second short-range communication may be set to the second electronic device  300  and the broadcasting role for performing the advertising packet broadcasting operation of the second short-range communication may be set to the first electronic device  200 . 
         [0036]      FIG. 2  schematically illustrates a configuration of an electronic device according to various embodiments of the present disclosure. The first electronic device  200  and the second electronic device  300  may have a configuration equal or similar to that illustrated in  FIG. 2 . 
         [0037]    Referring to  FIG. 2 , an electronic device  100  has a radio frequency (RF) unit  123  and the RF unit  123  performs a wireless communication function of the electronic device  100 . The RF unit  123  includes an RF transmitter for up-converting and amplifying a frequency of a transmitted signal and an RF receiver for low noise-amplifying a received signal and down-converting a frequency. A data processor  120  may include a transmitter for encoding and modulating the transmitted signal and a receiver for demodulating and decoding the received signal and the like. That is, the data processor  120  may include a modem and a codec. The codec may include a data codec for processing packet data and the like, and an audio codec for processing an audio signal such as a voice and the like. An audio processor  125  may perform a function of reproducing a received audio signal output from the audio codec of the data processor  120  or transmitting a transmitted audio signal generated from a microphone to the audio codec of the data processor  120 . 
         [0038]    A key input unit  127  may include keys for inputting number and character information and function keys for setting various functions. 
         [0039]    A memory  130  may be configured by a program memory, and data memories. The program memory may store programs for controlling general operations of the electronic device  100  and programs for controlling re-establishment of a link for the first short-range communication through the second short-range communication with low power when the link loss of the first short-range communication occurs. Further, the data memory may perform a function of temporarily storing data generated while the programs are executed. 
         [0040]    A controller  110  performs a function of controlling the general operations of the electronic device  100 . 
         [0041]    The scan role for performing the scan operation of the second short-range communication occurs when the link loss occurs while the first short-range communication is connected to the electronic device  100  (e.g., the first electronic device  200 ), if the controller  110  according to various embodiments of the present disclosure receives, from a first short-range communication unit  171 , link loss state information for informing of the generation of the link loss in a state where the link with the second electronic device  300  is made, the controller  110  may transmit a scan command along with, for example, address information of the second electronic device to a second short-range communication unit  172 . 
         [0042]    After transmitting the scan command along with the address information of the second electronic device, when the controller  110  receives a message for informing of detection of the address information of the second electronic device  300  from the second short-range communication unit  172 , the controller  110  may transmit a first short-range communication link command to the first short-range communication unit  171  to allow the first short-range communication unit  171  to attempt the link of the first short-range communication. 
         [0043]    When the controller  110  receives first short-range communication link failure information from the first short-range communication unit  171  to which the first short-range communication link command has been transmitted, the controller  110  may make a request for a received signal strength indication (RSSI) value (hereinafter, referred to as an “RSSI value”) of the second electronic device  300  to the second short-range communication unit  172 . 
         [0044]    When the controller  110  receives the RSSI value of the second electronic device  300  from the second short-range communication unit  172  and the received RSSI value is larger than or equal to a preset RSSI reference value, the controller  110  may transmit the first short-range communication link command to the first short-range communication unit  171 . The RSSI reference value may include an RSSI value indicating that another electronic device is located within a predetermined range in which the link through the first short-range communication unit is possible. 
         [0045]    Further, when the controller  110  receives, from the first short-range communication unit  171 , link loss state information for informing of the occurrence of the link loss in the state where the connection with the second electronic device  300  is made, the controller  110  may transmit a scan command along with the address information of the second electronic device and the request for the RSSI value of the second electronic device to the second short-range communication unit  172 . 
         [0046]    When the RSSI value of the second electronic device  300  received from the second short-range communication unit  172  after the scan command is transmitted to the second short-range communication unit  172  along with the address information of the second electronic device and the request for the RSSI value of the second electronic device is larger than or equal to the RSSI reference value, the controller  110  may transmit the first short-range communication link command to the first short-range communication unit  171 . 
         [0047]    When the broadcasting role for broadcasting the advertising packet of the second short-range communication when the link loss occurs while the link of the first short-range communication is established is set to the electronic device  100  (e.g., like the second electronic device  300 ), if the controller  110  according to various embodiments of the present disclosure receives, from the first short-range communication unit  171 , link loss state information for informing of the occurrence of the link loss in the state where the connection with the first electronic device  200  is made, the controller  110  may transmit an advertising packet broadcasting command to allow the second short-range communication unit  172  to broadcast the advertising packet including the address information of the second electronic device  300 . 
         [0048]    For example, the advertising packet may include a transmission power level (Tx power level) at which the RSSI value can be measured, and the Tx power level may be used as a value for measuring the RSSI value of the second electronic device  300  by the first electronic device  200 . When a request for the link of the first short-range communication is made by the first electronic device  200 , the controller  110  may make the link of the first short-range communication with the first electronic device  200 . 
         [0049]    A camera unit  140  photographs image data, and includes a camera sensor for converting a photographed optical signal to an electrical signal and a signal processor for converting an analog image signal photographed by the camera sensor to digital data. Here, it is assumed that the camera sensor is a charge coupled device (CCD) or complementary metal oxide semiconductor (CMOS) sensor, and the signal processor may be implemented by a digital signal processor (DSP). Further, the camera sensor and the signal processor may be implemented integrally or separately. 
         [0050]    An image processor  150  performs image signal processing (ISP) for displaying an image signal output from the camera unit  140  on a display unit  160 , and the ISP corresponds to a function such as gamma correction, interpolation, a spatial change, an image effect, image scaling, automatic white balance (AWB), automatic focusing (AF), automatic exposure (AE), and the like. Accordingly, the image processor  150  processes the image signal output from the camera unit  140  in the unit of frames, and outputs the frame image data in accordance with a characteristic and a size of the display unit  160 . Further, the image processor  150  includes an image codec and performs a function of compressing the frame image data displayed on the display unit  160  through a set method or reconstructing the compressed frame image data into original frame image data. The image codec may be a joint photographic experts group (JPEG) codec, a moving picture experts group 4 (MPEG4) codec, a Wavelet codec, and the like. It is assumed that the image processor  150  may have an on-screen-display (OSD) function, and the image processor  150  may output OSD data according to a size of the displayed screen under a control of the controller  110 . 
         [0051]    The display unit  160  may display the image signal output from the image processor  150  on the screen and display user data output from the controller  110 . The display unit  160  may use a liquid crystal display (LCD) and, in this case, may include an LCD controller, a memory for storing image data, and an LCD display device. When the LCD is implemented in a touch screen type, the display unit  160  may operate as an input unit and, at this time, keys such as the key input unit  127  may be displayed on the display unit  160 . 
         [0052]    Further, when the display unit  160  is used as a touch screen unit as the display unit  160  is implemented in the touch screen type, the touch screen unit may be configured by a touch screen panel (TSP) including a plurality of sensor panels, and the plurality of sensor panels may include a capacitive sensor panel capable of recognizing a hand touch and an electromagnetic induction sensor panel capable of detecting a fine touch made by a touch pen. 
         [0053]    A short-range communication unit  170  may provide a short-range wireless communication function. The short-range communication unit  170  may include the first short-range communication unit  171  and the second short-range communication unit  172  according to various embodiments of the present disclosure. In various embodiments of the present disclosure, the first short-range communication unit  171  and the second short-range communication unit  172  are described as parts separated from each other. However, in another embodiment of the present disclosure, the first short-range communication unit  171  and the second short-range communication unit  172  may be integrated into one part. 
         [0054]    In various embodiments of the present disclosure, the electronic device  100  may have the first short-range communication unit that consumes the first power amount and the second short-range communication unit that consumes the second power amount. The second power amount may be smaller than the first power amount. In other words, the second communication unit may consume lower power than the first communication unit. 
         [0055]    According to an embodiment of the present disclosure, the first short-range communication unit  171  may include a communication unit (hereinafter, referred to as a “Bluetooth communication unit”) using a Bluetooth protocol, and the second short-range communication unit  172  may include a communication unit (hereinafter, referred to as a “BLE communication unit”) using a Bluetooth low energy (BLE) protocol. In embodiments of the present disclosure, power consumption or a consumed power amount of the second short-range communication unit  172  during operation may be smaller than that of the first short-range communication unit  171 . In another embodiment of the present disclosure, it may be easily understood by those skilled in the art that the electronic device  100  may include various other combinations of a first short-range communication unit and a second short-range communication unit. 
         [0056]    If the scan role is set to the electronic device  100  to perform the scan operation of the second short-range communication when the link loss occurs in the state where the first short-range communication is connected, (e.g., in the first electronic device  200 ), the first short-range communication unit  171  according to various embodiments of the present disclosure may transmit link loss state information to the controller  110  when the link loss occurs in the state where the first short-range communication is connected with the second electronic device  300 . 
         [0057]    When receiving a first short-range communication link command from the controller  110  after transmitting the link loss state information to the controller  110 , the first short-range communication unit  171  may attempt a link of the first short-range communication with the second electronic device  300  through a paging operation. 
         [0058]    If the scan role is set to the electronic device  100  to perform the scan operation of the second short-range communication when the link loss occurs in the state where the first short-range communication is connected (e.g., in the first electronic device  200 ), the second short-range communication unit  172  according to various embodiments of the present disclosure may perform the scan operation for a broadcasted advertising packet when the scan command is received along with address information of the second electronic device from the controller  110 . 
         [0059]    When the advertising packet broadcasted by the second electronic device  300  is scanned through the scan operation and the address information of the second electronic device exists in the advertising packet, the second short-range communication unit  172  may transmit a message that informs of the detection of the address information of the second electronic device  300  to the controller  110 . 
         [0060]    Alternatively, before or after transmitting the message that informs of the detection of the address information of the second electronic device  300  to the controller  110 , the second short-range communication unit  172  may make a request for the link of the second short-range communication to the second electronic device  300 , and thus establish the link for the second short-range communication with the second electronic device  300 . 
         [0061]    When receiving a request for an RSSI value of the second electronic device  300  from the controller  110  after transmitting the message that informs of the detection of the address information of the second electronic device  300  to the controller  110 , the second short-range communication unit  172  may detect the RSSI value of the second electronic device  300 . The second short-range communication unit  172  may detect the RSSI value by using a signal strength of the advertising packet having the address information of the second electronic device among the advertising packets received through the scan operation or detect the RSSI value by using a TX power level included in the advertising packet having the address information of the second electronic device, and transmit the detected RSSI value to the controller  110 . Alternatively, when the link of the second short-range communication (BLE communication) is made with the second electronic device  300 , the second short-range communication unit  172  may detect the RSSI value of the second electronic device  300  having the link of the second short-range communication and transmit the detected RSSI value to the controller  110 . 
         [0062]    When receiving a scan command along with the address information of the second electronic device  300  and the RSSI value of the second electronic device  300  from the controller  110 , the second short-range communication unit  172  may perform the scan operation for the broadcasted advertising packet. 
         [0063]    When the advertising packet broadcasted by the second electronic device  300  is scanned through the scan operation and the address information of the second electronic device exists in the advertising packet, the second short-range communication unit  172  may detect the RSSI value of the second electronic device. The second short-range communication unit  172  may detect the RSSI value by using a signal strength of the advertising packet having the address information of the second electronic device among the advertising packets received through the scan operation or detect the RSSI value by using a TX power level included in the advertising packet having the address information of the second electronic device, and transmit the detected RSSI value to the controller  110 . Alternatively, when the link of the second short-range communication (BLE communication) is made with the second electronic device  300 , the second short-range communication unit  172  may detect the RSSI value of the second electronic device  300  having the established link for the second short-range communication and transmit the detected RSSI value to the controller  110 . 
         [0064]    When the broadcasting role for broadcasting the advertising packet of the short-range communication when the link loss occurs in the state where the link of the first short-range communication is made is set to the electronic device  100  (e.g., the second electronic device  300 ), the second short-range communication unit  172  according to various embodiments of the present disclosure may broadcast the advertising packet including a TX power level along with the address information of the second electronic device when receiving an advertising packet broadcasting command from the controller  110 . When a request for the link of the second short-range communication is made by the first electronic device  200  after broadcasting the advertising packet, the second short-range communication unit  172  may make the link of the second short-range communication with the first electronic device  200 . 
         [0065]    The short-range communication link operation between the first electronic device and the second electronic device, having the above described configuration will be described in detail with reference to  FIGS. 3 to 8 . 
         [0066]    In  FIGS. 3 to 8 , the first electronic device  200  and the second electronic device  300  equally include the controller  110 , the first short-range communication unit  171 , and the second short-range communication unit  172  as illustrated in  FIGS. 1 and 2 , but the first electronic device  200  may include a controller A, a first short-range communication unit A, and a second short-range communication unit A and the second electronic device  300  may include a controller B, a first short-range communication unit B, and a second short-range communication unit B to differentiate the same configuration. 
         [0067]      FIGS. 3 to 5  describe an operation for making the link of the first short-range communication using second short-range communication (BLE communication) without pairing of the second short-range communication (BLE communication), and  FIGS. 6 to 8  describe an operation for making the link of the first short-range communication using second short-range communication (BLE communication) with pairing of the second short-range communication (BLE communication). 
         [0068]    The operation for making the link of the first short-range communication using the second short-range communication (BLE communication) without pairing of the second short-range communication (BLE communication) will be first described with reference to  FIGS. 3 to 5 . 
         [0069]      FIG. 3  is a flowchart illustrating an operation for making a link of a short-range communication by an electronic device according to various embodiments of the present disclosure. 
         [0070]    A method and a process according to an embodiment will be described below with reference to the configuration of the electronic device illustrated in  FIGS. 1 and 2 . 
         [0071]    Referring to  FIG. 3 , when an unintended link loss occurs without any operation by the user in a state where the link of BT communication corresponding to first short-range communication is made through a first short-range communication unit A  253  of the first electronic device  200  and a first short-range communication unit B  353  of the second electronic device  300  in operation  301 , the first short-range communication unit A  253  may transmit link loss state information to a controller A  251  and the first short-range communication unit B  353  may transmit the link loss state information to a controller B  351  in operation  302 . 
         [0072]    When receiving the link loss state information from the first short-range communication unit A  253 , the controller A  251  may transmit a BLE scan command along with address information of the second electronic device  300  with which the link loss occurred in the state where the link was established through the first short-range communication unit A  253  to a second short-range communication unit A  255  and then switch to a sleep mode in operation  303 . In this case, the operation of the first short-range communication unit B  353  may stop. 
         [0073]    When receiving the BLE scan command from the controller A  251 , the second short-range communication unit A  255  may perform a scan operation of scanning for a broadcasted advertising packet in operation  304   a.    
         [0074]    When receiving the link loss state information from the first short-range communication unit B  353 , the controller B  351  may transmit a broadcasting command for the advertising packet to a second short-range communication unit B  355  and then switch to the sleep mode in operation  303 . In this case, the operation of the first short-range communication unit A  253  may also stop. 
         [0075]    When receiving the broadcasting command for the advertising packet from the controller B  351 , the second short-range communication unit B  355  may broadcast the advertising packet including the address information of the second electronic device  300  in operation  304   b.    
         [0076]    As the second short-range communication unit B  355  broadcasts the advertising packet, the second short-range communication unit A  255  may scan for the advertising packet broadcasted by the second short-range communication unit B  355  through the scan operation. 
         [0077]    When the address information of the second electronic device  300  is detected in the scanned advertising packet in operation  305 , the second short-range communication unit A  255  may transmit a message that informs of the detection of the address information of the second electronic device  300  to the controller A  251  in operation  306 . 
         [0078]    When receiving the message that informs of the detection of the address information of the second electronic device  300  from the second short-range communication unit A  255 , the controller A  251  may switch to a wake up mode from the sleep mode and transmit a command for the link of the first short-range communication with the second electronic device  300  to the first short-range communication unit A  253  in operation  307 . Since the first short-range communication (BT communication) and the second short-range communication (BLE communication) have similar communication link ranges, a state in which the link of the second short-range communication is possible through reception of the advertising packet broadcasted by the second electronic device  300  may refer to a state in which the first short-range communication is possible. Further, the above method also can be applied when the communication link range of the second short-range communication is smaller than the communication link range of the first short-range communication as well as the case where the first short-range communication and the second short-range communication have the similar communication link ranges. 
         [0079]    Accordingly, when receiving the command for the link of the first short-range communication with the second electronic device  300  from the controller A  251 , the first short-range communication unit A  253  may attempt paging for the link of the first short-range communication with the second electronic device  300 . At this time, when the first short-range communication unit A  253  and the first short-range communication unit B  353  of the second electronic device  300 , which performs the paging scan, are in synchronization, the link of the BT communication corresponding to the first short-range communication may be re-made between the first electronic device  200  and the second electronic device  300  through the first short-range communication unit A  253  and the first short-range communication unit B  353  in operation  308 . 
         [0080]      FIGS. 4A and 4B  are flowcharts illustrating an operation for making a link of a short-range communication by an electronic device according to various embodiments of the present disclosure. 
         [0081]    A method and a process according to an embodiment will be described below with reference to the configuration of the electronic device illustrated in  FIGS. 1 and 2 . 
         [0082]    Referring to  FIGS. 4A and 4B , when an unintended link loss occurs without any operation by the user in a state where the link of BT communication corresponding to the first short-range communication is made through the first short-range communication unit A  253  of the first electronic device  200  and the first short-range communication unit B  353  of the second electronic device  300  in operation  401 , the first short-range communication unit A  253  may transmit link loss state information to the controller A  251  and the first short-range communication unit B  353  may transmit the link lost state information to the controller B  351  in operation  402 . 
         [0083]    When receiving the link lost state information from the first short-range communication unit A  253 , the controller A  251  may transmit a BLE scan command along with address information of the second electronic device  300  with which the link loss occurred in the state where the link was established through the first short-range communication unit A  253  to the second short-range communication unit A  255  in operation  403 . When receiving the BLE scan command from the controller A  251 , the second short-range communication unit A  255  may perform a scan operation of scanning for a broadcasted advertising packet in operation  404   a.    
         [0084]    When receiving the link loss state information from the first short-range communication unit B  353 , the controller B  351  may transmit a broadcasting command for the advertising packet to the second short-range communication unit B  355  in operation  403 . When receiving the broadcasting command for the advertising packet from the controller B  351 , the second short-range communication unit B  355  may broadcast the advertising packet in operation  404   b.    
         [0085]    As the second short-range communication unit B  355  broadcasts the advertising packet, the second short-range communication unit A  255  may scan for the advertising packet broadcasted by the second short-range communication unit B  355  through the scan operation. 
         [0086]    When the address information of the second electronic device  300  is detected in the scanned advertising packet in operation  405 , the second short-range communication unit A  255  may transmit a message that informs of the detection of the address information of the second electronic device  300  to the controller A  251  in operation  406 . 
         [0087]    When receiving the message that informs of the detection of the address information of the second electronic device  300  from the second short-range communication unit A  255 , the controller A  251  may switch to a wake up mode and transmit a command for the link of the first short-range communication with the second electronic device  300  to the first short-range communication unit A  253  in operation  407 . 
         [0088]    When receiving the command for the link of the first short-range communication with the second electronic device  300  from the controller A  251 , the first short-range communication unit A  253  may attempt the link of the first short-range communication (BT) with the second electronic device  300  in operation  408 . 
         [0089]    However, when the link of the first short-range communication with the second electronic device  300  fails, the first short-range communication unit A  253  may determine the failure of the link of the first short-range communication in operation  409  and transmit first short-range communication link failure information to the controller A  251  in operation  410 . 
         [0090]    When receiving the first short-range communication link failure information from the first short-range communication unit A  253 , the controller A  251  may make a request for an RSSI value of the second electronic device  300  to the second short-range communication unit A  255  in operation  411 . 
         [0091]    When receiving the request for the RSSI value of the second electronic device  300  from the controller A  251 , the second short-range communication unit A  255  may perform operation  412  of detecting the RSSI value by using the advertising packet having the address information of the second electronic device among the advertising packets scanned through the continuous scan operation. In operation  412 , the second short-range communication unit A  255  may detect the RSSI value through a signal strength of the advertising packet or detect the RSSI value by using a Tx power level included in the advertising packet. 
         [0092]    When the second short-range communication unit A  255  transmits the detected RSSI value to the controller A  251  in operation  413 , the controller A  251  may perform operation  414  of comparing the RSSI value received from the second short-range communication unit A  255  with a preset reference RSSI value. When the RSSI value received from the second short-range communication unit A  255  is larger than or equal to the preset reference RSSI value, the controller A  251  may transmit a command for the link of the first short-range communication with the second electronic device  300  to the first short-range communication unit A  253  in operation  415 . 
         [0093]    When receiving the command for the link of the first short-range communication with the second electronic device  300  from the controller A  251 , the first short-range communication unit A  253  may attempt paging for the link of the first short-range communication with the second electronic device  300 . At this time, when the first short-range communication unit A  253  and the first short-range communication unit B  353  of the second electronic device  300 , which performs the paging scan, are in synchronization, the link of the BT communication corresponding to the first short-range communication may be re-made between the first electronic device  200  and the second electronic device  300  through the first short-range communication unit A  253  and the first short-range communication unit B  353  in operation  416 . 
         [0094]    Since the first short-range communication (BT communication) and the second short-range communication (BLE communication) have similar communication link ranges but not the same communication range, if the link of the first short-range communication fails when the link of the second short-range communication (BLE communication) is possible, a distance to the second electronic device may be accurately determined through the RSSI value and the link of the first short-range communication is made again. 
         [0095]      FIGS. 5A and 5B  are flowcharts illustrating an operation for making a link of a short-range communication by an electronic device according to various embodiments of the present disclosure. 
         [0096]    A method and a process according to an embodiment will be described below with reference to the configuration of the electronic device illustrated in  FIGS. 1 and 2 . 
         [0097]    Referring to  FIGS. 5A and 5B , when an unintended link loss occurs without any operation by the user in a state where the link of BT communication corresponding to the first short-range communication is made through the first short-range communication unit A  253  of the first electronic device  200  and the first short-range communication unit B  353  of the second electronic device  300  in operation  501 , the first short-range communication unit A  253  may transmit link loss state information to the controller A  251  and the first short-range communication unit B  353  may transmit the link loss state information to the controller B  351  in operation  502 . 
         [0098]    When receiving the link loss state information from the first short-range communication unit A  253 , the controller A  251  may transmit a BLE scan command along with address information of the second electronic device  300  with which the link loss occurred in the state where the link was established through the first short-range communication unit A  253  and a request for an RSSI value of the second electronic device to the second short-range communication unit A  255  in operation  503 . When receiving the BLE scan command from the controller A  251 , the second short-range communication unit A  255  may perform a scan operation of scanning for a broadcasted advertising packet in operation  504   a.    
         [0099]    When receiving the link loss state information from the first short-range communication unit B  353 , the controller B  351  may transmit a broadcasting command for the advertising packet to the second short-range communication unit B  355  in operation  503 . 
         [0100]    When receiving the broadcasting command for the advertising packet from the controller B  351 , the second short-range communication unit B  355  may broadcast the advertising packet in operation  504   b.    
         [0101]    As the second short-range communication unit B  355  broadcasts the advertising packet, the second short-range communication unit A  255  may scan for the advertising packet broadcasted by the second short-range communication unit B  355  through the scan operation. 
         [0102]    When the address information of the second electronic device  300  is detected in the scanned advertising packet in operation  505 , the second short-range communication unit A  255  may detect the RSSI value of the second electronic device  300  in operation  506 . 
         [0103]    In operation  506 , the second short-range communication unit A  255  may detect the RSSI value through a signal strength of the advertising packet or detect the RSSI value by using a Tx power level included in the advertising packet. 
         [0104]    When the second short-range communication unit A  255  transmits the detected RSSI value to the controller A  251  in operation  507 , the controller A  251  may perform operation  508  of comparing the RSSI value received from the second short-range communication unit A  255  with a preset reference RSSI value. When the RSSI value received from the second short-range communication unit A  255  is larger than or equal to the preset reference RSSI value, the controller A  251  may transmit a command for the link of the first short-range communication with the second electronic device  300  to the first short-range communication unit A  253  in operation  509 . 
         [0105]    When receiving the command for the link of the first short-range communication with the second electronic device  300  from the controller A  251 , the first short-range communication unit A  253  may attempt paging for the link of the first short-range communication with the second electronic device  300 . At this time, when the first short-range communication unit A  253  and the first short-range communication unit B  353  of the second electronic device  300 , which performs the paging scan, are in synchronization, the link of the BT communication corresponding to the first short-range communication may be re-made between the first electronic device  200  and the second electronic device  300  through the first short-range communication unit A  253  and the first short-range communication unit B  353  in operation  510 . 
         [0106]    Next, the operation for making the link of the first short-range communication using the second short-range communication (BLE communication) with the pairing of the second short-range communication (BLE communication) will be first described with reference to  FIGS. 6 to 8 . 
         [0107]      FIG. 6  is a flowchart illustrating an operation for making a link of a short-range communication by an electronic device according to various embodiments of the present disclosure. 
         [0108]    A method and a process according to an embodiment will be described below with reference to the configuration of the electronic device illustrated in  FIGS. 1 and 2 . 
         [0109]    Referring to  FIG. 6 , when an unintended link loss occurs without any operation by the user in a state where the link of BT communication corresponding to first short-range communication is made through the first short-range communication unit A  253  of the first electronic device  200  and the first short-range communication unit B  353  of the second electronic device  300  in operation  601 , the first short-range communication unit A  253  may transmit link loss state information to the controller A  251  and the first short-range communication unit B  353  may transmit the link loss state information to the controller B  351  in operation  602 . 
         [0110]    When receiving the link loss state information from the first short-range communication unit A  253 , the controller A  251  may transmit a BLE background link command along with address information of the second electronic device  300  with which the link loss occurs in the state where the link was established through the first short-range communication unit A  253  to the second short-range communication unit A  255  and switch to a sleep mode in operation  603 . The BLE background link command corresponds to a command which the controller transmits to a BLE communication unit to perform a BLE link without any additional command when a BLE link condition is met. 
         [0111]    When receiving the BLE background link command from the controller A  251 , the second short-range communication unit A  255  may perform a scan operation of scanning for a broadcasted advertising packet in operation  604   a.    
         [0112]    When receiving the link loss state information from the first short-range communication unit B  353 , the controller B  351  may transmit a broadcasting command for the advertising packet to the second short-range communication unit B  355  and switch to the sleep mode in operation  603 . When receiving the broadcasting command for the advertising packet from the controller B  351 , the second short-range communication unit B  355  may broadcast the advertising packet in operation  604   b.    
         [0113]    As the second short-range communication unit B  355  broadcasts the advertising packet, the second short-range communication unit A  255  may scan for the advertising packet broadcasted by the second short-range communication unit B  355  through the scan operation. 
         [0114]    When the address information of the second electronic device  300  is detected in the scanned advertising packet in operation  605 , the second short-range communication unit A  255  may make a request for the link for BLE communication corresponding to the second short-range communication to the second short-range communication unit B  355  in operation  606 . 
         [0115]    When a response to the link of the BLE communication is received from the second short-range communication unit B  355  in operation  607 , the first electronic device  200  and the second electronic device  300  may establish the link of the BLE communication corresponding to the second short-range communication through the second short-range communication unit A  255  and the second short-range communication unit B  355  in operation  608 . 
         [0116]    The second short-range communication unit A  255  having the established link of the BLE communication through the second short-range communication unit B  355  may transmit a message that informs of the detection of the address information of the second electronic device  300  to the controller A  251  in operation  609 . 
         [0117]    The BLE link operation through operations  606  to  608  may be performed after or simultaneously with operation  609  of transmitting the message that informs the controller A  251  of the detection of the address information of the second electronic device  300 . 
         [0118]    When receiving the message that informs of the detection of the address information of the second electronic device  300  from the second short-range communication unit A  255 , the controller A  251  may switch to a wake up mode from the sleep mode and transmit a command for the link of the first short-range communication with the second electronic device  300  to the first short-range communication unit A  253  in operation  610 . 
         [0119]    Since the first short-range communication (BT communication) and the second short-range communication (BLE communication) have similar communication link ranges, a state in which the link of the second short-range communication is possible through reception of the advertising packet broadcasted by the second electronic device may refer to a state in which the first short-range communication is possible. 
         [0120]    Accordingly, when receiving the command for the link of the first short-range communication with the second electronic device  300  from the controller A  251 , the first short-range communication unit A  253  may attempt paging for the link of the first short-range communication with the second electronic device  300 . At this time, when the first short-range communication unit A  253  and the first short-range communication unit B  353  of the second electronic device  300 , which performs the paging scan, are in synchronization, the link of the BT communication corresponding to the first short-range communication may be re-made between the first electronic device  200  and the second electronic device  300  through the first short-range communication unit A  253  and the first short-range communication unit B  353  in operation  611 . 
         [0121]      FIGS. 7A and 7B  are flowcharts illustrating an operation for making a link of a short-range communication by an electronic device according to various embodiments of the present disclosure. 
         [0122]    A method and a process according to an embodiment will be described below with reference to the configuration of the electronic device illustrated in  FIGS. 1 and 2 . 
         [0123]    Referring to  FIGS. 7A and 7B , when an unintended link loss occurs without any operation by the user in a state where the link of BT communication corresponding to the first short-range communication is made through the first short-range communication unit A  253  of the first electronic device  200  and the first short-range communication unit B  353  of the second electronic device  300  in operation  701 , the first short-range communication unit A  253  may transmit link loss state information to the controller A  251  and the first short-range communication unit B  353  may transmit the link loss state information to the controller B  351  in operation  702 . 
         [0124]    When receiving the link loss state information from the first short-range communication unit A  253 , the controller A  251  may transmit a BLE background link command along with address information of the second electronic device  300  with which the link loss occurs in the state where the link was established through the first short-range communication unit A  253  to the second short-range communication unit A  255  in operation  703 . When receiving the BLE background link command from the controller A  251 , the second short-range communication unit A  255  may perform a scan operation of scanning for a broadcasted advertising packet in operation  704   a.    
         [0125]    When receiving the link loss state information from the first short-range communication unit B  353 , the controller B  351  may transmit a broadcasting command for the advertising packet to the second short-range communication unit B  355  in operation  703 . When receiving the broadcasting command for the advertising packet from the controller B  351 , the second short-range communication unit B  355  may broadcast the advertising packet in operation  704   b.    
         [0126]    As the second short-range communication unit B  355  broadcasts the advertising packet, the second short-range communication unit A  255  may scan for the advertising packet broadcasted by the second short-range communication unit B  355  through the scan operation. 
         [0127]    When the address information of the second electronic device  300  is detected in the scanned advertising packet in operation  705 , the second short-range communication unit A  255  may make a request for the link for BLE communication corresponding to the second short-range communication to the second short-range communication unit B  355  in operation  706 . 
         [0128]    When a response to the link of the BLE communication is received from the second short-range communication unit B  355  in operation  707 , the first electronic device  200  and the second electronic device  300  may have the link of the BLE communication corresponding to the second short-range communication through the second short-range communication unit A  255  and the second short-range communication unit B  355  in operation  708 . 
         [0129]    The second short-range communication unit A  255  having the established link of the BLE communication through the second short-range communication unit B  355  may transmit a message that informs of the detection of the address information of the second electronic device  300  to the controller A  251  in operation  709 . 
         [0130]    The BLE link operation through operations  706  to  708  may be performed after or simultaneously with operation  709  of transmitting the message that informs the controller A  251  of the detection of the address information of the second electronic device  300 . 
         [0131]    When receiving the message that informs of the detection of the address information of the second electronic device  300  from the second short-range communication unit A  255 , the controller A  251  may switch to a wake up mode and transmit a command for the link of the first short-range communication with the second electronic device  300  to the first short-range communication unit A  253  in operation  710 . 
         [0132]    When receiving the command for the link of the first short-range communication with the second electronic device  300  from the controller A  251 , the first short-range communication unit A  253  may attempt the link of the first short-range communication with the second electronic device  300  in operation  712 . 
         [0133]    However, when the link of the first short-range communication with the second electronic device  300  fails, the first short-range communication unit A  253  may determine the failure of the link of the first short-range communication in operation  713  and transmit first short-range communication link failure information to the controller A  251  in operation  714 . 
         [0134]    When receiving the first short-range communication link failure information from the first short-range communication unit A  253 , the controller A  251  may make a request for an RSSI value of the second electronic device  300  to the second short-range communication unit A  255  in operation  715 . 
         [0135]    When receiving a request for the RSSI value of the second electronic device  300  from the controller A  251 , the second short-range communication unit A  255  may detect the RSSI value of the second electronic device having the link of BLE communication corresponding to the second short-range communication in operation  716  and transmit the detected RSSI value to the controller A  251  in operation  717 . 
         [0136]    The controller A  251  may compare the RSSI value received from the second short-range communication unit A  255  with a preset reference RSSI value in operation  718 . When the RSSI value received from the second short-range communication unit A  255  is larger than or equal to the preset reference RSSI value, the controller A  251  may transmit a command for the link of the first short-range communication with the second electronic device  300  to the first short-range communication unit A in operation  719 . 
         [0137]    When receiving the command for the link of the first short-range communication with the second electronic device  300  from the controller A  251 , the first short-range communication unit A  253  may attempt paging for the link of the first short-range communication with the second electronic device  300 . At this time, when the first short-range communication unit A  253  and the first short-range communication unit B  353  of the second electronic device  300 , which performs the paging scan, are in synchronization, the link of the BT communication corresponding to the first short-range communication may be re-made between the first electronic device  200  and the second electronic device  300  through the first short-range communication unit A  253  and the first short-range communication unit B  353  in operation  720 . 
         [0138]    Since the first short-range communication (BT communication) and the second short-range communication (BLE communication) have similar communication link ranges but not the same communication range, if the link of the first short-range communication fails when the link of the second short-range communication (BLE communication) is possible, a distance to the second electronic device may be accurately determined through the RSSI value and the link of the first short-range communication is made again. 
         [0139]      FIGS. 8A and 8B  are flowcharts illustrating an operation for making a link of a short-range communication by an electronic device according to one of various embodiments of the present disclosure. 
         [0140]    A method and a process according to an embodiment will be described below with reference to the configuration of the electronic device illustrated in  FIGS. 1 and 2 . 
         [0141]    Referring to  FIGS. 8A and 8B , when an unintended link loss occurs without any operation by the user in a state where the link of BT communication corresponding to the first short-range communication is made through the first short-range communication unit A  253  of the first electronic device  200  and the first short-range communication unit B  353  of the second electronic device  300  in operation  801 , the first short-range communication unit A  253  may transmit link loss state information to the controller A  251  and the first short-range communication unit B  353  may transmit the link loss state information to the controller B  351  in operation  802 . 
         [0142]    When receiving the link loss state information from the first short-range communication unit A  253 , the controller A  251  may transmit a BLE background link command along with address information of the second electronic device  300  with which the link loss occurs in the state where the link was established through the first short-range communication unit A  253  and a request for an RSSI value of the second electronic device to the second short-range communication unit A  255  in operation  803 . When receiving the BLE background link command from the controller A  251 , the second short-range communication unit A  255  may perform a scan operation of scanning for a broadcasted advertising packet in operation  804   a.    
         [0143]    When receiving the link loss state information from the first short-range communication unit B  353 , the controller B  351  may transmit a broadcasting command for the advertising packet to the second short-range communication unit B  355  in operation  803 . When receiving the broadcasting command for the advertising packet from the controller B  351 , the second short-range communication unit B  355  may broadcast the advertising packet in operation  804   b.    
         [0144]    As the second short-range communication unit B  355  broadcasts the advertising packet, the second short-range communication unit A  255  may scan for the advertising packet broadcasted by the second short-range communication unit B  355  through the scan operation. 
         [0145]    When the address information of the second electronic device  300  is detected in the scanned advertising packet in operation  805 , the second short-range communication unit A  255  may make a request for the link for BLE communication corresponding to the second short-range communication to the second short-range communication unit B  355  in operation  806 . 
         [0146]    When a response to the link of the BLE communication is received from the second short-range communication unit B  355  in operation  807 , the first electronic device  200  and the second electronic device  300  may have the link of the BLE communication corresponding to the second short-range communication through the second short-range communication unit A  255  and the second short-range communication unit B  355  in operation  808 . 
         [0147]    The second short-range communication unit A having the link of BLE communication corresponding to the second short-range communication with the second electronic device  300  may detect the RSSI value of the second electronic device  300  in operation  809  and perform operation  810  of transmitting the detected RSSI value to the controller A  251 . 
         [0148]    The controller A  251  having received the RSSI value of the second electronic device  300  from the second short-range communication unit A  255  may compare the RSSI value received from the second short-range communication unit A  255  with a preset reference RSSI value in operation  811 . When the RSSI value received from the second short-range communication unit A  255  is larger than or equal to the preset reference RSSI value based on a result of the comparison, the controller A  251  may transmit a command for the link of the first short-range communication with the second electronic device  300  to the first short-range communication unit A  253  in operation  812 . 
         [0149]    When receiving the command for the link of the first short-range communication with the second electronic device  300  from the controller A  251 , the first short-range communication unit A  253  may attempt paging for the link of the first short-range communication with the second electronic device  300 . At this time, when the first short-range communication unit A  253  and the first short-range communication unit B  353  of the second electronic device  300 , which performs the paging scan, are in synchronization, the link of the BT communication corresponding to the first short-range communication may be re-made between the first electronic device  200  and the second electronic device  300  through the first short-range communication unit A  253  and the first short-range communication unit B  353  in operation  813 . 
         [0150]    Although the above embodiments employ examples using the first short-range communication unit and the second short-range communication unit, schemes equal or similar to the principle and configuration of the embodiments may be used for communication between devices rather than the short-range communication. 
         [0151]    The electronic device and the method of performing the communication link by the electronic device according to various embodiments of the present disclosure can be implemented by a computer-readable code stored in a computer-readable recording medium. 
         [0152]    The computer readable recording medium includes all types of recording devices which store data readable by a computer system. As for such a recording medium, for example, a read-only memory (ROM), a random access memory (RAM), an optical disc, a magnetic tape, a floppy disc, a hard disc, or a non-volatile memory may be used, and a medium implemented in a type of carrier wave (e.g., transmission through an Internet) may also be included in such a recording medium. Further, the computer-readable recording medium may be dispersed in computer systems connected through a network, and a computer-readable code may be stored and executed in a dispersion scheme. 
         [0153]    While the present 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 spirit and scope of the present disclosure as defined by the appended claims and their equivalents.