CN111385072A - Control method of wireless personal area network module and control method of wireless local area network module - Google Patents

Control method of wireless personal area network module and control method of wireless local area network module Download PDF

Info

Publication number
CN111385072A
CN111385072A CN201811615871.9A CN201811615871A CN111385072A CN 111385072 A CN111385072 A CN 111385072A CN 201811615871 A CN201811615871 A CN 201811615871A CN 111385072 A CN111385072 A CN 111385072A
Authority
CN
China
Prior art keywords
area network
network module
data
information
personal area
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.)
Withdrawn
Application number
CN201811615871.9A
Other languages
Chinese (zh)
Inventor
刘昕颖
包勇
林科金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201811615871.9A priority Critical patent/CN111385072A/en
Priority to PCT/CN2019/121375 priority patent/WO2020134820A1/en
Publication of CN111385072A publication Critical patent/CN111385072A/en
Withdrawn legal-status Critical Current

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 signalling, 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/0091Signalling for the administration of the divided path, e.g. signalling of configuration information
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供了一种无线个域网模块的控制方法、无线局域网模块的控制方法、终端和计算机可读存储介质;无线个域网模块的控制方法包括:获取第一信息数据,第一信息数据包括第一时长信息和第一信道信息;向无线局域网模块发送第一信息数据,以使无线局域网模块根据第一信息数据控制占用第一信道的外部设备在第一时长内停止发送数据;延时第二时长或根据来自无线局域网模块的第二信息数据;接收或发送待收发数据。该无线个域网模块的控制方法使得无线个域网模块的信号传输更加稳定,避免出现丢包、延时等问题。

Figure 201811615871

The present invention provides 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; the control method of a wireless personal area network module includes: acquiring first information data, the first information data including first duration information and first channel information; sending 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; delaying The second duration or according to the second information data from the wireless local area network module; receiving or sending the data to be sent and received. The control method of the wireless personal area network module makes the signal transmission of the wireless personal area network module more stable, and avoids problems such as packet loss and delay.

Figure 201811615871

Description

无线个域网模块的控制方法和无线局域网模块的控制方法Control method of wireless personal area network module and control method of wireless local area network module

技术领域technical field

本发明涉及无线网络技术领域,具体涉及一种无线个域网模块的控制方法、无线局域网模块的控制方法、终端和计算机可读存储介质。The present invention relates to the technical field of wireless networks, and in particular, to 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.

背景技术Background technique

目前,无线通讯技术迅猛发展,尤其在2.4GHz公众免费频段,WLAN(WirelessLocal Area Networks,无线局域网模块)、Bluetooth(蓝牙)以及zigbee(紫蜂协议)应用日益广泛。如图1和图2所示,由于Zigbee、蓝牙和WLAN都工作在同一频段,在实际使用过程中很容易出现互扰问题,会造成信号收发质量急剧下降,出现丢包、延时大等问题。At present, wireless communication technology is developing rapidly, especially in the 2.4 GHz public free frequency band, WLAN (Wireless Local Area Networks, wireless local area network module), 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, mutual interference is likely to occur in actual use, which will cause a sharp drop in the quality of signal transmission and reception, 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 types: cooperative mode and non-cooperative mode. , to avoid mutual interference between Zigbee/Bluetooth and WLAN on the same device; non-cooperative methods include adaptive adjustment of packet size, dynamic channel allocation, power control and other methods to avoid mutual interference between different devices.

但是,无论是协作方式还是非协作方式,在WLAN设备分布非常密集,所有信道均存在大量WLAN设备的情况下,对于同一设备中的Zigbee/蓝牙接口传输仍会受到相同信道范围的其他WLAN设备信号的干扰,进而使得信号传输不稳定,出现丢包、延时等问题。However, no matter in the cooperative or non-cooperative mode, when the WLAN devices are very densely distributed and there are a large number of WLAN devices in all channels, the Zigbee/Bluetooth interface transmission in the same device will still receive signals from other WLAN devices in the same channel range. interference, which makes the signal transmission unstable and causes problems such as packet loss and delay.

上述对问题的发现过程的描述,仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。The above description of the discovery process of the problem is only used to assist the understanding of the technical solution of the present invention, and does not mean that the above content is the 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 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.

