METHOD FOR SELECTING EXTERNAL ELECTRONIC DEVICE BASED ON DATA TRAFFIC RATE

Information

  • Patent Application
  • 20170163513
  • Publication Number
    20170163513
  • Date Filed
    December 02, 2016
    8 years ago
  • Date Published
    June 08, 2017
    7 years ago
Abstract
According to various embodiments, an electronic device may include a processor and a communication interface that supports a short range wireless communication. The processor may obtain signal strength for each of plurality of external electronic devices through the short range wireless communication by using the communication interface, and select first and second external electronic devices satisfying designated signal strength from among the plurality of external electronic devices, based on the signal strength. Also, the processor may receive first network information corresponding to the first external electronic device and second network information corresponding to the second external electronic device through the short range wireless communication by using the communication interface, and determine a first data traffic rate of the first external electronic device, based on the first network information, and also determine a second data traffic rate of the second external electronic device, based on the second network information. And also, the processor may select one of the first and second external electronic devices, based on at least one of the first and second data traffic rates, and communicate data with the selected external electronic device through the short range wireless communication.
Description
CROSS-REFERENCE TO RELATED APPLICATION(S) AND CLAIM OF PRIORITY

The present application is related to and claims the benefit under 35 U. S.C. §119(a) of Korean patent application filed on Dec. 4, 2015 in the Korean Intellectual Property Office and assigned Serial number 10-2015-0172737, the entire disclosure of which is hereby incorporated by reference.


TECHNICAL FIELD

Embodiments of the present invention relate to a method for selecting an external electronic device (e.g., an access point) and, for example, to a method and electronic device for selecting an access point by using network related information received from access points in a wireless network.


BACKGROUND

In a wireless network, access points may periodically broadcast messages (e.g., beacon frames) containing supportable network information (e.g., channel information, a data rate, encryption information, etc.) for electronic devices which intend to access thereto. When such a message is received from a certain AP, the electronic device may identify network information of the AP and a name of the AP (e.g., service set identification (SSID)), basic service set identification (BSSID) and also display information about the AP by using received signal strength indication (RSSI) regarding the AP.


A user may select a desired AP by using the displayed AP information, and in response to this, the electronic device may perform a connection process with the AP. Additionally, the electronic device may store information of the connected AP. Using the stored AP information, the electronic device may perform automatically the connection process.


An electronic device may be located in a network environment in which a number of APs including the same name (Twifi zone, ureadymobile, etc.) are deployed. In this network environment, the electronic device may be connected to a specific AP including higher signal strength among the APs of the same name, based on the signal strength without regard to a data traffic rate. This may cause a user to use a data service at a lower traffic rate.


SUMMARY

To address the above-discussed deficiencies, it is a primary object to provide a method and electronic device for selecting an AP including a higher data traffic rate.


Further, various embodiments of the present invention may provide a method and electronic device for estimating an AP data traffic rate by using received AP information and then for offering information associated with the estimated rate to a user.


According to various embodiments of this invention, an electronic device may include a processor and a communication interface supporting a short range wireless communication. The processor may be configured to obtain a signal strength for each of plurality of external electronic devices through the short range wireless communication by using the communication interface; to select first and second external electronic devices satisfying designated signal strength from among the plurality of external electronic devices, based on the signal strength; to receive first network information corresponding to the first external electronic device and second network information corresponding to the second external electronic device through the short range wireless communication by using the communication interface; to determine a first data traffic rate of the first external electronic device, based on the first network information, and also determine a second data traffic rate of the second external electronic device, based on the second network information; to select one of the first and second external electronic devices, based on at least one of the first and second data traffic rates; and to communicate data with the selected external electronic device through the short range wireless communication.


According to various embodiments of this invention, an electronic device may include a processor and a communication interface supporting a short range wireless communication. The processor may be configured to receive first network information corresponding to a first external electronic device and second network information corresponding to a second external electronic device through the short range wireless communication by using the communication interface; to determine a first data traffic rate of the first external electronic device, based on the first network information, and also determine a second data traffic rate of the second external electronic device, based on the second network information; to select one of the first and second external electronic devices, based on at least one of the first and second data traffic rates; and to communicate data with the selected external electronic device through the short range wireless communication.


According to various embodiments of this invention, an electronic device may include a WiFi interface supporting a short range wireless communication, and a processor electrically connected to the WiFi interface. The processor may be configured to scan a plurality of access points (APs) including same service set identification (SSID) through the WiFi interface; to calculate a data traffic rate for each AP, based on a beacon frame received from each AP; and to select one of the APs, based on the calculated data traffic rate for each AP.


According to various embodiments of this invention, a method implemented by an electronic device including a communication interface and a processor may include operations of obtaining a signal strength for each of plurality of external electronic devices through a short range wireless communication by using the communication interface; selecting first and second external electronic devices satisfying designated signal strength from among the plurality of external electronic devices, based on the signal strength; receiving first network information corresponding to the first external electronic device and second network information corresponding to the second external electronic device through the short range wireless communication by using the communication interface; determining a first data traffic rate of the first external electronic device, based on the first network information, and also determine a second data traffic rate of the second external electronic device, based on the second network information; selecting one of the first and second external electronic devices, based on at least one of the first and second data traffic rates; and communicating data with the selected external electronic device through the short range wireless communication.


According to various embodiments of this invention, a method for operating an electronic device supporting first and second short range wireless communications may include operations of determining a data traffic rate of an external device, based on information associated with a mode of the first short range wireless communication in a signal received from the external device through the first short range wireless communication; determining an attenuation factor, based on at least one of a signal strength of the signal, whether the second short range wireless communication is activated, and a degree of utilization of the external device; adjusting the data traffic rate of the external device by multiplying the attenuation factor and the data traffic rate; and selecting one of scanned external devices, based on the data traffic rate adjusted for each of the external devices scanned through the first short range wireless communication.


The electronic device and method according to various embodiments may avoid any undesirable case of being connected to an external device (e.g., AP) including a lower data traffic rate, and also offer a stable data service through a connection with a best external device (e.g., estimated to have the highest data traffic rate).


Before undertaking the DETAILED DESCRIPTION below, it may be advantageous to set forth definitions of certain words and phrases used throughout this patent document: the terms “include” and “comprise,” as well as derivatives thereof, mean inclusion without limitation; the term “or,” is inclusive, meaning and/or; the phrases “associated with” and “associated therewith,” as well as derivatives thereof, may mean to include, be included within, interconnect with, contain, be contained within, connect to or with, couple to or with, be communicable with, cooperate with, interleave, juxtapose, be proximate to, be bound to or with, have, have a property of, or the like; and the term “controller” means any device, system or part thereof that controls at least one operation, such a device may be implemented in hardware, firmware or software, or some combination of at least two of the same. It should be noted that the functionality associated with any particular controller may be centralized or distributed, whether locally or remotely. Definitions for certain words and phrases are provided throughout this patent document, those of ordinary skill in the art should understand that in many, if not most instances, such definitions apply to prior, as well as future uses of such defined words and phrases.





BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the present disclosure and its advantages, reference is now made to the following description taken in conjunction with the accompanying drawings, in which like reference numerals represent like parts:



FIG. 1 illustrates an example network environment according to various embodiments of the present invention.



FIG. 2 illustrates an example electronic device according to various embodiments of the present invention.



FIG. 3 illustrates an example program module according to various embodiments of the present invention.



FIG. 4 illustrates an example method for selecting an access point in a wireless network according to various embodiments of the present invention.



FIGS. 5A and 5B illustrate an examples method for selecting an access point according to various embodiments of the present invention.



FIGS. 6A, 6B, and 6C illustrate an examples wireless network environment according to various embodiments of the present invention.



FIGS. 7 and 8 illustrate an example user interface for offering network information of an access point according to various embodiments of the present invention.



FIG. 9 illustrates an example method for determining a WiFi mode of an access point according to various embodiments of the present invention.





DETAILED DESCRIPTION


FIGS. 1 through 9, discussed below, and the various embodiments used to describe the principles of the present disclosure in this patent document are by way of illustration only and should not be construed in any way to limit the scope of the disclosure. Those skilled in the art will understand that the principles of the present disclosure may be implemented in any suitably arranged electronic device.


The present disclosure will be described with reference to the accompanying drawings. Although specific embodiments are illustrated in the drawings and related detailed descriptions are discussed in the present specification, the present disclosure may have various modifications and several embodiments. However, various embodiments of the present disclosure are not limited to a specific implementation form and it should be understood that the present disclosure includes all changes and/or equivalents and substitutes included in the spirit and scope of various embodiments of the present disclosure. In connection with descriptions of the drawings, similar components are designated by the same reference numeral.


The term “include” or “may include” which may be used in describing various embodiments of the present disclosure refers to the existence of a corresponding disclosed function, operation or component which can be used in various embodiments of the present disclosure and does not limit one or more additional functions, operations, or components. In various embodiments of the present disclosure, the terms such as “include” or “have” may be construed to denote a certain characteristic, number, step, operation, constituent element, component or a combination thereof, but may not be construed to exclude the existence of or a possibility of the addition of one or more other characteristics, numbers, steps, operations, constituent elements, components or combinations thereof.


In various embodiments of the present disclosure, the expression “or” or “at least one of A or/and B” includes any or all of combinations of words listed together. For example, the expression “A or B” or “at least A or/and B” may include A, may include B, or may include both A and B.


