1. Field of the Invention
The disclosure relates generally to methods and systems for displaying graphic representations in a user interface, and, more particularly to methods and systems that can display a graphic representation corresponding to a specific electronic device in a user interface according to a received wireless signal.
2. Description of the Related Art
Recently, electronic devices, such as smart phones, tablets, notebooks, and other portable devices, have become more and more technically advanced and multifunctional. For example, portable devices have network connectivity capabilities. Users can use their portable devices to connect to networks at anytime and anywhere. The convenience and new functionalities advanced by modern technology have made these devices into necessities of life.
Furthermore, with the coming of IOT (Internet Of Things) generation, every device or object can connect to networks, and users can access and control these devices or objects via networks. The rapid development of IOT is fortunate that the underlying foundation of wireless network technology is already very mature. Electronic devices can readily connect with each other to perform related applications via wireless networks. Additionally, the BLE (Bluetooth Low Energy) technology has solved the prohibitive power consumption issue caused by prolonged connections of electronic devices to wireless networks.
Although networking and power consumption issues have been largely resolved, there still exists room for improvement with regards to how IOT devices communicate with other networked devices. For example, a beacon device is a low-cost wireless Bluetooth transmitter implemented with BLE technology, which can transmit Bluetooth signals via a wireless network for a long time. A mobile phone implemented with BLE technology can wirelessly seek Bluetooth signals to discover corresponding beacon device. The mobile phone can use figures or text to represent whether a specific beacon device has been detected. However, when several beacon devices are present in an environment, a user cannot recognize the location of the respective beacon devices, nor is there a simple way to identify the distance between you and the users associated with the respective beacon devices.
Methods and systems for displaying graphic representations in a user interface are provided, wherein a graphic representation corresponding to a specific electronic device can be displayed in a user interface according to a received wireless signal.
In an embodiment of a method for displaying graphic representations in a user interface, a wireless signal generated by at least one specific electronic device is detected via a wireless network. Then, a signal strength of the wireless signal is obtained, and a visual representation manner of a graphic representation corresponding to the specific electronic device is determined according to the signal strength. Then, the graphic representation is displayed in a user interface via a display unit.
An embodiment of a system for displaying graphic representations in a user interface comprises a display unit, a wireless connecting unit, and a processing unit. The display unit displays a user interface. The wireless connecting unit detects a wireless signal generated by at least one specific electronic device via a wireless network. The processing unit obtains a signal strength of the wireless signal, and determines a visual representation manner of a graphic representation corresponding to the specific electronic device according to the signal strength. The processing unit displays the graphic representation in the user interface via the display unit.
In some embodiments, the visual representation manner comprises a size, a shape, a color, a brightness, and/or a twinkling state corresponding to the graphic representation. In some embodiments, when the signal strength is a first value, the size of the graphic representation is set to a first size. When the signal strength is a second value, the size of the graphic representation is set to a second size. When the first value is greater than the second value, the first size is greater than the second size.
In some embodiments, it is determined whether the signal strength corresponding to the specific electronic device is greater than a threshold value. When the signal strength corresponding to the specific electronic device is not greater than the threshold value, the graphic representation corresponding to the specific electronic device is not displayed in the user interface. In some embodiments, when the signal strength corresponding to the specific electronic device is greater than the threshold value, the visual representation manner of the graphic representation corresponding to the specific electronic device is set as a first specific manner, and the graphic representation is displayed via the user interface. In some embodiments, a target electronic device is determined from the at least one specific electronic device, wherein the wireless signal of the target electronic device has the greatest signal strength of all other specific electronic devices. The visual representation manner of the graphic representation corresponding to the target electronic device is set as a second specific manner, and the graphic representation corresponding to the target electronic device is displayed via the user interface, wherein the second specific manner and the first specific manner are different.
In some embodiments, location information corresponding to the electronic device is obtained, and location information corresponding to the specific electronic device is obtained. The display position for the graphic representation corresponding to the specific electronic device in the user interface is determined according to the location information corresponding to the electronic device and the location information corresponding to the specific electronic device.
In some embodiments, location information corresponding to at least three reference electronic devices among the at least one specific electronic device is obtained. The display position for the graphic representation corresponding to the respective reference electronic device in the user interface is determined according to the location information corresponding to the respective reference electronic device and the signal strength of the wireless signal corresponding to the respective reference electronic device.
In some embodiments, the user interface is divided into a plurality of partitions, and the graphic representation corresponding to the respective reference electronic device is displayed in one of the partitions of the user interface.
Methods for displaying graphic representations in a user interface may take the form of a program code embodied in a tangible media. When the program code is loaded into and executed by a machine, the machine becomes an apparatus for practicing the disclosed method.
The invention will become more fully understood by referring to the following detailed description with reference to the accompanying drawings, wherein:
Methods and systems for displaying graphic representations in a user interface are provided.
In step S310, the electronic device detects a wireless signal generated by at least one specific electronic device via a wireless network, such as Wi-Fi or Bluetooth network. It is noted that, in some embodiments, the specific electronic device may be a device having BLE wireless transmission capabilities, such as a beacon device, which continuously transmits a wireless signal. Then, in step S320, a signal strength of the wireless signal is obtained. It is noted that, the signal strength of the wireless signal can be determined according to the RSSI (Received Signal Strength Indication) recorded in the wireless signal. Then, in step S330, a visual representation manner of a graphic representation corresponding to the specific electronic device is determined according to the signal strength. It is understood that, in some embodiments, the visual representation manner comprises a size, a shape, a color, a brightness, and/or a twinkling state corresponding to the graphic representation. It is understood that, in some embodiments, the size of the graphic representation is bigger when the signal strength is higher. For example, when the signal strength is a first value, the size of the graphic representation is set to a first size. When the signal strength is a second value, the size of the graphic representation is set to a second size. When the first value is greater than the second value, the first size is greater than the second size. In some embodiments, the shape of the graphic representation will be changed when the signal strength changes. In some embodiments, the color of the graphic representation will be changed when the signal strength changes. In some embodiments, the brightness of the graphic representation is higher when the signal strength is higher. In some embodiments, the twinkling frequency of the graphic representation is higher when the signal strength is higher. It is understood that, the above visual representation manners are only examples of the present application. Any manner that allows users to visually distinguish the difference between the graphic representations can be applied in the present invention. After the visual representation manner corresponding to the graphic representation is determined, in step S340, the graphic representation corresponding to the specific electronic device is displayed in a user interface via a display unit of the electronic device. It is understood that, when wireless signals corresponding to several specific electronic devices are detected by the electronic device, the graphic representations corresponding to the respective specific electronic devices are displayed in the user interface.
In step S410, it is determined whether the signal strength corresponding to a specific electronic device is greater than a threshold value. When the signal strength corresponding to the specific electronic device is greater than the threshold value (Yes in step S410), in step S420, the graphic representation corresponding to the specific electronic device is displayed in the user interface. It is noted that, the size of the graphic representation corresponding to the specific electronic device can be determined according to the signal strength. When the signal strength corresponding to the specific electronic device is not greater than the threshold value (No in step S410), in step S430, the graphic representation corresponding to the specific electronic device is not displayed in the user interface. In other words, only the graphic representation corresponding to the specific electronic device having a signal strength greater than the threshold value will be displayed in the user interface.
In step S510, it is determined whether the signal strength corresponding to a specific electronic device is greater than a threshold value. When the signal strength corresponding to the specific electronic device is not greater than the threshold value (No in step S510), the procedure is completed. When the signal strength corresponding to the specific electronic device is greater than the threshold value (Yes in step S510), in step S520, the visual representation manner of a graphic representation corresponding to the specific electronic device is set as a first specific manner. In step S530, it is determined whether the wireless signal of the specific electronic device has the highest signal strength of all other devices. When the wireless signal of the specific electronic device does not have the highest signal strength of all other devices (No in step S530), the procedure is completed. When the wireless signal of the specific electronic device has the highest signal strength of all other devices (Yes in step S530), in step S540, the specific electronic device is set as a target electronic device, and the visual representation manner of the graphic representation corresponding to the target electronic device is set as a second specific manner. It is noted that, as described, in some embodiments, the visual representation manner comprises a size, a shape, a color, a brightness, and/or a twinkling state corresponding to the graphic representation. In some embodiments, the second specific manner and the first specific manner are different. For example, when the visual representation manner comprises the size of the graphic representation, the size of the graphic representation corresponding to the respective device having a signal strength greater than the threshold value can be set as a first specific size, and the size of the graphic representation corresponding to the device having the greatest signal strength can be set as a second specific size, wherein the second specific size is bigger than the first specific size. It is understood that, in some embodiments, when the greatest signal strength cannot be identified, a target electronic device can be determined from the devices according to a specific selection logic, and the visual representation manner of the graphic representation corresponding to the target electronic device can be set as the second specific manner. It is noted that, in some embodiments, the selection logic can determine whether the respective device is recorded in a specific list. For example, the specific list can record the devices which are registered or advertised, and/or have a specific ranking.
It is understood that, in some embodiments, when several devices simultaneously have a signal strength greater than the threshold value, a target electronic device can be directly determined from the devices according to a specific selection logic, and the visual representation manner of the graphic representation corresponding to the target electronic device can be set as a unique manner other than that of other devices. Similarly, in some embodiments, the selection logic can determine whether the respective device is recorded in a specific list. For example, the specific list can record the devices which are registered or advertised, and/or have a specific ranking.
In step S710, location information, such as longitude and latitude information corresponding to the electronic device is obtained. In step S720, location information, such as longitude and latitude information corresponding to a specific electronic device is obtained. Then, in step S730, the display position for a graphic representation corresponding to the specific electronic device in the user interface is determined according to the location information corresponding to the electronic device and the location information corresponding to the specific electronic device. It is noted that, the relative position between the electronic device and the specific electronic device can be determined according to the location information of the electronic device and the specific electronic device.
In some embodiments, the default position of the electronic device can be at the center of the user interface. When the specific electronic device is at a first direction, such as in the front of the electronic device, the graphic representation corresponding to the specific electronic device can be displayed in the topside of the user interface. When the specific electronic device is at a second direction, such as in the rear of the electronic device, the graphic representation corresponding to the specific electronic device can be displayed in the bottomside of the user interface. In another embodiment, the user interface can be divided into a plurality of partitions, and the graphic representation corresponding to the respective reference electronic device can be displayed in one of the partitions of the user interface. For example, when a specific electronic device D-A is at the right-front of the smart phone 600, the graphic representation corresponding to the specific electronic device D-A can be displayed in the top-right partition of the user interface 610, as shown in
In step S910, location information corresponding to at least three reference electronic devices is obtained. It is understood that, in some embodiments, the location information corresponding to the reference electronic device can be set according to its actual location and a coordinate system. Then, in step S920, the display position for a graphic representation corresponding to the respective reference electronic device in the user interface is determined according to the location information corresponding to the respective reference electronic device and the signal strength of the wireless signal corresponding to the respective reference electronic device.
For example, specific electronic devices D-A, D-B and D-G can respectively set its location information according to a coordinate system. When the wireless signals respectively corresponding to the specific electronic devices D-A, D-B and D-G are detected by the smart phone 600, the relative position between the smart phone 600 and the specific electronic devices D-A, D-B and D-G can be determined according to the location information and the signal strength respectively corresponding to the specific electronic devices. In the example of
Therefore, the methods and systems for displaying graphic representations in a user interface of the present invention can represent a specific electronic device in a user interface according to the wireless signal generated by the specific electronic device. Users can know the distance and relative position between the specific electronic device and users' electronic device via the visual representation manner and position corresponding to a graphic representation in the user interface, thereby enhancing the applicability of related devices and services.
Methods for displaying graphic representations in a user interface may take the form of a program code (i.e., executable instructions) embodied in tangible media, such as floppy diskettes, CD-ROMS, hard drives, or any other machine-readable storage medium, wherein, when the program code is loaded into and executed by a machine, such as a computer, the machine thereby becomes an apparatus for executing the methods. The methods may also be embodied in the form of a program code transmitted over some transmission medium, such as electrical wiring or cabling, through fiber optics, or via any other form of transmission, wherein, when the program code is received and loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for executing the disclosed methods. When implemented on a general-purpose processor, the program code combines with the processor to provide a unique apparatus that operates analogously to application specific logic circuits.
While the invention has been described by way of example and in terms of preferred embodiment, it is to be understood that the invention is not limited thereto. Those who are skilled in this technology can still make various alterations and modifications without departing from the scope and spirit of this invention. Therefore, the scope of the present invention shall be defined and protected by the following claims and their equivalent.
Number | Date | Country | Kind |
---|---|---|---|
103139171 | Nov 2014 | TW | national |