第一方面,本发明提供一种无线个域网模块的控制方法,包括:获取第一信息数据,第一信息数据包括第一时长信息和第一信道信息;向无线局域网模块发送第一信息数据,以使无线局域网模块根据第一信息数据控制占用第一信道的外部设备在第一时长内停止发送数据;延时第二时长或根据来自无线局域网模块的第二信息数据,接收或发送待收发数据。In a first aspect, the present invention provides a method for controlling a wireless personal area network module, including: 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 period of time according to the first information data; delays the second period of time or according to the second information data from the wireless local area network module. data.

可选地,获取第一信息数据具体为:获取第一时长信息;获取第一信道信息;根据第一时长信息和第一信道信息,生成第一信息数据。Optionally, acquiring the first information data specifically includes: acquiring first duration information; acquiring first channel information; and generating first information data according to the first duration information and the first channel information.

优选地,无线局域网向占用所述第一信道的外部设备发送第一报文,第一报文为RTS/CTS(Request To Send/Clear To Send,请求发送/清除发送)报文。其中RTS或CTS报文中的Duration(持续时间)字段根据无线个域网模块发来的数据收发请求中的第一时长信息,外部设备在收到此RTS或CTS报文后,会根据RTS或CTS报文中的Duration字段更新自己的NAV(Network Allocation Vector,网络分配矢量),并在相应的持续时间内保持静默不再发包。Preferably, the wireless local area network sends a first packet to an external device occupying the first channel, where the first packet is an RTS/CTS (Request To Send/Clear To Send, request to send/clear to send) packet. 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 the RTS or CTS message, the external device will The Duration field in the CTS message updates its own NAV (Network Allocation Vector, network allocation vector), and keeps silent for a corresponding duration and does not send packets.

可选地,获取第一时长信息具体为:根据待收发数据的字段长度和无线个域网模块的传输速率,计算第一时长信息。Optionally, acquiring the first duration information is specifically: calculating the first duration information according to the field length of the data to be sent and received and the transmission rate of the wireless personal area network module.

可选地,第一时长信息为无线个域网模块数据在接收或发送待收发数据时所占用的空中接口的时长;第一信道信息为无线个域网模块在接收或发送待收发数据时所占用的信道的信息。Optionally, the first duration information is the duration of the air interface occupied by the data of the wireless personal area network module when receiving or sending the data to be transceived; the first channel information is the duration of the air interface used by the wireless personal area network module when receiving or sending the data to be transceived. Information about the occupied channel.

可选地,无线个域网模块的控制方法还包括:判断待收发数据的优先级是否大于第一阈值;在待收发数据的优先级大于第一阈值的情况下,获取第一信息数据;在待收发数据的优先级小于等于第一阈值的情况下,接收或发送待收发数据。Optionally, the control method for the wireless personal area network module further includes: judging whether the priority of the data to be sent and received is greater than a first threshold; in the case that the priority of the data to be sent and received is greater than the first threshold, acquiring first information data; 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.

第二方面,本发明提供一种无线局域网模块的控制方法包括:接收来自无线个域网模块的第一信息数据,第一信息数据包括第一时长信息和第一信道信息;根据第一信息数据,切换信道至第一信道,并生成第一报文;向占用第一信道的外部设备发送第一报文,以使外部设备在第一时长内停止接收或发送数据。In a second aspect, the present invention provides a method for controlling a wireless local area network module, comprising: 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 the 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.

可选地,在所述向占用所述第一信道的外部设备发送第一报文,以使所述外部设备在第一时长内停止接收或发送数据之后,所述无线局域网模块的控制方法还包括:在所述外部设备停止接收或发送数据后,生成第二信息数据,并向所述无线个域网模块发送第二信息数据,以使所述无线个域网模块开始接收或发送所述待收发数据。Optionally, after the sending of the first message to the external device occupying the first channel, so that the external device stops receiving or sending data within a first time period, the control method of the wireless local area network module further includes: including: after the external device stops receiving or sending data, generating second information data, and sending 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 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 time period; the wireless personal area network module is used to delay the second time period 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.

可选地,获取第一信息数据具体为:获取第一时长信息;获取第一信道信息;封装第一时长信息和第一信道信息,以得到第一信息数据。Optionally, acquiring the first information data specifically includes: acquiring first duration information; acquiring first channel information; and encapsulating the first duration information and the first channel information to obtain the first information data.