The expression “1”, “2”, “first”, or “second” used in various embodiments of the present disclosure may modify various components of the various embodiments but does not limit the corresponding components. For example, the above expressions do not limit the sequence and/or importance of the components. The expressions may be used for distinguishing one component from other components. For example, a first user device and a second user device may indicate different user devices although both of them are user devices. For example, without departing from the scope of the present disclosure, a first structural element may be referred to as a second structural element. Similarly, the second structural element also may be referred to as the first structural element.


When it is stated that a component is “coupled to” or “connected to” another component, the component may be directly coupled or connected to another component or a new component may exist between the component and another component. In contrast, when it is stated that a component is “directly coupled to” or “directly connected to” another component, a new component does not exist between the component and another component.


The terms used in describing various embodiments of the present disclosure are only examples for describing a specific embodiment but do not limit the various embodiments of the present disclosure. Singular forms are intended to include plural forms unless the context clearly indicates otherwise.


Unless defined differently, all terms used herein, which include technical terminologies or scientific terminologies, have the same meaning as that understood by a person skilled in the art to which the present disclosure belongs. Such terms as those defined in a generally used dictionary are to be interpreted to have the meanings equal to the contextual meanings in the relevant field of art, and are not to be interpreted to have ideal or excessively formal meanings unless clearly defined in the present description.


An electronic device according to various embodiments of the present disclosure may be a device including a communication function. For example, the electronic device may be one or a combination of a smart phone, a tablet personal computer (PC), a mobile phone, a video phone, an e-book reader, a desktop PC, a laptop PC, a netbook computer, a personal digital assistant (PDA), a camera, and a wearable device (e.g., a head-mounted-device (HMD) such as electronic glasses; electronic clothes; an electronic bracelet; an electronic necklace; an electronic accessory; an electronic tattoo; and a smart watch).


According to some embodiments, the electronic device may be a smart home appliance including a communication function. The smart home appliance may include at least one of a television (TV), a digital video disk (DVD) player, an audio player, an air conditioner, a cleaner, an oven, a microwave oven, a washing machine, an air cleaner, a set-top box, a TV box (e.g., Samsung HomeSync™, Apple TV™, or Google TV™), game consoles, an electronic dictionary, an electronic key, a camcorder, and an electronic frame.


According to some embodiments, the electronic device may include at least one of various types of medical devices (e.g., magnetic resonance angiography (MRA), Magnetic resonance imaging (MRI), computed tomography (CT), a scanner, an ultrasonic device and the like), a navigation device, a global navigation satellite system (GNSS) receiver, an event data recorder (EDR), a flight data recorder (FDR), a vehicle infotainment device, electronic equipment for a ship (e.g., a navigation device for ship, a gyro compass and the like), avionics, a security device, a head unit for a vehicle, an industrial or home robot, an automatic teller machine (ATM) of financial institutions, a point of sale (POS) device of shops, and a device for internet of things (IoT) (e.g., a fire alarm, various sensors, electric or gas meter units, a sprinkler, a thermostat, a streetlamp, a toaster, sport outfits, a hot-water tank, a heater, a boiler and the like).


According to some embodiments, the electronic device may include at least one of furniture or a part of a building/structure, an electronic board, an electronic signature receiving device, a projector, and various types of measuring devices (e.g., a water meter, an electricity meter, a gas meter, a radio wave meter and the like) including a camera function. The electronic device according to various embodiments of the present disclosure may be one or a combination of the above described various devices. Further, the electronic device according to various embodiments of the present disclosure may be a flexible device. It is apparent to those skilled in the art that the electronic device according to various embodiments of the present disclosure is not limited to the above described devices.


Hereinafter, an electronic device according to various embodiments of the present disclosure will be described with reference to the accompanying drawings. The term “user” used in various embodiments may refer to a person who uses an electronic device or a device (e.g., an artificial intelligence electronic device) which uses an electronic device.



FIG. 1 illustrates an example network environment 100 including an electronic device 101 according to various embodiments of the present disclosure. Referring to FIG. 1, the electronic device 101 may include various components including a bus 110, a processor 120, a memory 130, an input/output interface 140, a display 150, a communication interface 160, and a power management 170.


The bus 110 may be a circuit connecting the above described components and transmitting communication (e.g., a control message) between the above described components.


The processor 120 may receive commands from other components (e.g., the memory 130, the input/output interface 140, the display 150, the communication interface 160, or the power management 170) through the bus 110, analyze the received commands, and execute calculation or data processing according to the analyzed commands.


The memory 130 stores commands or data received from the processor 120 or other components (e.g., the input/output interface 140, the display 150, the communication interface 160, or the power management 170) or generated by the processor 120 or other components. The memory 130 may store software and/or a program. For example, the program may include a kernel 131, middleware 132, an application programming interface (API) 133, and an application program (or an application) 134. At least part of the kernel 131, the middleware 132 or the API 133 may refer to an operating system (OS).


The kernel 131 controls or manages system resources (e.g., the bus 110, the processor 120, or the memory 130) used for executing an operation or function implemented by the remaining other programming modules, for example, the middleware 132, the API 133, or the application 134. Further, the kernel 131 provides an interface for accessing individual components of the electronic device 101 from the middleware 132, the API 133, or the application 134 to control or manage the components.


The middleware 132 performs a relay function of allowing the API 133 or the application 134 to communicate with the kernel 131 to exchange data. Further, in operation requests received from the application 134, the middleware 132 performs a control for the operation requests (e.g., scheduling or load balancing) by using a method of assigning a priority, by which system resources (e.g., the bus 110, the processor 120, the memory 130 and the like) of the electronic device 101 can be used, to the application 134.


The API 133 is an interface by which the application 134 can control a function provided by the kernel 131 or the middleware 132 and includes, for example, at least one interface or function (e.g., command) for a file control, a window control, image processing, or a character control.


According to various embodiments, the application 134 may include a short message service (SMS)/multimedia messaging service (MMS) application, an email application, a calendar application, an alarm application, a health care application (e.g., application measuring quantity of exercise or blood sugar) or an environment information application (e.g., application providing information on barometric pressure, humidity or temperature). Additionally, or alternatively, the application 134 may be an application related to an information exchange between the electronic device 101 and an external electronic device (e.g., electronic device 104). The application 134 related to the information exchange may include, for example, a notification relay application for transferring particular information to the external electronic device or a device management application for managing the external electronic device.


For example, the notification relay application may include a function of transmitting notification information generated by another application (e.g., an SMS/MMS application, an email application, a health care application or an environment information application) of the electronic device 101 to the external electronic device (e.g., electronic device 104). Additionally, or alternatively, the notification relay application may receive notification information from, for example, the external electronic device 104, and provide the received notification information to the user. The device management application may manage (e.g., install, remove, or update) at least a part of functions of the electronic device. For example, the device management application may turn on/off the external electronic device (or some components of the external electronic device), control a brightness of the display of the external electronic device or communicate with the electronic device 101, an application executed in the external electronic device 104, or a service (e.g., call service or message service) provided by the external electronic device 104.


According to various embodiments, the application 134 may include an application designated according to an attribute (e.g., type of electronic device) of the external electronic device 104. For example, when the external electronic device 104 is an MP3 player, the application 134 may include an application related to music reproduction. Similarly, when the external electronic device 104 is a mobile medical device, the application 134 may include an application related to health care. According to an embodiment, the application 134 may include at least one of an application designated to the electronic device 101 and an application received from an external electronic device (e.g., server 106 or electronic device 104).


The input/output interface 140 transmits a command or data input from the user through an input/output device 140 (e.g., a sensor, a keyboard, or a touch screen) to the processor 120, the memory 130, the communication interface 160, or the display 150 through, for example, the bus 110. For example, the input/output interface 140 may provide data on a user's touch input through a touch screen to the processor 120. Further, the input/output interface 140 may output a command or data received through, for example, the bus 110, from the processor 120, the memory 130, the communication interface 160, or the power management 170 through the input/output device (e.g., a speaker or a display). For example, the input/output interface 140 may output voice data processed through the processor 120 to the user through the speaker.


The display 150 may include, for example, liquid crystal display (LCD), flexible display, transparent display, light-emitting diode(LED) display, organic light-emitting diode (OLED) display, microelectromechanical systems (MEMS) display, or electronic paper display. The display 150 may visually offer, for example, various contents (e.g., text, image, video, icon, symbol, etc.) to users. The display 150 may include a touch screen and receive, for example, a touch, gesture, proximity, or hovering input using an electronic pen or a user's body. According to an embodiment, the display 150 may be one or more displays. For example, the display 150 may be included in the electronic device 101 or included in an external device (e.g., the electronic device 102 or 104) including a wired or wireless connection with the electronic device 101, thus outputting information offered by the electronic device 101 to users.


According to an embodiment, the display 150 may be attachable to or detachable from the electronic device 101. For example, the display 150 may include an interface which can be mechanically or physically connected with the electronic device 101. According to an embodiment, in case the display 150 is detached (e.g., separated) from the electronic device 101 by a user's selection, the display 150 may receive various control signals or image data from the power management 170 or the processor 120, e.g., through wireless communication.


The communication interface 160 may establish communication between the electronic device 101 and any external device (e.g., the first external electronic device 102, the second external electronic device 104, or the server 106). For example, the communication interface 160 may be connected with a network 162 through wired or wireless communication and thereby communicate with any external device (e.g., the first external electronic device 102, the second external electronic device 104, or the server 106).


