WO2020134820A1 - Method for controlling wireless personal area network module and method for controlling wireless local area network module - Google Patents

Method for controlling wireless personal area network module and method for controlling wireless local area network module Download PDF

Info

Publication number
WO2020134820A1
WO2020134820A1 PCT/CN2019/121375 CN2019121375W WO2020134820A1 WO 2020134820 A1 WO2020134820 A1 WO 2020134820A1 CN 2019121375 W CN2019121375 W CN 2019121375W WO 2020134820 A1 WO2020134820 A1 WO 2020134820A1
Authority
WO
WIPO (PCT)
Prior art keywords
area network
network module
data
information
personal area
Prior art date
Application number
PCT/CN2019/121375
Other languages
French (fr)
Chinese (zh)
Inventor
刘昕颖
包勇
林科金
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2020134820A1 publication Critical patent/WO2020134820A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0058Allocation criteria
    • H04L5/0073Allocation arrangements that take into account other cell interferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0078Timing of allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/0091Signaling for the administration of the divided path
    • H04L5/0094Indication of how sub-channels of the path are allocated
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/14Spectrum sharing arrangements between different networks

Abstract

The present invention provides a method for controlling a wireless personal area network module, a method for controlling a wireless local area network module, and a terminal and a computer-readable storage medium; the method for controlling a wireless personal area network module comprises: obtaining first information data, the first information data comprising first duration information and first channel information; sending the first information data to a wireless local area network module, so that the wireless local area network module controls an external device occupying a first channel to stop sending data within a first duration according to the first information data; delaying a second duration or, according to the second information data from the wireless local area network module, receiving or sending data to be sent/received.

Description