可选地,获取第一时长信息具体为:根据待收发数据的长度和无线个域网模块的传输速率,计算第一时长信息。Optionally, acquiring the first duration information is specifically: 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 a fourth aspect, the present invention provides a terminal, comprising: 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 realize 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 .

第五方面,本发明提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的无线个域网模块的控制方法和/或如第二方面所述的无线局域网模块的控制方法。In a fifth aspect, the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the control method and/or the wireless personal area network module according to the first aspect The control method of the wireless local area network module according to the second aspect.

本发明所提出的无线个域网模块的控制方法、无线局域网模块的控制方法、终端和计算机可读存储介质,通过无线个域网模块获取第一信息数据,并发送给无线局域网模块,无线局域网模块在根据第一信息数据控制与无线个域网模块占用相同信道的外部设备停止发送或接收数据,进而在无线个域网模块发送数据时,避免了外部设备对无线个域网模块的干扰,即使在所有信道均存在大量无线局域网模块的情况下,也可使得无线个域网模块的信号传输更加稳定,避免出现丢包、延时等问题。The control method of the wireless personal area network module, the control method of the wireless local area network module, the terminal and the computer-readable storage medium proposed by the present invention obtain the first information data through the wireless personal area network module, and send it to the wireless local area network module. The module controls the external devices occupying the same channel as the wireless personal area network module to stop sending or receiving data according to the first information data, and then when the wireless personal area network module sends data, the interference of the external devices to the wireless personal area network module is avoided, Even if there are a large number of wireless local area network modules in all channels, the signal transmission of the wireless personal area network module can be made more stable, and problems such as packet loss and delay can be avoided.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. In other words, on the premise of no creative labor, other drawings can also be obtained from these drawings.

图1示出了相关技术中局域网模块的工作频段分布示意图;1 shows a schematic diagram of the distribution of operating frequency bands of a local area network module in the related art;

图2示出了相关技术中个域网模块的工作频段分布示意图;2 shows a schematic diagram of the distribution of working frequency bands of a 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示出了根据本发明的另一个实施例的无线个域网模块的控制方法的流程图;FIG. 4 shows a flowchart of a control method of a wireless personal area network module according to another embodiment of the present invention;

图5示出了根据本发明的再一个实施例的无线个域网模块的控制方法的流程图;FIG. 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 method for controlling a wireless personal area network module according to yet another embodiment of the present invention;

图7示出了根据本发明的再一个实施例的无线局域网模块的控制方法的流程图;FIG. 7 shows a flowchart of a method for controlling a wireless local area network module according to yet another embodiment of the present invention;

图8示出了根据本发明的再一个实施例的终端的控制方法的流程图;8 shows a flowchart of a method for controlling a terminal according to yet another embodiment of the present invention;

图9示出了根据本发明的再一个实施例的终端的框图。FIG. 9 shows a block diagram of a terminal according to yet another embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work 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 accompanying drawings. In the following description, suffixes such as 'module', 'component' or 'unit' used to represent elements are used only to facilitate the description of the present invention, and have no specific meaning per se. Therefore, "module" and "component" can be used interchangeably.

终端可包括移动终端和固定终端,移动终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。The terminals may include mobile terminals and stationary terminals, and the mobile terminals may be implemented in various forms. For example, the terminal described in the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet Computer), a PMP (Portable Multimedia Player), a navigation device, and the like mobile terminals as well as stationary terminals such as digital TVs, desktop computers, etc. Below, it is assumed that the terminal is a mobile terminal. However, those skilled in the art will understand that the configuration according to the embodiments of the present invention can also be applied to stationary type terminals, in addition to elements especially for mobile purposes.

如图3所示,在本发明第一方面实施例中,本发明提供一种无线个域网模块的控制方法,包括:As shown in FIG. 3, in an embodiment of the first aspect of the present invention, the present invention provides a control method for a wireless personal area network module, including:

步骤302,获取第一信息数据,第一信息数据包括第一时长信息和第一信道信息;Step 302, acquiring first information data, where the first information data includes first duration information and first channel information;

步骤304,向无线局域网模块发送第一信息数据,以使无线局域网模块根据第一信息数据控制占用第一信道的外部设备在第一时长内停止发送数据;Step 304, 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;