According to an embodiment, the electronic device 101 may be connected with the first external electronic device 102 and the second external electronic device 104 without using the communication interface 160. For example, based on at least one of a magnetic sensor, a contact sensor, a light sensor, and the like that is equipped in the electronic device 101, the electronic device 101 may sense whether at least one of the first and second external electronic devices 102 and 104 is contacted with at least part of the electronic device 101, or whether at least one of the first and second external electronic device 102 and 104, respectively, is attached to at least part of the electronic device 101.


Wireless communication may use, as cellular communication protocol, at least one of long-term evolution (LTE), LTE advance (LTE-A), code division multiple access (CDMA), wideband CDMA (WCDMA), universal mobile telecommunications system (UMTS), wireless broadband (WiBRO), global system for mobile communications (GSM), and the like, for example. A short-range communication 163 may include, for example, at least one of Wi-Fi, Bluetooth, near field communication (NFC), magnetic secure transmission or near field magnetic data stripe transmission (MST), and global navigation satellite system (GNSS), and the like. The GNSS may include at least one of, for example, a global positioning system (GPS), a global navigation satellite system (Glonass), a Beidou navigation satellite system (hereinafter, referred to as “Beidou”), and Galileo (european global satellite-based navigation system). Hereinafter, the “GPS” may be interchangeably used with the “GNSS” in the present disclosure. Wired communication may include, for example, at least one of universal serial bus (USB), high definition multimedia interface (HDMI), recommended standard-232 (RS-232), plain old telephone service (POTS), and the like. The network 162 may include telecommunication network, for example, at least one of a computer network (e.g., LAN or WAN), internet, and a telephone network.


The first and second external electronic devices 102 and 104 may be identical to, or different from, the electronic device 101. According to an embodiment, the first and second external electronic devices 102 and 104 may include, for example, a plurality of electronic devices. According to an embodiment, the server 106 may include a single server or a group of servers. According to various embodiments, all or part of operations executed in the electronic device 101 may be executed in other electronic device(s), such as the first and second electronic devices 102 and 104 or the server 106.


According to an embodiment, in case the electronic device 101 is required to perform a certain function or service automatically or by request, the electronic device 101 may request another device (e.g., the electronic device 102 or 104 or the server 106) to execute instead, or additionally at least part, of at least one or more functions associated with the required function or service. The requested device may execute the requested function and deliver the result of execution to the electronic device 101. Then, the electronic device 101 may offer the required function or service, based on the received result or by processing the received result. For the above, cloud computing technology, distributed computing technology, or client-server computing technology may be used, for example.


The camera 170 is a device capable of obtaining still images and moving images. According to an embodiment, the camera 170 may include at least one image sensor (e.g., a front sensor or a rear sensor), a lens, an image signal processor (ISP), or a flash (e.g., LED, xenon lamp, etc.).


The power management 180 may manage electric power of the electronic device 101. According to an embodiment, the power management 180 may include a power management integrated circuit (PMIC), a charger integrated circuit (IC), or a battery or fuel gauge. For example, when the power of the electronic device 101 is turned on, the power management 180 (e.g., the PMIC) may supply electric power of the battery to other elements (e.g., the processor 120). Also, the power management 180 may receive a command from the processor 120 and manage the supply of power in response to the command. For example, in response to a command received from the processor 120, the power management 180 may supply electric power to the display 140, the camera 170, and the like. Meanwhile, the PMIC may have a wired and/or wireless charging type. The wireless charging type may include, for example, a magnetic resonance type, a magnetic induction type, or an electromagnetic type. An additional circuit for wireless charging may be further used such as a coil loop, a resonance circuit, or a rectifier. The battery gauge may measure the residual amount of the battery and a voltage, current or temperature in a charging process. The battery may include, for example, a rechargeable battery and/or a solar battery.



FIG. 2 illustrates an example configuration of an electronic device 201 according to various embodiments. For example, the electronic device 201 is capable of including part or all of the components in the electronic device 101 shown in FIG. 1. The electronic device 201 is capable of including one or more processors 210 (e.g., application processors (APs)), a communication interface 220, a subscriber identification module (SIM) 224, a memory 230, a sensor 240, an input device 250, a display 260, an interface 270, an audio 280, a camera 291, a power management 295, a battery 296, an indicator 297, and a motor 298.


The processor 210 is capable of driving, for example, an operating system or an application program to control a plurality of hardware or software components connected to the processor 210, processing various data, and performing operations. The processor 210 may be implemented as, for example, a system on chip (SoC). According to an embodiment, the processor 210 may further include a graphic processing unit (GPU) and/or an image signal processor. The processor 210 may also include at least part of the components shown in FIG. 2, e.g., a cellular interface 221. The processor 210 is capable of loading commands or data received from at least one of other components (e.g., a non-volatile memory) on a volatile memory, processing the loaded commands or data. The processor 210 is capable of storing various data in a non-volatile memory.


The communication interface 220 may include the same or similar configurations as the communication interface 160 shown in FIG. 1. For example, the communication interface 220 is capable of including a cellular interface 221, WiFi interface 223, Bluetooth (BT) interface 225, GNSS interface 226 (e.g., a GPS interface, Glonass interface, Beidou interface or Galileo interface), NFC interface 227, and Radio Frequency (RF) interface 229.


The cellular interface 221 is capable of providing a voice call, a video call, an SMS service, an Internet service, etc., through a communication network, for example. According to an embodiment, the cellular interface 221 is capable of identifying and authenticating an electronic device 201 in a communication network by using a subscriber identification module (SIM) 224 (e.g., a SIM card). According to an embodiment, the cellular interface 221 is capable of performing at least part of the functions provided by the processor 210. According to an embodiment, the cellular interface 221 is also capable of including a communication processor (CP).


Each of the WiFi interface 223, the BT interface 225, the GNSS interface 226, and the NFC interface 227 is capable of including a processor for processing data transmitted or received through the corresponding interface. MST interface is capable of including a processor for processing data transmitted or received through the corresponding interface. According to embodiments, at least part of the cellular interface 221, WiFi interface 223, BT interface 225, GNSS interface 226, NFC interface 227, and MST interface (e.g., two or more interfaces) may be included in one integrated chip (IC) or one IC package.


The RF interface 229 is capable of transmission/reception of communication signals, e.g., RF signals. The RF interface 229 is capable of including a transceiver, a power amp module (PAM), a frequency filter, a low noise amplifier (LNA), an antenna, etc. According to another embodiment, at least one of the following interfaces: a cellular interface 221, a WiFi interface 223, a BT interface 225, a GNSS interface 226, an NFC interface 227, and an MST interface is capable of transmission/reception of RF signals through a separate RF interface.


The SIM interface 224 is capable of including a card including a subscriber identification module (SIM) and/or an embodied SIM. The SIM module 224 is also capable of containing unique identification information, e.g., integrated circuit card identifier (ICCID), or subscriber information, e.g., international mobile subscriber identity (IMSI).


The memory 230 (e.g., memory 130 shown in FIG. 1) is capable of including a built-in memory 232 or an external memory 234. The built-in memory 232 is capable of including at least one of the following: a volatile memory, e.g., a dynamic RAM (DRAM), a static RAM (SRAM), a synchronous dynamic RAM (SDRAM), etc.; and a non-volatile memory, e.g., a one-time programmable ROM (OTPROM), a programmable ROM (PROM), an erasable and programmable ROM (EPROM), an electrically erasable and programmable ROM (EEPROM), a mask ROM, a flash ROM, a flash memory (e.g., a NAND flash memory, an NOR flash memory, etc.), a hard drive, a solid state drive (SSD), etc.


The external memory 234 is also capable of including a flash drive, e.g., a compact flash (CF), a secure digital (SD), a micro secure digital (Micro-SD), a mini secure digital (Mini-SD), an extreme digital (xD), a multi-media card (MMC), a memory stick, etc. The external memory 234 is capable of being connected to the electronic device 201, functionally and/or physically, through various interfaces.


The memory 230 is capable of storing payment information and a payment application serving as one of the application programs 24D. The payment information may refer to credit card numbers and PINs, corresponding to a credit card. The payment information may also include user authentication information, e.g., fingerprints, facial features, voice information, etc.


When the payment application is executed by the processor 210, it may enable the processor 210 to perform: an interaction with the user to make payment (e.g., displaying a screen to select a card (or a card image) and obtaining information (e.g., a card number) corresponding to a selected card (e.g., a pre-specified card) from payment information); and an operation to control magnetic field communication (e.g., transmitting the card information to an external device (e.g., a card reading apparatus) through the NFC interface 227 or MST interface). The following description provides detailed embodiments with operations of the components described above, referring to FIG. 2C to FIG. 27.


The sensor 240 is capable of measuring/detecting a physical quantity or an operation state of the electronic device 201, and converting the measured or detected information into an electronic signal. The sensor 240 is capable of including at least one of the following: a gesture sensor 240A, a gyro sensor 240B, an atmospheric pressure sensor 240C, a magnetic sensor 240D, an acceleration sensor 240E, a grip sensor 240F, a proximity sensor 240G, a color sensor 240H (e.g., a red, green and blue (RGB) sensor), a biometric sensor 240I, a temperature/humidity sensor 240J, an illuminance sensor 240K, and a ultraviolet (UV) sensor 240M. Additionally or alternatively, the sensor 240 is capable of further including an E-nose sensor, an electromyography (EMG) sensor, an electroencephalogram (EEG) sensor, an electrocardiogram (ECG) sensor, an infrared (IR) sensor, an iris sensor and/or a fingerprint sensor. The sensor 240 is capable of further including a control circuit for controlling one or more sensors included therein. In embodiments, the electronic device 201 is capable of including a processor, configured as part of the processor 210 or a separate component, for controlling the sensor 240. In this case, while the processor 210 is operating in sleep mode, the processor is capable of controlling the sensor 240.