无线个域网模块的控制方法和无线局域网模块的控制方法Control method of wireless personal area network module and control method of wireless local area network module
交叉引用cross reference
本发明要求在2018年12月27日提交中国专利局、申请号为201811615871.9、发明名称为“无线个域网模块的控制方法和无线局域网模块的控制方法”的中国专利申请的优先权,该申请的全部内容通过引用结合在本发明中。The present invention requires the priority of the Chinese patent application filed on December 27, 2018 in the Chinese Patent Office with the application number 201811615871.9 and the invention titled "Wireless Personal Area Network Module Control Method and Wireless Local Area Network Module Control Method". The entire content of is incorporated into the present invention by reference.
技术领域Technical field
本发明涉及无线网络技术领域,具体涉及一种无线个域网模块的控制方法、无线局域网模块的控制方法、终端和计算机可读存储介质。The invention relates to the technical field of wireless networks, in particular to a control method of a wireless personal area network module, a control method of a wireless local area network module, a terminal and a computer-readable storage medium.
背景技术Background technique
目前,无线通讯技术迅猛发展,尤其在2.4GHz公众免费频段,WLAN(Wireless Local Area Networks,无线局域网模块)、Bluetooth(蓝牙)以及zigbee(紫蜂协议)应用日益广泛。如图1和图2所示,由于Zigbee、蓝牙和WLAN都工作在同一频段,在实际使用过程中很容易出现互扰问题,会造成信号收发质量急剧下降,出现丢包、延时大等问题。At present, wireless communication technology is developing rapidly, especially in the 2.4GHz public free frequency band, WLAN (Wireless Local Area Networks), Bluetooth (Bluetooth) and zigbee (Zigbee Protocol) are increasingly widely used. As shown in Figure 1 and Figure 2, since Zigbee, Bluetooth and WLAN all work in the same frequency band, it is easy to have mutual interference problems in actual use, which will cause the signal transmission and reception quality to drop sharply, and there will be problems such as packet loss and large delay. .
在相关技术中,为了解决Zigbee、蓝牙与WLAN设备的互干扰问题,目前共存方案主要分为协作方式和非协作方式两种;协作方式是在同一个设备上,采用集中控制分时发送的方案,避免同一设备上的Zigbee/蓝牙和WLAN之间的互干扰;非协作方式是有自适应调整分组大小、动态信道分配、功率控制等方法,尽量避免不同设备之间的互干扰。In the related art, in order to solve the problem of mutual interference between Zigbee, Bluetooth and WLAN devices, the current coexistence scheme is mainly divided into two kinds of collaborative mode and non-collaborative mode; the collaborative mode is to use a centralized control time-sharing scheme on the same device To avoid the mutual interference between Zigbee/Bluetooth and WLAN on the same device; the non-cooperative method is to adaptively adjust the packet size, dynamic channel allocation, power control and other methods to try to avoid the mutual interference between different devices.
但是,无论是协作方式还是非协作方式,在WLAN设备分布非常密集,所有信道均存在大量WLAN设备的情况下,对于同一设备中的Zigbee/蓝牙接口传输仍会受到相同信道范围的其他WLAN设备信号的干扰,进而使得信 号传输不稳定,出现丢包、延时等问题。However, no matter whether it is a cooperative mode or a non-cooperative mode, when the WLAN devices are very densely distributed and there are a large number of WLAN devices on all channels, the Zigbee/Bluetooth interface transmission in the same device will still be affected by the signals of other WLAN devices in the same channel range Interference, which in turn makes signal transmission unstable, causing problems such as packet loss and delay.
上述对问题的发现过程的描述,仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。The above description of the problem discovery process is only used to assist in understanding the technical solution of the present invention, and does not mean that the above content is recognized as prior art.
发明内容Summary of the invention
为了解决上述技术问题或者至少部分地解决上述技术问题,本申请提供了一种一种无线个域网模块的控制方法、无线局域网模块的控制方法、终端、计算机可读存储介质。In order to solve the above technical problems or at least partially solve the above technical problems, the present application provides a method for controlling a wireless personal area network module, a method for controlling a wireless local area network module, a terminal, and a computer-readable storage medium.
第一方面,本发明提供一种无线个域网模块的控制方法,包括:获取第一信息数据,第一信息数据包括第一时长信息和第一信道信息;向无线局域网模块发送第一信息数据,以使无线局域网模块根据第一信息数据控制占用第一信道的外部设备在第一时长内停止发送数据;延时第二时长或根据来自无线局域网模块的第二信息数据,接收或发送待收发数据。In a first aspect, the present invention provides a method for controlling a wireless personal area network module, including: acquiring first information data, the first information data includes first duration information and first channel information; and sending the first information data to the wireless local area network module , So that the wireless local area network module controls the external device occupying the first channel to stop sending data within the first duration according to the first information data; delays the second duration or receives or sends to receive and send according to the second information data from the wireless local area network module data.
第二方面,本发明提供一种无线局域网模块的控制方法包括:接收来自无线个域网模块的第一信息数据,第一信息数据包括第一时长信息和第一信道信息;根据第一信息数据,切换信道至第一信道,并生成第一报文;向占用第一信道的外部设备发送第一报文,以使外部设备在第一时长内停止接收或发送数据。In a second aspect, the present invention provides a method for controlling a wireless local area network module including: receiving first information data from a wireless personal area network module, the first information data including first duration information and first channel information; based on the first information data , Switch the channel to the first channel, and generate a first message; send the first message to the external device occupying the first channel, so that the external device stops receiving or sending data within the first time period.
第三方面,本发明提供一种终端,包括:无线局域网模块和无线个域网模块,无线个域网模块用于获取第一信息数据,第一信息数据包括第一时长信息和第一信道信息,并向无线局域网模块发送第一信息数据;无线局域网模块用于接收来自无线个域网模块的第一信息数据,根据第一信息数据,切换信道至第一信道,并生成第一报文;无线局域网模块还用于向占用第一信道的外部设备发送第一报文,以使外部设备在第一时长内停止接收或发送数据;无线个域网模块用于延时第二时长或根据来自无线局域网模块的第二信息数据,接收或发送待收发数据。In a third aspect, the present invention provides a terminal, including: a wireless local area network module and a wireless personal area network module, the wireless personal area network module is used to obtain first information data, and the first information data includes first duration information and first channel information And send the first information data to the wireless local area network module; the wireless local area network module is used to receive the first information data from the wireless personal area network module, switch the channel to the first channel according to the first information data, and generate a first message; The wireless local area network module is also used to send the first message to the external device occupying the first channel, so that the external device stops receiving or sending data within the first duration; the wireless personal area network module is used to delay the second duration or according to the The second information data of the wireless local area network module receives or sends the data to be sent and received.
第四方面,本发明提供一种终端,包括:至少一个处理器、存储器、至少一个网络接口和用户接口;所述至少一个处理器、存储器、至少一个网络接口和用户接口通过总线系统耦合在一起;所述处理器通过调用所述存储器存储的程序或指令,用于实现如第一方面所述的无线个域网模块的控制方法和/或如第二方面所述的无线局域网模块的控制方法。In a fourth aspect, the present invention provides a terminal, including: at least one processor, memory, at least one network interface, and user interface; the at least one processor, memory, at least one network interface, and user interface are coupled together through a bus system The processor is used to implement the control method of the wireless personal area network module as described in the first aspect and/or the control method of the wireless local area network module as described in the second aspect by invoking the program or instruction stored in the memory .
第五方面,本发明提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的无线个域网模块的控制方法和/或如第二方面所述的无线局域网模块的控制方法。According to a fifth aspect, the present invention provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the control method and/or the wireless personal area network module described in the first aspect The control method of the wireless local area network module as described in the second aspect.
附图说明BRIEF DESCRIPTION
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The drawings here are incorporated into and constitute a part of this specification, show embodiments consistent with the present invention, and are used together with the specification to explain the principles of the present invention.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required in the embodiments or the description of the prior art. Obviously, for those of ordinary skill in the art In other words, other drawings can be obtained based on these drawings without paying any creative labor.
图1示出了相关技术中局域网模块的工作频段分布示意图;FIG. 1 shows a schematic diagram of the working frequency band distribution of the local area network module in the related art;
图2示出了相关技术中个域网模块的工作频段分布示意图;FIG. 2 shows a schematic diagram of the working frequency band distribution of the personal area network module in the related art;
图3示出了根据本发明的一个实施例的无线个域网模块的控制方法的流程图;3 shows a flowchart of a method for controlling a wireless personal area network module according to an embodiment of the present invention;
图4示出了根据本发明的另一个实施例的无线个域网模块的控制方法的流程图;4 shows a flowchart of a method for controlling a wireless personal area network module according to another embodiment of the present invention;
图5示出了根据本发明的再一个实施例的无线个域网模块的控制方法的流程图;5 shows a flowchart of a method for controlling a wireless personal area network module according to yet another embodiment of the present invention;
图6示出了根据本发明的再一个实施例的无线个域网模块的控制方法的流程图;6 shows a flowchart of a control method of a wireless personal area network module according to still another embodiment of the present invention;
图7示出了根据本发明的再一个实施例的无线局域网模块的控制方法的流程图;7 shows a flowchart of a control method of a wireless local area network module according to still another embodiment of the present invention;
图8示出了根据本发明的再一个实施例的终端的控制方法的流程图;8 shows a flowchart of a terminal control method according to still another embodiment of the present invention;
图9示出了根据本发明的再一个实施例的终端的框图。9 shows a block diagram of a terminal according to yet another embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
现在将参考附图描述实现本发明各个实施例的移动终端。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,“模块”与“部件”可以混合地使用。A mobile terminal implementing various embodiments of the present invention will now be described with reference to the drawings. In the following description, the use of suffixes such as "module", "part" or "unit" used to denote elements is only for the benefit of the present invention, and has no specific meaning in itself. Therefore, "module" and "component" can be used in combination.
终端可包括移动终端和固定终端,移动终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。The terminal may include a mobile terminal and a fixed terminal, and the mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include mobile phones, smart phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), navigation devices, etc. Mobile terminals and fixed terminals such as digital TVs, desktop computers, etc. In the following, it is assumed that the terminal is a mobile terminal. However, those skilled in the art will understand that the configuration according to the embodiment of the present invention can also be applied to a terminal of a fixed type, in addition to elements particularly used for mobile purposes.
如图3所示,在本发明第一方面实施例中,本发明提供一种无线个域网模块的控制方法,包括:步骤302,获取第一信息数据,第一信息数据包括第一时长信息和第一信道信息;步骤304,向无线局域网模块发送第一信息数据,以使无线局域网模块根据第一信息数据控制占用第一信道的外部设备 在第一时长内停止发送数据;步骤306,延时第二时长或根据来自无线局域网模块的第二信息数据,接收或发送待收发数据。As shown in FIG. 3, in an embodiment of the first aspect of the present invention, the present invention provides a method for controlling a wireless personal area network module, including: Step 302, acquiring first information data, the first information data including first duration information And the first channel information; Step 304, send the first information data to the wireless LAN module, so that the wireless LAN module controls the external device occupying the first channel to stop sending data within the first time period according to the first information data; Step 306, the extension In the second duration or according to the second information data from the wireless local area network module, receive or send the data to be sent and received.
在该实施例中,当无线个域网模块(WPAN)模块准备发送或接收待收发数据时,获取与待收发数据相关的第一信息数据,并将第一信息数据发送至无线局域网模块,无线局域网模块(WLAN)模块再根据第一信息数据控制外部设备停止发送或接收数据,在外部设备停止发送或接收数据后,无线个域网模块开始接收或发送待收发数据,由于在无线个域网模块发送或接收待收发数据时,外部设备已停止数据的发送和接收,避免了外部设备对无线个域网模块的干扰,进而使得无线个域网模块的信号传输更加稳定,避免出现丢包、延时等问题。In this embodiment, when the wireless personal area network module (WPAN) module is ready to send or receive data to be sent and received, it acquires first information data related to the data to be sent and received, and sends the first information data to the wireless local area network module. The local area network module (WLAN) module then controls the external device to stop sending or receiving data according to the first information data. After the external device stops sending or receiving data, the wireless personal area network module starts to receive or send the data to be sent and received, because the wireless personal area network When the module sends or receives data to be sent and received, the external device has stopped sending and receiving data, which avoids the interference of the external device on the wireless personal area network module, thereby making the signal transmission of the wireless personal area network module more stable, avoiding packet loss, Delays and other issues.
优选地,无线个域网模块为Bluetooth(蓝牙)或zigbee(紫蜂协议);待收发数据为无线个域网模块即将发送或接收的数据;外部设备为占用第一信道的其余无线局域网模块。Preferably, the wireless personal area network module is Bluetooth or zigbee; the data to be sent and received is the data that the wireless personal area network module is about to send or receive; the external device is the remaining wireless local area network module occupying the first channel.
如图4所示,在本发明的一个实施例中,本发明提供一种无线个域网模块的控制方法,包括:步骤402,获取第一时长信息;步骤404,获取第一信道信息;步骤406,根据第一时长信息和第一信道信息,生成第一信息数据;步骤408,向无线局域网模块发送第一信息数据,以使无线局域网模块根据第一信息数据控制占用第一信道的外部设备在第一时长内停止发送数据;步骤410,延时第二时长或根据来自无线局域网模块的第二信息数据,接收或发送待收发数据。As shown in FIG. 4, in an embodiment of the present invention, the present invention provides a method for controlling a wireless personal area network module, including: step 402, acquiring first duration information; step 404, acquiring first channel information; and steps 406. Generate first information data according to the first duration information and the first channel information; step 408, send the first information data to the wireless LAN module, so that the wireless LAN module controls the external device occupying the first channel according to the first information data Stop sending data within the first duration; Step 410, delay the second duration or receive or send the data to be sent and received according to the second information data from the wireless local area network module.
在该实施例中,通过将第一时长信息和第一信道信息封装,得到第一信息数据,使得第一时长信息和第一信道信息打包发送至无线局域网模块,无线局域网模块解析第一信息数据后,根据第一信道信息,将无线局域网模块的信道切换至第一信道,并寻找占用第一信道的其余设备,即外部设备,进而根据第一时长信息控制外部设备停止发包的时长。In this embodiment, the first information data is obtained by encapsulating the first duration information and the first channel information, so that the first duration information and the first channel information are packaged and sent to the wireless LAN module, and the wireless LAN module parses the first information data Then, according to the first channel information, the channel of the wireless local area network module is switched to the first channel, and the remaining devices occupying the first channel, that is, the external device, are searched for, and then the duration for the external device to stop sending the packet is controlled according to the first duration information.
如图5所示,在本发明的一个实施例中,本发明提供一种无线个域网模 块的控制方法,包括:步骤502,根据待收发数据的字段长度和无线个域网模块的传输速率,计算第一时长信息;步骤504,获取第一信道信息;步骤506,根据第一时长信息和第一信道信息,生成第一信息数据;步骤508,向无线局域网模块发送第一信息数据,以使无线局域网模块根据第一信息数据控制占用第一信道的外部设备在第一时长内停止发送数据;步骤510,延时第二时长或根据来自无线局域网模块的第二信息数据,接收或发送待收发数据。As shown in FIG. 5, in an embodiment of the present invention, the present invention provides a method for controlling a wireless personal area network module, including: Step 502, according to the field length of the data to be sent and received and the transmission rate of the wireless personal area network module , Calculate the first duration information; Step 504, obtain the first channel information; Step 506, generate first information data based on the first duration information and the first channel information; Step 508, send the first information data to the wireless LAN module to The wireless local area network module controls the external device occupying the first channel to stop sending data within the first duration according to the first information data; step 510, delays the second duration or receives or transmits the pending according to the second information data from the wireless local area network module Send and receive data.
在该实施例中,通过采集无线个域网模块的数据传输速度,和待收发数据的长度,进而计算出无线个域网模块接收或发送待收发数据所需的时长,即第一时长。In this embodiment, by collecting the data transmission speed of the wireless personal area network module and the length of the data to be sent and received, the time required for the wireless personal area network module to receive or send the data to be sent and received, that is, the first time length, is calculated.
同样地,第一时长可根据经验值设定,或将第一时长设置为一个固定值。Similarly, the first duration can be set based on empirical values, or the first duration can be set to a fixed value.
优选地,当无线个域网模块需要发送数据时,根据发送数据的长度和无线个域网模块发送数据的传输速率计算第一时长;当无线个域网模块需要接收数据时,根据接收数据的长度和无线个域网模块接收数据的传输速率计算第一时长。Preferably, when the wireless personal area network module needs to send data, the first duration is calculated according to the length of the transmitted data and the transmission rate of the data transmitted by the wireless personal area network module; when the wireless personal area network module needs to receive data, according to the received data The length and the transmission rate of the data received by the wireless personal area network module are calculated as the first duration.
在本发明的一个实施例中,优选地,第一时长信息为无线个域网模块数据在接收或发送待收发数据时所占用的空中接口的时长;第一信道信息为无线个域网模块在接收或发送待收发数据时所占用的信道的信息。In an embodiment of the present invention, preferably, the first duration information is the duration of the air interface occupied by the wireless personal area network module data when receiving or sending the data to be sent and received; the first channel information is the wireless personal area network module time. Information about the channel occupied when receiving or sending data to be sent and received.
如图6所示,在本发明的一个实施例中,无线个域网模块的控制方法包括:步骤602,判断待收发数据的优先级是否大于第一阈值;步骤604,在待收发数据的优先级大于第一阈值的情况下,获取第一信息数据,第一信息数据包括第一时长信息和第一信道信息;步骤606,向无线局域网模块发送第一信息数据,以使无线局域网模块根据第一信息数据控制占用第一信道的外部设备在第一时长内停止发送数据;步骤608,延时第二时长或根据来自无线局域网模块的第二信息数据;步骤610,接收或发送待收发数据;在待收发数据的优先级小于等于第一阈值的情况下,步骤610,接收或发送待收发 数据。As shown in FIG. 6, in an embodiment of the present invention, the control method of the wireless personal area network module includes: step 602, determining whether the priority of data to be sent and received is greater than a first threshold; step 604, prioritizing data to be sent and received If the level is greater than the first threshold, obtain first information data, the first information data includes first duration information and first channel information; Step 606, send the first information data to the wireless LAN module, so that the wireless LAN module according to the first An information data control the external device occupying the first channel to stop sending data within the first duration; Step 608, delay the second duration or according to the second information data from the wireless LAN module; Step 610, receive or send the data to be sent and received; In the case where the priority of the data to be sent and received is less than or equal to the first threshold, step 610, receiving or sending the data to be sent and received.
在该实施例中,通过判断待收发数据的优先级,使得优先级较高的待收发数据可在无干扰的情况下发送,确保传输更加稳定,避免出现丢包、延时等问题。当待收发数据的优先级较低时,可不停止外部设备发包,避免一些不重要的数据传输影响外部设备的正常使用。例如对需要保证可靠性的高优先级数据,收发前向无线局域网模块发送数据收发请求,保证不被其他外部设备干扰;而对普通数据则可直接收发;同样地,无线个域网模块也可以选择对所有数据收发前都向无线局域网模块发送数据收发请求。In this embodiment, by judging the priority of the data to be sent and received, the data to be sent and received with higher priority can be sent without interference, ensuring more stable transmission and avoiding problems such as packet loss and delay. When the priority of the data to be sent and received is low, it is not necessary to stop the external device from sending packets, to avoid some unimportant data transmission affecting the normal use of the external device. For example, for high-priority data that requires reliability, send a data transmission and reception request to the wireless LAN module before sending and receiving to ensure that it is not interfered by other external devices; while ordinary data can be directly sent and received; similarly, the wireless personal area network module can also Select to send and receive data request to the wireless LAN module before sending and receiving all data.
如图7所示,在本发明第二方面实施例中,本发明提供一种无线局域网模块的控制方法包括:步骤702,接收来自无线个域网模块的第一信息数据,第一信息数据包括第一时长信息和第一信道信息;步骤704,根据第一信息数据,切换信道至第一信道,并生成第一报文;步骤706,向占用第一信道的外部设备发送第一报文,以使外部设备在第一时长内停止发送数据。As shown in FIG. 7, in an embodiment of the second aspect of the present invention, the present invention provides a method for controlling a wireless local area network module including: Step 702, receiving first information data from a wireless personal area network module, the first information data including First duration information and first channel information; Step 704, switch the channel to the first channel according to the first information data, and generate a first message; Step 706, send the first message to the external device occupying the first channel, So that the external device stops sending data within the first time period.
在该实施例中,无线局域网模块接收来自无线个域网模块的第一信息数据,并根据第一信息数据控制外部设备停止发送或接收数据,在外部设备停止发送或接收数据后,向无线个域网模块发送第二信息数据,使得无线个域网模块开始接收或发送待收发数据。In this embodiment, the wireless local area network module receives the first information data from the wireless personal area network module, and controls the external device to stop sending or receiving data according to the first information data. After the external device stops sending or receiving data, the wireless device The local area network module sends the second information data, so that the wireless personal area network module starts to receive or send the data to be sent and received.
优选地,第一报文为RTS/CTS(Request To Send/Clear To Send,请求发送/清除发送)报文。其中RTS或CTS报文中的Duration(持续时间)字段根据无线个域网模块发来的数据收发请求中的第一时长信息,外部设备在收到此RTS或CTS报文后,会根据RTS或CTS报文中的Duration字段更新自己的NAV(Network Allocation Vector,网络分配矢量),并在相应的持续时间内保持静默不再发包。Preferably, the first message is an RTS/CTS (Request ToSend/Clear ToSend, request to send/clear to send) message. The Duration field in the RTS or CTS message is based on the first duration information in the data sending and receiving request sent by the wireless personal area network module. After receiving this RTS or CTS message, the external device The Duration field in the CTS message updates its own NAV (Network Allocation Vector) and keeps silent for the corresponding duration without sending packets.
在本发明的一个实施例中,本发明提供一种无线局域网模块的控制方法包括:接收来自无线个域网模块的第一信息数据,第一信息数据包括第一时长信息和第一信道信息;根据第一信息数据,切换信道至第一信道,并生成 第一报文;向占用第一信道的外部设备发送第一报文,以使外部设备在第一时长内停止发送数据;在所述外部设备停止接收或发送数据后,生成第二信息数据,并向所述无线个域网模块发送第二信息数据,以使所述无线个域网模块开始接收或发送所述待收发数据。In one embodiment of the present invention, the present invention provides a method for controlling a wireless local area network module including: receiving first information data from a wireless personal area network module, where the first information data includes first duration information and first channel information; According to the first information data, switch the channel to the first channel and generate a first message; send the first message to the external device occupying the first channel, so that the external device stops sending data within the first time duration; After the external device stops receiving or sending data, it generates second information data and sends the second information data to the wireless personal area network module, so that the wireless personal area network module starts to receive or send the data to be sent and received.
在本发明的一个实施例中,优选地,第一时长信息为无线个域网模块数据在接收或发送待收发数据时所占用的空中接口的时长;第一信道信息为无线个域网模块在接收或发送待收发数据时所占用的信道的信息。In an embodiment of the present invention, preferably, the first duration information is the duration of the air interface occupied by the wireless personal area network module data when receiving or sending the data to be sent and received; the first channel information is the wireless personal area network module time. Information about the channel occupied when receiving or sending data to be sent and received.
如图8所示,在本发明的一个实施例中,终端的控制方法包括:步骤802,控制无线个域网模块获取第一信息数据,第一信息数据包括第一时长信息和第一信道信息;步骤804,控制无线个域网模块向无线局域网模块发送第一信息数据;步骤806,控制无线局域网模块接收来自无线个域网模块的第一信息数据;步骤808,控制无线局域网模块根据第一信息数据,切换信道至第一信道,并生成第一报文;步骤810,控制无线局域网模块向占用第一信道的外部设备发送第一报文,以使外部设备在第一时长内停止发送数据;步骤812,延时第二时长或根据来自无线局域网模块的第二信息数据,控制无线个域网模块接收或发送待收发数据。As shown in FIG. 8, in one embodiment of the present invention, the terminal control method includes: Step 802, controlling the wireless personal area network module to obtain first information data, where the first information data includes first duration information and first channel information Step 804, control the wireless personal area network module to send the first information data to the wireless local area network module; step 806, control the wireless local area network module to receive the first information data from the wireless personal area network module; step 808, control the wireless local area network module according to the first Information data, switch the channel to the first channel, and generate a first message; step 810, control the wireless local area network module to send the first message to the external device occupying the first channel, so that the external device stops sending data within the first duration Step 812, delay the second duration or according to the second information data from the wireless local area network module, control the wireless personal area network module to receive or send data to be sent and received.
在该实施例中,终端通过无线个域网模块获取第一信息数据,并发送给无线局域网模块,无线局域网模块在根据第一信息数据控制与无线个域网模块占用相同信道的外部设备停止发送或接收数据,进而在无线个域网模块发送数据时,避免了外部设备对无线个域网模块的干扰,即使在所有信道均存在大量无线局域网模块的情况下,也可使得无线个域网模块的信号传输更加稳定,避免出现丢包、延时等问题。In this embodiment, the terminal obtains the first information data through the wireless personal area network module and sends it to the wireless local area network module. The wireless local area network module controls the external device occupying the same channel as the wireless personal area network module to stop sending based on the first information data Or receive data, and then when the wireless personal area network module sends data, avoid the interference of external devices on the wireless personal area network module, even if there are a large number of wireless local area network modules on all channels, the wireless personal area network module can also be made The signal transmission is more stable, avoiding problems such as packet loss and delay.
在本发明第三方面实施例中,如图9所示,本发明提供一种终端9,包括:无线局域网模块94和无线个域网模块92,无线个域网模块92用于获取第一信息数据,第一信息数据包括第一时长信息和第一信道信息,并向无线局域网模块94发送第一信息数据;无线局域网模块94用于接收来自无线个 域网模块92的第一信息数据,根据第一信息数据,切换信道至第一信道,并生成第一报文;无线局域网模块94还用于向占用第一信道的外部设备发送第一报文,以使外部设备在第一时长内停止发送数据;无线个域网模块92用于延时第二时长或根据来自无线局域网模块的第二信息数据,接收或发送待收发数据。In an embodiment of the third aspect of the present invention, as shown in FIG. 9, the present invention provides a terminal 9 including: a wireless local area network module 94 and a wireless personal area network module 92, and the wireless personal area network module 92 is used to obtain first information Data, the first information data includes the first duration information and the first channel information, and sends the first information data to the wireless local area network module 94; the wireless local area network module 94 is used to receive the first information data from the wireless personal area network module 92, according to The first information data, switch the channel to the first channel, and generate a first message; the wireless LAN module 94 is also used to send the first message to the external device occupying the first channel, so that the external device stops within the first time period Send data; the wireless personal area network module 92 is used to delay the second duration or according to the second information data from the wireless local area network module, receive or send data to be sent and received.
在该实施例中,终端9通过无线个域网模块获取第一信息数据,并发送给无线局域网模块,无线局域网模块在根据第一信息数据控制与无线个域网模块占用相同信道的外部设备停止发送或接收数据,进而在无线个域网模块发送数据时,避免了外部设备对无线个域网模块的干扰,即使在所有信道均存在大量无线局域网模块的情况下,也可使得无线个域网模块的信号传输更加稳定,避免出现丢包、延时等问题。In this embodiment, the terminal 9 obtains the first information data through the wireless personal area network module and sends it to the wireless local area network module. The wireless local area network module stops the external device occupying the same channel as the wireless personal area network module according to the first information data. Send or receive data, and then when the wireless personal area network module sends data, avoid the interference of external devices to the wireless personal area network module, even if there are a large number of wireless local area network modules in all channels, it can also make the wireless personal area network The signal transmission of the module is more stable, avoiding problems such as packet loss and delay.
优选地,无线局域网模块94和无线个域网模块92设置在同一终端9上,同样地,无线局域网模块94和无线个域网模块92也可设置在不同的终端9上。Preferably, the wireless local area network module 94 and the wireless personal area network module 92 are provided on the same terminal 9. Similarly, the wireless local area network module 94 and the wireless personal area network module 92 may also be provided on different terminals 9.
在本发明的一个实施例中,优选地,获取第一信息数据具体为:获取第一时长信息;获取第一信道信息;封装第一时长信息和第一信道信息,以得到第一信息数据。In an embodiment of the present invention, preferably, acquiring the first information data specifically includes: acquiring first duration information; acquiring first channel information; encapsulating the first duration information and the first channel information to obtain first information data.
在该实施例中,通过将第一时长信息和第一信道信息封装,得到第一信息数据,使得第一时长信息和第一信道信息打包发送至无线局域网模块,无线局域网模块解析第一信息数据后,根据第一信道信息,将无线局域网模块的信道切换至第一信道,并寻找占用第一信道的其余设备,即外部设备,进而根据第一时长信息控制外部设备停止发包的时长。In this embodiment, the first information data is obtained by encapsulating the first duration information and the first channel information, so that the first duration information and the first channel information are packaged and sent to the wireless LAN module, and the wireless LAN module parses the first information data Then, according to the first channel information, the channel of the wireless local area network module is switched to the first channel, and the remaining devices occupying the first channel, that is, the external device, are searched for, and then the duration for the external device to stop sending the packet is controlled according to the first duration information.
在本发明的一个实施例中,优选地,获取第一时长信息具体为:根据待收发数据的长度和无线个域网模块的传输速率,计算第一时长信息。In an embodiment of the present invention, preferably, acquiring the first duration information specifically is: calculating the first duration information according to the length of the data to be sent and received and the transmission rate of the wireless personal area network module.
在该实施例中,通过采集无线个域网模块的数据传输速度,和待收发数据的长度,进而计算出无线个域网模块接收或发送待收发数据所需的时长, 即第一时长。In this embodiment, by collecting the data transmission speed of the wireless personal area network module and the length of the data to be sent and received, the time required for the wireless personal area network module to receive or send the data to be sent and received, that is, the first time length, is calculated.
同样地,第一时长可根据经验值设定,或将第一时长设置为一个固定值。Similarly, the first duration can be set based on empirical values, or the first duration can be set to a fixed value.
优选地,当无线个域网模块需要发送数据时,根据发送数据的长度和无线个域网模块发送数据的传输速率计算第一时长;当无线个域网模块需要接收数据时,根据接收数据的长度和无线个域网模块接收数据的传输速率计算第一时长。Preferably, when the wireless personal area network module needs to send data, the first duration is calculated according to the length of the transmitted data and the transmission rate of the data transmitted by the wireless personal area network module; when the wireless personal area network module needs to receive data, according to the received data The length and the transmission rate of the data received by the wireless personal area network module are calculated as the first duration.
在本发明第四方面实施例中,本发明提供一种终端,包括:至少一个处理器、存储器、至少一个网络接口和用户接口;所述至少一个处理器、存储器、至少一个网络接口和用户接口通过总线系统耦合在一起;所述处理器通过调用所述存储器存储的程序或指令,用于实现上述任一实施例所述的无线个域网模块的控制方法和/或上述任一实施例所述的无线局域网模块的控制方法。In an embodiment of the fourth aspect of the present invention, the present invention provides a terminal, including: at least one processor, memory, at least one network interface, and user interface; the at least one processor, memory, at least one network interface, and user interface Coupled together via a bus system; the processor is used to implement the control method of the wireless personal area network module described in any one of the foregoing embodiments and/or the method described in any one of the foregoing embodiments by invoking programs or instructions stored in the memory The control method of the wireless LAN module mentioned above.
在本发明第五方面实施例中,本发明提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一实施例所述的无线个域网模块的控制方法和/或上述任一实施例所述的无线局域网模块的控制方法。In an embodiment of the fifth aspect of the present invention, the present invention provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the wireless personal area network described in any of the above embodiments The control method of the module and/or the control method of the wireless local area network module described in any of the above embodiments.
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecificIntegratedCircuits,ASIC)、数字信号处理器(DigitalSignalProcessing,DSP)、数字信号处理设备(DSPDevice,DSPD)、可编程逻辑设备(ProgrammableLogicDevice,PLD)、现场可编程门阵列(Field-ProgrammableGateArray,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It can be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD) ), Field Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application, or a combination thereof.
对于软件实现,可通过执行本文所述功能的单元来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the techniques described herein may be implemented through units that perform the functions described herein. The software codes can be stored in memory and executed by the processor. The memory may be implemented in the processor or external to the processor.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Persons of ordinary skill in the art may realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application of the technical solution and design constraints. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and conciseness of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical, or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介 质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of the embodiments of the present invention may essentially be a part that contributes to the existing technology or a part of the technical solution may be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage media include various media that can store program codes, such as a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, It also includes other elements that are not explicitly listed, or include elements inherent to this process, method, article, or device. Without more restrictions, the element defined by the sentence "include one..." does not exclude that there are other identical elements in the process, method, article or device that includes the element.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。It should be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is any such actual relationship or order between entities or operations.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明各个实施例所述的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods described in the various embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases The former is the better implementation. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or part that contributes to the existing technology, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) perform the method described in each embodiment of the present invention or described in some parts of the embodiment Methods.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention and do not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by the description and drawings of the present invention, or directly or indirectly used in other related technical fields The same reason is included in the patent protection scope of the present invention.