步骤306,延时第二时长或根据来自无线局域网模块的第二信息数据,接收或发送待收发数据。Step 306, delay the second time period or receive or send the data to be sent and received according to the second information data from the wireless local area network module.

在该实施例中,当无线个域网模块(WPAN)模块准备发送或接收待收发数据时,获取与待收发数据相关的第一信息数据,并将第一信息数据发送至无线局域网模块,无线局域网模块(WLAN)模块再根据第一信息数据控制外部设备停止发送或接收数据,在外部设备停止发送或接收数据后,无线个域网模块开始接收或发送待收发数据,由于在无线个域网模块发送或接收待收发数据时,外部设备已停止数据的发送和接收,避免了外部设备对无线个域网模块的干扰,进而使得无线个域网模块的信号传输更加稳定,避免出现丢包、延时等问题。In this embodiment, when the wireless personal area network module (WPAN) module is ready to send or receive data to be transceived, it acquires first information data related to the data to be transceived, 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 data to be sent and received. When the module sends or receives the 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, etc.

优选地,无线个域网模块为Bluetooth(蓝牙)或zigbee(紫蜂协议);待收发数据为无线个域网模块即将发送或接收的数据;外部设备为占用第一信道的其余无线局域网模块。Preferably, the wireless personal area network module is Bluetooth (Bluetooth) or zigbee (Zigbee protocol); the data to be sent and received is the data to be sent or received by the wireless personal area network module; the external devices are other wireless local area network modules occupying the first channel.

如图4所示,在本发明的一个实施例中,本发明提供一种无线个域网模块的控制方法,包括: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:

步骤402,获取第一时长信息;Step 402, obtaining first duration information;

步骤404,获取第一信道信息;Step 404, acquiring first channel information;

步骤406,根据第一时长信息和第一信道信息,生成第一信息数据;Step 406, generating first information data according to the first duration information and the first channel information;

步骤408,向无线局域网模块发送第一信息数据,以使无线局域网模块根据第一信息数据控制占用第一信道的外部设备在第一时长内停止发送数据;Step 408, 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;

步骤410,延时第二时长或根据来自无线局域网模块的第二信息数据,Step 410, delay the second time period or according to the second information data from the wireless local area network module,

接收或发送待收发数据。Receive or send pending 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 encapsulated and sent to the wireless local area network module, and the wireless local area network 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, external devices, are then controlled according to the first duration information.

如图5所示,在本发明的一个实施例中,本发明提供一种无线个域网模块的控制方法,包括: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:

步骤502,根据待收发数据的字段长度和无线个域网模块的传输速率,计算第一时长信息;Step 502, calculating the first duration information according to the field length of the data to be sent and received and the transmission rate of the wireless personal area network module;

步骤504,获取第一信道信息;Step 504, acquiring first channel information;

步骤506,根据第一时长信息和第一信道信息,生成第一信息数据;Step 506, generating first information data according to the first duration information and the first channel information;

步骤508,向无线局域网模块发送第一信息数据,以使无线局域网模块根据第一信息数据控制占用第一信道的外部设备在第一时长内停止发送数据;Step 508, 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;

步骤510,延时第二时长或根据来自无线局域网模块的第二信息数据,接收或发送待收发数据。Step 510, delay the second time period 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, 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.

同样地,第一时长可根据经验值设定,或将第一时长设置为一个固定值。Likewise, the first duration can be set according to an empirical value, or the first duration can be set as 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 sent data and the transmission rate of the data sent by the wireless personal area network module; when the wireless personal area network module needs to receive data, according to the length of the received data The first duration is calculated based on the length and the transmission rate of the data received by the wireless personal area network module.

在本发明的一个实施例中,优选地,第一时长信息为无线个域网模块数据在接收或发送待收发数据时所占用的空中接口的时长;第一信道信息为无线个域网模块在接收或发送待收发数据时所占用的信道的信息。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 transceived; the first channel information is the wireless personal area network module in Information about the channel occupied when receiving or sending data to be sent and received.

如图6所示,在本发明的一个实施例中,无线个域网模块的控制方法包括:As shown in FIG. 6, in an embodiment of the present invention, the control method of the wireless personal area network module includes:

步骤602,判断待收发数据的优先级是否大于第一阈值;Step 602, judging whether the priority of the data to be sent and received is greater than a first threshold;

