CN101877879A - Electronic device with bluetooth module and wireless network module and control method thereof - Google Patents
Electronic device with bluetooth module and wireless network module and control method thereof Download PDFInfo
- Publication number
- CN101877879A CN101877879A CN2009101381071A CN200910138107A CN101877879A CN 101877879 A CN101877879 A CN 101877879A CN 2009101381071 A CN2009101381071 A CN 2009101381071A CN 200910138107 A CN200910138107 A CN 200910138107A CN 101877879 A CN101877879 A CN 101877879A
- Authority
- CN
- China
- Prior art keywords
- module
- bluetooth module
- microwave access
- priority
- bluetooth
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000005540 biological transmission Effects 0.000 claims description 33
- 230000009849 deactivation Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 12
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明为一种电子装置,特别是一种无线网络与蓝牙共存的电子装置。The invention relates to an electronic device, in particular to an electronic device in which a wireless network and a bluetooth coexist.
背景技术Background technique
目前来说,全球互通微波存取(Worldwide Interoperability for Microwave Access,WIMAX)的传输距离长、涵盖范围广、传输速率快,成为许多手持式电子装置必备的基本功能。WiMAX可支持的频带为2.5、3.5以及5.8GHz,其中2.5GHz的频带与蓝牙(BlueTooth)、WiFi(Wireless Fidelity)所支持的2.4GHz频带接近,同时使用的时候会容易发生干扰且效能降低。Currently, Worldwide Interoperability for Microwave Access (WIMAX) has long transmission distance, wide coverage, and fast transmission rate, and has become a necessary basic function for many handheld electronic devices. The supported frequency bands of WiMAX are 2.5, 3.5 and 5.8GHz. The 2.5GHz frequency band is close to the 2.4GHz frequency band supported by Bluetooth (BlueTooth) and WiFi (Wireless Fidelity).
发明内容Contents of the invention
本发明的一实施例提供一种蓝牙模块与无线网络模块的控制方法,适用于具有一蓝牙模块与一全球互通微波存取(WiMAX)模块的一电子装置。该控制方法包括:判断该蓝牙模块的优先权是否高于该全球互通微波存取模块的优先权;判断该全球互通微波存取模块所接收或传送的数据是否需要被保护;若该蓝牙模块的优先权未高于该全球互通微波存取模块的优先权,且该全球互通微波存取模块所接收或传送的数据需要被保护,则设定该蓝牙模块为不动作。An embodiment of the present invention provides a control method for a Bluetooth module and a wireless network module, which is suitable for an electronic device having a Bluetooth module and a Worldwide Interoperability for Microwave Access (WiMAX) module. The control method includes: judging whether the priority of the bluetooth module is higher than the priority of the global interoperability microwave access module; judging whether the data received or transmitted by the global interoperability microwave access module needs to be protected; if the bluetooth module If the priority is not higher than that of the global interoperability microwave access module, and the data received or transmitted by the global interoperability microwave access module needs to be protected, then the bluetooth module is set to be inactive.
本发明的另一实施例提供一种具有蓝牙模块与无线网络模块的电子装置,包括一蓝牙模块、一无线网络模块、一全球互通微波存取(WiMAX)模块以及一逻辑电路。逻辑电路用以选择性地将该蓝牙模块电性连接至该无线网络模块或该全球互通微波存取模块,并用以判断该蓝牙模块的优先权是否高于该全球互通微波存取模块的优先权,且判断该全球互通微波存取模块所接收或传送的数据是否需要被保护。若该逻辑电路判断该蓝牙模块的优先权未高于该全球互通微波存取模块的优先权,且该全球互通微波存取模块所接收或传送的数据需要被保护,则该蓝牙模块被设定为不动作。Another embodiment of the present invention provides an electronic device with a Bluetooth module and a wireless network module, including a Bluetooth module, a wireless network module, a World Interoperability for Microwave Access (WiMAX) module and a logic circuit. The logic circuit is used to selectively electrically connect the bluetooth module to the wireless network module or the global interoperability microwave access module, and to judge whether the priority of the bluetooth module is higher than the priority of the global interoperability microwave access module , and judging whether the data received or transmitted by the global interoperability microwave access module needs to be protected. If the logic circuit judges that the priority of the bluetooth module is not higher than the priority of the global interoperability microwave access module, and the data received or transmitted by the global interoperability microwave access module needs to be protected, then the bluetooth module is set for no action.
附图说明Description of drawings
图1为根据本发明的一种具有蓝牙模块与无线网络模块的电子装置的一实施例的示意图。FIG. 1 is a schematic diagram of an embodiment of an electronic device with a Bluetooth module and a wireless network module according to the present invention.
图2为根据本发明的一种具有蓝牙模块与无线网络模块的电子装置的另一实施例的示意图。FIG. 2 is a schematic diagram of another embodiment of an electronic device with a Bluetooth module and a wireless network module according to the present invention.
图3a与图3b为根据本发明的蓝牙模块与WiMAX模块共存的模式的一实施例的示意图。3a and 3b are schematic diagrams of an embodiment of a coexistence mode of a Bluetooth module and a WiMAX module according to the present invention.
图4为根据本发明图2中第一逻辑单元的一实施例的逻辑电路图。FIG. 4 is a logic circuit diagram of an embodiment of the first logic unit in FIG. 2 according to the present invention.
图5为根据本发明图2中第二逻辑单元的一实施例的逻辑电路图。FIG. 5 is a logic circuit diagram of an embodiment of the second logic unit in FIG. 2 according to the present invention.
图6为根据本发明的一种具有蓝牙模块与无线网络模块的电子装置的另一实施例的示意图。FIG. 6 is a schematic diagram of another embodiment of an electronic device with a Bluetooth module and a wireless network module according to the present invention.
图7为根据本发明的蓝牙模块与无线网络模块共存的控制方法的一实施例的流程图。FIG. 7 is a flowchart of an embodiment of a control method for the coexistence of a Bluetooth module and a wireless network module according to the present invention.
图8为根据本发明的蓝牙模块与无线网络模块共存的控制方法的另一实施例的流程图。FIG. 8 is a flow chart of another embodiment of the control method for the coexistence of the Bluetooth module and the wireless network module according to the present invention.
【主要组件符号说明】[Description of main component symbols]
11~蓝牙模块11~Bluetooth module
12~逻辑电路12~logic circuit
13~WiFi模块13~WiFi module
14~WiMAX模块14~WiMAX module
21~蓝牙模块21~Bluetooth module
22~第一逻辑单元22~the first logical unit
23~第二逻辑单元23~Second logical unit
24~WiMAX模块24~WiMAX module
25~WiMAX基频芯片25~WiMAX baseband chip
26~WiMAX射频模块26~WiMAX radio frequency module
27~功率放大器27~power amplifier
28~第一天线28~The first antenna
29~第二天线29~Second Antenna
61~蓝牙模块61~Bluetooth module
63~第二逻辑单元63 ~ second logic unit
64~WiMAX模块64~WiMAX module
65~WiMAX基频芯片65~WiMAX baseband chip
66~WiMAX射频模块66~WiMAX radio frequency module
67~功率放大器67~power amplifier
具体实施方式Detailed ways
下文所讨论者为本发明所揭露的较佳实施例。虽然本说明书在基于本发明的精神以下列实施例说明,但是并非用以限制本发明为该等实施例。本发明所举的实施例仅用以为本说明书的举例说明使用,并非用以限制本发明的观点。The preferred embodiments disclosed in the present invention are discussed below. Although the description is based on the spirit of the present invention with the following examples, it is not intended to limit the present invention to these examples. The examples given in the present invention are only used for illustration of this specification, and are not intended to limit the viewpoint of the present invention.
图1为根据本发明的一种具有蓝牙模块与无线网络模块的电子装置10的一实施例的示意图。电子装置10具有一蓝牙模块11、一逻辑电路12、一WiFi模块13以及一全球互通微波存取(WiMAX)模块14。逻辑电路12用以选择性地将蓝牙模块11电性连接至WiFi模块13或WiMAX模块14。在本实施例中,电子装置10可操作于一第一操作模式与一第二操作模式。于第一操作模式中,逻辑电路12将蓝牙模块11电性连接至WiFi模块13,使得蓝牙模块11与WiFi模块13可藉由一现有的封包仲裁(Packet Traffic Arbitration;PTA)机制以共享射频组件(未显示),如:天线、功率放大器或低噪声放大器等组件。于第二操作模式中,逻辑电路12将蓝牙模块11电性连接至WiMAX模块14,使得蓝牙模块11与WiMAX模块14可利用本发明的共存机制以共享射频组件(未显示),如:天线、功率放大器或低噪声放大器等组件。WiFi模块13与WiMAX模块14不可同时运作。而WiFi模块13与蓝牙模块11的共存机制(即封包仲裁机制)已为现有技术,在此不赘述。本实施例将着重在WiMAX模块14与蓝牙模块11的共存机制上说明。FIG. 1 is a schematic diagram of an embodiment of an
在本实施例中,逻辑电路12会根据蓝牙模块11的优先权、WiMAX模块14的优先权以及此时蓝牙模块11是处于接收(RX)模式或是传送(TX)模式,来决定是否致能WiMAX模块14与/或蓝牙模块11。以下说明图1中的信号所表示的意义:In this embodiment, the
W_Active:此信号会根据WiMAX模块14所接收或传送的资料是否需被保护及蓝牙模块11的优先权状态而设定为0或1,若WiMAX模块14所传送的数据需被保护(即当信号WIMAX_COEXISTENCE_PROTECTION为1),且蓝牙模块11的优先权低于WiMAX模块14(即当信号BT_PRI_DATA为0)时,则信号W_Active被设为1。若WiMAX模块14所传送的数据无需被保护(即当信号WIMAX_COEXISTENCE_PROTECTION为0),或蓝牙模块11的优先权高于WiMAX模块14(即当信号BT_PRI_DATA为1)时,则信号W_Active被设为0。于此实施例中,当信号W_Active被设为1时,蓝牙模块11内用以传送数据的功率放大器(未显式)则会被反致能,使得蓝牙模块11不可传送数据。要注意的是,本实施例是以WiMAX模块14为例说明,但是信号W_Active亦可供WiFi模块13使用。因为同一时间内,WiFi模块13与WiMAX模块14中只有一个模块会被致能,因此WiFi模块13亦可利用信号W_Active来实现WiFi模块13与蓝牙模块11的共存机制。W_Active: This signal will be set to 0 or 1 according to whether the data received or transmitted by the
BT_PRI_DATA:此信号用以表示蓝牙模块11所进行的接收或传送的数据封包的优先权。在本实施例中,当蓝牙模块11的接收或传送的数据封包优先权高于WiMAX模块14时,将信号BT_PRI_DATA设为1,当蓝牙模块11的优先权低于WiMAX模块14时,将信号BT_PRI_DATA设为0。BT_PRI_DATA: This signal is used to indicate the priority of the data packets received or transmitted by the Bluetooth
BT_PA_ON:此信号用以表示蓝牙模块11是处于接收模式或传送模式。在本实施例中,当蓝牙模块11处于接收模式时,信号BT_PA_ON被设为0,当蓝牙模块11处于传送模式时,信号BT_PA_ON被设为1。BT_PA_ON: This signal is used to indicate that the
WIMAX_COEXISTENCE_PROTECTION:此信号用以表示WiMAX模块14此时接收或传送的数据需要被保护。当WiMAX模块14所接收或传送的数据不需要被保护时,信号WIMAX_COEXISTENCE_PROTECTION被设为0;当WiMAX模块14所接收或传送的数据需要被保护时,信号BT_PA_ON被设为1。在本发明的实施例中,当蓝牙模块11优先权高于WiMAX模块14(即当信号BT_PRI_DATA被设为1)且处于传送模式时,此时若WiMAX模块14正处于接收数据状态且所接收的数据需要被保护(即当信号WIMAX_COEXISTENCE_PROTECTION被设为1),则逻辑电路12此时控制WiMAX模块14暂停接收数据,此时WiMAX模块14便可先发出一请求(request),请传送数据的基地台暂时停止传送数据。或是当蓝牙模块11的优先权高于WiMAX模块14(即当信号BT_PRI_DATA被设为1)且处于传送模式时,此时若WiMAX模块14正处于传送数据状态且所传送的数据需要被保护(即当信号WIMAX_COEXISTENCE_PROTECTION被设为1),则逻辑电路12此时控制WiMAX模块14暂停传送数据,此时WiMAX模块14会将未传送完的数据保留,等到逻辑电路12再次致能WiMAX模块14时,再将前次未传送完的数据传送出去。WIMAX_COEXISTENCE_PROTECTION: This signal is used to indicate that the data received or transmitted by the
PA_EN_WIMAX_CONTROL:此信号用以表示此时WiMAX模块14是否处于传送模式。当WiMAX模块14是处于传送模式时,信号PA_EN_WIMAX_CONTROL被设为1,当WiMAX模块14不是处于传送模式时,信号PA_EN_WIMAX_CONTROL被设为0。PA_EN_WIMAX_CONTROL: This signal is used to indicate whether the
PA_EN:此信号用以指示此时WiMAX模块14的功率放大器(power amplifier,PA)是否被致能。PA_EN: This signal is used to indicate whether the power amplifier (power amplifier, PA) of the
在本实施例中,若蓝牙模块11的优先权高于WiMAX模块14时,WiMAX模块14为不动作的。当蓝牙模块11是处于传送模式时,可藉由反致能WiMAX模块14中的功率放大器或是基频芯片,使得WiMAX模块14不动作。当蓝牙模块11是处于接收模式时,若此时WiMAX模块14亦是处于接收模式的话,则可以使得蓝牙模块11与WiMAX模块14是可以同时被运作的。不过在另一实施例中,为了确保蓝牙模块11接收数据时不被干扰,仍可将WiMAX模块14设定为不动作。In this embodiment, if the priority of the
当蓝牙模块11的优先权低于WiMAX模块14时,蓝牙模块11是否可以被致能运作,必须考虑到信号W_Active是否被设为1。若信号W_Active是被设为0,表示此时WiMAX模块14所接收或传送的数据不需要被保护(即当信号WIMAX_COEXISTENCE_PROTECTION被设为0),则蓝牙模块11可以进行传送或接收资料。若信号W_Active被设为1,则表示此时WiMAX模块14所接收或传送的数据需要被保护(即当信号WIMAX_COEXISTENCE_PROTECTION被设为1),因此蓝牙模块11不被允许传送或接收数据,也就是说蓝牙模块11被反致能而不动作。When the priority of the
为更清楚说明,请参考图2。图2为根据本发明的一种具有蓝牙模块与无线网络模块的电子装置的另一实施例的示意图。WiMAX模块24包括了WiMAX基频芯片25、WiMAX射频模块26以及功率放大器27。WiMAX模块24更耦接第一天线28,透过第一天线28来传送或接收数据。于此实施例中,第一逻辑单元22与第二逻辑单元23可包含于第1图的逻辑电路12中。For a clearer illustration, please refer to Figure 2. FIG. 2 is a schematic diagram of another embodiment of an electronic device with a Bluetooth module and a wireless network module according to the present invention. The
在本实施例中,蓝牙模块21透过第二天线29来接收或传送数据。但在另一实施例中,蓝牙模块21与WiMAX模块24可透过第一天线28与一切换器(未显示)来接收数据。此外,由于功率放大器所占的面积以及消耗的功率较大,因此亦可设计蓝牙模块21与WiMAX模块24可使用相同的功率放大器,如功率放大器27。In this embodiment, the
第二逻辑单元23根据蓝牙模块21的优先权以及WiMAX模块24此时接收或传送的数据是否需要被保护,来决定是否要让蓝牙模块21运作(active)。详细运作说明如下。The
当蓝牙模块21的优先权低于WiMAX模块24且此时WiMAX模块24此时接收或传送的数据需要被保护时,蓝牙模块21会被设定为不运作。换句话说,若是信号BT_PRI_DATA为0,且WiMAX模块24输出的信号WIMAX_COEXISTENCE_PROTECTION为1时,则蓝牙模块21接收到的信号W_Active为1,蓝牙模块21不运作。When the priority of the
当蓝牙模块21的优先权高于WiMAX模块24,即当信号BT_PRI_DATA为1时,此时第二逻辑单元23输出的信号W_Active为0,蓝牙模块21可传送或接收数据。若此时WiMAX模块24输出的信号WIMAX_COEXISTENCE_PROTECTION为1,则WiMAX模块24会对正在接收或传送的数据进行保护动作。若WiMAX模块24此时是在接收模式,WiMAX模块24可先发出一请求(request),请传送数据的基地台暂时停止传送数据,等到控制权再次被移转给WiMAX模块24时,再发出请求,请传送数据的基地台继续传送数据。若WiMAX模块24此时是在传送模式,WiMAX模块24会暂停传送数据并通知对应的接收装置,等到控制权再次被移转给WiMAX模块24时,再将未传送完毕的数据继续传送至对应的接收装置。When the priority of the
当蓝牙模块21的优先权高于WiMAX模块24时,若此时蓝牙模块21处于接收模式,且WiMAX模块24亦是运作在接收模式时,可根据使用者需求设定WiMAX模块24为可以接收数据。When the priority of the
第一逻辑单元22主要会根据蓝牙模块21的优先权、蓝牙模块21是否处于传送模式以及WiMAX模块24是处于传送模式,来决定WiMAX模块24中的功率放大器27是否被致能。若功率放大器27是不被致能,表示此时WiMAX模块24不可传输数据。但是若功率放大器27被致能,并不表示此时WiMAX模块24可以传输数据,因为可能WiMAX基频芯片25此时是不动作的。The
第一逻辑单元22会先根据蓝牙模块21的信号BT_PA_ON以及BT_PRI_DATA来判断蓝牙模块21的操作模式以及判断其优先权是否大于WiMAX模块24。接着再根据WiMAX模块24的信号PA_EN_WIMAX_CONTROL判断此时WiMAX模块24是否处于传送模式。若蓝牙模块21的优先权高于WiMAX模块24,则WiMAX模块24设定不可处于传送模式。若蓝牙模块21的优先权高于WiMAX模块24,且此时蓝牙模块21处于接收模式,则WiMAX模块24可以设定处于接收模式或是不运作。若是蓝牙模块21的优先权低于WiMAX模块24,则需根据WiMAX模块24输出的信号WIMAX_COEXISTENCE_PROTECTION来决定蓝牙模块21是否可以运作。The
为了更清楚说明蓝牙模块21与WiMAX模块24之间共存的的运作机制,请参考图3a与图3b。图3a与图3b为根据本发明的蓝牙模块与WiMAX模块共存的模式的一实施例的示意图。在本实施例中,输入信号包含了信号BT_PRI_DATA、BT_PA_ON、PA_EN_WIMAX_CONTROL以及WIMAX_COEXISTENCE_PROTECTION。输出信号包括了W_Active与PA_EN。In order to illustrate the coexistence operation mechanism between the
在模式9到16中,除了模式9与11外,WiMAX模块24皆不动作。模式9与11中,蓝牙模块21的优先权虽然高于WiMAX模块24,但是此时两者都是处于接收模式,因此可以设定两者是可以同时接收数据。In
在模式1到4中,蓝牙模块21的优先权低于WiMAX模块24,且此时蓝牙模块21处于接收模式,此时蓝牙模块21是否可以运作必须先参考WiMAX模块24输出的信号WIMAX_COEXISTENCE_PROTECTION是否为1。若该信号为1,表示此时WiMAX模块24接收或传送的数据是需要保护的,换言之此时WiMAX模块24有在运作,信号W_ACTIVE被设为1,因此此时蓝牙模块21被设定为不运作,如模式3与4。若WiMAX模块24输出的信号WIMAX_COEXISTENCE_PROTECTION为0,则蓝牙模块21可被设定为接收模式,如模式1与2。要注意的是,此时蓝牙模块21被设定为接收模式只是说明蓝牙模块21可以接收数据,并非说明此时蓝牙模块21已经在接收数据。In
在模式5到8中,蓝牙模块21的优先权低于WiMAX模块24,此时蓝牙模块21是否可以传送数据必须参考信号W_ACTIVE。若该信号W_ACTIVE为0,表示此时蓝牙模块21可处于传送模式而传送数据,如模式5与6。但是若该信号W_ACTIVE为1,表示此时蓝牙模块21被设定为不可运作,因此蓝牙模块21不可传送数据,如模式7与8。另外,在模式6中,蓝牙模块21与WiMAX模块24皆可设定为传送模式。In
要注意的是,WiMAX模块24与蓝牙模块21不可被设定为一方传送,另一方接收的情形。这可能会造成WiMAX模块24与蓝牙模块21的信号相互干扰,降低两者效能的情形。It should be noted that the
图4为根据本发明图2中第一逻辑单元的一实施例的逻辑电路图。与非门(NAND gate)41接收蓝牙模块21输出的信号BT_PRI_DATA与BT_PA_ON。接着,与门(AND gate)42根据与非门41的输出信号与信号PA_EN_WIMAX_CONTROL产生信号PA_EN,用以控制WiMAX模块24中的功率放大器27是否被致能。图4的逻辑电路的真值表可参考图3a与图3b。FIG. 4 is a logic circuit diagram of an embodiment of the first logic unit in FIG. 2 according to the present invention. A
图5为根据本发明图2中第二逻辑单元的一实施例的逻辑电路图。非门(NOT gate)51接收并反相信号BT_PRI_DATA。与门52接收非门51的输出信号与WiMAX模块24输出的信号WIMAX_COEXISTENCE_PROTECTION来产生信号W_ACTIVE,用以控制蓝牙模块21是否可传送数据。第5图的逻辑电路的真值表可参考图3a与图3b。FIG. 5 is a logic circuit diagram of an embodiment of the second logic unit in FIG. 2 according to the present invention. A NOT gate (NOT gate) 51 receives and inverts the signal BT_PRI_DATA. The AND
图6为根据本发明的一种具有蓝牙模块与无线网络模块的电子装置的另一实施例的示意图。WiMAX模块64包括了WiMAX基频芯片65、WiMAX射频模块66以及功率放大器67。第二逻辑单元63根据蓝牙模块61输出的信号BT_PRI_DATA与WiMAX模块24输出的信号WIMAX_COEXISTENCE_PROTECTION来产生信号W_ACTIVE,用以控制蓝牙模块61此时WiMAX模块24是否可传送数据。WiMAX基频芯片65则可根据蓝牙模块61输出的信号BT_PRI_DATA与BT_PA_ON决定此时WiMAX模块64的操作模式,如传送模式、接收模式或是不动作。FIG. 6 is a schematic diagram of another embodiment of an electronic device with a Bluetooth module and a wireless network module according to the present invention. The
当信号BT_PRI_DATA与BT_PA_ON皆为1时,表示此时蓝牙模块61的优先权高于WiMAX模块64,且蓝牙模块61处于传送模式而可传送数据,因此WiMAX基频芯片65设定WiMAX模块64不动作。When the signals BT_PRI_DATA and BT_PA_ON are both 1, it means that the priority of the
当信号BT_PRI_DATA为1,信号BT_PA_ON为0时,表示此时蓝牙模块61的优先权高于WiMAX模块64,且蓝牙模块61处于接收模式而可接收数据,此时WiMAX基频芯片65控制WiMAX模块64不动作或是在接收模式。When the signal BT_PRI_DATA is 1 and the signal BT_PA_ON is 0, it means that the priority of the
当信号BT_PRI_DATA为0时,表示此时蓝牙模块61的优先权低于WiMAX模块64,此时蓝牙模块61是否可以运作需根据第二逻辑单元输出的信号W_ACTIVE。若信号W_ACTIVE为1时,蓝牙模块61被设定为不动作。若信号W_ACTIVE为0时,则蓝牙模块61可被设定为传送模式或接收模式。When the signal BT_PRI_DATA is 0, it means that the priority of the
图7为根据本发明的蓝牙模块与无线网络模块共存的控制方法的一实施例的流程图。此实施例的控制方法可适用于图1及图2的电子装置中。在步骤S71中,先判断蓝牙模块的优先权是否高于无线网络模块的优先权。若蓝牙模块的优先权高于无线网络模块的优先权,进入步骤S75,反之进入步骤S72。在步骤S72中,先判断此时无线网络模块所接收或传送的数据是否需要被保护。若无线网络模块所接收或传送的数据需要被保护,则执行步骤S73,蓝牙模块被设定为不动作,即不传送且不接收数据。若此时无线网络模块所接收或传送的数据不需要被保护,则蓝牙模块设定为可动作,即可传送或可接收数据(步骤S74)。在步骤S75中,先判断此时蓝牙模块是否处于传送模式,若是,则执行步骤S76,无线网络模块被设为不动作,即不传送且不接收数据。反之,在步骤S77中,若蓝牙模块未处于传送模式,则无线网络模块可被设为不动作或是处于一接收模式。FIG. 7 is a flowchart of an embodiment of a control method for the coexistence of a Bluetooth module and a wireless network module according to the present invention. The control method of this embodiment is applicable to the electronic device shown in FIG. 1 and FIG. 2 . In step S71, it is first determined whether the priority of the bluetooth module is higher than that of the wireless network module. If the priority of the bluetooth module is higher than that of the wireless network module, go to step S75, otherwise go to step S72. In step S72, it is first determined whether the data received or transmitted by the wireless network module needs to be protected. If the data received or transmitted by the wireless network module needs to be protected, step S73 is executed, and the bluetooth module is set to be inactive, ie not to transmit or receive data. If the data received or transmitted by the wireless network module does not need to be protected at this time, the Bluetooth module is set to be active, that is, to transmit or receive data (step S74 ). In step S75, first determine whether the bluetooth module is in the transmission mode at this time, if so, execute step S76, and the wireless network module is set to be inactive, ie not to transmit or receive data. On the contrary, in step S77, if the bluetooth module is not in the transmitting mode, the wireless network module can be set to be inactive or in a receiving mode.
于此实施例中,无线网络模块可为一全球互通微波存取(WiMAX),且步骤S71、S72与S75并不受限于其执行顺序,或者其亦可于同一步骤中执行。举例而言,步骤S71与S72亦可于同一步骤执行,即在同一步骤中判断蓝牙模块的优先权是否高于无线网络模块的优先权,及无线网络模块所接收或传送的数据是否需要被保护;若蓝牙模块的优先权未高于无线网络模块的优先权,且无线网络模块所接收或传送的数据需要被保护,则设定蓝牙模块为不动作;若蓝牙模块的优先权未高于无线网络模块的优先权,且无线网络模块所接收或传送的数据不需要被保护,则设定蓝牙模块为可传送或接收数据。同样地,步骤S71与S75亦可于同一步骤执行,例如:在同一步骤中判断蓝牙模块的优先权是否高于无线网络模块的优先权,及蓝牙模块是否处于一传送模式;若蓝牙模块的优先权高于无线网络模块的优先权,且蓝牙模块处于传送模式,则设定无线网络模块为不动作;若蓝牙模块的优先权高于无线网络模块的优先权,且蓝牙模块未处于传送模式,则设定无线网络模块处于一接收模式或不动作。In this embodiment, the wireless network module can be a Worldwide Interoperability for Microwave Access (WiMAX), and steps S71 , S72 and S75 are not limited to their execution order, or they can also be executed in the same step. For example, steps S71 and S72 can also be executed in the same step, that is, it is judged in the same step whether the priority of the Bluetooth module is higher than that of the wireless network module, and whether the data received or transmitted by the wireless network module needs to be protected ; If the priority of the bluetooth module is not higher than that of the wireless network module, and the data received or transmitted by the wireless network module needs to be protected, then set the bluetooth module as inactive; if the priority of the bluetooth module is not higher than that of the wireless The priority of the network module, and the data received or transmitted by the wireless network module does not need to be protected, then the bluetooth module is set to transmit or receive data. Similarly, steps S71 and S75 can also be carried out in the same step, for example: in the same step, it is judged whether the priority of the bluetooth module is higher than the priority of the wireless network module, and whether the bluetooth module is in a transmission mode; if the priority of the bluetooth module The right is higher than the priority of the wireless network module, and the bluetooth module is in the transmission mode, then set the wireless network module to be inactive; if the priority of the bluetooth module is higher than the priority of the wireless network module, and the bluetooth module is not in the transmission mode, Then set the wireless network module to be in a receiving mode or inactive.
另外,于此实施例中,步骤S76更包含下列步骤:若无线网络模块处于接收数据状态时,则控制无线网络模块暂停接收数据,此时无线网络模块便可先发出一请求(request),请传送数据的基地台暂时停止传送数据。另外,步骤S76更包含下列步骤:若无线网络模块处于传送数据状态时,则控制无线网络模块暂停传送数据,此时无线网络模块会将未传送完的数据保留,等到无线网络模块再次致能时,再将前次未传送完的数据传送出去。In addition, in this embodiment, step S76 further includes the following steps: if the wireless network module is in the state of receiving data, then control the wireless network module to suspend receiving data, and now the wireless network module can send a request (request), please The base station transmitting data temporarily stops transmitting data. In addition, step S76 further includes the following steps: if the wireless network module is in the state of transmitting data, then control the wireless network module to suspend data transmission, and at this time the wireless network module will keep the untransmitted data until the wireless network module is enabled again , and then send out the unfinished data from the previous time.
图8为根据本发明的蓝牙模块与无线网络模块共存的控制方法的另一实施例的流程图。此实施例的控制方法可适用于图1及图2的电子装置中。在步骤S81中,先判断此时蓝牙模块是处于传送模式或是接收模式。若蓝牙模块处于传送模式,则执行步骤S82。蓝牙模块处于接收模式,则执行步骤S85。在步骤S82中,判断蓝牙模块的优先权是否高于无线网络模块的优先权。若蓝牙模块的优先权高于无线网络模块的优先权,进入步骤S84,无线网络模块被设为不动作。若蓝牙模块的优先权低于无线网络模块的优先权,执行步骤S83,根据无线网络模块所接收或传送的数据是否需要被保护来决定蓝牙模块是否可传送数据。若无线网络模块所接收或传送的数据需要被保护,则蓝牙模块不传送数据。反之,若无线网络模块所接收或传送的数据不需要被保护,则蓝牙模块可传送数据。FIG. 8 is a flow chart of another embodiment of the control method for the coexistence of the Bluetooth module and the wireless network module according to the present invention. The control method of this embodiment is applicable to the electronic device shown in FIG. 1 and FIG. 2 . In step S81, it is first determined whether the bluetooth module is in the transmitting mode or the receiving mode at this time. If the bluetooth module is in the transmission mode, execute step S82. If the bluetooth module is in the receiving mode, step S85 is performed. In step S82, it is determined whether the priority of the Bluetooth module is higher than that of the wireless network module. If the priority of the bluetooth module is higher than that of the wireless network module, go to step S84, and the wireless network module is set to be inactive. If the priority of the Bluetooth module is lower than that of the wireless network module, step S83 is executed to determine whether the Bluetooth module can transmit data according to whether the data received or transmitted by the wireless network module needs to be protected. If the data received or transmitted by the wireless network module needs to be protected, the bluetooth module does not transmit the data. On the contrary, if the data received or transmitted by the wireless network module does not need to be protected, the Bluetooth module can transmit data.
在在步骤S85中,同样地会先判断蓝牙模块的优先权是否高于无线网络模块的优先权。若蓝牙模块的优先权高于无线网络模块的优先权,进入步骤S87,无线网络模块被设为不动作或是接收模式。若蓝牙模块的优先权低于无线网络模块的优先权,执行步骤S86,根据无线网络模块的状态来决定蓝牙模块是否可接收数据。若无线网络模块所接收或传送的数据需要被保护,则蓝牙模块不接收数据。反之,若无线网络模块所接收或传送的数据不需要被保护,则蓝牙模块可接收数据。于此实施例中,无线网络模块可为一全球互通微波存取(WiMAX),且步骤S81、S82与S85并不受限于其执行顺序,或者其亦可于同一步骤中执行。In step S85, it is also determined whether the priority of the bluetooth module is higher than that of the wireless network module. If the priority of the bluetooth module is higher than the priority of the wireless network module, go to step S87, and the wireless network module is set as inactive or receiving mode. If the priority of the bluetooth module is lower than that of the wireless network module, step S86 is executed to determine whether the bluetooth module can receive data according to the state of the wireless network module. If the data received or transmitted by the wireless network module needs to be protected, the bluetooth module does not receive the data. On the contrary, if the data received or transmitted by the wireless network module does not need to be protected, the Bluetooth module can receive the data. In this embodiment, the wireless network module can be a Worldwide Interoperability for Microwave Access (WiMAX), and steps S81 , S82 and S85 are not limited to their execution order, or they can also be executed in the same step.
虽然本发明已以较佳实施例揭露如上,然其并非用以限定本发明,任何本领域技术人员,在不脱离本发明的精神和范围内,当可作些许的更动与润饰,因此本发明的保护范围应当以后附的权利要求书所界定者为准。Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art may make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, this The scope of protection of the invention shall prevail as defined by the appended claims.
Claims (15)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510159729.8A CN104735804B (en) | 2009-04-30 | 2009-04-30 | Electronic device with Bluetooth module and wireless network module and control method thereof |
CN2009101381071A CN101877879A (en) | 2009-04-30 | 2009-04-30 | Electronic device with bluetooth module and wireless network module and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101381071A CN101877879A (en) | 2009-04-30 | 2009-04-30 | Electronic device with bluetooth module and wireless network module and control method thereof |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510159729.8A Division CN104735804B (en) | 2009-04-30 | 2009-04-30 | Electronic device with Bluetooth module and wireless network module and control method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101877879A true CN101877879A (en) | 2010-11-03 |
Family
ID=43020318
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101381071A Pending CN101877879A (en) | 2009-04-30 | 2009-04-30 | Electronic device with bluetooth module and wireless network module and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101877879A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103947279A (en) * | 2011-09-30 | 2014-07-23 | 英特尔公司 | Reducing interference in collocated radios |
CN112020130A (en) * | 2019-05-30 | 2020-12-01 | 华为技术有限公司 | Interference processing method and equipment |
-
2009
- 2009-04-30 CN CN2009101381071A patent/CN101877879A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103947279A (en) * | 2011-09-30 | 2014-07-23 | 英特尔公司 | Reducing interference in collocated radios |
CN103947279B (en) * | 2011-09-30 | 2018-08-21 | 英特尔公司 | Method and system for reducing the interference in juxtaposition radio |
CN112020130A (en) * | 2019-05-30 | 2020-12-01 | 华为技术有限公司 | Interference processing method and equipment |
CN112020130B (en) * | 2019-05-30 | 2021-12-28 | 华为技术有限公司 | Interference processing method and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110741561B (en) | Controlling a co-existing radio system in a wireless device | |
US9577699B2 (en) | Dual antenna topology for bluetooth and IEEE 802.11 wireless local area network devices | |
KR101024053B1 (en) | Method and system for multiple radio coexistence and cooperative interface | |
CN109691200B (en) | Method for activating bandwidth part BWP and related product | |
KR20120050465A (en) | Asynchronous interface for multi-radio coexistence manager | |
TWI762686B (en) | Method and related products for data transmission | |
CN105846850A (en) | Method for coexistence of wireless communication system and multiple wireless communication modules | |
US9578682B1 (en) | Systems and methods for selecting between coexistence modes in a wireless device | |
WO2018182949A1 (en) | System and method for sending in band interrupt messages between devices on a bus | |
WO2012079411A1 (en) | Wireless communication device with common antenna and communication method using same | |
WO2019210082A1 (en) | Enhanced wci-2 message for coexistence management | |
EP3729284A1 (en) | Efficient technique for communicating between devices over a multi-drop bus | |
CN114268936B (en) | Data transmission method and device | |
CN114173314B (en) | Data transmission method and device | |
CN101877879A (en) | Electronic device with bluetooth module and wireless network module and control method thereof | |
AU2019303771A1 (en) | D2d communication method and terminal device | |
TWI386099B (en) | System including bluetooth module and wireless lan module and control method therefor | |
CN114041296B (en) | Wireless communication device, method for wireless communication device and computer program | |
CN104735804A (en) | Electronic device with Bluetooth module and wireless network module and control method thereof | |
US8429320B2 (en) | Method and system for dynamically programmable serial/parallel bus interface | |
CN110875755B (en) | Chip system, circuit and wireless communication device | |
US7221926B1 (en) | Short range radio | |
WO2022067525A1 (en) | Service state indication method, base station, and terminal | |
CN101877605A (en) | Wireless transceiver device and method for avoiding wireless signal collision in electronic device | |
CN111385801A (en) | Wireless communication system and wireless communication method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20101103 |