This application is based on and claims priority under 35 U.S.C. § 119(a) of an Indian patent application number 202041032271, filed on Jul. 28, 2020, in the Indian Intellectual Property Office, and of a Korean patent application number 10-2021-0090388, filed on Jul. 9, 2021, in the Korean Intellectual Property Office, the disclosure of each of which is incorporated by reference herein in its entirety.
The disclosure relates to communication between electronic devices. More particularly, the disclosure relates to an electronic device capable of identifying a plurality of electronic devices, and a method of controlling the same.
Users may select the same alert function for peer-to-peer (PTP) communication between a plurality of electronic devices. The alert function may include a ringtone, an audible notification, a vibration pattern, a flash light, an edge light, a smart glow, and the like. When being activated in a plurality of user terminals in a specific space, the same alert function may cause sudden confusion among users.
As an example, a user may be confused about a position of an electronic device (profile or privacy mode) in a situation in which the user is not aware of a state of the electronic device or desires to change a privacy mode of the electronic device during a conference and a meeting. As another example, a user may be suddenly confused even when the user cannot confirm a current state (on or off-state) of home appliances while operating the home appliances through an electronic device. The home appliances may be non-smart devices or devices for Internet over Things (IoT), and the home appliances may be turned off through a video camera or a smart device such as Alexa available in the home.
Accordingly, it is desirable to solve the above-described problems and provide one or more useful alternatives for detecting similar features between electronic devices.
The above information is presented as background information only to assist with an understanding of the disclosure. No determination has been made, and no assertion is made, as to whether any of the above might be applicable as prior art with regard to the disclosure.
Aspects of the disclosure are to address at least the above-mentioned problems and/or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the disclosure is to provide an electronic device capable of detecting similar features between a plurality of devices by generating unique function codes for an electronic device and a plurality of candidate devices, and a method of controlling the same.
Additional aspects will be set forth in part in the description which follows and, in part, will be apparent from the description, or may be learned by practice of the presented embodiments.
In accordance with an aspect of the disclosure, a method of controlling an electronic device is provided. The method includes transmitting a communication signal to a plurality of candidate devices in the vicinity of the electronic device, generating a function code including configuration information of the electronic device, receiving candidate function codes including configuration information of the plurality of candidate devices from the plurality of candidate devices based on the communication signal, and when a feature of the plurality of candidate devices is determined to be similar to a feature of the electronic device based on the candidate function codes, generating at least one of an alert signal or a setting signal based on whether the function code matches the candidate function codes.
The method may further include generating, by each of the electronic device and the plurality of candidate devices, a unique identifier, transmitting the unique identifier to the plurality of candidate devices, and receiving the unique identifiers generated by the plurality of candidate devices.
The method may further include confirming whether the unique identifiers of the plurality of candidate devices are different, when the unique identifier generated by any one of the plurality of candidate devices is the same as the unique identifier of another candidate device, regenerating the unique identifiers, and receiving the regenerated unique identifiers from the plurality of candidate devices.
The transmitting of the communication signal to the plurality of candidate devices may include detecting an event in the vicinity of the electronic device, and transmitting the communication signal to the plurality of candidate devices in the vicinity of the electronic device based on the event. The generating of the function code may include determining a plurality of features of the electronic device and attributes corresponding to the plurality of features, generating the function code based on the attribute, and transmitting the function code to the plurality of candidate devices.
The method may further include transmitting the function code based on a current contextual parameter of the electronic device to the plurality of candidate devices.
The function code and the candidate function code may each include at least one of an ultrasonic Morse code, an American standard for information interchange (ASCII) code, a binary code, or a custom code.
The generating of the at least one of the alert signal or the setting signal based on whether the function code matches the candidate function codes may include at least one of alerting a user of the electronic device or activating/deactivating at least one function of the electronic device based on the alert signal.
The alerting of the user of the electronic device may include alerting the user with a primary alert, a secondary alert, or a combination of the primary alert and the secondary alert.
The similar feature may include at least one of alert types or device names among the electronic device and the plurality of candidate devices.
The method may further include filtering the electronic device and the plurality of candidate devices based on proximity parameters.
The filtering may include performing filtering based on at least one of a position of the plurality of candidate devices, a distance to the electronic device, a speed, or a time.
The method may further include filtering an external device in the vicinity of the electronic device or the plurality of candidate devices.
The unique identifier may be a specific frequency.
In accordance with another aspect of the disclosure, an electronic device is provided. The electronic device includes a memory in which one or more instructions are stored, and a processor configured to execute the stored instructions, when executed, the instructions cause the processor to control to transmit a communication signal to a plurality of candidate devices in the vicinity of the electronic device, generate a function code including configuration information of the electronic device, receive candidate function codes including configuration information of the plurality of candidate devices from the plurality of candidate devices based on the communication signal, and when a feature of the plurality of candidate devices is determined to be similar to a feature of the electronic device based on the candidate function codes, generate at least one of an alert signal or a setting signal based on whether the function code matches the candidate function codes.
The processor may control each of the electronic device and the plurality of candidate devices to generate a unique identifier and may perform control to transmit the unique identifier to the plurality of candidate devices and receive the unique identifiers generated by the plurality of candidate devices.
The processor may perform control to confirm whether the unique identifiers of the plurality of candidate devices are different, regenerate the unique identifiers when the unique identifier generated by any one of the plurality of candidate devices is the same as the unique identifier of another candidate device, and receive the regenerated unique identifiers from the plurality of candidate devices.
The processor may perform control to detect an event in the vicinity of the electronic device and transmit the communication signal to the plurality of candidate devices in the vicinity of the electronic device based on the event.
The processor may perform control to determine a plurality of features of the electronic device and attributes corresponding to the plurality of features, generate the function code based on the attribute, and transmit the function code to the plurality of candidate devices.
The processor may transmit the function code based on a current contextual parameter of the electronic device to the plurality of candidate devices.
In accordance with another aspect of the disclosure, a computer program is coupled to a computing device and stored in a recording medium to execute a method is provided. The method includes transmitting a communication signal to a plurality of candidate devices in the vicinity of the electronic device, generating a function code including configuration information of the electronic device, receiving candidate function codes including configuration information of the plurality of candidate devices from the plurality of candidate devices based on the communication signal, and detecting a similar feature and generating at least one of an alert signal or a setting signal based on whether the function code matches the candidate function codes.
Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses various embodiments of the disclosure.
The above and other aspects, features, and advantages of certain embodiments of the disclosure will be more apparent from the following description taken in conjunction with the accompanying drawings, in which:
Throughout the drawings, like reference numerals will be understood to refer to like parts, components, and structures.
The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of various embodiments of the disclosure as defined by the claims and their equivalents. It includes various specific details to assist in that understanding but these are to be regarded as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the various embodiments described herein can be made without departing from the scope and spirit of the disclosure. In addition, descriptions of well-known functions and constructions may be omitted for clarity and conciseness. The term “or” used herein refers to a non-exclusive or unless otherwise indicated.
The terms and words used in the following description and claims are not limited to the bibliographical meanings, but, are merely used by the inventor to enable a clear and consistent understanding of the disclosure. Accordingly, it should be apparent to those skilled in the art that the following description of various embodiments of the disclosure is provided for illustration purpose only and not for the purpose of limiting the disclosure as defined by the appended claims and their equivalents.
It is to be understood that the singular forms “a,” “an,” and “the” include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to “a component surface” includes reference to one or more of such surfaces.
As such, embodiments may be described and illustrated in terms of blocks which carry out a described function or functions. These blocks, which may be referred to herein as units, modules, or the like, are physically implemented by analog or digital circuits, such as logic gates, integrated circuits, microprocessors, microcontrollers, memory circuits, passive electronic components, active electronic components, optical components, hardwired circuits, and the like, and may optionally be driven by firmware and software. The circuits may, for example, be embodied as one or more semiconductor chips or embodied on substrate supports such as printed circuit boards and the like. The circuits constituting a block may be implemented by dedicated hardware, by a processor (for example, one or more programmed microprocessors and associated circuitry), or by a combination of dedicated hardware to perform some functions of the block and a processor to perform other functions of the block. Each block of the embodiments may be physically separated into two or more interacting and discrete blocks without departing from the scope of the disclosure. Likewise, the blocks of the embodiments may be physically combined into more complex blocks without departing from the scope of the disclosure.
The accompanying drawings are used to help easily understand various technical features, and the embodiments presented herein are not limited by the accompanying drawings. Therefore, it should be understood that the spirit of the disclosure may be expanded to its modifications, replacements, and equivalents in addition to what is shown in the drawings. In addition although the terms including ordinal numbers such as “first,” “second,” and so on used herein may be used to describe various components, the components are not limited by the terms, and the terms are used only for the purpose of distinguishing one component from another component.
Therefore, embodiments of the disclosure provide a method of detecting a similar feature of an electronic device. The method includes transmitting, by an electronic device, a communication signal to a plurality of candidate devices in the vicinity of the electronic device. The method further includes generating, by the electronic device, a function code. The function code indicates configuration information of the electronic device. The method further includes receiving, by the electronic device, candidate function codes transmitted by the plurality of candidate devices based on the received communication signal. The function code transmitted by the plurality of candidate devices represents configuration information of the plurality of candidate devices. The method further includes determining, by the electronic device, whether the function code of the electronic device matches the candidate function codes received from the plurality of candidate devices. When it is determined that the function code of the electronic device matches the candidate function codes, the method further includes performing, by the electronic device, at least one operation.
Unlike methods and electronic devices according to the related art, in the proposed method, the electronic device notifies an alert despite having the same feature as the plurality of nearby candidate devices. The electronic device transmits a communication signal to the plurality of nearby candidate devices and generates a function code. The plurality of candidate devices also generate candidate function codes. Then, the electronic compares the function code with the candidate function codes to determine whether the function code matches the candidate function codes. When the function code matches the candidate function codes, the electronic device may use different alert types or a combination of alert types to notify a user of the electronic device.
Hereinafter, various embodiments, in which similar reference characters denote corresponding features consistently throughout the accompanying drawings, will be described with reference to the accompanying drawings, and more specifically to
Referring to
Referring to
Although the processor 110 and the memory 130 have been described as being separate from each other, the disclosure is not limited thereto, and the processor 110 and the memory 130 may be formed as a controller (not shown) formed as a single chip. The controller controls the overall operation of the electronic device 100. The controller may correspond to at least one processor 110. In this case, the processor 110 may be implemented as an array of a plurality of logic gates or a combination of a general-use microprocessor and the memory 130 in which a program executable by the microprocessor is stored.
In an embodiment, the processor 110 is configured to transmit a communication signal to the plurality of candidate devices 200a to 200n in the vicinity of the electronic device 100. A function code indicates configuration information of the electronic device 100. The electronic device 100 may receive candidate function codes transmitted by the plurality of candidate devices 200a to 200n based on the received communication signal. The candidate function codes transmitted by the plurality of candidate devices 200a to 200n may indicate configuration information of the plurality of candidate devices 200a to 200n. The processor 110 may be configured to determine whether the function code of the electronic device 100 matches the candidate function codes received from the plurality of candidate devices 200a to 200n. When it is determined that the function code of the electronic device 100 matches the candidate function codes, the processor 110 may perform at least one operation. The communication signal includes a Bluetooth signal, an ultrasonic signal, a wireless signal, and the like.
In an embodiment, the processor 110 may generate and transmit a unique identifier. Furthermore, the processor 110 may receive unique identifiers transmitted by the plurality of candidate devices 200a to 200n. The unique identifier may correspond to a specific frequency.
In an embodiment, the processor 110 may determine a plurality of features of the electronic device 100, an attribute related to each feature of the electronic device 100, and a value corresponding to each attribute. The processor 110 may generate a function code based on the plurality of features. Specifically, in order to generate a function code, the processor 110 may determine an attribute related to each feature of the electronic device 100 and a value corresponding to each attribute. A function code and a candidate function code may be at least one of an ultrasound Morse code, an American standard for information interchange (ASCII) code, a binary code, or a custom code. After matching function codes, the processor 110 may notify a user of the electronic device 100 of a result of the matching or automatically activate or deactivate at least one function of the electronic device 100. In addition, the processor 110 may notify the user of at least one function or automatically modify at least one function.
In an embodiment, the candidate device 200a filters the plurality of candidate devices 200a to 200n and the electronic device 100 based on proximity parameters. The filtering may be performed based on at least one of a position or a distance value of the plurality of candidate devices 200a to 200n and the electronic device 100. In addition, the plurality of candidate devices 200a to 200n and the electronic device 100 may perform filtering based on a speed or time value of the nearby candidate devices 200a to 200n and the electronic device 100. The electronic device 100 may filter at least one of the plurality of candidate devices 200a to 200n which leaves the vicinity of the electronic device 100. Here, the position indicates a position of the electronic device 100 or the plurality of candidate devices 200a-200n in a specific space. The distance value indicates a distance between the plurality of candidate devices 200a to 200n in the vicinity of the electronic device 100 or a distance between the electronic devices 100.
In an embodiment, the electronic device 100 may notify a user of a profile or alert mode change in a place in which a number of persons gather. For example, the embodiment may be applied in a movie theater. According to the embodiment, when most nearby users are in a silent mode, the user may change a profile of the electronic device 100 to a silent mode or a vibration mode. In addition, when other nearby users are using a high ringtone volume, the user may change a volume of the electronic device 100.
The electronic device 100 notifies the user of an augmented reality (AR) mode or a virtual reality (VR) mode to allow the user to find a nearby person or object. For example, when the user is trying to find a taxi, the user may run a camera and move the electronic device 100 to find an accurate position of a taxi that is waiting or looking for a person in a public place. The user may run the camera and move the electronic device 100 to find an exact position of a person.
In addition, the electronic device 100 may count the number of moving or stationary objects in the vicinity of the user. For example, when a plurality of nearby moving objects are present, the electronic device 100 may alert the user to avoid an accident.
The processor 110 is configured to execute instructions stored in the memory 130 and perform various processes. The memory 130 stores instructions to be executed by the processor 110. The memory 130 may include non-volatile storage elements. Examples of such non-volatile storage elements may include a magnetic hard disk, an optical disc, a floppy disk, a flash memory, or a form of an electrically programmable memory (EPROM) or electrically erasable and programmable memory (EEPROM). In addition, in some examples, the memory 130 may be considered as a non-transitory storage medium. The term “non-transitory” may indicate that a storage medium is not embodied as a carrier wave or a propagated signal. However, the term “non-transitory” should not be interpreted to mean that the memory 130 is immovable. In some examples, the memory 130 may be configured to store larger amounts of information. In a specific example, a non-transitory storage medium may store data that can change over time (for example, in random access memory (RANI) or cache).
Meanwhile, although
Referring to
Referring to
The processor 110 receives the regenerated unique identifier transmitted by at least one of the plurality of candidate devices 200a to 200n at operation 412. The processor 110 generates a function code that is configuration information of the electronic device 100 at operation 414. The electronic device 100 receives candidate function codes transmitted by the plurality of candidate devices 200a to 200n at operation 416. The processor 110 determines whether the function code of the electronic device 100 matches the candidate function codes received from the plurality of candidate devices 200a to 200n at operation 418. When it is determined that the function code matches the candidate function codes, the processor 110 may perform at least one operation at operation 420.
Referring to
Referring to
Referring to
In the embodiment, it is assumed that an electronic device 100 is stolen. Referring to
Referring to
For example, prominent functions include a ringtone 706, a vibration 708, a light-emitting diode (LED) 710, a flash 712, an edge 714, a glow 716, an ambient 718, and a visibility 720. Priority parameters include an orientation of an electronic device 100, a placement of a sensor 704, a similar alert intensity, and a user presence. The orientation of the electronic device 100 is for confirming a sensor visible to a user. The placement of the sensor 704 allows it to be confirmed that the sensor 704 has visibility based on the orientation of the electronic device 100. A similar alert intensity for prominent features such as the LED 710, the flash 712, the edge 714, and the glow 716 is a luminous intensity based on set priority. The user presence is indicated toward any orientation of the electronic device 100. A processing symbol 702 shows a process of identifying the most prominent function based on the priority parameter.
In an embodiment, the prominent function based on the priority parameter is a current contextual parameter. After the prominent function is identified based on the current contextual parameter, the electronic device 100 transmits a function code based on the prominent function of the electronic device 100 to a plurality of candidate devices 200a to 200n.
The current contextual parameter is transmitted to the plurality of candidate devices 200a to 200n based on a time value of a scheduler or a user event. The current contextual parameter is monitored for a particular period of time (threshold). For example, when global positioning system (GPS) and pedometer values are both “yes,” since a user is in a continuous walking state and the continuous walking state is at a certain speed, there is no need to start transmitting.
Referring to
Referring to
Referring to
A notification 1002 allows a user to respond in a manual mode or an auto mode. The manual mode is illustrated in
Referring to
Referring to
Referring to part (a) of
Referring to
The generated ultrasonic Morse codes may be shared between all the candidate devices 1302 to 1308 and the electronic device 100 to confirm whether the ultrasonic mode codes match each other.
When the ultrasonic mode codes match each other, the electronic device 100 may notify a user using a secondary alert 1314. Default setting of a closest device may be highlighted. The user may click and confirm highlighted default setting of an intelligently selected device.
For example, 1. Connection (D)>Bluetooth (A)>DA, and 2. Music Application>play via Bluetooth>Audio>DAA.
Referring to
Referring to
Referring to
Referring to
According to an aspect of the disclosure, it is possible to prevent confusion that can occur due to overlapping alert functions of user terminals in a specific space.
Meanwhile, the disclosed embodiments can be implemented with recording media storing computer-executable instructions. The instructions can be stored in the form of program code and generate, when executed by a processor, a program module such that the operation of the disclosed embodiments can be performed. The recording media can be implemented as computer-readable recording media.
The computer-readable recording media include all types of recording media in which instructions that can be interpreted by a computer are stored. Examples of the computer-readable recording media include a read only memory (ROM), a RAM, a magnetic tape, a magnetic disk, a flash memory, an optical data storage device, and the like.
A machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, the term “non-transitory” simply means that the storage medium is a tangible device and does not include a signal (for example, an electromagnetic wave), but this term does not differentiate between where data is semi-permanently stored in the storage medium and where the data is temporarily stored in the storage medium. For example, the “non-transitory storage medium” may include a buffer in which data is temporarily stored.
According to an embodiment, a method according to various embodiments of the disclosure may be included and provided in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (for example, a compact disc read only memory (CD-ROM)) or distributed (for example, downloaded or uploaded) online via an application store (for example, Play Store™) or between two user devices (for example, smart phones) directly. When distributed online, at least a part of a computer program product (for example, a download application (app)) may be temporarily generated or at least temporarily stored in a machine-readable storage medium, such as a memory of a manufacturer's server, a server of an application store, or a relay server.
While the disclosure has been shown and described with reference to various embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
202041032271 | Jul 2020 | IN | national |
10-2021-0090388 | Jul 2021 | KR | national |