步骤604,在待收发数据的优先级大于第一阈值的情况下,获取第一信息数据,第一信息数据包括第一时长信息和第一信道信息;Step 604, in the case that the priority of the data to be sent and received is greater than the first threshold, obtain first information data, where the first information data includes first duration information and first channel information;

步骤606,向无线局域网模块发送第一信息数据,以使无线局域网模块根据第一信息数据控制占用第一信道的外部设备在第一时长内停止发送数据;Step 606, 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;

步骤608,延时第二时长或根据来自无线局域网模块的第二信息数据;步骤610,接收或发送待收发数据;Step 608, delay the second time length or according to the second information data from the wireless local area network module; Step 610, receive or send the data to be sent and received;

在待收发数据的优先级小于等于第一阈值的情况下,步骤610,接收或发送待收发数据。In the case that the priority of the data to be transceived is less than or equal to the first threshold, step 610 is to receive or send the data to be transceived.

在该实施例中,通过判断待收发数据的优先级,使得优先级较高的待收发数据可在无干扰的情况下发送,确保传输更加稳定,避免出现丢包、延时等问题。当待收发数据的优先级较低时,可不停止外部设备发包,避免一些不重要的数据传输影响外部设备的正常使用。例如对需要保证可靠性的高优先级数据,收发前向无线局域网模块发送数据收发请求,保证不被其他外部设备干扰;而对普通数据则可直接收发;同样地,无线个域网模块也可以选择对所有数据收发前都向无线局域网模块发送数据收发请求。In this embodiment, by judging the priority of the data to be sent and received, the data to be sent and received with a 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, the external device may not stop sending packets, so as to avoid some unimportant data transmission affecting the normal use of the external device. For example, for high-priority data that needs to ensure reliability, a data sending and receiving request is sent to the wireless LAN module before sending and receiving to ensure that it will not be interfered by other external devices; while for ordinary data, it can be sent and received directly; similarly, the wireless personal area network module can also send and receive data. Select to send a data transceiving request to the wireless LAN module before all data transceiving.

如图7所示,在本发明第二方面实施例中,本发明提供一种无线局域网模块的控制方法包括: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:

步骤702,接收来自无线个域网模块的第一信息数据,第一信息数据包括第一时长信息和第一信道信息;Step 702: Receive first information data from the wireless personal area network module, where the first information data includes first duration information and first channel information;

步骤704,根据第一信息数据,切换信道至第一信道,并生成第一报文;Step 704, according to the first information data, switch the channel to the first channel, and generate a first message;

步骤706,向占用第一信道的外部设备发送第一报文,以使外部设备在第一时长内停止发送数据。Step 706: Send the first packet 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. The 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 transceived.

优选地,第一报文为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 To Send/Clear To Send, 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 the RTS or CTS message, the external device will The Duration field in the CTS message updates its own NAV (Network Allocation Vector, network allocation vector), and keeps silent for a corresponding duration and does not send packets.

在本发明的一个实施例中,本发明提供一种无线局域网模块的控制方法包括:In an embodiment of the present invention, the present invention provides a method for controlling a wireless local area network module, comprising:

接收来自无线个域网模块的第一信息数据,第一信息数据包括第一时长信息和第一信道信息;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 the first message;

向占用第一信道的外部设备发送第一报文,以使外部设备在第一时长内停止发送数据;sending the first message to the external device occupying the first channel, so that the external device stops sending data within the first time period;

在所述外部设备停止接收或发送数据后,生成第二信息数据,并向所述无线个域网模块发送第二信息数据,以使所述无线个域网模块开始接收或发送所述待收发数据。After the external device stops receiving or sending data, second information data is generated, and the second information data is sent 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 data.

在本发明的一个实施例中,优选地,第一时长信息为无线个域网模块数据在接收或发送待收发数据时所占用的空中接口的时长;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 data to be transceived;

第一信道信息为无线个域网模块在接收或发送待收发数据时所占用的信道的信息。The first channel information is information of a channel occupied by the wireless personal area network module when receiving or sending data to be transceived.

如图8所示,在本发明的一个实施例中,终端的控制方法包括:As shown in FIG. 8, in an embodiment of the present invention, the control method of the terminal includes:

步骤802,控制无线个域网模块获取第一信息数据,第一信息数据包括第一时长信息和第一信道信息;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;