Claims (11)

  1. 一种无线个域网模块的控制方法,其中,包括:A control method of wireless personal area network module, which includes:
    获取第一信息数据,所述第一信息数据包括第一时长信息和第一信道信息;Acquiring first information data, where the first information data includes first duration information and first channel information;
    向无线局域网模块发送第一信息数据,以使所述无线局域网模块根据所述第一信息数据控制占用第一信道的外部设备在第一时长内停止发送数据;Sending the first information data to the wireless local area network module, so that the wireless local area network module controls the external device occupying the first channel to stop sending data within the first time period according to the first information data;
    延时第二时长或根据来自无线局域网模块的第二信息数据,接收或发送待收发数据。Delay the second duration or according to the second information data from the wireless local area network module, receive or send the data to be sent and received.
  2. 根据权利要求1所述的无线个域网模块的控制方法,其中,所述获取第一信息数据为:The method for controlling a wireless personal area network module according to claim 1, wherein the acquiring first information data is:
    获取所述第一时长信息;Obtaining the first duration information;
    获取所述第一信道信息;Acquiring the first channel information;
    根据所述第一时长信息和所述第一信道信息,生成所述第一信息数据;Generating the first information data according to the first duration information and the first channel information;
    其中,所述第一时长信息为所述无线个域网模块数据在接收或发送待收发数据时所占用的空中接口的时长;Wherein, the first duration information is the duration of the air interface occupied by the wireless personal area network module data when receiving or sending the data to be sent and received;
    所述第一信道信息为所述无线个域网模块在接收或发送所述待收发数据时所占用的信道的信息。The first channel information is information of a channel occupied by the wireless personal area network module when receiving or sending the data to be sent and received.
  3. 根据权利要求2所述的无线个域网模块的控制方法,其中,所述获取所述第一时长信息为:The method for controlling a wireless personal area network module according to claim 2, wherein the acquiring the first duration information is:
    根据所述待收发数据的字段长度和所述无线个域网模块的传输速率,计算所述第一时长信息。The first duration information is calculated according to the field length of the data to be sent and received and the transmission rate of the wireless personal area network module.
  4. 根据权利要求1所述的无线个域网模块的控制方法,其中,还包括:The control method of the wireless personal area network module according to claim 1, further comprising:
    判断所述待收发数据的优先级是否大于第一阈值;Determine whether the priority of the data to be sent and received is greater than a first threshold;
    在所述待收发数据的优先级大于第一阈值的情况下,获取第一信息数据;Acquiring the first information data when the priority of the data to be sent and received is greater than the first threshold;
    在所述待收发数据的优先级小于等于第一阈值的情况下,接收或发送所述待收发数据。When the priority of the data to be sent and received is less than or equal to the first threshold, the data to be sent and received is received or sent.
  5. 一种无线局域网模块的控制方法,其中,包括:A control method of wireless local area network module, which includes:
    接收来自无线个域网模块的第一信息数据,所述第一信息数据包括第一时长信息和第一信道信息;Receiving first information data from a wireless personal area network module, where the first information data includes first duration information and first channel information;
    根据所述第一信息数据,切换信道至第一信道,并生成第一报文;Switching the channel to the first channel according to the first information data, and generating a first message;
    向占用所述第一信道的外部设备发送第一报文,以使所述外部设备在第一时长内停止发送数据。Sending a first packet to an external device occupying the first channel, so that the external device stops sending data within a first period of time.
  6. 根据权利要求5所述的无线局域网模块的控制方法,其中,在所述向占用所述第一信道的外部设备发送第一报文,以使所述外部设备在第一时长内停止接收或发送数据之后,所述无线局域网模块的控制方法还包括:The control method of the wireless local area network module according to claim 5, wherein the first message is sent to the external device occupying the first channel so that the external device stops receiving or sending within the first time period After the data, the control method of the wireless local area network module further includes:
    在所述外部设备停止接收或发送数据后,生成第二信息数据,并向所述无线个域网模块发送第二信息数据,以使所述无线个域网模块开始接收或发送所述待收发数据。After the external device stops receiving or sending data, generate second information data, and send the second information data to the wireless personal area network module, so that the wireless personal area network module starts to receive or send the to-be-transceived data.
  7. 一种终端,其中,包括:A terminal, including:
    无线个域网模块,用于获取第一信息数据,所述第一信息数据包括第一时长信息和第一信道信息,并向无线局域网模块发送第一信息数据;A wireless personal area network module, configured to acquire first information data, where the first information data includes first duration information and first channel information, and send the first information data to the wireless local area network module;
    无线局域网模块,用于接收来自无线个域网模块的第一信息数据,根据所述第一信息数据,切换信道至第一信道,并生成第一报文;A wireless local area network module, configured to receive first information data from the wireless personal area network module, switch channels to the first channel according to the first information data, and generate a first message;
    所述无线局域网模块,还用于向占用所述第一信道的外部设备发送第一报文,以使所述外部设备在第一时长内停止发送数据;The wireless local area network module is further configured to send a first message to an external device occupying the first channel, so that the external device stops sending data within a first time period;
    所述无线个域网模块,用于延时第二时长或根据来自无线局域网模块的第二信息数据,接收或发送待收发数据。The wireless personal area network module is used to delay or receive or send the data to be sent and received according to the second information data from the wireless LAN module.
  8. 根据权利要求7所述的无线个域网模块的控制方法,其中,所述获取第一信息数据为:The method for controlling a wireless personal area network module according to claim 7, wherein the acquiring first information data is:
    获取所述第一时长信息;Obtaining the first duration information;
    获取所述第一信道信息;Acquiring the first channel information;
    封装所述第一时长信息和所述第一信道信息,以得到所述第一信息数据。Encapsulating the first duration information and the first channel information to obtain the first information data.
  9. 根据权利要求8所述的无线个域网模块的控制方法,其中,所述获取所述第一时长信息为:The method for controlling a wireless personal area network module according to claim 8, wherein the acquiring the first duration information is:
    根据所述待收发数据的长度和所述无线个域网模块的传输速率,计算所述第一时长信息。The first duration information is calculated according to the length of the data to be sent and received and the transmission rate of the wireless personal area network module.
  10. 一种终端,其中,包括:A terminal, including:
    至少一个处理器、存储器、至少一个网络接口和用户接口;At least one processor, memory, at least one network interface and user interface;
    所述至少一个处理器、存储器、至少一个网络接口和用户接口通过总线系统耦合在一起;The at least one processor, memory, at least one network interface, and user interface are coupled together through a bus system;
    所述处理器通过调用所述存储器存储的程序或指令,用于实现如权利要求1至4中任一项所述的无线个域网模块的控制方法和/或如权利要求5或6所述的无线局域网模块的控制方法。The processor is used to implement the control method of the wireless personal area network module according to any one of claims 1 to 4 and/or according to claim 5 or 6 by calling a program or instruction stored in the memory The control method of the wireless LAN module.
  11. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1至4中任一项所述的无线个域网模块的控制方法和/或如权利要求5或6所述的无线局域网模块的控制方法。A computer-readable storage medium on which a computer program is stored, wherein, when the computer program is executed by a processor, a control method of the wireless personal area network module according to any one of claims 1 to 4 is implemented and/or Or the control method of the wireless local area network module according to claim 5 or 6.