The input unit 250 may include, for example, a touch panel 252, a digital pen sensor 254, a key 256, or an ultrasonic input unit 258. The touch panel 252 may use, for example, at least one of a capacitive type, a resistive type, an infrared type, and an ultrasonic type. Also, the touch panel 252 may further include a control circuit. The touch panel 252 may further include a tactile layer to offer a tactile feedback to a user. According to an embodiment, the touch panel 252 may include a pressure sensor (or a force sensor) capable of measuring the strength or pressure of a user's touch. This pressure sensor may be formed integrally with or separately from the touch panel 252.


The digital pen sensor 254 may be a part of the touch panel or include a separate sheet for recognition. The key 256 may include, for example, a physical button, an optical key, or a keypad. The ultrasonic input unit 258 may detect ultrasonic waves occurring at an input tool through a microphone (e.g., 288) and thereby identify data corresponding to the detected ultrasonic waves.


The display 260 is capable of including a panel 262, a hologram unit 264, or a projector 266. The panel 262 may include the same or similar configurations as the display 150 shown in FIG. 1. The panel 262 may be implemented to be flexible, transparent, or wearable. The panel 262 may also be incorporated into one circuit together with the touch panel 252. The hologram unit 264 is capable of showing a stereoscopic image in the air by using light interference. The projector 266 is capable of displaying an image by projecting light onto a screen. The screen may be located inside or outside of the electronic device 201. According to an embodiment, the display 260 may further include a control circuit for controlling the panel 262, the hologram unit 264, or the projector 266.


The interface 270 is capable of including a high-definition multimedia interface (HDMI) 272, a universal serial bus (USB) 274, an optical interface 276, or a D-subminiature (D-sub) 278. The interface 270 may be included in the communication interface 160 shown in FIG. 1. Additionally or alternatively, the interface 270 is capable of including a mobile high-definition link (MHL) interface, a secure digital (SD) card/multimedia card (MMC) interface, or an infrared data association (IrDA) standard interface.


The audio 280 is capable of providing bidirectional conversion between a sound and an electronic signal. At least part of the components in the audio 280 may be included in the input/output interface 140 shown in FIG. 1. The audio 280 is capable of processing sound information input or output through a speaker 282, a receiver 284, earphones 286, microphone 288, etc.


The camera 291 refers to a device capable of taking both still and moving images. According to an embodiment, the camera 291 is capable of including one or more image sensors (e.g., a front image sensor or a rear image sensor), a lens, an image signal processor (ISP), a flash (e.g., an LED or xenon lamp), etc.


The power management 295 is capable of managing power of the electronic device 201. According to an embodiment, the power management 295 is capable of including a power management integrated circuit (PMIC), a charger IC, or a battery or fuel gauge. The PMIC may employ wired charging and/or wireless charging methods. Examples of the wireless charging method are magnetic resonance charging, magnetic induction charging, and electromagnetic charging. To this end, the PMIC may further include an additional circuit for wireless charging, such as a coil loop, a resonance circuit, a rectifier, etc. The battery gauge is capable of measuring the residual capacity, charge in voltage, current, or temperature of the battery 296. The battery 296 takes the form of either a rechargeable battery or a solar battery.


The indicator 297 is capable of displaying a specific status of the electronic device 201 or a part thereof (e.g., the processor 210), e.g., a boot-up status, a message status, a charging status, etc. The motor 298 is capable of converting an electrical signal into mechanical vibrations, such as, a vibration effect, a haptic effect, etc. Although not shown, the electronic device 201 is capable of further including a processing unit (e.g., GPU) for supporting a mobile TV. The processing unit for supporting a mobile TV is capable of processing media data pursuant to standards, e.g., digital multimedia broadcasting (DMB), digital video broadcasting (DVB), or mediaFlo™, etc.


Each of the elements described in the present disclosure may be formed with one or more components, and the names of the corresponding elements may vary according to the type of the electronic device. In various embodiments, the electronic device may include at least one of the above described elements described in the present disclosure, and may exclude some of the elements or further include other additional elements. Further, some of the elements of the electronic device according to various embodiments may be coupled to form a single entity while performing the same functions as those of the corresponding elements before the coupling.



FIG. 3 illustrates an example programming module according to various embodiments. According to an embodiment, the program module 310 (e.g., programs 131-134 shown in FIG. 1) is capable of including an operation system (OS) for controlling resources related to the electronic device (e.g., electronic device 11) and/or various applications (e.g., application programs 134 shown in FIG. 1) running on the OS. The OS may be Android, iOS, Windows, Symbian, Tizen, Bada, etc.


The program module 310 is capable of including a kernel 320, middleware 330, application programming interface (API) 360 and/or applications 370. At least part of the program module 310 may be preloaded on the electronic device or downloaded from a server (e.g., an electronic device 102 or 104, server 106, etc.).


The kernel 320 (for example, kernel 14A) may include a system resource manager 321 and/or a device driver 323. The system resource manager 321 may include, for example, a process manager, a memory manager, and a file system manager. The system resource manager 321 may perform a system resource control, allocation, and recall. The device driver 323 may include, for example, a display driver, a camera driver, a Bluetooth driver, a shared memory driver, a USB driver, a keypad driver, a WiFi driver, and an audio driver. Further, according to an embodiment, the device driver 312 may include an inter-process communication (IPC) driver.


The middleware 330 may provide a function required in common by the applications 370. Further, the middleware 330 may provide a function through the API 360 to allow the applications 370 to efficiently use limited system resources within the electronic device. According to an embodiment, the middleware 330 (for example, the middleware 14B) may include at least one of a runtime library 335, an application manager 341, a window manager 342, a multimedia manager 343, a resource manager 344, a power manager 345, a database manager 346, a package manager 347, a connection manager 348, a notification manager 349, a location manager 350, a graphic manager 351, and a security manager 352.


The runtime library 335 may include, for example, a library module used by a complier to add a new function through a programming language while the applications 370 are executed. According to an embodiment, the runtime library 335 executes input and output, management of a memory, a function associated with an arithmetic function and the like.


The application manager 341 may manage, for example, a life cycle of at least one of the applications 370. The window manager 342 may manage GUI resources used on the screen. The multimedia manager 343 may detect a format required for reproducing various media files and perform an encoding or a decoding of a media file by using a codec suitable for the corresponding format. The resource manager 344 manages resources such as a source code, a memory, or a storage space of at least one of the applications 370.


The power manager 345 may operate together with a basic input/output system (BIOS) to manage a battery or power and provides power information required for the operation. The database manager 346 may manage generation, search, and change of a database to be used by at least one of the applications 370. The package manager 347 may manage an installation or an update of an application distributed in a form of a package file.


The connection manager 348 may manage, for example, a wireless connection such as WiFi or Bluetooth. The notification manager 349 may display or notify a user of an event such as an arrival message, an appointment, a proximity alarm or the like, in a manner that does not disturb the user. The location manager 350 may manage location information of the electronic device. The graphic manager 351 may manage a graphic effect provided to the user or a user interface related to the graphic effect. The security manager 352 provides a general security function required for a system security or a user authentication. According to an embodiment, when the electronic device (for example, the electronic device 11) has a call function, the middleware 330 may further include a telephony manager for managing a voice of the electronic device or a video call function.


The middleware 330 is capable of including modules configuring various combinations of functions of the above described components. The middleware 330 is capable of providing modules specialized according to types of operation systems to provide distinct functions. The middleware 330 may be adaptively configured in such a way as to remove part of the existing components or to include new components.


The API 360 (for example, API 133) may be a set of API programming functions, and may be provided with a different configuration according to an operating system. For example, in Android or iOS, a single API set may be provided for each platform. In Tizen, two or more API sets may be provided.


The applications 370 (e.g., application programs 14D) may include one or more applications for performing various functions, e.g., home 371, diary 372, SMS/MMS 373, instant message (IM) 374, browser 375, camera 376, alarm 377, context 378, voice dial 379, email 380, calendar 381, media player 382, album 383, clock 384, health care (e.g., an application for measuring amount of exercise, blood sugar level, etc.), and environment information (e.g., an application for providing atmospheric pressure, humidity, temperature, etc.).


According to an embodiment, the applications 370 are capable of including an application for supporting information exchange between an electronic device (e.g., electronic device 31) and an external device (e.g., electronic devices 32 and 34), which is hereafter called ‘information exchange application’). The information exchange application is capable of including a notification relay application for relaying specific information to external devices or a device management application for managing external devices.


For example, the notification relay application is capable of including a function for relaying notification information, created in other applications of the electronic device (e.g., SMS/MMS application, email application, health care application, environment information application, etc.) to external devices (e.g., electronic devices 32 and 34). In addition, the notification relay application is capable of receiving notification information from external devices to provide the received information to the user.


The device management application is capable of managing (e.g., installing, removing or updating) at least one function of an external device (e.g., electronic devices 32 and 34) communicating with the electronic device. Examples of the function are a function of turning-on/off the external device or part of the external device, a function of controlling the brightness (or resolution) of the display, applications running on the external device, services provided by the external device, etc. Examples of the services are a call service, messaging service, etc.