步骤804,控制无线个域网模块向无线局域网模块发送第一信息数据;Step 804, controlling the wireless personal area network module to send the first information data to the wireless local area network module;

步骤806,控制无线局域网模块接收来自无线个域网模块的第一信息数据;Step 806, controlling the wireless local area network module to receive the first information data from the wireless personal area network module;

步骤808,控制无线局域网模块根据第一信息数据,切换信道至第一信道,并生成第一报文;Step 808, controlling the wireless local area network module to switch the channel to the first channel according to the first information data, and generate a first message;

步骤810,控制无线局域网模块向占用第一信道的外部设备发送第一报文,以使外部设备在第一时长内停止发送数据;Step 810, controlling 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 time period;

步骤812,延时第二时长或根据来自无线局域网模块的第二信息数据,控制无线个域网模块接收或发送待收发数据。Step 812 , delay the second time period or control the wireless personal area network module to receive or send the data to be transceived according to the second information data from the wireless local area network module.

在该实施例中,终端通过无线个域网模块获取第一信息数据,并发送给无线局域网模块,无线局域网模块在根据第一信息数据控制与无线个域网模块占用相同信道的外部设备停止发送或接收数据,进而在无线个域网模块发送数据时,避免了外部设备对无线个域网模块的干扰,使得无线个域网模块的信号传输更加稳定,避免出现丢包、延时等问题。In this embodiment, the terminal acquires the first information data through the wireless personal area network module, and sends it to the wireless local area network module, and the wireless local area network module controls the external device that occupies the same channel as the wireless personal area network module to stop sending according to the first information data Or receive data, and then when the wireless personal area network module sends data, it avoids the interference of external devices to the wireless personal area network module, making the signal transmission of the wireless personal area network module more stable, and avoiding problems such as packet loss and delay.

在本发明第三方面实施例中,如图9所示,本发明提供一种终端9,包括:无线局域网模块94和无线个域网模块92,无线个域网模块92用于获取第一信息数据,第一信息数据包括第一时长信息和第一信道信息,并向无线局域网模块94发送第一信息数据;无线局域网模块94用于接收来自无线个域网模块92的第一信息数据,根据第一信息数据,切换信道至第一信道,并生成第一报文;无线局域网模块94还用于向占用第一信道的外部设备发送第一报文,以使外部设备在第一时长内停止发送数据;无线个域网模块92用于延时第二时长或根据来自无线局域网模块的第二信息数据,接收或发送待收发数据。In the 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 the first information data, the first information data includes first duration information and 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 the first message; the wireless local area network 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 Sending data; the wireless personal area network module 92 is used to delay the second time period or receive or send the data to be sent and received according to the second information data from the wireless local area network module.

在该实施例中,终端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, and the wireless local area network module controls the external device that occupies the same channel as the wireless personal area network module to stop according to the first information data Send or receive data, and then when the wireless personal area network module sends data, it avoids the interference of external devices to the wireless personal area network module, making the signal transmission of the wireless personal area network module more stable, and 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 arranged on the same terminal 9 , similarly, the wireless local area network module 94 and the wireless personal area network module 92 may also be arranged 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; and encapsulating the first duration information and the first channel information to obtain the 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 encapsulated and sent to the wireless local area network module, and the wireless local area network 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, external devices, are then controlled according to the first duration information.

在本发明的一个实施例中,优选地,获取第一时长信息具体为:根据待收发数据的长度和无线个域网模块的传输速率,计算第一时长信息。In an embodiment of the present invention, preferably, acquiring the first duration information is specifically: 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.

同样地,第一时长可根据经验值设定,或将第一时长设置为一个固定值。Likewise, the first duration can be set according to an empirical value, or the first duration can be set as 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 sent data and the transmission rate of the data sent by the wireless personal area network module; when the wireless personal area network module needs to receive data, according to the length of the received data The first duration is calculated based on the length and the transmission rate of the data received by the wireless personal area network module.