PCT/CN2019/121375 2018-12-27 2019-11-27 Method for controlling wireless personal area network module and method for controlling wireless local area network module WO2020134820A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811615871.9A CN111385072A (en) 2018-12-27 2018-12-27 Control method of wireless personal area network module and control method of wireless local area network module
CN201811615871.9 2018-12-27

Publications (1)

Publication Number Publication Date
WO2020134820A1 true WO2020134820A1 (en) 2020-07-02

Family

ID=71126887

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/121375 WO2020134820A1 (en) 2018-12-27 2019-11-27 Method for controlling wireless personal area network module and method for controlling wireless local area network module

Country Status (2)

Country Link
CN (1) CN111385072A (en)
WO (1) WO2020134820A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060133334A1 (en) * 2004-12-21 2006-06-22 Rony Ross Apparatus and method capable of improved coexistence of multiple wireless communication techniques
CN101420786A (en) * 2007-10-22 2009-04-29 华为技术有限公司 Implementing method and device for multi-mode terminal coexistence
CN102630089A (en) * 2007-06-27 2012-08-08 联发科技股份有限公司 Method of controlling communication mechanism and communication apparatus utilizing the same
CN108737949A (en) * 2017-04-14 2018-11-02 展讯通信(上海)有限公司 Bluetooth equipment and its method for avoiding WiFi system from interfering and Bluetooth system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8428002B2 (en) * 2007-04-18 2013-04-23 Broadcom Corporation Cooperative transceiving between wireless interface devices of a host device
US8798121B2 (en) * 2007-05-10 2014-08-05 Broadcom Corporation High speed data bus for communicating between wireless interface devices of a host device
US20080318630A1 (en) * 2007-06-25 2008-12-25 Qualcomm Incorporated Graceful coexistence for multiple communication protocols
WO2016109921A1 (en) * 2015-01-05 2016-07-14 华为技术有限公司 Data transmission method, station, access point and access controller
WO2017164903A1 (en) * 2016-03-23 2017-09-28 Intel IP Corporation Systems, methods and devices for wireless local area network termination changes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060133334A1 (en) * 2004-12-21 2006-06-22 Rony Ross Apparatus and method capable of improved coexistence of multiple wireless communication techniques
CN102630089A (en) * 2007-06-27 2012-08-08 联发科技股份有限公司 Method of controlling communication mechanism and communication apparatus utilizing the same
CN101420786A (en) * 2007-10-22 2009-04-29 华为技术有限公司 Implementing method and device for multi-mode terminal coexistence
CN108737949A (en) * 2017-04-14 2018-11-02 展讯通信(上海)有限公司 Bluetooth equipment and its method for avoiding WiFi system from interfering and Bluetooth system