According to an embodiment, the applications 370 are capable of including an application (e.g., a health care application of a mobile medical device, etc.) specified attributes of an external device (e.g., electronic devices 102 and 104). According to an embodiment, the applications 370 are capable of including applications received from an external device (e.g., a server 106, electronic devices 102 and 104). According to an embodiment, the applications 370 are capable of including a preloaded application or third party applications that can be downloaded from a server. It should be understood that the components of the program module 310 may be called different names according to types of operating systems.


According to various embodiments, at least part of the program module 310 can be implemented with software, firmware, hardware, or any combination of two or more of them. At least part of the program module 310 can be implemented (e.g., executed) by a processor (e.g., processor 120). At least part of the programing module 310 may include modules, programs, routines, sets of instructions or processes, etc., in order to perform one or more functions.


Various embodiments of the present invention provide a handheld electronic device capable of transmitting, to a card reading apparatus, card information carried by magnetic field signals, and thus making payment for costs. Various embodiments also provide a handheld electronic device capable of making payment for costs, etc., through communication with a card reading apparatus, although the apparatus is not equipped with an NFC interface, without modifying the existing solution, as if a magnetic card is used against the apparatus. Therefore, the present invention is capable of leading to activating offline mobile payment.


The term ‘module’ as used in various embodiments of the present disclosure may mean a unit including one of hardware, software, and firmware or any combination of two or more of them. The ‘module’ may be interchangeable with the term ‘unit,’ ‘logic,’ ‘logical block,’ ‘component,’ or ‘circuit.’ The ‘module’ may be the smallest unit of an integrated component or a part thereof. The ‘module’ may be the smallest unit that performs one or more functions or a part thereof. The ‘module’ may be mechanically or electronically implemented. For example, the ‘module’ according to various embodiments of the present invention may include at least one of the following: application-specific integrated circuit (ASIC) chips, field-programmable gate arrays (FPGAs), and programmable-logic devices for performing certain operations, which are now known or will be developed in the future.


At least part of the method (e.g., operations) or system (e.g., modules or functions) according to various embodiments can be implemented with instructions as programming modules that are stored in computer-readable storage media. One or more processors (e.g., processor 120) can execute instructions, thereby performing the functions. An example of the computer-readable storage media may be a memory 130. At least part of the programming modules can be implemented (executed) by a processor. At least part of the programing module may include modules, programs, routines, sets of instructions or processes, etc., in order to perform one or more functions.


Examples of computer-readable media include: magnetic media, such as hard disks, floppy disks, and magnetic tape; optical media such as compact disc read only memory (CD-ROM) disks and digital versatile disc (DVD); magneto-optical media, such as floptical disks; and hardware devices that are specially configured to store and perform program instructions (e.g., programming modules), such as read-only memory (ROM), random access memory (RAM), flash memory, etc. Examples of program instructions include machine code instructions created by assembly languages, such as a compiler, and code instructions created by a high-level programming language executable in computers using an interpreter, etc. The described hardware devices may be configured to act as one or more software modules in order to perform the operations and methods described above, or vice versa.


Modules or programming modules according to various embodiments may include one or more components, remove part of them described above, or include new components. The operations performed by modules, programming modules, or the other components, according to various embodiments, may be executed in serial, parallel, repetitive or heuristic fashion. Part of the operations can be executed in any other order, skipped, or executed with additional operations.


The embodiments described in the present disclosure are merely provided to assist in a comprehensive understanding of the invention and the technology thereof and are not suggestive of limitation. Although embodiments of the invention have been described in detail above, it should be understood that many variations and modifications of the basic inventive concept herein described, which may be apparent to those skilled in the art, will still fall within the spirit and scope of the embodiments of the invention as defined in the appended claims.


An electronic device according to various embodiments of this invention may include a processor and a communication interface that supports a short range wireless communication. The processor may be configured to obtain a signal strength for each of plurality of external electronic devices through the short range wireless communication by using the communication interface; select first and second external electronic devices satisfying designated signal strength from among the plurality of external electronic devices, based on the signal strength; receive first network information corresponding to the first external electronic device and second network information corresponding to the second external electronic device through the short range wireless communication by using the communication interface; determine a first data traffic rate of the first external electronic device, based on the first network information, and also determine a second data traffic rate of the second external electronic device, based on the second network information; select one of the first and second external electronic devices, based on at least one of the first and second data traffic rates; and communicate data with the selected external electronic device through the short range wireless communication.


The processor may compare the first data traffic rate with the second data traffic rate and then select an external electronic device including a greater data traffic rate. Also, the processor may randomly select one of the first and second data traffic rates and then select an external electronic device corresponding to the selected rate. Also, the processor may select the first external electronic device when the first data traffic rate is greater than a predetermined value. Similarly, the processor may select the second external electronic device when the second data traffic rate is greater than the predetermined value. If both rates are greater than the predetermined value, the processor may select an external electronic device based on another rule (e.g., signal strength).


Each of the first network information and the second network information may contain wireless local area network (WLAN) specification information or bandwidth information. In this case, the processor may determine a corresponding data traffic rate between the first and second data traffic rates, based on the WLAN specification information or the bandwidth information.


The processor may receive antenna information about each of the first and second external electronic devices and then adjust, as a part of the determining operation, a corresponding data traffic rate between the first and second data traffic rates, based on the received antenna information.


The processor may adjust, as a part of the determining operation, a corresponding data traffic rate between the first and second data traffic rates, based on the signal strength for each of the first and second external electronic devices.


The electronic device may further include a second communication interface. In this case, the processor may adjust a corresponding data traffic rate between the first and second data traffic rates, based on whether the second communication interface is activated.


Each of the first network information and the second network information may contain information about a degree of utilization. In this case, the processor may adjust a corresponding data traffic rate between the first and second data traffic rates, based on the information about a degree of utilization.


Each of the first network information and the second network information may contain information about a degree of utilization. In this case, the processor may perform the selecting operation, further based on the information about a degree of utilization.


An electronic device according to various embodiments of this invention may include a processor and a communication interface that supports a short range wireless communication. The processor may be configured to receive first network information corresponding to a first external electronic device and second network information corresponding to a second external electronic device through the short range wireless communication by using the communication interface; to determine a first data traffic rate of the first external electronic device, based on the first network information, and also determine a second data traffic rate of the second external electronic device, based on the second network information; to select one of the first and second external electronic devices, based on at least one of the first and second data traffic rates; and to communicate data with the selected external electronic device through the short range wireless communication.


The processor may obtain a first signal strength corresponding to the first external electronic device and a second signal strength corresponding to the second external electronic device by using the communication interface; determine a first attenuation factor corresponding to the first external electronic device, based on the first signal strength, and also determine a second attenuation factor corresponding to the second external electronic device, based on the second signal strength; and adjust, as a part of the determining operation, a corresponding data traffic rate between the first and second data traffic rates by using a corresponding attenuation factor between the first and second attenuation factors.



FIG. 4 illustrates an example method for selecting an access point in a wireless network according to various embodiments of the present invention.


Referring to FIG. 4, at operation 410, the electronic device 101 (e.g., the processor 120) may receive network information (e.g., a beacon frame) of the access point (AP) (e.g., the electronic device 102) through the communication interface 160 (e.g., the WiFi interface 323). The beacon frame of IEEE 802.11 may contain tag information associated with a mode (in other words, a standard or a version) of WiFi which is supportable at the AP. For example, the tag information may include at least one of an extended supported rate, a high throughput capability (HTC), and a very high throughput capability (VHTC). According to various embodiments, an operation of selecting an AP that satisfies the designated signal strength may be performed before the operation 410. For example, the electronic device 101 (e.g., the processor 120) may obtain the signal strength of each AP, select an AP satisfying the designated signal strength from among the APs on the basis of the obtained signal strength, and receive network information from the selected AP.


At operation 420, the electronic device 101 (e.g., the processor 120) may determine a data traffic rate of the AP by using the received network information, e.g., tag information associated with a WiFi mode. For example, the processor 120 may determine a WiFi mode of the AP, based on the tag information (e.g., data traffic rate information and bandwidth information of a communication channel). The processor 120 may set the data traffic rate, based on whether the communication interface 160 of the electronic device 101 supports multi input multi output (MIMO), and based on the determined WiFi mode. Depending on the WiFi mode and whether MIMO is supportable, the data traffic rate may be determined as shown in Table 1.











TABLE 1






MIMO
SISO


Mode
Max Data Rate (Mbps)
Max Data Rate (Mbps)

















802.11b
6
6


802.11g
23
23


802.11a
24
24


802.11n HT20
90
45


802.11n HT40
184
92


802.11ac HT20
120
60


802.11ac HT40
278
139


802.11ac HT80
600
300









The electronic device 101 (e.g., the processor 120) may also determine the data traffic rate, based on the signal strength information. For example, the processor 120 may calculate the signal strength (e.g., RSSI) of a beacon frame received from the AP and then, if a value of the calculated signal strength is smaller than a predetermined critical value (e.g., −70 dBm), may set the data traffic rate to the lowest value, e.g., ‘1’, regardless of a WiFi mode and whether MIMO is supportable. The reason of setting the data traffic rate to ‘1’ may be for excluding the AP from selection.