在本发明第四方面实施例中,本发明提供一种终端,包括:至少一个处理器、存储器、至少一个网络接口和用户接口;所述至少一个处理器、存储器、至少一个网络接口和用户接口通过总线系统耦合在一起;所述处理器通过调用所述存储器存储的程序或指令,用于实现上述任一实施例所述的无线个域网模块的控制方法和/或上述任一实施例所述的无线局域网模块的控制方法。In an embodiment of the fourth aspect of the present invention, the present invention provides a terminal, comprising: 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 They are coupled together through a bus system; the processor is used to implement the control method for a wireless personal area network module described in any of the foregoing embodiments and/or any of the foregoing embodiments by invoking programs or instructions stored in the memory. The control method of the wireless local area network module described 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, and when the computer program is executed by a processor, implements the wireless personal area network described in any of the foregoing 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 will be appreciated 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 processors (Digital Signal Processing, DSP), digital signal processing devices (DSP Device, DSPD), Programmable Logic Device (Programmable Logic Device, PLD) ), a Field-Programmable Gate Array (FPGA), a general-purpose processor, a controller, a microcontroller, a microprocessor, other electronic units for performing the functions described herein, or a combination thereof.

对于软件实现,可通过执行本文所述功能的单元来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein may be implemented by means of units that perform the functions described herein. Software codes may be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes 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 apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. 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. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of 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 components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in 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 physically alone, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present invention are essentially, or the parts that make contributions to the prior art or the parts of the technical solutions can be embodied in the form of software products, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。It should be noted that, in this document, relational terms such as "first" and "second" etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is no such actual relationship or sequence between entities or operations.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明各个实施例所述的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法或者实施例的某些部分所述的方法。From 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 can also be implemented by hardware, but in many cases The former below is a better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of the present invention or some parts of the embodiments. Methods.

以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present invention, or directly or indirectly applied in other related technical fields , are similarly included in the scope of patent protection of the present invention.

Claims (11)

1. A method for controlling a wireless personal area network module, comprising:
acquiring first information data, wherein the first information data comprises first time length information and first channel information;
sending first information data to a wireless local area network module so that the wireless local area network module controls external equipment occupying a first channel to stop sending data within a first time length according to the first information data;
and delaying the second time length or receiving or sending the data to be received and sent according to the second information data from the wireless local area network module.
2. The method for controlling a wireless personal area network module according to claim 1, wherein the acquiring the first information data specifically includes:
acquiring the first time length information;
acquiring the first channel information;
generating the first information data according to the first time length information and the first channel information;
the first time length information is the time length of an air interface occupied by the wireless personal area network module data when receiving or sending data to be received and sent;
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 transmitted and received.
3. The method for controlling a wireless personal area network module according to claim 2, wherein the obtaining the first time length information specifically includes:
and calculating the first time length information according to the field length of the data to be received and transmitted and the transmission rate of the wireless personal area network module.
4. The method for controlling a wireless personal area network module according to claim 1, further comprising:
judging whether the priority of the data to be received and transmitted is greater than a first threshold value;
under the condition that the priority of the data to be received and sent is greater than a first threshold value, first information data are obtained;
and receiving or sending the data to be received and sent under the condition that the priority of the data to be received and sent is less than or equal to a first threshold value.
5. A method for controlling a wireless local area network module, comprising:
receiving first information data from a wireless personal area network module, wherein the first information data comprises first time length information and first channel information;
switching a channel to a first channel according to the first information data, and generating a first message;
and sending a first message to the external equipment occupying the first channel so that the external equipment stops sending data within a first time length.
6. The method according to claim 5, wherein after the sending the first packet to the external device occupying the first channel to stop the external device from receiving or sending data for the first duration, the method further comprises:
and after the external equipment stops receiving or sending the data, generating second information data, and sending 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 received and sent.
7. A terminal, comprising:
the wireless personal area network module is used for acquiring first information data, wherein the first information data comprises first time length information and first channel information, and sending the first information data to the wireless local area network module;
the wireless local area network module is used for receiving first information data from the wireless personal area network module, switching a channel to a first channel according to the first information data and generating 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 duration;
and the wireless personal area network module is used for delaying a second time length or receiving or sending data to be received and sent according to second information data from the wireless local area network module.
8. The terminal according to claim 7, wherein the acquiring of the first information data specifically includes:
acquiring the first time length information;
acquiring the first channel information;
and encapsulating the first time length information and the first channel information to obtain the first information data.
9. The terminal according to claim 8, wherein the acquiring the first duration information specifically includes:
and calculating the first time length information according to the length of the data to be received and transmitted and the transmission rate of the wireless personal area network module.
10. A terminal, comprising:
at least one processor, memory, at least one network interface, and a user interface;
the at least one processor, memory, at least one network interface, and user interface are coupled together by a bus system;
the processor is used for realizing the control method of the wireless personal area network module according to any one of claims 1 to 4 and/or the control method of the wireless local area network module according to claim 5 or 6 by calling the program or the instruction stored in the memory.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of controlling a wireless personal area network module according to any one of claims 1 to 4 and/or the method of controlling a wireless local area network module according to claim 5 or 6.
CN201811615871.9A 2018-12-27 2018-12-27 Control method of wireless personal area network module and control method of wireless local area network module Withdrawn CN111385072A (en)

