The present application is related to and claims benefit under 35 U.S.C. § 119(a) of Korean patent application filed on Jan. 30, 2015 in the Korean Intellectual Property Office and assigned Serial number 10-2015-0015463, the entire disclosure of which is hereby incorporated by reference.
Various embodiments of the present disclosure relate to an interface device and method, using an ear jack of the electronic device, between an electronic device and an external device.
With the advancement of electronic devices, various methods have been developed for transmitting digital data provided to an electronic device to another electronic device, or to the internet, rather than only storing the digital data in an individual device.
For example, an electronic device, such as a smart phone, is provided with wired and wireless communication functions with a high grade user interface, a peripheral, or an external device, and includes, as a representative communication means, a USB for wired communication, and a wireless modem, WiFi, BLUETOOTH, RFID (Radio Frequency Identification), NFC (Near Field Communication), or the like, for wireless communication.
Such a smart device refers to a portable terminal whose functions may be considerably changed or expanded through an application program (typically, referred to as an “application” or an “app” for short) rather than being limited. For example, a smart phone, a smart TV, a smart key, a smart card, a tablet computer, or a smart pad may be exemplified as the smart device.
As described above, the smart device is configured such that various functions may be changed or expanded through the installation and execution of various applications. Further, by performing data transmission/reception with various peripherals or external devices and processing received data, the functions of the smart device may be more variously and conveniently expanded.
As the peripherals or external devices, the smart device includes not only sound devices, such as a speaker, an earphone, a headphone for enjoying music or movie, a mic for recording sounds, and an ear set for hands-free calling, but also input devices for user input interfaces, such as a joystick, a mouse, and a keyboard, an imaging device for photographing, such as a camera, and a display device for reproducing images. Without being limited thereto, any devices are applicable to the smart device as long as they are connected to the smart phone to be capable of variously expanding the functions of the smart device. For example, the smart device further includes sensor devices that are capable of transmitting measurement information for an external environment or measurement information for a subject to be examined, such as a blood glucose meter and a blood pressure meter.
The peripherals or external devices are provided with basic means (e.g., a USB port) that enable data communication with a typical electronic device, such as a computer. However, it is not practical for the peripherals or external devices to include all the means that enable data communication with any other electronic device, including a smart device, without restriction. That is, the external devices should be manufactured in a small portable size due to the characteristics thereof. Further, there are various other restrictions. For example, in order to reduce the user's burden of expense, it is necessary to lower the manufacturing costs of the external devices. Therefore, it is not practical for the external devices to include all the various wired/wireless interfaces in order to enable data communication with any other electronic devices.
Accordingly, manufactures have no choice but to select and employ any one of the most typical communication means, such as a USB port, and users will have to deal with an inconvenience in that they should transmit/receive data depending on the employed data communication means.
Thus, the smart device, such as a smart phone, is provided with a standardized ear mic port for normally inputting/outputting audio signals, such as music or sounds. Accordingly, the smart phone may conduct a function of outputting or inputting sounds when an earphone or a mic is connected to the ear mic port. The smart device, which includes the ear mic port, is provided with a separate Codec. When there is provided a means that is capable of using the ear mic port for data communication between the smart device and an external device by performing a function of converting the digital data stored in the smart device into analog signals in order to output the digital data as the sounds or, on the contrary, performing a function of converting analog sounds input from the outside into digital signals for data storage, the external devices may easily perform data communication with smart devices even if the external devices are not provided with various kinds of data communication interfaces.
Hitherto, however, when an external accessary device (hereinafter, referred to as an “appcessory”) is connected to a smart phone through the ear jack, it is recognized as if an earphone is inserted so that the audio path is changed to the earphone. In this state, there are no great problems in using the smart phone. However, when a phone call is received, an audio path of the receiver (RCV) is changed to an ear audio path so that sounds are not output from the receiver (RCV) and thus the user cannot hear received sounds.
In addition, in the case where the corresponding appcessory is, for example, an appcessory named “Cocoberry CAT” or an appcessory named “iLucir Body Fat Analyzer,” when an external device having such an appcessory is inserted into the ear jack of the smart device, it is recognized on the application in a software manner. Thus, it is necessary to forcibly turn the audio path to the receiver (RCV) after separately receiving the user's confirmation for matters the corresponding appcessory. Further, the concept of the corresponding appcessory is that when the external device of the corresponding appcessory is removed, the appcessory returns again to its original state. Therefore, there is an inconvenience in that the user should manually operate the corresponding application.
To address the above-discussed deficiencies, it is a primary object to provide an interface device and method between an electronic device and an external device using an ear jack of a smart device in order to implement an interface that is capable of automatically recognizing an ear jack insertion type appcessory.
Another object of the present disclosure is to provide an interface device and method between an electronic device and an external device using an ear jack of a smart device that can improve its convenience of use by automatically executing a corresponding application in a terminal.
In accordance with an interface device comprises: an electronic device including an ear jack comprising a plurality of audio signal input and output terminals; an external device including an interface unit comprising a connector unit configured to be inserted into the ear jack, the connector unit comprising a plurality of terminals that correspond to the plurality of audio signal input and output terminals in the ear jack of the electronic device, respectively; and a recognizing unit on the connector unit of the interface unit to recognize whether the external device is connected to the ear jack of the electronic device through a plurality of detections, wherein data communication is performed between the electronic device and the external device, and, among the plurality of terminals of the connector unit, any one terminal is formed with an insulative coating or is made of a non-conductive material such that the terminal is not electrically connected even if the terminal is inserted into the ear jack.
In accordance with an interface method comprises: inserting an earphone or a connector unit of an external device through an ear jack of an electronic device; confirming whether a first detection exists; confirming whether a second detection exists subsequent to the confirming of the first detection; recognizing that the earphone is connected when the second detection is confirmed; confirming whether the second detection exists in a state where the first detection is not confirmed; recognizing that the connector unit of the external device is connected when the second detection is confirmed; recognizing an ID of an appcessory of the external device; and automatically executing an associated application.
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.
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:
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 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.
The expression “configured to” uses in the present disclosure may be replaced, according to situations, with “suitable for,” “having the capacity to”, “designed to”, “adapted to”, “made to”, or “capable of”. The term “configured to” may not always mean “specially designed to”. In some situations, “device configured to” may mean that the device can “do something” with other devices or components. For example, a context “processor configured to execute A, B, and C” may mean a dedicated processor (for example, embedded processor) for executing a corresponding operation, or a generic-purpose processor (for example, CPU or application processor) capable of executing corresponding operations by using at least one software program stored in a memory device.
The terms used in the present disclosure is to merely describe a specific embodiment, and is not intended to limit the scope of other embodiments. A singular form may include a plural form. All the terms including a technical or scientific term may have the same meaning as terms generally understood by those skilled in the prior art. The terms defined in a general dictionary may be interpreted as having the same or similar meaning in a context of related technology, and are not interpreted abnormally or excessively unless clearly defined in the present disclosure. According to situations, the terms defined in the present disclosure cannot be interpreted as excluding the embodiments of the present disclosure.
An electronic device according to various embodiments of the present disclosure is a device including a projection 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, a wearable device (for example, a Head-Mounted-Device (HIVID) such as electronic glasses, electronic clothes, and electronic bracelet, an electronic necklace, an electronic appcessary, an electronic tattoo, and a smart watch.
According to some embodiments, the electronic device may be a smart home appliance having a projection 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 (for example, 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 (for example, Magnetic Resonance Angiography (MRA), Magnetic Resonance Imaging (MRI), Computed Tomography (CT), a scanner, an ultrasonic device and the like), a navigation device, a Global Positioning System (GPS) receiver, an Event Data Recorder (EDR), a Flight Data Recorder (FDR), a vehicle infotainment device, electronic equipment for a ship (for example, 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, and a Point Of Sale (POS) device of shops.
According to some embodiments, the electronic device includes 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 (for example, a water meter, an electricity meter, a gas meter, a radio wave meter and the like) including a projection function. The electronic device according to various embodiments of the present disclosure is one or a combination of the above described various devices. Further, the electronic device according to various embodiments of the present disclosure is 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 refers to a person who uses an electronic device or a device (for example, an artificial intelligence electronic device) which uses an electronic device.
Referring to
The bus 110 is a circuit connecting the above described components and transmitting communication (for example, a control message) between the above described components.
The processor 120 receives commands from other components (for example, the memory 130, the input/output interface 140, the display 150, the communication interface 160, or the projecting management module 170) through the bus 110, analyzes the received commands, and executes calculation or data processing according to the analyzed commands.
The processor 120 receives commands from other components (for example, the memory 130, the input/output interface 150, the display 160, the communication interface 160, or the projecting management module 170) through the bus 110, analyzes the received commands, and executes calculation or data processing according to the analyzed commands.
The processor 120 is configured to receive at least two touch inputs in a lock state of the display 160 and release the lock state if the inputs are identical to a pre-stored pattern. The processor can receive a first touch input through the display 160 in a lock sate of the display 160 and receive a second touch input after receiving the first touch input. The processor identifies whether the second touch input is in a selected area based on at least one imaginary axis crossing the location of the first touch input, and decides that the touch inputs are identical to the stored pattern based on the result of identifying.
According to various embodiments of the present disclosure, the processor 120 is configured to decide that the touch inputs are in a selected area by identifying whether an angle between the imaginary axis and an imaginary line connecting the first touch input and the second touch input is in a selected area. The processor 120 is configured to receive a third touch input after receiving the second touch input, to identify whether the third touch input is in a selected area based on another imaginary axis crossing the location of the second touch input, and to decide that the touch inputs are identical to the stored pattern based on the result of identifying.
The memory 130 includes a volatile and/or non-volatile memory. For example, the memory can store command or data related to at least one component of the electronic device 100. According to certain embodiments of the present disclosure, the memory 130 can store software and/or program 140. For example, the program 140 includes a kernel 141, middleware 143, application programing interface (API) 145, and/or application program (or “application”) 147. At least one of the kernel 141, middleware 143, and API 145 is called operating system (OS).
The kernel 141 controls or manages system resources (for example, 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 143, the API 145, or the application 147. Further, the kernel 141 provides an interface for accessing individual components of the electronic device 101 from the middleware 143, the API 145, or the application 147 to control or manage the components.
The middleware 143 performs a relay function of allowing the API 145 or the application 147 to communicate with the kernel 141 to exchange data. Further, in operation requests received from the application 147, the middleware 143 performs a control for the operation requests (for example, scheduling or load balancing) by using a method of assigning a priority, by which system resources (for example, the bus 110, the processor 120, the memory 130 and the like) of the electronic device 101 can be used, to the application 147.
The API 145 is an interface by which the application 147 can control a function provided by the kernel 141 or the middleware 143 and includes, for example, at least one interface or function (for example, command) for a file control, a window control, image processing, or a character control.
For example, the input/output interface 150 takes a role of transmitting a command or data input by a user or other external devices to other components of the electronic device 101. Further, the input/output interface 150 can output a command or data received from other components of the electronic device 100 to a user or other external devices.
For example, the display 160 includes a liquid crystal display (LCD), light emitting diode (LED) display, organic light emitting diode (OLED) display, micro-electro-mechanical systems (MEMS) display, or electronic paper display. The display 160 can display various contents such as a text, image, Video, icon, and symbol. The display 160 includes a touch screen, and can receive a touch, gesture, proximity, or hovering input by using an electronic pen or a part of a user's body.
The communication interface 170 connects communication between the electronic device 102 and the external device (for example, electronic device 104 or server 106). For example, the communication interface 170 accesses a network 162 through wireless or wired communication to communicate with the external device.
The wireless communication includes at least one of, local area network 164 (for example, WiFi, BLUETOOTH (BT), Near Field Communication (NFC), a Global Positioning System (GPS)) and cellular communication (for example, LTE, LTE-A, CDMA, WCDMA, UMTS, WiBro or GSM). The wired communication includes at least one of, for example, a Universal Serial Bus (USB), a High Definition Multimedia Interface (HDMI), Recommended Standard 232 (RS-232), and a Plain Old Telephone Service (POTS).
According to certain embodiments, the network 162 is a telecommunication network. The telecommunication network includes at least one, for example, a computer network (LAN or WAN), internet, internet of things, and a telephone network.
According to certain embodiments, a protocol (for example, transport layer protocol, data link protocol, or physical layer protocol) for communication between the electronic device 101 and the external device is supported by at least one of the application 147, the application programming interface 145, the middleware 143, and the communication interface 170.
A first external electronic device 102 and a second external electronic device 104 respectively is the same type as the electronic device 100 or a different type of device. According to certain embodiments of the present disclosure, the server includes at least one group of servers. According to various embodiments of the present disclosure, the whole or a part of operations executed in the electronic device 100 can be executed in another or a plurality of electronic device (for example, electronic device 102, electronic device 104, or server 106). According to certain embodiments of the present disclosure, when the electronic device is required to execute a function or a service automatically or according to a request, the electronic device may not execute the function or service by itself and additionally request other devices (for example. electronic device 102, electronic device 104, or server 106) for at least a part of related functions. The other devices (for example, electronic device 102, electronic device 104, or server 106) can execute the requested or additional function and transmit the result of execution to the electronic device 100. The electronic device 100 can provide the requested function or service by processing the result as it is or additionally. For this, a cloud computing, distribution computing, or client-server computing technology can be utilized.
The electronic device 201 is, for example, the electronic device 100 illustrated in
The processor 210 (e.g., the processor 120) includes one or more Application Processors (APs), or one or more Communication Processors (CPs). The processor 210 is, for example, the processor 120 illustrated in
The AP executes an Operating System (OS) or an application program, and thereby controls multiple hardware or software elements connected to the AP and performs processing of and arithmetic operations on various data including multimedia data. The AP is implemented by, for example, a System on Chip (SoC). According to certain embodiments of the present disclosure, the processor 210 further includes a Graphical Processing Unit (GPU) (not illustrated).
The CP manages a data line and converts a communication protocol in the case of communication between the electronic device (e.g., the electronic device 100) including the electronic device 201 and different electronic devices connected to the electronic device through the network. The CP is implemented by, for example, a SoC. According to certain embodiments of the present disclosure, the CP performs at least some of multimedia control functions. The CP, for example, distinguishes and authenticates a terminal in a communication network by using a subscriber identification module (e.g., the SIM card 224). Also, the CP provides the user with services, such as a voice telephony call, a video telephony call, a text message, packet data, and the like.
Further, the CP controls the transmission and reception of data by the communication module 220. In
According to certain embodiments of the present disclosure, the AP or the CP loads, to a volatile memory, a command or data received from at least one of a non-volatile memory and other elements connected to each of the AP and the CP and processes the loaded command or data. Also, the AP or the CP stores, in a non-volatile memory, data received from or generated by at least one of the other elements.
The SIM card 224 is a card implementing a subscriber identification module, and is inserted into a slot formed in a particular portion of the electronic device 100. The SIM card 224 includes unique identification information (e.g., Integrated Circuit Card IDentifier (ICCID)) or subscriber information (e.g., International Mobile Subscriber Identity (IMSI)).
The memory 230 includes an internal memory 232 and an external memory 234. The memory 230 is, for example, the memory 130 illustrated in
The communication module 220 includes a wireless communication module or a Radio Frequency (RF) module 229. The communication module 220 is, for example, the communication interface 170 illustrated in
The RF module 229 is used for transmission and reception of data, for example, transmission and reception of RF signals or called electronic signals. Although not illustrated, the RF unit 229 includes, for example, a transceiver, a Power Amplifier Module (PAM), a frequency filter, a Low Noise Amplifier (LNA), or the like. Also, the RF module 229 further includes a component for transmitting and receiving electromagnetic waves in a free space in a wireless communication, for example, a conductor, a conductive wire, or the like.
The sensor module 240 includes, for example, at least one of 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 Red, Green and Blue (RGB) sensor 240H, a biometric sensor 240I, a temperature/humidity sensor 240I, an illumination sensor 240K, and a Ultra Violet (UV) sensor 240M. The sensor module 240 measures a physical quantity or senses an operating state of the electronic device 100, and converts the measured or sensed information to an electrical signal. The sensor module 240 includes, for example, an E-nose sensor (not illustrated), an ElectroMyoGraphy (EMG) sensor (not illustrated), an ElectroEncephaloGram (EEG) sensor (not illustrated), an ElectroCardioGram (ECG) sensor (not illustrated), a fingerprint sensor (not illustrated), and the like. The sensor module 240 includes, for example, an E-nose sensor (not illustrated), an EMG sensor (not illustrated), an EEG sensor (not illustrated), an ECG sensor (not illustrated), a fingerprint sensor, and the like. The sensor module 240 further includes a control circuit (not illustrated) for controlling one or more sensors included therein.
The user input unit 250 includes a touch panel 252, a pen sensor 254 (e.g., a digital pen sensor), keys 256, and an ultrasonic input device 258. The user input unit 250 is, for example, the user input module 140 illustrated in
The pen sensor 254 (e.g., a digital pen sensor), for example, is implemented by using a method identical or similar to a method of receiving a touch input from the user, or by using a separate sheet for recognition. For example, a key pad or a touch key is used as the keys 256. The ultrasonic input device 258 enables the terminal to sense a sound wave by using a microphone (e.g., a microphone 288) of the terminal through a pen generating an ultrasonic signal, and to identify data. The ultrasonic input device 258 is capable of wireless recognition. According to certain embodiments of the present disclosure, the electronic device 201 receives a user input from an external device (e.g., a network, a computer, or a server), which is connected to the communication module 220, through the communication module 220.
The display module 260 includes a panel 262, a hologram device 264 and a projector 266. The display module 260 is, for example, the display module 160 illustrated in
The interface 270 includes, for example, a High-Definition Multimedia Interface (HDMI) 272, a Universal Serial Bus (USB) 274, an optical interface 276, and a D-subminiature (D-sub) 278. Additionally or alternatively, the interface 270 includes, for example, SD/Multi-Media Card (MMC) (not illustrated) or Infrared Data Association (IrDA) (not illustrated).
The audio codec module 280 bidirectionally converts between a voice and an electrical signal. The audio codec module 280 converts voice information, which is input to or output from the audio codec module 280, through, for example, a speaker 282, a receiver 284, an earphone 286, the microphone 288 or the like.
The camera module 291 captures an image and a moving image. According to certain embodiments, the camera module 291 includes one or more image sensors (e.g., a front lens or a back lens), an Image Signal Processor (ISP) (not illustrated), and a flash LED (not illustrated).
The power management module 295 manages power of the electronic device 201. Although not illustrated, the power management module 295 includes, for example, a Power Management Integrated Circuit (PMIC), a charger Integrated Circuit (IC), or a battery fuel gauge.
The PMIC is mounted to, for example, an IC or a SoC semiconductor. Charging methods is classified into a wired charging method and a wireless charging method. The charger IC charges a battery, and prevent an overvoltage or an overcurrent from a charger to the battery. According to certain embodiments of the present disclosure, the charger IC includes a charger IC for at least one of the wired charging method and the wireless charging method. Examples of the wireless charging method include a magnetic resonance method, a magnetic induction method, an electromagnetic method, and the like. Additional circuits (e.g., a coil loop, a resonance circuit, a rectifier, etc.) for wireless charging are added in order to perform the wireless charging. The battery fuel gauge measure, for example, a residual quantity of the battery 296, or a voltage, a current or a temperature during the charging. The battery 296 supply power by generating electricity, and is, for example, a rechargeable battery.
The indicator 297 indicates particular states of the electronic device 201 or a part (e.g., the AP) of the electronic device 201, for example, a booting state, a message state, a charging state and the like. The motor 298 converts an electrical signal into a mechanical vibration. The processor 210 controls the sensor module 240.
Although not illustrated, the electronic device 201 includes a processing unit (e.g., a GPU) for supporting a module TV. The processing unit for supporting a module TV processes media data according to standards such as, for example, Digital Multimedia Broadcasting (DMB), Digital Video Broadcasting (DVB), media flow, and the like. Each of the above-described elements of the electronic device 201 according to certain embodiments of the present disclosure includes one or more components, and the name of the relevant element changes depending on the type of electronic device. The electronic device 201 according to certain embodiments of the present disclosure includes at least one of the above-described elements. Some of the above-described elements may be omitted from the electronic device 201, or the electronic device 201 further includes additional elements. Also, some of the elements of the electronic device 201 according to certain embodiments of the present disclosure are combined into one entity, which perform functions identical to those of the relevant elements before the combination.
The term “module” used in the present disclosure refer to, for example, a unit including one or more combinations of hardware, software, and firmware. The “module” is interchangeable with a term, such as “unit,” “logic,” “logical block,” “component,” “circuit,” or the like. The “module” is a minimum unit of a component formed as one body or a part thereof. The “module” is a minimum unit for performing one or more functions or a part thereof. The “module” is implemented mechanically or electronically. For example, the “module” according to certain embodiments of the present disclosure includes at least one of an Application-Specific Integrated Circuit (ASIC) chip, a Field-Programmable Gate Array (FPGA), and a programmable-logic device for performing certain operations which have been known or are to be developed in the future.
The programming module 310 is included (or stored) in the electronic device 100 (e.g., the memory 130) illustrated in
Referring to
The kernel 320 (e.g., the kernel 141) includes a system resource manager 321 and/or a device driver 322. The system resource manager 321 includes, for example, a process manager (not illustrated), a memory manager (not illustrated), and a file system manager (not illustrated). The system resource manager 321 performs the control, allocation, recovery, and/or the like of system resources. The device driver 322 includes, for example, a display driver (not illustrated), a camera driver (not illustrated), a BLUETOOTH driver (not illustrated), a shared memory driver (not illustrated), a USB driver (not illustrated), a keypad driver (not illustrated), a Wi-Fi driver (not illustrated), and/or an audio driver (not illustrated). Also, according to certain embodiments of the present disclosure, the device driver 322 includes an Inter-Process Communication (IPC) driver (not illustrated).
The middleware 330 includes multiple modules previously implemented so as to provide a function used in common by the applications 370. Also, the middleware 330 provides a function to the applications 370 through the API 360 in order to enable the applications 370 to efficiently use limited system resources within the electronic device. For example, as illustrated in
The runtime library 335 includes, for example, a library module used by a complier, in order to add a new function by using a programming language during the execution of the application 370. According to certain embodiments of the present disclosure, the runtime library 335 performs functions that are related to input and output, the management of a memory, an arithmetic function, and/or the like.
The application manager 341 manages, for example, a life cycle of at least one of the applications 370. The window manager 342 manages GUI resources used on the screen. The multimedia manager 343 detects a format used to reproduce various media files and encodes or decodes a media file through a codec appropriate for the relevant format. The resource manager 344 manages resources, such as a source code, a memory, a storage space, and/or the like of at least one of the applications 370.
The power manager 345 operates together with a Basic Input/Output System (BIOS), manages a battery or power, and provides power information and the like used for an operation. The database manager 346 manages a database in such a manner as to enable the generation, search and/or change of the database to be used by at least one of the applications 370. The package manager 347 manages the installation and/or update of an application distributed in the form of a package file.
The connection manager 348 manages a wireless connectivity such as, for example, Wi-Fi and BLUETOOTH. The notification manager 349 displays or reports, to the user, an event such as an arrival message, an appointment, a proximity alarm, and the like in such a manner as not to disturb the user. The location manager 350 manages location information of the electronic device. The graphic manager 351 manages a graphic effect, which is to be provided to the user, and/or a user interface related to the graphic effect. The security manager 352 provides various security functions used for system security, user authentication, and the like. According to certain embodiments of the present disclosure, when the electronic device (e.g., the electronic device 100) has a telephone function, the middleware 330 further includes a telephony manager (not illustrated) for managing a voice telephony call function and/or a video telephony call function of the electronic device.
The middleware 330 generates and uses a new middleware module through various functional combinations of the above-described internal element modules. The middleware 330 provides modules specialized according to types of OSs in order to provide differentiated functions. Also, the middleware 330 dynamically deletes some of the existing elements or adds new elements. Accordingly, the middleware 330 omits some of the elements described in the various embodiments of the present disclosure, further includes other elements, or replaces the some of the elements with elements, each of which performs a similar function and has a different name.
The API 360 (e.g., the API 145) is a set of API programming functions and is provided with a different configuration according to an OS. In the case of ANDROID or iOS, for example, one API set is provided to each platform. In the case of TIZEN, for example, two or more API sets are provided to each platform.
The applications 370 (e.g., the applications 147) includes, for example, a preloaded application and/or a third party application. The applications 370 (e.g., the applications 147) include, for example, a hone application 371, a dialer application 372, a Short Message Service (SMS)/multimedia Service (MMS) application 373, an Instant Message (IM) application 374, a browser application 373, a camera application 376, and alarm application 377, a contact application 378, a voice dial application 379, an electronic mail (e-mail) application 380, a calendar application 381, a media player application 382, an album application 383, a clock application 384, and any other suitable and/or similar application.
At least a part of the programming module 310 is implemented by instructions stored in a non-transitory computer-readable storage medium. When the instructions are executed by one or more processors (e.g., the one or more processors 210), the one or more processors performs functions corresponding to the instructions. The non-transitory computer-readable storage medium is, for example, the memory 230. At least a part of the programming module 310 is implemented (e.g., executed) by, for example, the one or more processors 210. At least a part of the programming module 310 includes, for example, a module, a program, a routine, a set of instructions, and/or a process for performing one or more functions.
Names of the elements of the programming module (e.g., the programming module 310) according to certain embodiments of the present disclosure changes depending on the type of OS. The programming module according to certain embodiments of the present disclosure includes one or more of the above-described elements. Alternatively, some of the above-described elements may be omitted from the programming module. Alternatively, the programming module further includes additional elements. The operations performed by the programming module or other elements according to certain embodiments of the present disclosure are processed in a sequential method, a parallel method, a repetitive method, or a heuristic method. Also, some of the operations may be omitted, or other operations may be added to the operations.
As illustrated in
According to various embodiments of the present disclosure, the interface device includes an interface unit 600 that interconnects the electronic device 400, such as a smart phone, and an external device 500, such as a blood glucose meter such that data communication is enabled between the electronic device 400 and the external device 500.
According to certain embodiments, the electronic device 400 is a smart phone, and is provided with an ear jack 420. The external device 500 is provided with an interface unit 600 having a connector unit 620 that is inserted into the ear jack 420.
When the connector unit 620 of the interface unit 600 is inserted into the ear jack 420 of the electronic device 400, the electronic device 400 and the external device 500 are interconnected such that data communication is enabled therebetween.
According to certain embodiments, a signal to be exchanged between the ear jack 420 and the connector unit 620 is an analogue signal, and a signal to be exchanged between the connector unit 620 and the interface unit 600 is a digital signal. That is, in a data communication mode where the electronic device 400 executes data communication with the external device 500, a signal to be output through the ear jack 420 is a signal containing digital data while assuming a format of an analog signal.
For example, a smart phone serving as the electronic device 400 includes an audio codec therein that converts an audio signal input through the ear jack 420 into a digital format or converts an audio signal output through the ear jack 420 into an analog format. That is, the audio codec in the electronic device 400 refers to a device that allows a digital music file to be heard as an analog sound, such as an MP3, and has a function of receiving Pulse Code Modulation (PCM) data from a control unit and converting the PCM data into an analog signal. Through this, the audio codec generates, using a method of generating PCM data like an analog serial signal, a waveform in the form of a serial signal form that is generated by a Universal Asynchronous Receiver/Transmitter (UART). In addition, the audio codec also recognizes an audio signal that is input/output according to a set reference level voltage.
Typically, the ear jack 420 of the electronic device 400 and the external device 500 have different input/output signal levels, and data communication is disabled therebetween when they are directly connected to each other. The interface unit 600 performs a function of enabling the data communication by converting a signal received through the ear jack 420 into a signal level that is recognizable by the audio codec of the electronic device 400 and converting a signal output through the ear jack 420 into a signal level that is recognizable by the external device 500.
Accordingly, when a user wishes to listen to music using, for example, the electronic device 400, the user connects an earphone to the ear jack 420 of the electronic device 400. On the contrary, when data communication with the external device 500 is required, the user inserts the connector unit 620 of the interface unit 600 into the ear jack 420 so as to connect the electronic device 400 to the external device 500.
Meanwhile, although
While a smart phone is exemplified as the electronic device 400 that becomes an object to receive digital data output from the external device 500, any electronic device 400 is applicable as long as the electronic device 400 is provided with the ear jack 420.
As illustrated in
According to one embodiment, there are a G-detection type and an L-detection type for detecting the connection between the electronic device 400 and the external device 500.
The G-detection type includes a position D of a detecting pin that is positioned at the center thereof so that, for example, the earphone is inserted into the ear jack 420, and the insertion of the earphone is detected as a mic bias is turned ON. But a short may be caused and then a pop-noise is generated due to an unstable operation by a non-standard design.
On the contrary, the L-detection type has a detection pin that is positioned in the inside thereof, and detects the insertion of the earphone as the mic bias is turned ON when the earphone is inserted into the ear jack 420. The L-detection type operates stably due to a standard design.
Unlike this, as illustrated in
In addition, according to various embodiments of the present disclosure, the external device 500 of the interface device is joined and connected to correspond to the audio signal input and output terminals of the ear jack 420 provided in the electronic device 400. For this purpose, when the audio signal input and output terminals of the ear jack 420, which are provided in the electronic device 400, are provided in the order of L, R, M, and G according to one embodiment, the connector unit 620 of the interface unit 600, which is integrally provided in the external device 500, includes the plurality of terminals in the order of the left and right speaker terminals (L, R) 624 and 626, the mic terminal (M) 622, and the ground terminal (G) 628 to correspond to the audio signal input and output terminals of the ear jack 420, respectively.
According to various embodiments of the present disclosure, the connector unit 620 of the interface unit 600 is configured in the form of a 3.5 pi (φ) ear mic jack that is configured in the order of L, R, M, and G like a pair of left and right speaker terminals 624 and 626, the ground terminal 628, and the mic terminal 622 according to the positions of the audio signal input and output terminals of the ear jack 420. Unlike this, the connector unit 620 is configured in the form of a 2.5 pi (φ) ear mic jack that is configured in the order of L, R, G, and M like a pair of left and right speaker terminals 624 and 626, the ground terminal 628, and the mic terminal 622.
Meanwhile, according to various embodiments of the present disclosure, the connector unit 620 of the interface unit 600 of the interface device includes a recognizing unit that automatically recognizes whether an earphone is connected to the ear jack 420 of the electronic device 400 or whether an appcessory is connected through a plurality of detections.
When a first detection is recognized according to the insertion of an earphone or the connector unit 620 of the interface unit 600 into the ear jack 420 of the electronic device 400, and then a second detection is recognized, the recognizing unit determines that a normal earphone is inserted. When only the second detection is recognized without the recognition of the first detection, the recognizing unit recognizes it as an exceptional case and determines that an appcessory of the external device 500, i.e. an external appcessory, is inserted.
Based on the automatic recognition of the recognizing unit as described above, in the case where the earphone insertion is recognized, an operation as an interface of the existing earphone is performed, and in the case when the appcessory insertion is recognized, data communication is performed as, for example, inputting through the mic, and outputting through the left speaker as if the existing appcessory operates.
In addition, an ID is acquired through data communication from the appcessory as the external device 500 to execute the corresponding application. According to certain embodiments, an ID to be recognized by the electronic device 400 is made by differentiating a separate impedance within the appcessory of the external device 500. When an appcessory ID is implemented in this way, the electronic device 400 recognizes the corresponding ID, and then automatically executes an associated app. When there are a plurality of associated apps, the electronic device 400 displays a list to be shown on the user interface so that the user selects the corresponding ID.
According to various embodiments of the present disclosure, the first detection of the connector unit 620 is fabricated by forming an insulation coating on the L terminal 624 or forming the L terminal 624 using a non-conductive material. According to certain embodiments, the insulation coating is formed as a sapphire coating, a quartz coating, or a Diamond-like Carbon (DLC) coating. In view of the characteristics of a three-pole or four-pole connector unit, the “L” terminal portion wears down, and thus the DLC coating is most suitable.
Advantages and disadvantages of insulation coating methods are summarized in Table 1 below.
According to various embodiments of the present disclosure, the interface device requires high power in order to execute bi-directional communication between the electronic device 400 and the external device 500. In this case, the appcessory of the external device 500 requires a rectifier circuit (bridge rectifier) as illustrated in
In addition, signals, such as Amplitude Shift Keying (ASK), Phase Shift Keying (PSK), and Frequency Shift Keying (FSK) signals, are transmitted through a signal line 660 of the rectifier circuit of
According to certain embodiments, a switch, which is switchable to a higher voltage, is added to the mic bias circuit of the electronic device 400, and in the case where a high bias voltage is required for using an appcessory of the external device 500, the appcessory of the external device 500 is used by switching the switch to the high bias voltage to supply higher power to the appcessory of the external device 500.
The FSK is a form of a Frequency Modulation (FM) in a broad sense and is used when a digital signal is transmitted through an analog transmission path. The FSK is a modulation method that shifts a digital signal to different signals according to input digital symbols, and a frequency modulation system in which digital information is transmitted through a discrete frequency variation of a carrier wave.
The simplest FSK is a binary FSK, i.e., a BFSK that uses a pair of discrete frequencies in order to transmit binary information (composed of 0 and 1), in which 1 and 0 correspond to two high and low frequencies, respectively, between which a central frequency is interleaved. In that event, “1” is referred to as a mark frequency, and “0” is referred to as a space frequency. That is, two frequencies of f1 and f0 are assigned to 1 and 0, respectively.
By using two states of high and low frequencies as described above, the FSK is robust against noise but is not suitable for high speed transmission. The FSK is used in a low speed line model of 200 to 1,200 bps. FSK modem standards include CCITT (now ITU-T) Recommendation V.21, V.23, etc. that are used for modulating a control signal in most cellular mobile phone systems including Advanced Mobile Phone System (AMPS).
Unlike the foregoing, when low power is required for executing bi-directional communication between the electronic device 400 and the external device 500, the interface device, according to various embodiments of the present disclosure, performs power supply and data communication using a mic bias voltage (1.8V˜) of the electronic device 400.
Meanwhile, in the case where unidirectional communication is only required between the electronic device 400 and the external device 500, a three-pole ear jack is also available.
An interface method according to various embodiments of the present disclosure will be described below with reference to
When an earphone, the connector unit 620 of the external device 500, or the like is inserted through the ear jack 420 of the electronic device 400, in operation S100, it is confirmed whether the first detection, i.e. L-detection exists, in operation S200.
Subsequent to the confirmation of the L-detection, it is confirmed whether G-detection exists, in operation S300. When the G-detection is confirmed, it is recognized that an earphone is connected, in operation S310.
When the G-detection is confirmed in the state where the L-detection has not been confirmed in operation S200, in operation S320, it is recognized that an appcessory of the external device 500 is connected, in operation S330.
Subsequently, after recognizing the ID of the appcessory in operation S340, an associated application is automatically executed, in operation S350.
As described above, when the first detection is confirmed and then the second detection is confirmed, the interface method, according to various embodiments of the present disclosure, determines that it is recognized that a normal earphone is connected.
In addition, when only the second detection is recognized in the state where the first detection is not recognized, the interface method determines that it is recognized that an appcessory of the external device 500 is connected as a separate exceptional case.
Based on such determinations, when the earphone connection is recognized, the earphone operates as if the existing interface operates, and when the appcessory connection is recognized rather than the earphone connection, data communication is performed by inputting through M (mic) terminal, outputting through the R (right) speaker terminal, etc. as if the existing appcessory operates.
An ID is acquired from the appcessory through the data communication and then the corresponding application of the ID is executed.
In operation S330, in the case where the appcessory connection is recognized, in the interface device, according to various embodiments of the present disclosure, when a battery is embedded in the appcessory of the external device 500 at the time of bi-directional communication, the earphone and the appcessory operate as indicated in Table 2 below.
Unlike the foregoing, when a battery is not embedded in the appcessory of the external device 500, the earphone and the appcessory operate as indicated in Table 3 below.
As described above, an interface device and interface method between an external device and an electronic device using an ear jack, according to certain embodiments of the present disclosure, can implement an interface that is capable of automatically recognizing an ear jack insertion type appcessory, and can improve the use convenience by automatically executing a corresponding application in a terminal.
In addition, when the appcessory is connected to the ear jack, transceiver silence does not occur in relation to a call even if a separate setting is not manually changed, which prevents the confusion of a user. In addition, the interface of an ear jack connection type appcessory, which can be used while maintaining compatibility between the ear jack interface and hardware (H/W) and software (S/W), is implemented, which can vitalize an ear jack connection type appcessory system.
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.
Number | Date | Country | Kind |
---|---|---|---|
10-2015-0015463 | Jan 2015 | KR | national |
Number | Name | Date | Kind |
---|---|---|---|
8801472 | Yen et al. | Aug 2014 | B1 |
20090109639 | Li | Apr 2009 | A1 |
20130108064 | Kocalar | May 2013 | A1 |
20130315406 | Choi | Nov 2013 | A1 |
20150071480 | Jones | Mar 2015 | A1 |
Number | Date | Country |
---|---|---|
10-1119528 | Feb 2012 | KR |
10-1332181 | Nov 2013 | KR |
10-1372522 | Mar 2014 | KR |
Number | Date | Country | |
---|---|---|---|
20160227018 A1 | Aug 2016 | US |