At operation 430, the electronic device 101 (e.g., the processor 120) may adjust the data traffic rate, based on at least one of the signal strength of a beacon frame, whether another short range communication interface is activated, and a degree of utilization of the AP. For example, the electronic device 101 (e.g., the processor 120) may determine an attenuation factor so as to adjust the data traffic rate.


For example, the electronic device 101 (e.g., the processor 120) may determine the first attenuation factor (RSSI attenuation factor) for each WiFi mode, based on the signal strength (e.g., RSSI). Depending on the WiFi mode and the signal strength, the first attenuation factor may be determined as shown in Table 2. As shown in Table 2, the size of the attenuation factor may be in inverse proportion to the size of RSSI. Namely, as the signal strength is weaker, a supportable data traffic rate of the AP for the electronic device 102 in the wireless network environment may be lowered. Additionally, regardless of the WiFi mode, the attenuation factor may be determined as “(100+RSSI)/30.0” when RSSI is equal to or smaller than a predetermined minimum value (e.g., −71 dBm).













TABLE 2







Mode
RSSI (dBm)
Attenuation Factor




















802.11b
RSSI > −60
1.0



802.11g
RSSI > −71
0.9



802.11a
RSSI > −65
1.0




RSSI > −68
0.87




RSSI > −71
0.78



802.11n HT20, 2 GHz
RSSI > −60
1.0




RSSI > −71
0.9



802.11n HT20, 5 GHz
RSSI > −65
1.0




RSSI > −68
0.87




RSSI > −71
0.78



802.11n HT40
RSSI > −61
1.0




RSSI > −66
0.76




RSSI > −71
0.60



802.11ac HT20
RSSI > −65
1.0




RSSI > −68
0.87




RSSI > −71
0.78



802.11ac HT40
RSSI > −52
1.00



802.11ac HT80
RSSI > −59
0.75




RSSI > −68
0.54




RSSI > −71
0.46




RSSI ≦ −71
(100 + RSSI)/30.0










In case another short range communication interface is used, a supportable data traffic rate of the AP for the electronic device 101 in the WiFi network environment may be lowered. Further, in case a frequency band of a WiFi interface is proximate to that of another short range communication interface, a supportable data traffic rate of the AP for the electronic device 101 in the WiFi network environment may be lowered. Therefore, when another short range communication interface (e.g., the BT interface 225) is used, the processor 120 may differently set the attenuation factor depending on the frequency band of the AP. For example, in a state where the BT interface 225 that supports 2.4 GHz is used, the second attenuation factor (BT attenuation factor) may be set to the first value (e.g., 0.9) smaller than ‘1’ when the AP supports 5 GHz, and may be set to the second value (e.g., 0.3) smaller than the first value when the AP supports 2 GHz. If the BT interface 225 is not used, the second attenuation factor may be set to ‘1’ regardless of the frequency band of the AP.


The beacon frame received from the AP may contain information indicating a degree of utilization of the AP. For example, the beacon frame received from an AP that supports 802.11 k may contain tag information named as “QBSS load element” in which a value named as “CU (Channel Utilization)” may be contained.


The range of CU may be from 0 to 255, in which such numerals may indicate a degree of utilizing a communication channel at the AP. For example, as the numeral is higher, the communication channel may be in a busier state. Alternatively, as the numeral is lower, the communication channel may be in a busier state. According as the numeral is higher (or lower), a supportable data traffic rate of the communication channel for the electronic device 101 may be lowered.


Therefore, the electronic device 101 (e.g., the processor 120) may differently set the attenuation factor depending on such a degree of utilization. For example, if a higher CU means a busier state of the communication channel, the processor 120 may set the third attenuation factor (CU attenuation factor) to ‘1’ when the numeral of CU is smaller than 200, and set the third attenuation factor to the first value smaller than ‘1’ when the numeral of CU is equal to or greater than 200. The first value (cu_factor) may be calculated using the following Equation 1:





cu_factor=−1.0/(max-knee)*cu+max/(max-knee)   (1)


where max is 255, knee is 200, and cu is a value of channel utilization.


By multiplying the attenuation factor (e.g., the first, second, and third attenuation factors) and the data traffic rate, the electronic device 101 (e.g., the processor 120) may estimate (calculate) the data traffic rate which is actually supportable by the AP in the wireless network environment. The processor 120 may store (e.g., as shown in Table 3) mode information, a RSSI, an attenuation factor, a maximum rate, and an estimate data rate (EDR). Additionally, the processor 120 may classify APs into various groups (e.g., as shown in Table 4), based on EDR.













TABLE 3







RSSI Attenuation
Max Rate
EDR


Mode
RSSI
Factor
(Mbps)
(Mbps)




















11ac
VHT80
−52
1
600
600




−59
0.75

450




−68
0.54

324




−71
0.46

276




Else
(100 + RSSI)/30
1
[0, 1]



VHT40
−52
1
278
278




−59
0.75

209




−68
0.54

150




−71
0.46

128




Else
(100 + RSSI)/30
1
[0, 1]



VHT20
−65
1
120
120




−68
0.87

104




−71
0.78

94




Else
(100 + RSSI)/30
1
[0, 1]


11n
HT40
−61
1
184
184




−66
0.76

140




−71
0.6

110




Else
(100 + RSSI)/30
1
[0, 1]



HT20(5 GHz)
−65
1
90
90




−68
0.87

78




−71
0.78

70




Else
(100 + RSSI)/30
1
[0, 1]



HT20(2 GHz)
−60
1
90
90




−71
0.9

81




Else
(100 + RSSI)/30
1
[0, 1]











11a
−65
1
24
24












−68
0.87

21



−71
0.78

19



Else
(100 + RSSI)/30
1
[0, 1]











11b
−60
1
23
23












−71
0.9

21



Else
(100 + RSSI)/30
1
[0, 1]











11g
−60
1
6
6












−71
0.9

5



Else
(100 + RSSI)/30
1
[0, 1]




















TABLE 4







Group
EDR









Group 1
276~600



Group 2
 94~209



Group 3
70~90



Group 4
19~24



Group 5
5~6



Group 6
0~1










At operation 440, the electronic device 101 (e.g., the processor 120) may select an AP, based on the data traffic rate. For example, the electronic device 101 may select a specific AP including the highest EDR from among APs (e.g., in Group 1). If there is no AP belonging to Group 1, the AP may be selected in another group. The processor 120 may perform a connection with the selected AP.


At operation 450, the electronic device 101 (e.g., the processor 120) may perform data communication with the connected AP.



FIGS. 5A and 5B illustrate an example method for selecting an access point according to various embodiments of the present invention.


At operation 501, the electronic device 101 (e.g., the processor 120) may scan an AP including the highest EDR from among APs.


At operation 502, the electronic device 101 (e.g., the processor 120) may determine whether there are two or more APs including the highest EDR.


If it is determined at the operation 502 that there are two or more APs (EDR_max_APs) including the highest EDR, the processor 120 may further determine at operation 503 whether there is an AP offering “information indicating the number of connected devices” from among EDR_max_APs. The beacon frame received from an AP may contain information indicating the number of devices connected to the AP. For example, the beacon frame received from a certain AP that supports 802.11 k may contain tag information named as “QBSS load element”, which may contain a value named as “station count (SC)”. Namely, SC may mean the number of electronic devices connected to a corresponding communication channel of the AP.


If it is determined at the operation 503 that there is an AP (SC_AP) offering “information indicating the number of connected devices”, the electronic device 101 (e.g., the processor 120) may preferentially select at operation 504 a SC-AP including the smallest number of connected devices from among SC_APs. Therefore, various embodiments of this invention may prevent a concentrated connection of many electronic devices to a single AP.


If it is determined at the operation 503 that there is no SC_AP, the electronic device 101 (e.g., the processor 120) may randomly select one of EDR_max_APs at operation 505.


If it is determined at the operation 502 that there is a single EDR_max_AP, the electronic device 101 (e.g., the processor 120) may further determine at operation 506 whether the EDR_max_AP offers “information indicating the number of connected devices”.


If it is determined at the operation 506 that the EDR_max_AP offers “information indicating the number of connected devices”, the electronic device 101 (e.g., the processor 120) may further determine at operation 507 whether the number of devices connected to the AP is equal to or greater than a predetermined critical value.


If it is determined at the operation 507 that the number of devices connected to the EDR_max_AP is equal to or greater than the critical value (e.g., 150), the electronic device 101 (e.g., the processor 120) may further determine at operation 508 whether there is any other AP in the same group as the EDR_max_AP.


If it is determined at the operation 508 that there is any other AP in the same group, the electronic device 101 (e.g., the processor 120) may preferentially select at operation 509 an AP including the smallest number of connected devices from among such APs. For example, if a certain AP among APs of group 1 has a SC value greater than a critical value even though including the highest EDR, this EDR_max_AP is excluded from selection and an AP including the lowest SC value may be selected from among the rest APs of group 1.


If it is determined at the operation 508 that there is no other AP in the same group, the electronic device 101 (e.g., the processor 120) may randomly select at operation 510 one of APs belonging to a certain group (e.g., a one-level lower group) other than the group of the EDR_max_AP.


If it is determined at the operation 507 that the number of devices connected to the EDR_max_AP is smaller than a critical value (e.g., 150), the electronic device 101 (e.g., the processor 120) may select at operation 511 the EDR_max_AP as an AP to be connected.