Priority Applications (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
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

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
CN111385072A true CN111385072A (en) 2020-07-07

Family

ID=71126887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811615871.9A Withdrawn 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

Country Status (2)

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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080259846A1 (en) * 2007-04-18 2008-10-23 Broadcom Corporation, A California Corporation Cooperative transceiving between wireless interface devices of a host device
US20080279264A1 (en) * 2007-05-10 2008-11-13 Broadcom Corporation, A California Corporation High speed data bus for communicating between wireless interface devices of a host device
WO2016109921A1 (en) * 2015-01-05 2016-07-14 华为技术有限公司 Data transmission method, station, access point and access controller
CN106068035A (en) * 2007-06-25 2016-11-02 高通股份有限公司 The graceful coexistence of various communications protocols
WO2017164903A1 (en) * 2016-03-23 2017-09-28 Intel IP Corporation Systems, methods and devices for wireless local area network termination changes
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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7856000B2 (en) * 2004-12-21 2010-12-21 Intel Corporation Apparatus and method capable of improved coexistence of multiple wireless communication techniques
US7813760B2 (en) * 2007-06-27 2010-10-12 Mediatek Inc. Method of controlling communication mechanism utilized to arbitrate transmissions of wireless signals and communication apparatus utilizing the same
CN101420786B (en) * 2007-10-22 2010-12-15 华为技术有限公司 Implementing method and device for multi-mode terminal coexistence

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080259846A1 (en) * 2007-04-18 2008-10-23 Broadcom Corporation, A California Corporation Cooperative transceiving between wireless interface devices of a host device
US20080279264A1 (en) * 2007-05-10 2008-11-13 Broadcom Corporation, A California Corporation High speed data bus for communicating between wireless interface devices of a host device
CN106068035A (en) * 2007-06-25 2016-11-02 高通股份有限公司 The graceful coexistence of various communications 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
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
WO2020134820A1 (en) 2020-07-02

Similar Documents

Publication Publication Date Title
US11330650B2 (en) Wireless connection method and device
CN109644352B (en) Method and terminal device for activating and deactivating secondary cell
CN111385828B (en) Method, terminal and system for receiving and transmitting data in wireless local area network and network access equipment
CN107360635B (en) Data transmission method, device, terminal and computer readable storage medium
CN109379498B (en) Electromagnetic interference control method and related device
CN105847168B (en) A data transmission method, network server, user terminal and system
CN109348514B (en) Method and terminal for controlling electromagnetic interference
CN109120524B (en) Link aggregation method and related equipment
EP3621360A1 (en) System information transmission method and related device
WO2014121471A1 (en) Method, base station and user equipment for data transmission and acquisition
CN112219423B (en) Transmission path switching method and device
US11089578B2 (en) RLC layer status report control PDU transmitting method and related device
CN111918313A (en) Method, network device and communication device for resource allocation
US20200351951A1 (en) Random access method and device
WO2020078248A1 (en) Wireless communication method and device
CN113709794B (en) Wireless network communication method and related device
CN110417470A (en) Network switching method and related products based on visible light communication
WO2019080455A1 (en) Message processing method, access point device, and message processing device
CN106792896A (en) A kind of data transmission method for uplink and mobile terminal
CN111385072A (en) Control method of wireless personal area network module and control method of wireless local area network module
CN109413669B (en) Valid value determination method of network configuration parameter, related equipment and system
WO2022067525A1 (en) Service state indication method, base station, and terminal
CN111786761B (en) Method for transmitting data, terminal device and network device
CN114556872B (en) Wireless communication method, device, electronic equipment and storage medium
CN109792455B (en) Method and device for transmitting data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20200707

WW01 Invention patent application withdrawn after publication