Embodiments of the present disclosure relate to connection scan technology, and particularly to an electronic device and method for processing scan results using the electronic device.
A scanning unit in an electronic device (e.g., a mobile device) can search for networks or other electronic devices that are available to be connected to by the electronic device. A scan result displayed on a display device of the electronic device can be updated in real time, and a list of the scan result can be refreshed continuously. A user may use a floating touch technology to select a target network or a target electronic device from the scan result without touching the display device directly. However, because the list of the scan result may be refreshed continuously, a target network or target electronic device may not be selected accurately and conveniently when the scan result is refreshing.
Implementations of the present disclosure will now be described, by way of example only, with reference to the following drawings. The modules in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding portions throughout the views.
The present disclosure, including the accompanying drawings, is illustrated by way of examples and not by way of limitation. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references can mean “at least one,” or “one or more.”
In the present disclosure, “module,” refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a program language. In one embodiment, the program language can be Java, C, or assembly. One or more software instructions in the modules can be embedded in firmware, such as in an EPROM. The modules described herein can be implemented as either software and/or hardware modules and can be stored in any type of non-transitory computer-readable media or storage medium. Non-limiting examples of a non-transitory computer-readable medium include CDs, DVDs, flash memory, and hard disk drives.
The display device 13 can display visible data, such as images and videos. In one embodiment, the display device 13 can support operations of a floating touch technology. The scanning unit 14 may search for networks (e.g. a wireless network) or other electronic devices (e.g. devices having BLUETOOTH™ modules), which are available to be connected to by the electronic device 1. As shown in
In one embodiment, the scan result processing system 10 can detect a floating touch signal of the electronic device 1, and optimize a scan result scanned by the scanning unit 14 according to the floating touch signal.
The detection module 100 can detect a floating touch signal of the electronic device when the scanning module 14 is enabled to search for the networks or the other electronic devices that are available to be connected to by the electronic device 1. In one embodiment, the floating touch signal is detected within a predetermined distance (e.g. 20 millimeters) from the display device 13. As shown in
The displaying module 102 can display a current scan result acquired from the scanning unit 14 on the display device 13. As shown in
When the scanning unit 14 obtains an updated scan result while the floating touch signal is detected, the determination module 104 can determine whether the updated scan result is the same as the current scan result.
When the floating touch signal is detected and the updated scan result is the same as the current scan result, the control module 106 can maintain the current scan result displayed on the display device 13.
When the floating touch signal is detected and the updated scan result is different from the current scan result, the control module 106 can maintain the current scan result displayed on the display device 13 and determines a difference result between the updated scan result and the current scan result.
The displaying module 102 can display the difference result on a designated region of the display device 13. The designated region is adjacent to a region that displays the current scan result. For example, the adjacent area may be on the top/bottom/left/right of the region of the current scan result.
As shown in
In one embodiment, when the current scan result includes data that is not included in the updated scan result (hereinafter “the inexistent data”), the control module 106 further deletes the inexistent data from the current scan result.
In other embodiments, the execution module 108 can connect the electronic device 1 to a corresponding network or other electronic device selected by the user in response to the floating touch signal.
In block 702, the detection module 100 detects a floating touch signal of the electronic device when the scanning module 14 is enabled to search for the networks or the other electronic devices.
In block 704, the display module 102 displays a current scan result acquired from the scanning unit 14 on the display device 13.
In block 706, the determination module 104 determines an updated scan result and determines whether the updated scan result is the same as the current scan result, when the floating touch signal is detected. If the updated scan result is determined to be the same as the current scan result, 712 is implemented. If the updated scan result is determined to be different from the current scan result, 708 is implemented
In block 708, the control module 106 maintains the current scan result displayed on the display device 13, and determines a difference result between the updated scan result and the current scan result.
In block 710, the displaying module 102 displays the difference result on a designated region of the display device 13, and the procedure ends.
In block 712, the control module 106 maintains the current scan result displayed on the display device 13, and the procedure ends.
All of the processes described above may be embodied in, and fully automated via, functional code modules executed by one or more general purpose processors such as the processor 11. The code modules may be stored in any type of non-transitory readable medium or other storage device such as the storage device 12. Some or all of the methods may alternatively be embodied in specialized hardware. Depending on the embodiment, the non-transitory readable medium may be a hard disk drive, a compact disc, a digital versatile disc, a tape drive, or other suitable storage medium.
The described embodiments are merely examples of implementations, and have been set forth for a clear understanding of the principles of the present disclosure. Variations and modifications may be made without departing substantially from the spirit and principles of the present disclosure. All such modifications and variations are intended to be included within the scope of this disclosure and the described inventive embodiments, and the present disclosure is protected by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
102114489 | Apr 2013 | TW | national |