If it is determined at the operation 506 that the EDR_max_AP fails to offer “information indicating the number of connected devices”, the electronic device 101 (e.g., the processor 120) may determine at operation 512 whether there is any other AP in the same group.


If it is determined at operation 512 that there is any other AP in the same group, the electronic device 101 (e.g., the processor 120) may randomly select at operation 513 one of APs in the group.


If it is determined at the operation 512 that there is no other AP in the same group, the electronic device 101 (e.g., the processor 120) may select at operation 514 the EDR_max_AP as an AP to be connected.



FIGS. 6A, 6B, and 6C illustrate an example wireless network environment according to various embodiments of the present invention. As shown, the wireless network may include, for example, four APs and an electronic device 610 to be connected to one of them.


Referring to 6A, an AP1621, an AP2622, an AP3623 and an AP4624 may belong to the same group (e.g., group 2). Among these APs, the AP4624 including the lowest EDR may be excluded from selection. All of the AP1621, the AP2622 and the AP3623 have the same EDR ‘150’ and may support 802.11 k. Since the AP1621 has the lowest SC value “1”, the electronic device 610 may select the AP1621.


Referring to 6B, an AP1631, an AP2632 and an AP3633 may belong to the same group (e.g., group 2), whereas an AP4634 may belong to another group (e.g., group 3). The electronic device 610 may select an AP, to be connected, from among the AP1631, the AP2632 and the AP3633 in group 2 including a higher group rank. If all of the AP1631, the AP2632 and the AP3633 in group 2 can support 802.11 k, the electronic device 610 may select the AP1631 including the lowest SC value.


Referring to 6C, an AP1641 may belong to group 2, whereas an AP2642, an AP3643 and an AP4644 may belong to group 3. The electronic device 610 may select the AP1641 including a higher group rank and then be connected to the AP1641.



FIG. 7 illustrates an example user interface for offering network information of an access point according to various embodiments of the present invention.


The electronic device 101 (e.g., the processor 120) may receive network information (e.g., a beacon frame) of an access point (AP) (e.g., the electronic device 102) through the communication interface 160 (e.g., the WiFi interface 323). The electronic device 101 (e.g., the processor 120) may estimate EDR by using the network information and then store the estimated EDR together with the network information in the memory 130. Also, in response to a user's request for offering AP information through the I/O interface 140, the processor 120 may display the EDR together with the AP information (e.g., RSSI, WiFi mode, CU, SC, etc.) through the display 150. For example, referring to FIG. 7, the electronic device 101 may scan APs equally named as SSID “T wifi zone_secure”. The scanned APs may support a plurality of communication channels (e.g., 1, 5, 60, 100, and 116) (“A” in FIG. 7). A unique BSSID may be assigned to each communication channel. Thus, even though the communication channels have the same number (e.g., even though the communication channel of AP1 and the communication channel of AP2 have the same number), such communication channels may be distinguished from each other by means of BSSID. A user can recognize information about each BSSID through a screen as shown in FIG. 7. For example, in case of BSSID “0a:30:0d:81:fe:d2” (“B” in FIG. 7), the processor 120 may display a communication channel number (e.g., ch100), RSSI (e.g., ‘−59 db’), CU (e.g., cu:29), SC (e.g., 11), WiFi mode (e.g., (802).11 n_HT40), or EDR (e.g., 184.0) on the display 150.



FIG. 8 is a diagram illustrating a user interface for offering network information of an access point according to various embodiments of the present invention.


Referring to FIG. 8, the electronic device 101 may scan APs and display each SSID. The electronic device 101 may estimate EDRs with regard to the scanned APs by using, for example, the processor shown in FIG. 4. When estimation is completed, the electronic device 101 may display SSIDs in the descending order of EDR. Alternatively or additionally, the electronic device 101 may notify a user that an AP located at the top in a list 810 is a best AP (e.g., EDR_max_AP). For example, letters “BEST” 811 may be displayed together with an antenna-shaped image near the corresponding SSID. Therefore, a user can select, from among the scanned APs, a best AP estimated to offer a stable data service.


Also, the electronic device 101 may select one of APs as an AP to be connected. For example, an AP “T wifi zone_secure” including the highest EDR may be selected automatically (or in response to a user input). The electronic device 101 may perform a process of connecting with the selected AP “T wifi zone_secure”. When the connection is completed, the electronic device 101 may notify a user that the best AP is connected. For example, as shown, letters “BEST” 822 may be displayed together with an antenna-shaped image 821 representing the connected AP in an indicator region 820. Further, a popup message 812, “Connected to best AP”, may be displayed near the SSID of the corresponding AP. Additionally, a popup window 830 may be displayed.



FIG. 9 illustrates an example method for determining a WiFi mode of an access point according to various embodiments of the present invention. The method shown in FIG. 9 may be used for determining a WiFi mode in the process shown in FIG. 4. Also, the method shown in FIG. 9 may be performed for each BSSID of the scanned APs.


At operation 901, the electronic device 101 (e.g., the processor 120) may set initial values of variables ‘x’, ‘y’ and ‘z’. The variable ‘x’ may be used as a variable for distinguishing 802.11b from 802.11g in a communication channel that supports 2 GHz, and the initial value thereof may be set to ‘0’. The variable ‘y’ may be used as a variable for storing HTC information of an AP, and the initial value thereof may be set to ‘0’. The variable ‘z’ may be used as a variable for storing VHTC information of an AP, and the initial value thereof may be set to ‘0’.


At operation 902, the electronic device 101 (e.g., the processor 120) may determine whether there is an HTC tag in a beacon frame. If it is determined at the operation 902 that there is the HTC tag, the electronic device 101 (e.g., the processor 120) may further determine at operation 903 whether a value assigned to “HT support channel width” in the beacon frame is ‘1’. If it is determined at the operation 903 that the assigned value is ‘1’ (this may mean supporting channel bandwidths “20 MHz” and “40 MHz”), the electronic device 101 (e.g., the processor 120) may set the value of ‘y’ to ‘2’ at operation 904. If it is determined at the operation 903 that the assigned value is not ‘1’, the electronic device 101 (e.g., the processor 120) may set the value of ‘y’ to ‘1’ at operation 905.


At operation 906, the electronic device 101 (e.g., the processor 120) may determine whether there is a VHTC tag in the beacon frame. If it is determined at the operation 906 that there is the VHTC tag, the electronic device 101 (e.g., the processor 120) may further determine at operation 907 whether a value assigned to “channel width” of “VHT operation info” in the beacon frame is ‘1’. If it is determined at the operation 907 that the assigned value is ‘1’ (this means supporting a channel bandwidth “80 MHz”), the electronic device 101 (e.g., the processor 120) may set the value of ‘z’ to ‘2’ at operation 908. If it is determined at the operation 907 that the assigned value is not ‘1’, the electronic device 101 (e.g., the processor 120) may set the value of ‘z’ to ‘1’ at operation 909.


At operation 910, the electronic device 101 (e.g., the processor 120) may determine whether there is an “extended supported rate” tag in the beacon frame. If it is determined at the operation 910 that there is the “extended supported rate” tag, the electronic device 101 (e.g., the processor 120) may store, in the variable ‘x’, the maximum value from among values indicated as the extended supported rate at operation 911.


The first process including the operations 902 to 905, the second process including the operations 906 to 909, and the third process including the operations 910 to 911 may be performed simultaneously or sequentially.


At operation 912, the electronic device 101 (e.g., the processor 120) may determine whether a communication channel corresponding to BSSID of an AP has a frequency bandwidth of 2 GHz.


If it is determined at the operation 912 that the frequency bandwidth is 2 GHz, the electronic device 101 (e.g., the processor 120) may set, at operation 913, a WiFi mode of the 2 GHz communication channel, based on the values of ‘x’ and ‘y’. For example, the WiFi mode of the 2 GHz communication channel may be set as shown in Table 5.













TABLE 5







x
y
Mode










2
802.11n HT40




1
802.11n HT20



54
0
802.11g



Less than 54
0
802.11b










If it is determined at the operation 912 that the frequency bandwidth is not 2 GHz (namely, 5 GHz), the electronic device 101 (e.g., the processor 120) may set, at operation 914, a WiFi mode of the 5 GHz communication channel, based on the values of ‘y’ and ‘z’. For example, the WiFi mode of the 5 GHz communication channel may be set as shown in Table 6.













TABLE 6







y
z
Mode










2
802.11ac HT80



2
1
802.11ac HT40



1
1
802.11ac HT20



2
0
802.11n HT40



1
0
802.11n HT20



0
0
802.11a










According to various embodiments, in a storage medium which records thereon commands, these commands are, when executed by at least one processor, configured to cause the at least one processor to perform at least one operation. In an electronic device including a communication interface and a processor, the at least one operation may include operations of obtaining a signal strength for each of plurality of external electronic devices through a short range wireless communication by using the communication interface; selecting first and second external electronic devices satisfying designated signal strength from among the plurality of external electronic devices, based on the signal strength; receiving first network information corresponding to the first external electronic device and second network information corresponding to the second external electronic device through the short range wireless communication by using the communication interface; determining a first data traffic rate of the first external electronic device, based on the first network information, and also determine a second data traffic rate of the second external electronic device, based on the second network information; selecting one of the first and second external electronic devices, based on at least one of the first and second data traffic rates; and communicating data with the selected external electronic device through the short range wireless communication.


