




技术领域technical field
本发明有关于不同装置之间的数据处理(data transaction),尤其有关于一种利用通信协议来传输/接收另一种通信协议的应用的数据的方法及其装置。The present invention relates to data processing (data transaction) between different devices, and in particular relates to a method for transmitting/receiving application data of another communication protocol using a communication protocol and a device thereof.
背景技术Background technique
随着无线通信(wireless communication)技术的进步,一个装置得以透过无线通信协议(wireless communication protocol)来与另一个装置进行数据传输通信。其中,无线通信协议可例如蓝牙(Bluetooth)、无线兼容认证(wireless fidelity,Wi-Fi)等等。因为蓝牙技术发展得相当早,故已有许多蓝牙应用(Bluetoothapplication)问世,举例来说,点对点通信应用(peer-to-peer communicationapplication)普遍为许多蓝牙装置(例如,移动电话)所支持。对于无线兼容认证技术来说,由于其提出的比蓝牙技术晚,故可用的应用相当少,举例来说,无线兼容认证点对点模式(Wi-Fi ad-hoc mode)为最常使用的应用。由于无线兼容认证直连(Wi-Fi Direct)标准的发展,可允许无线兼容认证装置彼此之间无需无线接入点(access point)即可进行通信,换言之,无线兼容认证直连应用的操作相似于蓝牙应用的操作,举例来说,无线兼容认证直连应用可支持文件/档案共享、打印以及两个无线兼容认证装置之间的同步处理(synchronization),然而,由于无线兼容认证直连标准是近期所发表,并没有许多无线兼容认证直连应用可供用户来使用。With the advancement of wireless communication technology, a device can communicate with another device for data transmission through a wireless communication protocol. Wherein, the wireless communication protocol may be, for example, Bluetooth (Bluetooth), wireless compatibility certification (wireless fidelity, Wi-Fi) and the like. Because the Bluetooth technology has been developed quite early, many Bluetooth applications have come out. For example, peer-to-peer communication applications are generally supported by many Bluetooth devices (eg, mobile phones). For the wireless compatible authentication technology, since it was proposed later than the Bluetooth technology, there are quite few available applications. For example, the wireless compatible authentication point-to-point mode (Wi-Fi ad-hoc mode) is the most commonly used application. Due to the development of the Wi-Fi Direct standard, it allows Wi-Fi devices to communicate with each other without a wireless access point (access point), in other words, the operation of the Wi-Fi Direct application is similar In the operation of Bluetooth applications, for example, the Wi-Fi Direct application can support file/file sharing, printing, and synchronization between two Wi-Fi devices. However, since the Wi-Fi Direct standard is As recently announced, there are not many Wi-Fi Certified Direct applications available to users.
再者,由于不同的协议对不同的应用可具有不同的优点,因此,人们也许会想利用多种协议来达到相对应的应用的最佳效能。Furthermore, since different protocols have different advantages for different applications, people may want to use multiple protocols to achieve the best performance for corresponding applications.
因此,需要一种可透过一种通信协议(例如,无线兼容认证直连协议)来支持用于另一种通信协议(例如,蓝牙协议)的应用的新颖设计。Therefore, there is a need for a novel design that can support applications for another communication protocol (eg, Bluetooth protocol) through one communication protocol (eg, Wi-Fi Direct).
发明内容Contents of the invention
有鉴于此,本发明提供一种数据传输方法、装置以及数据接收方法、装置。In view of this, the present invention provides a data transmission method and device as well as a data receiving method and device.
本发明提供一种数据传输方法,包含:接收用于第一通信协议的应用的第一数据;将该第一数据转换为对应于第二通信协议的第二数据,其中该第二通信协议不同于该第一通信协议;以及将该第二数据传递至通信元件,其中该通信元件是用于透过该第二通信协议来传输该第二数据,以及该第一通信协议并不会控制该第二数据的传输。The present invention provides a data transmission method, comprising: receiving first data for an application of a first communication protocol; converting the first data into second data corresponding to a second communication protocol, wherein the second communication protocol is different from in the first communication protocol; and delivering the second data to a communication element, wherein the communication element is used to transmit the second data through the second communication protocol, and the first communication protocol does not control the Transmission of the second data.
本发明另提供一种数据接收方法,包含:自通信元件取得第一数据,其中该通信元件是用于透过不同于第二通信协议的第一通信协议来接收该第一数据,以及该第二通信协议并不会控制该第一数据的接收;将该第一数据转换为对应于该第二通信协议的第二数据;以及发送该第二数据至用于该第二通信协议的应用。The present invention further provides a data receiving method, comprising: obtaining first data from a communication element, wherein the communication element is used to receive the first data through a first communication protocol different from the second communication protocol, and the first data A second communication protocol does not control the reception of the first data; converting the first data into second data corresponding to the second communication protocol; and sending the second data to an application for the second communication protocol.
本发明再提供一种数据传输装置,包括:接收模块,用于接收第一通信协议的应用的第一数据;转换模块,用于将该第一数据转换为对应于第二通信协议的第二数据,其中该第二通信协议不同于该第一通信协议;以及传输模块,用于将该第二数据传递至通信元件,其中该通信元件是用于透过该第二通信协议来传输该第二数据,以及该第一通信协议并不会控制该第二数据的传输。The present invention further provides a data transmission device, including: a receiving module, used to receive the first data of the application of the first communication protocol; a conversion module, used to convert the first data into the second data corresponding to the second communication protocol data, wherein the second communication protocol is different from the first communication protocol; and a transmission module, configured to transfer the second data to a communication element, wherein the communication element is used to transmit the first communication protocol through the second communication protocol The second data, and the first communication protocol does not control the transmission of the second data.
本发明还提供一种数据接收装置,包括:接收模块,用于自通信元件取得第一数据,其中该通信元件是用于透过不同于第二通信协议的第一通信协议来取得该第一数据,以及该第二通信协议并不会控制该第一数据的接收;转换模块,用于将该第一数据转换为对应于该第二通信协议的第二数据;以及发送模块,用于发送该第二数据至用于该第二通信协议的应用。The present invention also provides a data receiving device, including: a receiving module for obtaining first data from a communication element, wherein the communication element is used to obtain the first data through a first communication protocol different from the second communication protocol data, and the second communication protocol does not control the reception of the first data; the conversion module is used to convert the first data into second data corresponding to the second communication protocol; and the sending module is used to send The second data is sent to an application for the second communication protocol.
本发明提供的数据传输方法、装置以及数据接收方法、装置可将用于一种通信协议应用的应用层面拓展至其他通信协议或增加通信协议应用的服务范围或吞吐量。The data transmission method, device, and data receiving method and device provided by the present invention can extend the application level for one communication protocol application to other communication protocols or increase the service range or throughput of the communication protocol application.
附图说明Description of drawings
图1为本发明通信系统的一个实施例的功能方块图;Fig. 1 is a functional block diagram of an embodiment of the communication system of the present invention;
图2为本发明数据传输方法的一个实施例的流程图;Fig. 2 is a flowchart of an embodiment of the data transmission method of the present invention;
图3为本发明数据接收方法的一个实施例的流程图;Fig. 3 is a flowchart of an embodiment of the data receiving method of the present invention;
图4为改良的蓝牙堆栈架构的实例示意图;FIG. 4 is a schematic diagram of an example of an improved bluetooth stack architecture;
图5为本发明基于无线相容认证/无线兼容认证直连协议的一个蓝牙应用的实例的示意图。FIG. 5 is a schematic diagram of an example of a Bluetooth application based on the wireless compatibility authentication/wireless authentication direct connection protocol of the present invention.
具体实施方式Detailed ways
在说明书及后续的权利要求当中使用了某些词汇来指称特定的元件。所属领域技术人员应可理解,电子装置制造商可能会用不同的名词来称呼同一个元件。本说明书及后续的权利要求并不以名称的差异来作为区分元件的方式,而是以元件在功能上的差异来作为区分的准则。在通篇说明书及后续的请求项当中所提及的「包含」为开放式的用语,故应解释成「包含但不限定于」。以外,「耦接」一词在此包含任何直接及间接的电气连接手段。因此,若文中描述一第一装置耦接到一第二装置,则代表该第一装置可直接电气连接于该第二装置,或透过其他装置或连接手段间接地电气连接至该第二装置。Certain terms are used in the specification and following claims to refer to particular elements. Those skilled in the art should understand that electronic device manufacturers may use different terms to refer to the same component. This description and the subsequent claims do not use the difference in name as the way to distinguish components, but use the difference in function of the components as the criterion for distinguishing. The "comprising" mentioned in the entire specification and subsequent claims is an open term, so it should be interpreted as "including but not limited to". Otherwise, the term "coupled" includes any direct and indirect means of electrical connection. Therefore, if it is described that a first device is coupled to a second device, it means that the first device may be directly electrically connected to the second device, or indirectly electrically connected to the second device through other devices or connection means. .
图1为本发明通信系统的一个实施例的功能方块图。通信系统100包含第一装置102以及第二装置104,上述两装置的其中一个为传输端,而其中的另一个则为接收端,其中该接收端用于接收自该传输端产生的控制信息及数据。对于第一装置102来说,其包含处理器(processor)112、机器可读介质(machinereadable medium)以及多个通信元件(communication device)116_1及116_2,其中机器可读介质耦接于处理器112,且机器可读介质可例如存储系统(storagesystem)114,存储系统114可利用一个或多个内存元件(memory device)来实现,且通信元件116_1及116_2均耦接于处理器112。对于第二装置104来说,其包含处理器122、机器可读介质以及多个通信元件126_1及126_2,其中,机器可读介质耦接于处理器122,且机器可读介质可例如存储系统124,存储系统124可利用一个或多个内存元件来实现,且通信元件126_1及126_2均耦接于处理器122。为使说明能简单明了,第一装置102及第二装置104之中的每一个装置均仅显示了两个设置于其中的通信元件,然而,以上并非用于做为本发明的限制。FIG. 1 is a functional block diagram of an embodiment of the communication system of the present invention. The
由图1可知,存储系统114及124之中的每个存储系统均具有应用软件(application software)APP1/APP2及程序代码(program code)PROG1/PROG2存储于其中。当处理器112/122执行应用软件APP1/APP2时,会使能一个用于通信协议(communication protocol)P1的应用。请注意,通信元件116_1及126_1是透过通信协议P1来传输/接收数据,而通信元件116_2及126_2则是透过不同于通信协议P1的通信协议P2来传输/接收数据。It can be seen from FIG. 1 that each of the
当处理器112/122执行程序代码PROG1/PROG2时,因为处理器112/122也执行应用软件APP1/APP2,故程序代码PROG1/PROG2可用于控制所使能的应用的数据传输及接收,更具体地说,当选择了第一数据处理模式(datatransaction mode)(亦即,常用模式)Mode_1时,用于通信协议P1的该应用的数据传输及接收会通过通信元件116_1/126_1来执行,然而,当选择了第二数据处理模式(亦即,本发明所提出的新模式)Mode_2时,用于通信协议P1的该应用的数据传输及接收会通过通信元件116_2/126_2来执行。When the
假定第一装置102作为传输端以及第二装置104作为接收端,处理器112所执行的程序代码PROG1因而可采用本发明所提出的数据传输方法,以控制自同一处理器112所执行的应用软件APP1产生的数据的传输,以及处理器122所执行的程序代码PROG2因而可采用本发明所提出的数据接收方法,以控制自同一处理器122所执行的应用软件APP2产生的数据的接收。进一步的说明详述如下。Assuming that the
请结合图1来参考图2。图2为本发明数据传输方法的一个实施例的流程图。可透过处理器112执行程序代码PROG1来实现该数据传输方法,并可简单归纳如下。Please refer to FIG. 2 in conjunction with FIG. 1 . Fig. 2 is a flowchart of an embodiment of the data transmission method of the present invention. The data transmission method can be implemented by the
步骤200:开始。Step 200: start.
步骤202:检查是否有选择第一数据处理模式(亦即,常用模式)Mode_1?若是,执行步骤210;反之,执行步骤204。Step 202: Check whether the first data processing mode (ie, common mode) Mode_1 is selected? If yes, go to
步骤204:接收用于通信协议P1的该应用的数据D1,其中因为处理器112执行应用软件APP1的缘故,该应用会被使能。Step 204: Receive the application data D1 for the communication protocol P1, wherein the application is enabled because the
步骤206:将对应于通信协议P1的数据D1转换为对应于通信协议P2的数据D2。Step 206: Convert the data D1 corresponding to the communication protocol P1 into data D2 corresponding to the communication protocol P2.
步骤208:将数据D2传递至透过通信协议P2来传输数据D2的通信元件116_2。执行步骤214。Step 208: Transmit the data D2 to the communication element 116_2 that transmits the data D2 through the communication protocol P2. Execute
步骤210:接收用于通信协议P1的该应用的数据D1,其中因为处理器112执行应用软件APP1的缘故,该应用会被使能。Step 210: Receive the application data D1 for the communication protocol P1, wherein the application is enabled because the
步骤212:将数据D1传递至透过通信协议P1来传输数据D1的通信元件116_1。执行步骤214。Step 212: Deliver the data D1 to the communication element 116_1 that transmits the data D1 through the communication protocol P1. Execute
步骤214:结束。Step 214: end.
在步骤202中,处理器112所执行的程序代码PROG1会检查目前所选择的为哪个数据处理模式,举例来说,用户可手动设定数据处理模式。当选择第一交易模式Mode_1时(亦即,并没有选择第二交易模式Mode_2),其意味着自用于通信协议P1的该应用产生的数据D1,应会透过通信协议P1来从该传输端(亦即,第一装置102)被传输至该接收端(亦即,第二装置104),因此,数据D1会被传递至通信元件116_1以供后续传输之用(如步骤210及212所示)。在接收到数据D1之后,通信元件116_1会将所接收到的数据D1传输至设置于该接收端的通信元件126_1。In
当选择第二交易模式Mode_2时(亦即,并没有选择第一交易模式Mode_1),其意味着自用于通信协议P1的该应用产生的数据D1,应会透过通信协议P2来从该传输端(亦即,第一装置102)被传输至该接收端(亦即,第二装置104)。由于通信协议P1及通信协议P2两者之间会存在差异,对应于通信协议P1的数据D1会被转换为对应于通信协议P2的数据D2(如步骤204及206所示),接下来,数据D2会被传递至通信元件116_2以供后续传输之用(如步骤208所示)。请注意,在通信元件116_2及通信元件126_2在建立彼此之间连结(link)的交握程序(hand-shaking procedure)的期间,通信元件116_2及通信元件126_2会分别记录(register)(从数据D1获得)对数据D2进行交易的特定服务。在接收到数据D2之后,通信元件116_2会将所接收到的数据D2传输至设置于该接收端的通信元件126_2。When the second transaction mode Mode_2 is selected (that is, the first transaction mode Mode_1 is not selected), it means that the data D1 generated from the application for the communication protocol P1 should be transmitted from the transmission terminal through the communication protocol P2 (ie, the first device 102 ) is transmitted to the receiving end (ie, the second device 104 ). Since there will be differences between the communication protocol P1 and the communication protocol P2, the data D1 corresponding to the communication protocol P1 will be converted into the data D2 corresponding to the communication protocol P2 (as shown in
在此实施例中,除了将数据D2传输至通信元件126_2之外,通信元件116_2用于控制在该传输端与该接收端之间数据D2的传输,例如,建立第一装置102与第二装置104之间需要的连结,换言之,通信协议P1并不会控制数据D2的传输,因此,在传输数据D2的期间,可停用或关闭通信元件116_1,也就是说,当选择第二数据处理模式Mode_2时,可允许停用或关闭通信元件116_1。In this embodiment, in addition to transmitting the data D2 to the communication element 126_2, the communication element 116_2 is used to control the transmission of the data D2 between the transmitting end and the receiving end, for example, establishing the
在另一实施例中,本发明提供一种数据传输装置,包括:接收模块,用于第一通信协议的应用的第一数据;转换模块,用于将该第一数据转换为对应于第二通信协议的第二数据,其中该第二通信协议不同于该第一通信协议;以及传输模块,用于将该第二数据传递至通信元件,其中该通信元件是用于透过该第二通信协议来传输该第二数据,以及该第一通信协议并不会控制该第二数据的传输。In another embodiment, the present invention provides a data transmission device, including: a receiving module, used for the first data of the application of the first communication protocol; second data of a communication protocol, wherein the second communication protocol is different from the first communication protocol; and a transmission module, configured to transfer the second data to a communication element, wherein the communication element is used to communicate through the second protocol to transmit the second data, and the first communication protocol does not control the transmission of the second data.
请结合图1来参考图3,图3为本发明数据接收方法的一个实施例的流程图。可透过处理器122执行程序代码PROG2来实现该数据接收方法,并可简单归纳如下。Please refer to FIG. 3 in conjunction with FIG. 1 . FIG. 3 is a flow chart of an embodiment of the data receiving method of the present invention. The data receiving method can be implemented by the
步骤300:开始。Step 300: start.
步骤302:检查是否有选择第一数据处理模式(亦即,常用模式)Mode_1?若是,执行步骤310;反之,执行步骤304。Step 302: Check whether the first data processing mode (ie, common mode) Mode_1 is selected? If yes, go to step 310; otherwise, go to step 304.
步骤304:自通信元件126_2取得数据D2,其中通信元件126_2透过通信协议P2来接收数据D2。Step 304: Get the data D2 from the communication element 126_2, wherein the communication element 126_2 receives the data D2 through the communication protocol P2.
步骤306:将对应于通信协议P2的数据D2转换为对应于通信协议P1的数据D1。Step 306: Convert the data D2 corresponding to the communication protocol P2 into data D1 corresponding to the communication protocol P1.
步骤308:发送数据D1至用于通信协议P1的该应用,其中因为处理器122执行应用软件APP2的缘故,该应用会被使能。执行步骤314。Step 308: Send the data D1 to the application for the communication protocol P1, wherein the application is enabled because the
步骤310:自通信元件126_1取得数据D1,其中通信元件126_1透过通信协议P1来接收数据D1。Step 310: Get the data D1 from the communication element 126_1, wherein the communication element 126_1 receives the data D1 through the communication protocol P1.
步骤312:发送数据D1至用于通信协议P1的该应用,其中因为处理器122执行应用软件APP2的缘故,该应用会被使能。执行步骤314。Step 312: Send the data D1 to the application for the communication protocol P1, wherein the application is enabled because the
步骤314:结束。Step 314: end.
在步骤302中,处理器122所执行的程序代码PROG2会检查目前所选择的为哪个数据处理模式,举例来说,用户可手动设定数据处理模式。当选择第一交易模式Mode_1时(亦即,并没有选择第二交易模式Mode_2),其意味着要被提供至该接收端的用于通信协议P1的应用的数据,应会透过通信协议P1而从该传输端(亦即,第一装置102)被接收,因此,将从通信元件126_1获得的数据D1发送至用于通信协议P1的该应用(步骤310及312)。In
当选择第二交易模式Mode_2时(亦即,并没有选择第一交易模式Mode_1),其意味着要被提供至该接收端的用于通信协议P1的应用的数据,应会透过通信协议P2而从该传输端(亦即,第一装置102)被接收,请注意,在通信元件116_2及通信元件126_2在建立彼此之间连结的交握程序的期间,通信元件116_2及通信元件126_2可分别记录(从数据D1获得)对数据D2进行交易的特定服务,因此,在接收到数据D2之后,该接收端(亦即,第二装置104)可轻易地得知透过通信协议P2所传输的数据D2是提供给用于通信协议P1的该应用。由于通信协议P1及通信协议P2两者之间会存在差异,从通信元件126_2获得的数据D2会被转换为对应于通信协议P1的数据D1(如步骤304及306所示),接下来,将数据D1发送至用于通信协议P1的该应用(步骤308)。在此实施例中,除了接收数据D2之外,通信元件126_2用于控制在该传输端与该接收端之间数据D2的接收,例如,建立第一装置102与第二装置104之间需要的连结,换言之,通信协议P1并不会控制数据D2的接收,因此,在接收数据D2的期间,可停用或关闭通信元件126_1,也就是说,当选择第二数据处理模式Mode_2时,可允许停用或关闭通信元件126_1。When the second transaction mode Mode_2 is selected (that is, the first transaction mode Mode_1 is not selected), it means that the data for the application of the communication protocol P1 to be provided to the receiving end should be transmitted through the communication protocol P2 Received from the transmitting end (i.e., the first device 102), please note that during the handshake procedure between the communication element 116_2 and the communication element 126_2 to establish a connection between each other, the communication element 116_2 and the communication element 126_2 can respectively record (Obtained from data D1) Specific services for transactions on data D2, therefore, after receiving data D2, the receiving end (ie, the second device 104) can easily know the data transmitted through the communication protocol P2 D2 is provided to the application for communication protocol P1. Since there will be differences between the communication protocol P1 and the communication protocol P2, the data D2 obtained from the communication element 126_2 will be converted into data D1 corresponding to the communication protocol P1 (as shown in
在另一实施例中,本发明提供一种数据接收装置,包括:接收模块,用于自通信元件取得第一数据,其中该通信元件是用于透过不同于第二通信协议的第一通信协议来取得该第一数据,以及该第二通信协议并不会控制该第一数据的接收;转换模块,用于将该第一数据转换为对应于该第二通信协议的第二数据;以及发送模块,用于发送该第二数据至用于该第二通信协议的应用。In another embodiment, the present invention provides a data receiving device, including: a receiving module, configured to obtain first data from a communication element, wherein the communication element is used to communicate via a first communication protocol different from a second communication protocol protocol to obtain the first data, and the second communication protocol does not control the reception of the first data; a converting module, configured to convert the first data into second data corresponding to the second communication protocol; and A sending module, configured to send the second data to an application for the second communication protocol.
上述的通信协议P1及P2之中的每个通信协议均可为任何的有线或无线通信协议。在一个设计实例中,通信协议P1可为无线通信协议(例如,蓝牙协议),以及另一个通信协议P2可为无线兼容认证协议或无线相容认证直连协议。在另一个设计实例中,通信协议P1可为蓝牙协议,以及另一个通信协议P2可为通用串行总线(universal serial bus,USB)协议或串行端口(serial-port)协议。如上所述,由于蓝牙技术已经过了长时间的发展,已提出了用于蓝牙协议的多种不同应用,因此,通过传输端采用本发明所提出的数据传输方法以及接收端采用本发明所提出的数据接收方法,可轻易地将蓝牙应用的应用层面拓展至其他具有几乎无支持的应用的通信协议。再者,在通信协议P2为无线通信协议(例如,无线兼容认证协议/无线兼容认证直连协议),以及其所支持的最大无线传输距离(maximum wireless transmission distance)长于蓝牙协议所支持的最大无线传输距离的情形下,蓝牙应用的服务范围会因而增加。再者,在通信协议P2为无线通信协议(例如,无线兼容认证协议/无线兼容认证直连协议),以及其所支持的最大数据传输速率(maximum data transfer rate)高于蓝牙协议所支持的最大数据传输速率的情形下,蓝牙应用的吞吐量(throughput)会因而增加。Each of the aforementioned communication protocols P1 and P2 may be any wired or wireless communication protocol. In one design example, the communication protocol P1 may be a wireless communication protocol (eg, Bluetooth protocol), and the other communication protocol P2 may be a wireless compatible authentication protocol or a wireless compatible authentication direct connection protocol. In another design example, the communication protocol P1 may be a Bluetooth protocol, and another communication protocol P2 may be a universal serial bus (universal serial bus, USB) protocol or a serial-port protocol. As mentioned above, since the bluetooth technology has been developed for a long time, many different applications for the bluetooth protocol have been proposed. The data receiving method of the Bluetooth application can easily extend the application level of the Bluetooth application to other communication protocols with almost no supported applications. Furthermore, the communication protocol P2 is a wireless communication protocol (for example, a wireless compatible authentication protocol/a wireless compatible authentication direct connection protocol), and the maximum wireless transmission distance (maximum wireless transmission distance) supported by it is longer than the maximum wireless transmission distance supported by the Bluetooth protocol. In the case of transmission distance, the service range of Bluetooth applications will thus increase. Furthermore, when the communication protocol P2 is a wireless communication protocol (for example, wireless compatible authentication protocol/wireless compatible authentication direct connection protocol), and the maximum data transfer rate (maximum data transfer rate) supported by it is higher than the maximum supported by the Bluetooth protocol. In the case of lower data transfer rates, the throughput of Bluetooth applications will thus increase.
为了能够对本发明的技术特征有更清楚的了解,进一步说明如下。图4为改良的蓝牙堆栈架构(modified Bluetooth stack architecture)的实例示意图。该改良后蓝牙堆栈架构具有无线兼容认证/无线兼容认证直连作为传输层(transportlayer)。由图4可知,用于控制无线兼容认证/无线兼容认证直连通信的虚拟控制器(virtual controller)401被增加至现有的蓝牙堆栈架构402之中,如此一来,当选择上述的第二数据处理模式Mode_2时,可允许透过建立在传输端与接收端之间的无线兼容认证/无线兼容认证直连连结来传输/接收蓝牙数据,因此,可将用于蓝牙协议的蓝牙应用的应用层面拓展至无线兼容认证/无线兼容认证直连协议。In order to have a clearer understanding of the technical features of the present invention, further descriptions are as follows. FIG. 4 is a schematic diagram of an example of a modified Bluetooth stack architecture. The improved Bluetooth stack architecture has Wi-Fi/Wi-Fi Direct as a transport layer. As can be seen from FIG. 4, a virtual controller (virtual controller) 401 for controlling wireless compatibility certification/wireless compatibility certification direct communication is added to the existing
请参考图5,图5为本发明基于无线相容认证/无线兼容认证直连协议的一个蓝牙应用的实例的示意图。由图5可知,当采用上述数据传输方法及数据接收方法时,蓝牙装置502可在无线相容认证/无线兼容认证直连连结上透过蓝牙对象交换规范/协议(object push profile/protocol,OPP)来将任一个对象(例如,壁纸(wallpaper)、铃声(ringtone)或视频剪辑(video clip))与另一个蓝牙装置504进行交换,举例来说,可利用处理器112执行程序代码PROG1来实作出传输分配器(transmission dispatcher)511、蓝牙传输层(Bluetooth transport layer)512、无线相容认证/无线相容认证直连传输层(Wi-Fi/Wi-Fi Direct transport layer)513以及蓝牙堆栈(Bluetooth stack)514,其中,蓝牙传输层512可例如用于驱动通信元件116_1的蓝牙驱动器(driver),无线相容认证/无线兼容认证直连传输层513可例如用于驱动通信元件116_2的无线兼容认证/无线兼容认证直连驱动器。此外,可利用处理器122执行程序代码PROG2来实作出传输分配器521、蓝牙传输层522、无线相容认证/无线兼容认证直连传输层523,以及蓝牙堆栈524,其中,蓝牙传输层522可例如用于驱动通信元件126_1的蓝牙驱动器,无线兼容认证/无线兼容认证直连传输层523可例如用于驱动通信元件126_2的无线兼容认证/无线兼容认证直连驱动器。对于蓝牙装置502来说,其可采用图2所示的数据传输方法来在该无线兼容认证/无线兼容认证直连连结上传输多个蓝牙数据封包(Bluetooth data packet)。对于蓝牙装置504来说,其可采用图3所示的数据接收方法来在该无线兼容认证/无线兼容认证直连连结上接收多个蓝牙数据封包,更具体地说,在传输端的传输分配器511用于接收自上层(upper layer)(亦即,蓝牙堆栈514)产生的多个蓝牙数据封包、将所接收的多个蓝牙数据封包转换为多个无线相容认证/无线兼容认证直连数据封包,以及提供所产生的多个无线兼容认证/无线兼容认证直连数据封包给下层(lower layer)(亦即,无线相容认证/无线兼容认证直连传输层513),其中,蓝牙堆栈514根据要被交换至蓝牙装置504的对象的数据透过传输端的蓝牙交换对象规范来产生多个蓝牙数据封包。接下来,无线兼容认证/无线兼容认证直连传输层513会控制传输硬件(transmission hardware)在该无线兼容认证/无线兼容认证直连连结(建立在蓝牙装置502及504之间)上传输所接收的多个无线兼容认证/无线相容认证直连数据封包。当位于接收端的下层(无线相容认证/无线兼容认证直连传输层523)控制接收硬件(reception hardware)接收在该无线兼容认证/无线相容认证直连连结上传输的多个无线相容认证/无线相容认证直连数据封包时,将所接收的多个无线相容认证/无线相容认证直连数据封包传输至传输分配器521以供进一步的处理。传输分配器521用于将所接收的多个无线相容认证/无线相容认证直连数据封包转换为多个蓝牙数据封包,以及提供所产生的多个蓝牙数据封包给上层(亦即,蓝牙堆栈524),其中,蓝牙堆栈524自该多个蓝牙数据封包提取被交换至蓝牙装置504的对象的数据,并在接收端发送所提取的数据至蓝牙OPP。如上所述,当第二无线通信协议支持较长的最大无线传输距离及/或较高的最大数据传输速率时,用于第一通信协议的应用的服务范围及/或吞吐量可透过该第二通信协议的协助而增加。对于图5所示的蓝牙对象交换规范的应用来说,其可受益于所采用的无线兼容认证/无线兼容认证直连协议提供的高速数据传输速率以及长程无线传输距离。Please refer to FIG. 5 , which is a schematic diagram of an example of a Bluetooth application based on the wireless compatibility authentication/wireless authentication direct connection protocol of the present invention. It can be seen from FIG. 5 that when the above data transmission method and data receiving method are adopted, the
以上所述仅为本发明之较佳实施例,凡依本发明权利要求所做之均等变化与修饰,皆应属本发明之涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| DE102012011232ADE102012011232A1 (en) | 2011-06-10 | 2012-06-06 | A method of transmitting and receiving data of an application for a communication protocol by another communication protocol and associated non-transitory machine-readable medium |
| US13/491,592US20120314631A1 (en) | 2011-06-10 | 2012-06-07 | Method for transmitting/receiving data of application for one communication protocol by another communication protocol, and related non-transitory machine readable medium thereof |
| TW101120924ATWI484806B (en) | 2011-06-10 | 2012-06-11 | Data transmission method, data reception method, and non-transitory machine readable medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US201161495387P | 2011-06-10 | 2011-06-10 | |
| US61/495,387 | 2011-06-10 |
| Publication Number | Publication Date |
|---|---|
| CN102821086Atrue CN102821086A (en) | 2012-12-12 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210109356XAPendingCN102821086A (en) | 2011-06-10 | 2012-04-13 | Data transmission method and device and data receiving method and device |
| Country | Link |
|---|---|
| CN (1) | CN102821086A (en) |
| TW (1) | TWI484806B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104168260A (en)* | 2013-05-15 | 2014-11-26 | 约翰内斯·海德汉博士有限公司 | Method for transferring data between a position measuring device and an associated processing unit |
| CN105227533A (en)* | 2014-07-01 | 2016-01-06 | 青岛海尔智能家电科技有限公司 | The method of information transmission and device between a kind of custom system |
| CN105245527A (en)* | 2015-10-20 | 2016-01-13 | 努比亚技术有限公司 | Information transfer device and method |
| CN109347802A (en)* | 2016-03-15 | 2019-02-15 | 深圳迈瑞生物医疗电子股份有限公司 | Communications protocol switching method, data transmission method, wireless sensor and system |
| CN110035421A (en)* | 2013-04-17 | 2019-07-19 | 英特尔公司 | The WI-FI of 2 service of layer is direct-connected to be served by service platform |
| CN111010208A (en)* | 2018-10-04 | 2020-04-14 | 赛普拉斯半导体公司 | Device, system and method for transmitting protocol configuration information between multi-protocol devices |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1452343A (en)* | 2002-04-15 | 2003-10-29 | 威盛电子股份有限公司 | Radio local network signal transmission method and related apparatus |
| CN1472935A (en)* | 2002-07-02 | 2004-02-04 | ���ǵ�����ʽ���� | Device and method for connecting bluetooth and wireless LAN |
| CN1578314A (en)* | 2003-07-11 | 2005-02-09 | 三星电子株式会社 | Apparatus and method for enabling communications between terminals having different protocols |
| US20090034498A1 (en)* | 2007-07-30 | 2009-02-05 | Raja Banerjea | Simultaneously Maintaining Bluetooth and 802.11 Connections to Increase Data Throughput |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060004935A1 (en)* | 2004-06-30 | 2006-01-05 | Pak-Lung Seto | Multi-protocol bridge |
| US7873384B2 (en)* | 2005-09-01 | 2011-01-18 | Broadcom Corporation | Multimode mobile communication device with configuration update capability |
| US8199709B2 (en)* | 2008-12-31 | 2012-06-12 | Mediatek, Inc. | Method and apparatus for wireless communication |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1452343A (en)* | 2002-04-15 | 2003-10-29 | 威盛电子股份有限公司 | Radio local network signal transmission method and related apparatus |
| CN1472935A (en)* | 2002-07-02 | 2004-02-04 | ���ǵ�����ʽ���� | Device and method for connecting bluetooth and wireless LAN |
| CN1578314A (en)* | 2003-07-11 | 2005-02-09 | 三星电子株式会社 | Apparatus and method for enabling communications between terminals having different protocols |
| US20090034498A1 (en)* | 2007-07-30 | 2009-02-05 | Raja Banerjea | Simultaneously Maintaining Bluetooth and 802.11 Connections to Increase Data Throughput |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110035421A (en)* | 2013-04-17 | 2019-07-19 | 英特尔公司 | The WI-FI of 2 service of layer is direct-connected to be served by service platform |
| CN110035421B (en)* | 2013-04-17 | 2022-06-21 | 英特尔公司 | Layer 2 service WI-FI direct connection service application service platform |
| CN104168260A (en)* | 2013-05-15 | 2014-11-26 | 约翰内斯·海德汉博士有限公司 | Method for transferring data between a position measuring device and an associated processing unit |
| CN105227533A (en)* | 2014-07-01 | 2016-01-06 | 青岛海尔智能家电科技有限公司 | The method of information transmission and device between a kind of custom system |
| CN105227533B (en)* | 2014-07-01 | 2019-04-19 | 青岛海尔智能家电科技有限公司 | A method and device for information transmission between user systems |
| CN105245527A (en)* | 2015-10-20 | 2016-01-13 | 努比亚技术有限公司 | Information transfer device and method |
| CN109347802A (en)* | 2016-03-15 | 2019-02-15 | 深圳迈瑞生物医疗电子股份有限公司 | Communications protocol switching method, data transmission method, wireless sensor and system |
| CN111010208A (en)* | 2018-10-04 | 2020-04-14 | 赛普拉斯半导体公司 | Device, system and method for transmitting protocol configuration information between multi-protocol devices |
| US10951262B2 (en) | 2018-10-04 | 2021-03-16 | Cypress Semiconductor Corporation | Devices, systems and methods for transmitting protocol configuration information between multi-protocol devices |
| CN111010208B (en)* | 2018-10-04 | 2022-11-04 | 赛普拉斯半导体公司 | Device, system and method for transmitting protocol configuration information between multi-protocol devices |
| Publication number | Publication date |
|---|---|
| TWI484806B (en) | 2015-05-11 |
| TW201251407A (en) | 2012-12-16 |
| Publication | Publication Date | Title |
|---|---|---|
| US8738820B2 (en) | Method and apparatus for wireless network communication wherein a universal serial bus request block (URB) is generated that will vary parameters that controls wireless transmission commands between devices | |
| US8983384B2 (en) | Apparatus and method for extending Bluetooth device range | |
| US9220054B2 (en) | Enhanced service discovery mechanism in wireless communication system | |
| CN1989723B (en) | System and method for increasing data throughout using a block acknowledgement | |
| JP4917036B2 (en) | System and method for communicating with a general purpose integrated circuit card in a mobile device using an internet protocol | |
| US8537762B2 (en) | System and method for optimally transferring data traffic on networks | |
| CN114221869B (en) | Application data transmission method and system and electronic equipment | |
| CN109510695B (en) | Wireless communication device and wireless communication method | |
| CN102821086A (en) | Data transmission method and device and data receiving method and device | |
| US20080016248A1 (en) | Method and apparatus for time synchronization of parameters | |
| WO2017045276A1 (en) | Terminal interconnecting method, device, and storage medium | |
| TW200806053A (en) | Techniques to enable direct link discovery in a wireless local area network | |
| CN114208234A (en) | Method for supporting multilink in bluetooth network environment and electronic device thereof | |
| CN111447678A (en) | Communication method and communication device | |
| JP4869259B2 (en) | System and method for data communication allowing a slave device to become a network peer | |
| JP2016206940A (en) | Information processor and control thereof, and program | |
| CN114124310B (en) | First user equipment, its wireless communication method, and storage medium | |
| JP2019036910A (en) | Radio communication device and radio communication method | |
| WO2020054364A1 (en) | Communication device, communication method, and program | |
| WO2016187821A1 (en) | Method, device, and system for adjusting packet length in near field communication (nfc) | |
| US8144733B2 (en) | Partitioned medium access control implementation | |
| WO2012119543A1 (en) | Communication method for wireless terminal and host device, and wireless terminal and host device | |
| US20120314631A1 (en) | Method for transmitting/receiving data of application for one communication protocol by another communication protocol, and related non-transitory machine readable medium thereof | |
| CN100464547C (en) | A method for implementing information transmission between equipments of different communication protocols | |
| KR101434339B1 (en) | A method and system for optimizing power consumption and reducing mips requirements for wireless communication |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication | Application publication date:20121212 |