1. Field of the Invention
The invention generally relates to a communications method and devices, and more particularly, to a method to determine a role of the communication device according to the sensing result.
2. Description of the Related Art
Near Field Communication (NFC) is set of standards for a non-touching identification and connection technology. It uses the near field of the magnetic-field communication method in a mobile apparatus, consumer electronics products, personal computer or smart electrical device to process short distance wireless communication, which allows users to directly exchange information, content and services.
Because the market for the handheld devices such as cell phones has been fully developed, handheld devices may support the moving-paying or be regarded as the point of sale (POS) system. However, the NFC used to transmit and receive signals is through the magnetic-field communication method, therefore the sensing card readers or elements with a similar function need to be configured on cell phone or other the handheld device. This increases the size of the handheld device and limits the configuration and the material of the elements in the handheld device.
Therefore, a touch-link technology of the touch-panel devices, such as that shown in patents US 2011/0304583, US 2013/0147760 and CN 102916729A, has been developed. The touch-link technology can use the panel and driver IC of the touch-panel device to process communication. The touch-panel device comprises a touch sensor. At least part of the touch sensor is comprised in part of the touch panel of the touch-panel device. The touch panel may not have a display function, such as a touch pad. Conversely, the touch panel may have a display function, such as a touch screen. The touch sensor comprises a plurality of driving electrodes and sensing electrodes which are configured on the base plate to compose the capacitive structure. At least one of the driving electrodes and sensing electrodes is regarded as a transmitting electrode, and at least of one of the driving electrodes and sensing electrodes is regarded as a receiving electrode. Therefore, the signals can be transmitted and received by the original electrodes and driver IC of the touch panel to complete the touch link based on the electrodes without configuring other sensing card readers or elements with a similar function. Therefore, compared with NFC technology, the size and cost of the handheld device may be reduced.
The signal transmitting system 202 comprises a touch-link request signal response unit 221, a link-establishment unit 222 and a second communication unit 223. The touch-link request signal response unit 221 responds with a response signal to the first touch-panel device 101 by the transmitting electrode, after the touch-link request signal response unit 221 receives the request signal from the first touch-panel device 101 by the receiving electrode. The link-establishment unit 222 establishes the link with the first touch-panel device 101, after the touch-link request signal response unit 221 responds with a response signal to the first touch-panel device 101. When the link is established, the second communication unit 223 receives the communication information or data from the first touch-panel device 102 by the receiving electrode.
With the growing of touch-link technology on the market, it is necessary to pay more attention to provide a better user experience. However, devices that employ touch-link technology may play different roles in each transmission pair, e.g. sender and receiver, client and master, etc. User input is necessary to decide the role of each device by choosing the role from a menu displayed on both devices before a touch-link is established. Namely, the user needs to decide which device is the sender and which is the receiver before a touch-link is established. Therefore, how to simplify user operation is worthy of discussion.
A communications method and apparatus are provided to overcome the above mentioned problems.
An embodiment of the invention provides a communication device. The communication device comprises a communication unit, configured to establish a link with a second communication device by a touch-link technology; a sensing unit, configured to generate a sensing result by sensing the communication device; and a processing unit, configured to determine a which role for the communication device according to the sensing result.
An embodiment of the invention provides a communications system. The communication system comprises a first communication device and a second communication device, which establishes a link with the first communication device by a touch-link technology, wherein the roles of the first communication device and the second communication device are determined according to the sensing results generated by the first communication device and the second communication device.
An embodiment of the invention provides a communication method, which is applied to a communication device. The steps of the method comprise establishing, by the communication device, a link by a touch-link technology; sensing the communication device for generating a sensing result; and determining a role of the communication device according to the sensing result.
Other aspects and features of the invention will become apparent to those with ordinary skill in the art upon review of the following descriptions of specific embodiments of communication transmission methods and systems.
The invention will become more fully understood by referring to the following detailed description with reference to the accompanying drawings, wherein:
The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
In an embodiment of the invention, communication unit 110 is configured to establish a link with the second communication device 200 by a touch-link technology. When the touch link function of the communication device 100 and the second communication device 200 are enabled, the communication device 100 can establish a link with the second communication device 200 by the communication unit 110. In an embodiment of the invention, the touch-link technology is a HotKnot technology as shown in
The sensing unit 120 may comprises a plurality of sensors, such as a gyroscope sensor (G-sensor), and an accelerometer. The sensing unit 120 can sense the motion and direction of the communication device 100 to generate a sensing result. In some embodiments, the sensing unit 120 can sense the motion of the communication device 100 on six axes to calculate the moving velocity of the communication device 100. In some embodiments, the sensing unit 120 can sense the direction of the communication device 100 to determine whether the panel of the communication device 100 is up or down. Note that, in the embodiments of the invention, the sensing unit 120 only sense the motion and direction of the communication device 100, but the invention should not be limited to what is shown in these embodiments. The sensing unit 120 may sense other parameters to generate the sensing result.
The processing unit 130 may control the operations of the baseband signal processing and the RF signal processing. According to an embodiment of the invention, the processing unit 130 may also be arranged to execute the program codes of the software module(s) of the corresponding baseband signal processing and/or the RF signal processing. The program codes accompanied with specific data in a data structure may also be referred to as a processor logic unit or a stack instance when being executed. Therefore, the processing unit 130 may be regarded as being comprised of a plurality of processor logic units, each for executing one or more specific functions or tasks of the corresponding software module(s). In an embodiment of the invention, the processing unit 130 may determine the role of the communication device 100 according to the sensing result generated by the sensing unit 120.
The transceiver 140 may comprise a plurality of antennas to transmit data to the second communication device 200 and receive data from the second communication device 200. In an embodiment of the invention, the communication device 100 further comprises a memory unit (not presented). The memory unit may store the software and firmware program codes, system data, user data, etc. of the communication device 100. The memory unit may be a volatile memory, e.g. a Random Access Memory (RAM), or a non-volatile memory, e.g. a flash memory, Read-Only Memory (ROM), or hard disk, or any combination thereof.
In an embodiment of the invention, when the communication unit 110 is establishing a link with the second communication device 200, the sensing unit 120 is configured to generate a sensing result by sensing the communication device 100, wherein the sensing unit 120 generates the sensing result by sensing a motion parameter or a direction parameter of the communication device 100. Then, the processing unit 130 may determine a role of the communication device 100 according to the sensing result. Then, the transceiver 140 may transmit data to the second communication device 200 or receive data from the second communication device 200 according to the role of the communication device 100.
In some embodiments of the invention, the processing unit 130 may determine a role of the communication device 100 according to a first threshold. The first threshold is configured to determine the communication device 100 is moving or motionless, or the moving velocity of the communication device 100 is faster or slower than the second communication device 200. The motion parameter of the communication device 100 is configured to be compared to the first threshold by the processing unit 130, and the processing unit 130 may determine the role of the communication device 100 is a sender or a receiver according to the comparison result. More detail descriptions are described as follow.
In an embodiment of the invention, if the motion parameter of the communication device 100 is greater than a first threshold, the processing unit 130 may determine that the role of the communication device 100 is sender. On the other hand, if the role of the communication device 100 is a sender, the role of the second communication device 200 may be regarded as receiver. If the motion parameter of the communication device 100 is smaller than the first threshold, the processing unit 130 determines the role of the communication device 100 is a receiver. In this situation, if the role of the communication device 100 is a receiver, the role of the second communication device 200 may be regarded as a sender.
In another embodiment of the invention, if the motion parameter of the communication device 100 is greater than a first threshold, the processing unit 130 may determine that the role of the communication device 100 is a receiver. On the other hand, if the role of the communication device 100 is a receiver, the role of the second communication device 200 may be regarded as a sender. If the motion parameter of the communication device 100 is smaller than the first threshold, the processing unit 130 determines the role of the communication device 100 is a sender. In this situation, if the role of the communication device 100 is a sender, the role of the second communication device 200 may be regarded as a receiver.
In some embodiments of the invention, the processing unit 130 may determine a role of the communication device 100 according to a second threshold. The second threshold is configured to determine the direction of panel of the communication device 100 is up or down. In an embodiment of the invention, if the direction parameter of the communication device 100 is greater than a second threshold, it means that the orientation of panel of the communication device 100 is up, and if the direction parameter of the communication device 100 is smaller than a second threshold, it means that the direction of panel of the communication device 100 is down. In another embodiment of the invention, if the direction parameter of the communication device 100 is greater than a second threshold, it means that the direction of panel of the communication device 100 is down, and if the direction parameter of the communication device 100 is smaller than a second threshold, it means that the orientation of panel of the communication device 100 is up. The direction parameter of the communication device 100 is configured to be compared to the second threshold by the processing unit 130, and the processing unit 130 may determine the role of the communication device 100 is a sender or a receiver according to the comparison result. More detail descriptions are described as follow.
In an embodiment of the invention, if the direction parameter of the communication device 100 is greater than a second threshold, the processing unit 130 determines the role of the communication device 100 is a sender. On the other hand, if the role of the communication device 100 is a sender, the role of the second communication device 200 may be regarded as a receiver. If the direction parameter of the communication device 100 is smaller than a second threshold, the processing unit 130 determines the role of the communication device 100 is a receiver. In this situation, if the role of the communication device 100 is a receiver, the role of the second communication device 200 may be regarded as a sender.
In another embodiment of the invention, if the direction parameter of the communication device 100 is greater than a second threshold, the processing unit 130 determines the role of the communication device 100 is a receiver. On the other hand, if the role of the communication device 100 is a receiver, the role of the second communication device 200 may be regarded as a sender. If the direction parameter of the communication device 100 is smaller than a second threshold, the processing unit 130 determines the role of the communication device 100 is a sender. In this situation, if the role of the communication device 100 is a sender, the role of the second communication device 200 may be regarded as a receiver.
Note that, the first threshold and second threshold are pre-defined. In addition, the rule regarding the role assignment is also pre-defined. For example, if the motion parameter of the communication device 100 is greater than a first threshold, the communication device 100 may be regarded as a sender or a receiver, and if the direction parameter of the communication device 100 is greater than a second threshold, the communication device 100 may be regarded as a sender or a receiver.
In an embodiment of the invention, the processing unit 130 may adopt the first threshold or the second threshold to determine the role of the communication device 100 according to different situations. For example, if the panel of communication device 100 is up and the panel of the second communication device 200 is down, the processing unit 130 may adopt the first threshold to determine the role of the communication device 100. If the communication device 100 is moving and the second communication device 200 is motionless, the processing unit 130 may adopt the second threshold to determine the role of the communication device 100. In an embodiment of the invention, the sensing result is generated according to a plurality of parameters, such as the motion parameter, direction parameter and so on, wherein the parameters have different weightings. The weighting of the parameter is increased according to the threshold adopted by processing unit 130. For example, if the processing unit 130 adopts the first threshold, the weight of the motion parameter will be increased.
In an embodiment of the invention, if the link is established successfully and the roles of the communication device 100 and the second communication device 200 are determined, the sensing unit 120 will sense communication device 100 continuously and the processing unit 130 determine whether need to adjust the role of the communication device 100 according to the sensing result. If the link fails to be established or the role of the communication device 100 can't be determined, the sensing unit 120 will sense the communication device 100 again. In an embodiment of the invention, the role of the communication device 100 can't be determined, because the directions of the communication device 100 and the second communication device 200 are the same, or the moving velocity of the communication device 100 and the second communication device 200 are the same.
In some embodiments of the invention, the communications methods further comprise the step of continuously sensing the communication device 100, if the link is established successfully. In some embodiments of the invention, the communications methods further comprise the step of sensing the communication device 100 again if the link fails to be established or the role of the communication device 100 can't be determined. In some embodiments of the invention, the communications methods further comprise the step of adjusting the role of the communication device 100 according to the changed sensing result, if the motion parameter or the direction parameter of the communication device 100 is changed.
Therefore, the communication method of the invention provides an intelligent and intuitive decision by referring to relative sensing parameters of the communication device. The user does not need to manually decide which communication device is sender and which communication device is receiver before touch-link is established. The communication device can directly and automatically determine its role.
The steps of the method described in connection with the aspects disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module (e.g., including executable instructions and related data) and other data may reside in a data memory such as RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, a hard disk, a removable disk, a CD-ROM, or any other form of computer-readable storage medium known in the art. A sample storage medium may be coupled to a machine such as, for example, a computer/processor (which may be referred to herein, for convenience, as a “processor”) such that the processor can read information (e.g., code) from and write information to the storage medium. A sample storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in user equipment. Alternatively, the processor and the storage medium may reside as discrete components in user equipment. Moreover, in some aspects any suitable computer-program may comprise a computer-readable medium comprising codes relating to one or more of the aspects of the disclosure. In some aspects a computer program may comprise packaging materials.
The above paragraphs describe many aspects. Obviously, the teaching of the invention can be accomplished by many methods, and any specific configurations or functions in the disclosed embodiments only present a representative condition. Those who are skilled in this technology can understand that all of the disclosed aspects of the invention can be applied independently or be incorporated.
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 equivalents.
This application claims priority of U.S. Provisional Patent Application No. 61/915,769, filed on Dec. 13, 2013, the entirety of which is incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
61915769 | Dec 2013 | US |