The term “module” used in this disclosure may refer to a certain unit that includes one of hardware, software and firmware or any combination thereof. The module may be interchangeably used with unit, logic, logical block, component, or circuit, for example. The module may be the minimum unit, or part thereof, which performs one or more particular functions. The module may be formed mechanically or electronically. For example, the module disclosed herein may include at least one of ASIC (Application-Specific Integrated Circuit) chip, FPGAs (Field-Programmable Gate Arrays), and programmable-logic device, which have been known or are to be developed.


At least part of the device (e.g., modules or functions thereof) or method (e.g., operations) according to various embodiments may be implemented as commands stored, e.g., in the form of program module, in a computer-readable storage medium. In case commands are executed by a processor, the processor may perform a particular function corresponding to that commands. The computer-readable storage medium may be, for example, the memory 130. According to various embodiments, at least a part of the programming module may be implemented in software, firmware, hardware, or a combination of two or more thereof. At least some of the program module may be implemented (e.g., executed) by, for example, the processor. At least some of the program module may include, for example, a module, a program, a routine, a set of instructions, and/or a process for performing one or more functions.


The non-transitory computer-readable recording medium may include magnetic media such as a hard disk, a floppy disk, and a magnetic tape, optical media such as a Compact Disc Read Only Memory (CD-ROM) and a Digital Versatile Disc (DVD), magneto-optical media such as a floptical disk, and hardware devices specially configured to store and perform a program instruction. In addition, the program instructions may include high class language codes, which can be executed in a computer by using an interpreter, as well as machine codes made by a compiler. The aforementioned hardware device may be configured to operate as one or more software modules in order to perform the operation of various embodiments of the present disclosure, and vice versa.


A module or programming module according to this disclosure may include or exclude at least one of the above-discussed elements or further include any other element. The operations performed by the module, programming module or any other element according to this disclosure may be executed sequentially, in parallel, repeatedly, or by a heuristic method. Additionally, some operations may be executed in different orders or omitted, or any other operation may be added.


Although the present disclosure has been described with an exemplary embodiment, various changes and modifications may be suggested to one skilled in the art. It is intended that the present disclosure encompass such changes and modifications as fall within the scope of the appended claims.

Claims
  • 1. An electronic device comprising: a communication interface supporting a short range wireless communication; anda processor configured to: obtain a signal strength for each of plurality of external electronic devices through the short range wireless communication using the communication interface;select first and second external electronic devices satisfying a designated signal strength from the plurality of external electronic devices based on the signal strength;receive first network information corresponding to the first external electronic device and second network information corresponding to the second external electronic device through the short range wireless communication using the communication interface;determine a first data traffic rate of the first external electronic device based on the first network information and determine a second data traffic rate of the second external electronic device based on the second network information;select at least one of the first or second external electronic devices based on at least one of the first or second data traffic rates; andcommunicate data with the selected external electronic device through the short range wireless communication.
  • 2. The electronic device of claim 1, wherein each of the first network information and the second network information contains at least one of wireless local area network (WLAN) specification information or bandwidth information, and wherein the processor is further configured to determine a corresponding data traffic rate between the first and second data traffic rates based on at least one of the WLAN specification information or the bandwidth information.
  • 3. The electronic device of claim 1, wherein the processor is further configured to: receive antenna information in accordance with each of the first and second external electronic devices; andadjust a corresponding data traffic rate between the first and second data traffic rates based on the received antenna information.
  • 4. The electronic device of claim 1, wherein the processor is further configured to adjust a corresponding data traffic rate between the first and second data traffic rates based on the signal strength for each of the first and second external electronic devices.
  • 5. The electronic device of claim 1, further comprising a second communication interface, wherein the processor is further configured to adjust a corresponding data traffic rate between the first and second data traffic rates based on whether the second communication interface is activated.
  • 6. The electronic device of claim 1, wherein each of the first network information and the second network information contains information in accordance with a degree of utilization, and wherein the processor is further configured to adjust a corresponding data traffic rate between the first and second data traffic rates based on the information in accordance with the degree of utilization.
  • 7. The electronic device of claim 1, wherein each of the first network information and the second network information contains information in accordance with a degree of utilization, and wherein the processor is further configured to perform the selection of the first and second external electronic devices based on the information in accordance with the degree of utilization.
  • 8. The electronic device of claim 1, wherein the processor is further configured to display information in accordance with the selected external electronic device to be distinguished from information in accordance with a non-selected other external electronic device.
  • 9. An electronic device comprising: a communication interface supporting a short range wireless communication; anda processor configured to: receive first network information corresponding to a first external electronic device and second network information corresponding to a second external electronic device through the short range wireless communication using the communication interface;determine a first data traffic rate of the first external electronic device based on the first network information and determine a second data traffic rate of the second external electronic device based on the second network information;select at least one of the first or second external electronic devices based on at least one of the first or second data traffic rates; andcommunicate data with the selected external electronic device through the short range wireless communication.
  • 10. The electronic device of claim 9, wherein the processor is further configured to: obtain a first signal strength corresponding to the first external electronic device and a second signal strength corresponding to the second external electronic device by using the communication interface;determine a first attenuation factor corresponding to the first external electronic device based on the first signal strength and determine a second attenuation factor corresponding to the second external electronic device based on the second signal strength; andadjust a corresponding data traffic rate between the first and second data traffic rates using a corresponding attenuation factor between the first and second attenuation factors.
  • 11. An electronic device comprising: a WiFi interface supporting a short range wireless communication; anda processor operably connected to the WiFi interface, the processor is configured to: scan a plurality of access points (APs) including a same service set identification (SSID) through the WiFi interface;calculate a data traffic rate for each AP based on a beacon frame received from each AP; andselect at least one of the APs based on the calculated data traffic rate for each AP.
  • 12. The electronic device of claim 11, wherein operation of calculating the data traffic rate comprises: determining the data traffic rate of the AP based on information associated with a mode of the short range wireless communication in a beacon frame received from the AP;determining an attenuation factor based on at least one of a signal strength of the beacon frame or a degree of utilization of the AP contained in the beacon frame to determine whether another short range wireless communication; andcalculating an estimate data rate (EDR) of the AP by multiplying the attenuation factor and the data traffic rate.
  • 13. The electronic device of claim 12, wherein if the AP supports a plurality of communication channels identified by basic service set identification (BSSID) and if the electronic device receives the beacon frame for each of the plurality of communication channels, the processor is further configured to calculate the EDR for each of the plurality of communication channels.
  • 14. A method of an electronic device including a communication interface and a processor, the method comprising: obtaining a signal strength for each of plurality of external electronic devices through a short range wireless communication using the communication interface;selecting first and second external electronic devices satisfying a designated signal strength from the plurality of external electronic devices based on the signal strength;receiving first network information corresponding to the first external electronic device and second network information corresponding to the second external electronic device through the short range wireless communication using the communication interface;determining a first data traffic rate of the first external electronic device based on the first network information and also determine a second data traffic rate of the second external electronic device based on the second network information;selecting at least one of the first or second external electronic devices based on at least one of the first or second data traffic rates; andcommunicating data with the selected external electronic device through the short range wireless communication.
  • 15. The method of claim 14, wherein each of the first network information and the second network information contains at least one of wireless local area network (WLAN) specification information or bandwidth information, and wherein determining the first data traffic rate and the second data traffic rate further includes determining a corresponding data traffic rate between the first and second data traffic rates based on at least one of the WLAN specification information or the bandwidth information.
  • 16. The method of claim 14, further comprising: receiving antenna information in accordance with each of the first and second external electronic devices; andadjusting a corresponding data traffic rate between the first and second data traffic rates based on the received antenna information.
  • 17. A method for operating an electronic device supporting first and second short range wireless communications, the method comprising: determining a data traffic rate of an external device based on information associated with a mode of the first short range wireless communication in a signal received from the external device through the first short range wireless communication;determining an attenuation factor based on at least one of a signal strength of the signal or a degree of utilization of the external device to determine whether the second short range wireless communication is activated;adjusting the data traffic rate of the external device by multiplying the attenuation factor and the data traffic rate; andselecting at least one of scanned external devices based on the data traffic rate adjusted for each of the external devices scanned through the first short range wireless communication.
  • 18. The method of claim 17, wherein selecting the at least one of scanned external devices comprises: if a single external device includes a highest data traffic rate, selecting the external device including the highest data traffic rate; andif two or more external devices include the highest data traffic rate, selecting an external device including the smallest number of connected devices.
  • 19. The method of claim 17, wherein selecting the at least one of scanned external devices comprises: if a number of devices connected to an external device including a highest estimate data rate is smaller than a predetermined critical value, selecting the external device including the highest data traffic rate; andif the number of devices connected to the external device including the highest estimate data rate is equal to or greater than the predetermined critical value, selecting another external device.
  • 20. The method of claim 17, wherein the first short range wireless communication is WiFi, wherein the operation of determining the data traffic rate includes: determining a mode of the external device based on information associated with a mode of the first short range wireless communication; anddetermining the data traffic rate based on the determined mode and whether the electronic device supports multi input multi output (MIMO), andwherein the mode is determined as a wireless communication protocol comprising at least one of institute of electrical and electronics engineers (IEEE)802.11b, IEEE802.11g, IEEE802.11a, IEEE802.11n HT20, IEEE802.11n HT40, IEEE802.11ac HT20, IEEE802.11ac HT40, or IEEE802.11ac HT80.
Priority Claims (1)
Number Date Country Kind
10-2015-0172737 Dec 2015 KR national