Also Published As

Publication number Publication date
CN111385072A (en) 2020-07-07

Similar Documents

Publication Publication Date Title
WO2020147627A1 (en) Link selection method and related apparatus
WO2021023093A1 (en) Sensing method and communication apparatus
US20210272566A1 (en) Communication Method, Server, and Device
JP6915079B2 (en) Communication methods and terminals that implement dual card, dual standby, and dual path
US11974168B2 (en) Method for data transmission through communication link, electronic device, and storage medium
WO2019090726A1 (en) Method for selecting bluetooth device, terminal, and system
WO2020134720A1 (en) Data transmission control method and related product
WO2020098411A1 (en) Electromagnetic interference control method and related apparatus
WO2021238404A1 (en) Data card switching method and apparatus, and terminal, and storage medium
TW201906356A (en) Method, apparatus, and system for configuring measurement gap, network access equipment, and terminal
WO2020252755A1 (en) Channel selection method and apparatus of bluetooth low energy device
US9386613B2 (en) Wireless network system and connecting method thereof
WO2021212906A1 (en) Network port allocation method and apparatus, electronic device, and computer-usable medium
TW201228309A (en) Wireless communication system and related method thereof
US11089578B2 (en) RLC layer status report control PDU transmitting method and related device
WO2021174536A1 (en) Communication method and related apparatus
WO2020164522A1 (en) Data transmission control method and related product
WO2019015040A1 (en) Signal strength based frequency point selection method and internet of things terminal
WO2021129821A1 (en) Data transmission method and apparatus, storage medium, and terminal device
WO2020134820A1 (en) Method for controlling wireless personal area network module and method for controlling wireless local area network module
WO2020074003A1 (en) Method for mobile terminal to share network connection, and mobile terminal
WO2017156789A1 (en) Device-to-device based communication method and terminal
EP4354747A1 (en) Audio control method, electronic device, audio device, and storage medium
US9490914B2 (en) Electronic device and its wireless network communication method
WO2019034101A1 (en) Valid value determination method for network configuration parameters, user terminal, base station and valid value determination system for network configuration parameters

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19906397

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17/11/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19906397

Country of ref document: EP

Kind code of ref document: A1