WO2015123981A1 - 一种数据传输方法和设备 - Google Patents

一种数据传输方法和设备 Download PDF

Info

Publication number
WO2015123981A1
WO2015123981A1 PCT/CN2014/085402 CN2014085402W WO2015123981A1 WO 2015123981 A1 WO2015123981 A1 WO 2015123981A1 CN 2014085402 W CN2014085402 W CN 2014085402W WO 2015123981 A1 WO2015123981 A1 WO 2015123981A1
Authority
WO
WIPO (PCT)
Prior art keywords
frequency band
radio frequency
module
information
frequency module
Prior art date
Application number
PCT/CN2014/085402
Other languages
English (en)
French (fr)
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 WO2015123981A1 publication Critical patent/WO2015123981A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data transmission method and device. Background technique
  • the wireless bridge can be interconnected at the link layer of a local area network (LAN), and can implement message storage and forwarding.
  • the wireless bridge can be used to connect devices located in different independent network bands, and has the advantages of large transmission power, long transmission distance, and strong anti-interference ability.
  • wireless bridges include the following three bridging modes: 1) Point-to-point bridging mode. Point-to-point wireless bridges can be used to connect two networks that are located at different locations, typically consisting of a pair of bridges and a pair of antennas. The pair of bridges should be set to the same channel, only need to change the channel of one of the bridges (that is, the frequency band used), and the other bridge will automatically change to the corresponding channel. 2) Point-to-multipoint bridge mode. A point-to-multipoint wireless bridge can connect multiple discrete remote networks, and the structure is more complex than a point-to-point wireless bridge. Point-to-multipoint wireless bridges typically send wireless signals centered on one network, and other receiving points receive signals. 3) Relay bridge mode. When there is an obstacle blocking between the two LANs that need to be connected, the wireless relay can be used to bypass the obstacle to complete the wireless bridging between the two points.
  • Wireless Local Area Network (WLAN) technology using Wireless Fidelity (WiFi) enables wireless bridge functions through Access Point (AP) and Station (STA).
  • the AP and the STA are respectively connected to the devices (such as terminals and base stations) that need to communicate, and the data between the devices that need to communicate are transmitted by wireless.
  • the architecture of the system networking is shown in Figure 1, and the devices B 1 and B 2 are respectively required.
  • the device can pass The wired communication line is connected to the WiFi STAj, the device B 2 can be connected to the WiFi STA 2 through a wired communication line, the WiFi STAj and the WiFi STA 2 wireless communication line are connected to the AP, and the AP can be connected to the device A through the wired communication line, thereby passing through the wireless network.
  • the existing implementation scheme is that the AP includes a radio frequency module, which is used to implement data transmission between the STAs and the same frequency band. Since the WiFi works in the unlicensed frequency band, the frequency band being communicated may be interfered by other devices working in the same frequency band.
  • the RF module also needs to periodically scan the frequency bands supported by the AP to transmit between the AP and each STA because When the interference is degraded and the quality is deteriorated, the RF module of the AP and the RF module of each STA are replaced with appropriate frequency bands to continue data transmission.
  • the AP cannot communicate with each STA during the scanning and frequency band replacement process, the continuity of data transmission cannot be guaranteed, and the delay of data transmission during the scanning period is large or even packet loss, which reduces the user experience. Summary of the invention
  • the present invention provides a data transmission method and apparatus for ensuring continuity of data transmission during scanning and band replacement.
  • a first device includes a first radio frequency module, at least one second radio frequency module, and a processing module respectively connected to the first radio frequency module and the second radio frequency module, where:
  • the first radio frequency module is configured to acquire, according to a set scan period, first information related to a frequency band supported by the first device;
  • the second radio frequency module is configured to communicate with the second device
  • the processing module is configured to: when determining, that the frequency band used by the second radio frequency module to communicate with the second device needs to be replaced, according to the first information, from a frequency band supported by the first device Selecting an available frequency band and indicating a second radio frequency module that needs to be replaced or instructing the first radio frequency module to communicate with the second device using the selected frequency band.
  • the processing module is further configured to: Receiving, by the second device, second information related to a frequency band supported by the second device; and, according to the first information and the second information, from the first information and the second information Among the commonly included frequency bands, select one of the available frequency bands.
  • the processing module is further configured to: notify the second device of the selected frequency band, to indicate that the second device uses the selected frequency band and needs The second RF module of the frequency band is replaced for communication.
  • the first device further includes: a module, configured to acquire third information related to a transmission quality of a frequency band used for communication between the second radio frequency module and the second device included in the first device;
  • the processing module is further configured to: receive fourth information related to a transmission quality of a frequency band used by the second device to communicate with the second device and the second radio frequency module; and, according to the And the fourth information, the second radio frequency module in which the transmission quality of the frequency band used by the first device to communicate with the second device is lower than the set quality threshold, and the frequency band needs to be replaced.
  • the second RF module receives fourth information related to a transmission quality of a frequency band used by the second device to communicate with the second device and the second radio frequency module.
  • the processing module is specifically configured to: indicate that the first radio frequency module uses the frequency band selected by the processing module and the second device, and needs to replace the frequency band
  • the data between the second radio frequency module and the second device and the second radio frequency module indicating that the frequency band needs to be replaced acquires the first information within a set scan period.
  • the processing module is specifically configured to:
  • the processing module is further configured to: During the communication between the second radio frequency module and the second device, the first radio frequency module is instructed to communicate with the second device in a time other than the scanning period.
  • the first information includes the first Identification information of the frequency band supported by the device, and at least one of the following information:
  • the received signal strength of the frequency band supported by the first device indicates RSSI, the interference strength of the frequency band, and indication information indicating whether the frequency band is available.
  • the second information includes a frequency band supported by the second device Identification information, and at least one of the following:
  • the RSSI of the frequency band supported by the second device The RSSI of the frequency band supported by the second device, the interference strength of the frequency band, and indication information indicating whether the frequency band is available.
  • the third information includes a frequency band used by each of the second radio frequency module to communicate with the second device Identification information, and at least one of the following information: an RSSI of a frequency band used by each of the second radio frequency module to communicate with the second device, a block error rate BLER of the frequency band, and communication using the frequency band The number of retransmissions, the interference strength of this band;
  • the fourth information includes at least one of identification information of a frequency band used by the second device to communicate with the second radio frequency module, and at least one of the following information: the second device and the second radio frequency module perform The RSSI of the frequency band used for communication, the BLER of the frequency band, the number of retransmissions when communicating using the frequency band, and the interference strength of the frequency band.
  • a second device in a second aspect, includes a first radio frequency module, at least one second radio frequency module, and a processing module respectively connected to the first radio frequency module and the second radio frequency module, where:
  • the first radio frequency module is configured to acquire, according to a set scan period, second information related to a frequency band supported by the second device;
  • the second radio frequency module is configured to communicate with the first device;
  • the processing module is configured to: when any frequency band currently used by any second radio frequency module of the second device is different from a frequency band currently used by the first device, indicating any one of the second radio frequency modules or indications
  • the first radio frequency module communicates with the first device using a frequency band currently used by the first device.
  • the processing module is further configured to: send the second information that is obtained by the first radio frequency module to the first device.
  • the second device further includes: a collecting module, configured to acquire a second radio frequency module included in the second device, and the first device transmits data The fourth information related to the transmission quality of the used frequency band is reported to the first device.
  • the processing module is further configured to: Determining, by the second radio frequency module, a frequency band used by the first device to transmit data, determining whether a frequency band currently used by each of the second radio frequency modules is the same as a frequency band currently used by the first device;
  • the second device After receiving the notification that the first device sends the changed frequency band of the first device, determining, by the second device, the current frequency band used by the second radio frequency module and the current device The frequency bands used are different.
  • the processing module is specifically configured to: instruct the first radio frequency module to use the frequency band currently used by the first device to transmit the any second radio frequency Data between the module and the first device; and instructing any of the second radio frequency modules to acquire the second information within a set scan period.
  • the processing module is specifically configured to:
  • the second radio frequency module except the any one of the second radio frequency modules, transmitting data between the any second radio frequency module and the first device, and indicating the Any second radio frequency module replaces the currently used frequency band with a frequency band currently used by the first device to transmit data with the first device; and, instructing the other second radio frequency module, to stop transmitting any of the Data between the second radio frequency module and the first device.
  • the second information includes the following information At least one type of: identification information of a frequency band supported by the second device, RSSI of the frequency band, interference strength of the frequency band, and indication information indicating whether the frequency band is available.
  • the fourth information includes at least one of the following information: The identification information of the frequency band used by the first device to transmit data, the RSSI of the frequency band, the BLER of the frequency band, and the number of retransmissions when the data is transmitted using the frequency band.
  • the processing module is further configured to: when the second radio frequency module is in communication with the first device, indicating that the first radio frequency module is Data is transmitted with the first device in addition to the scan period.
  • a third aspect is a method of transmitting data, the method comprising:
  • the first device obtains the first information related to the frequency band supported by the first radio frequency module, and the first device uses the at least one second radio frequency module that is included by the first device.
  • the second device communicates;
  • the first device determines that the frequency band used by the second radio frequency module to communicate with the second device needs to be replaced, according to the first information, select one available frequency band from the frequency band supported by the first radio frequency module. And indicating that the second radio frequency module of the frequency band needs to be replaced or instructing the first radio frequency module to communicate with the second device by using the selected frequency band.
  • the first device selects an available frequency band from a frequency band supported by the first device, including:
  • the first device according to the first information and the second information, from the first information and the Among the frequency bands commonly included in the second information, one available frequency band is selected.
  • the method further includes: the first device notifying the selected device to the second device, to indicate that the second device uses the selected one The frequency band communicates with a second RF module that needs to be replaced.
  • the first device determines the second The frequency band used by the radio frequency module to communicate with the second device needs to be replaced, including:
  • the first device acquires third information related to a transmission quality of a frequency band used for communication between the second radio frequency module and the second device included in the first device;
  • the first device transmits a transmission quality of a frequency band used by the first device to communicate with the second device to be lower than a set quality threshold
  • the second radio frequency module is determined to be a second radio frequency module that needs to be replaced.
  • the first device instructing the first radio frequency module to communicate with the second device by using the selected frequency band, includes: The first radio frequency module uses the frequency band selected by itself and the second device to transmit data between the second radio frequency module and the second device that need to be replaced;
  • the method further includes: the first device indicating that the second radio frequency module that needs to replace the frequency band acquires the first information within a set scan period.
  • the first device includes at least two second radio frequency modules
  • the first device indicates that the second radio frequency module that needs to replace the frequency band uses the selected frequency band and
  • the communicating, by the second device includes:
  • the first device indicates any second radio frequency module included in the first device, except for the second radio frequency module that needs to be replaced, and transmits between the second radio frequency module that needs to be replaced with the second radio frequency device and the second device Data, and indicating that the second radio frequency module that needs to replace the frequency band replaces the currently used frequency band with the selected frequency band to communicate with the second device;
  • the first device instructs any one of the second radio frequency modules to stop transmitting data between the second radio frequency module and the second device that need to be replaced.
  • the method further includes: in a process in which the second radio frequency module communicates with the second device, the first device indicates the first The radio frequency module communicates with the second device for a time other than the scan period.
  • the first information includes the first At least one of the identification information of the frequency band supported by the device and the following information:
  • the received signal strength of the frequency band supported by the first device indicates the RSSI, the interference strength of the frequency band, and indication information indicating whether the frequency band is available.
  • the second information includes that is supported by the second device. At least one of the identification information of the frequency band and the following information: an RSSI of a frequency band supported by the second device, an interference strength of the frequency band, and indication information indicating whether the frequency band is available.
  • the third information includes a frequency band used by each of the second radio frequency module to communicate with the second device Identification information, and at least one of the following information: an RSSI of a frequency band used by each of the second radio frequency module to communicate with the second device, a block error rate BLER of the frequency band, and communication using the frequency band The number of retransmissions, the interference strength of this band;
  • the fourth information includes at least one of identification information of a frequency band used by the second device to communicate with the second radio frequency module, and at least one of the following information: the second device and the second radio frequency module perform The RSSI of the frequency band used for communication, the BLER of the frequency band, the number of retransmissions when communicating using the frequency band, and the interference strength of the frequency band.
  • a fourth aspect a method for transmitting data, the method comprising:
  • the second device acquires first information related to the frequency band supported by itself by using the first radio frequency module included in the first radio frequency module, and the second device includes at least one of the second information device
  • the second radio frequency module communicates with the first device
  • the second device When the frequency band currently used by any of the second radio frequency modules of the second device is different from the frequency band currently used by the first device, the second device indicates the any second radio frequency module or indicates the The first radio frequency module communicates with the first device using a frequency band currently used by the first device.
  • the method further includes: sending, by the second device, the second information that is obtained by the first radio frequency module to the first device.
  • the method further includes: acquiring, by the second device, a transmission quality of a frequency band used by the second radio frequency module and the first device to transmit data Corresponding fourth information, and reporting the fourth information to the first device.
  • the method further includes:
  • the second device detects a frequency band used by the second radio frequency module and the first device to transmit data, and determines whether a frequency band currently used by each of the second radio frequency modules is the same as a current frequency band used by the first device. ;
  • the second device After receiving the notification that the first device sends the changed frequency band of the first device, the second device determines the current frequency band used by the second radio frequency module included in the first device and the current device.
  • the frequency bands used are different.
  • the second device instructs the first radio frequency module to communicate with the first device by using a frequency band currently used by the first device, including: The second device instructs the first radio frequency module to transmit data between any one of the second radio frequency modules and the first device by using a frequency band currently used by the first device;
  • the method further includes: the second device instructing the any second radio frequency module to acquire the second information within a set scan period.
  • the second device includes at least two second radio frequency modules, the second device indicates that the first radio frequency module uses the current device
  • the frequency band used is in communication with the first device, including:
  • the second device indicates the second radio frequency module that is included in the second radio frequency module except the any one of the second radio frequency modules, and transmits data between the second radio frequency module that needs to be replaced with the first radio frequency device, and indicates the location
  • the second radio frequency module replaces the currently used frequency band with the frequency band currently used by the first device to transmit data with the first device;
  • the second device instructs the other second radio frequency module to stop transmitting data between the second radio frequency module that needs to replace the frequency band and the first radio device.
  • the second information includes the following information At least one type of: identification information of a frequency band supported by the second device, RSSI of the frequency band, interference strength of the frequency band, and indication information indicating whether the frequency band is available.
  • the fourth information includes at least one of the following information: The identification information of the frequency band used by the first device to transmit data, the RSSI of the frequency band, the BLER of the frequency band, and the number of retransmissions when the data is transmitted using the frequency band.
  • the method further includes: in a process in which the second radio frequency module communicates with the first device, the second device indicates the first radio frequency module Data is transmitted with the first device during a time other than the scan period.
  • the first device includes a first radio frequency module, at least one second radio frequency module, and a processor respectively connected to the first radio frequency module and the second radio frequency module, where:
  • the first radio frequency module is configured to acquire, according to a set scan period, first information related to a frequency band supported by the first device;
  • the second radio frequency module is configured to communicate with the second device
  • the processor configured to determine, by using the second radio frequency module to communicate with the second device When the frequency band to be used needs to be replaced, according to the first information acquired by the first radio frequency module, select one available frequency band from the frequency band supported by the first device, and indicate the second radio frequency module or the indication that the frequency band needs to be replaced.
  • a radio frequency module communicates with the second device using the selected frequency band.
  • the processor is further configured to: receive, by the second device, second information related to a frequency band supported by the second device; and, according to the first radio frequency The first information obtained by the module and the second information reported by the second device received by the module, and an available frequency band is selected from the frequency bands jointly included by the first information and the second information.
  • the processor is further configured to: notify the second device of the selected frequency band, to indicate that the second device uses the frequency band selected by the processor and the number that needs to be replaced The two RF modules communicate.
  • the processor is further configured to: acquire And the third information related to the transmission quality of the frequency band used by the second radio frequency module and the second device to be communicated by the second radio frequency module; and the second radio frequency module reported by the second device and the second radio frequency module of the first device
  • the fourth information related to the transmission quality of the frequency band; and, according to the obtained third information and the fourth information reported by the second device, the transmission quality of the frequency band used by the first device to communicate with the second device is lower than
  • the second RF module of the set mass value is determined as the second RF module that needs to be replaced.
  • the processor is specifically configured to: instruct the first radio frequency module to use the frequency band selected by the processor and the second device, and transmit the second radio frequency module that needs to replace the frequency band And the second radio frequency module indicating that the frequency band needs to be replaced, acquiring the first information related to the frequency band supported by the first device within the set scan period.
  • the processor is specifically configured to: indicate that the first device includes a second radio frequency module that needs to replace the frequency band Any second radio frequency module that transmits data between the second radio frequency module and the second device that needs to be replaced, and indicates that the second radio frequency module that needs to replace the frequency band replaces the currently used frequency band with the selected frequency band. Communicating with the second device; and, indicating any of the second shots The frequency module stops transmitting data between the second radio frequency module of the frequency band and the second device, thereby ensuring continuity of communication between the first device and the second device. This method is applicable to a scenario where the first device includes two or more second radio modules.
  • the processor is further configured to: when the second radio frequency module communicates with the second device, instructing the first radio frequency module to be in a scan period The second device communicates with the outside time.
  • the first information includes the first Identification information of the frequency band supported by the device, and at least one of the following information:
  • the received signal strength of the frequency band supported by the first device indicates RSSI, the interference strength of the frequency band, and indication information indicating whether the frequency band is available.
  • the second information includes a frequency band supported by the second device Identification information, and at least one of the following:
  • the RSSI of the frequency band supported by the second device The RSSI of the frequency band supported by the second device, the interference strength of the frequency band, and indication information indicating whether the frequency band is available.
  • the third information includes a frequency band used by each of the second radio frequency module to communicate with the second device Identification information, and at least one of the following information: an RSSI of a frequency band used by each of the second radio frequency module to communicate with the second device, a block error rate BLER of the frequency band, and communication using the frequency band The number of retransmissions, the interference strength of this band;
  • the fourth information includes at least one of identification information of a frequency band used by the second device to communicate with the second radio frequency module, and at least one of the following information: the second device and the second radio frequency module perform The RSSI of the frequency band used for communication, the BLER of the frequency band, the number of retransmissions when communicating using the frequency band, and the interference strength of the frequency band.
  • another second device includes a first radio frequency module, at least one second radio frequency module, and a processor respectively connected to the first radio frequency module and the second radio frequency module, where:
  • the first radio frequency module is configured to acquire, according to a set scan period, second information related to a frequency band supported by the second device;
  • the second radio frequency module is configured to communicate with the first device
  • the processor when the frequency band currently used by any second radio frequency module of the second device is different from the current frequency band used by the first device, indicating the any second radio frequency module or indicating the first radio frequency module Communicate with the first device using the frequency band currently used by the first device.
  • the processor is further configured to: send the second information that is obtained by the first radio frequency module to the first device.
  • the processor is further configured to: acquire fourth information related to a second radio module included in the second device and a transmission quality of a frequency band used by the first device to transmit data And reporting the fourth information to the first device.
  • the processor is further configured to:
  • the second device After receiving the notification that the first device sends the changed frequency band of the first device, determining, by the second device, the current frequency band used by the second radio frequency module and the current device The frequency bands used are different.
  • the processor when a frequency band currently used by any second radio frequency module of the second device is different from a frequency band currently used by the first device, the processor is specifically configured to: The first radio frequency module transmits data between any one of the second radio frequency modules and the first device by using a frequency band currently used by the first device, and indicates that any one of the second radio frequency modules is in a set scan period. The second information is obtained.
  • the processor is specifically used to:
  • the second radio frequency module except the any one of the second radio frequency modules, transmitting data between the second radio frequency module and the first device that need to be replaced, and indicating any one of the second
  • the radio frequency module replaces the currently used frequency band with the first device to transmit data to the first device, and indicates that the other second radio frequency module stops transmitting the any of the second radio frequency module and the first Data between a device.
  • the second information includes the following information At least one type of: identification information of a frequency band supported by the second device, RSSI of the frequency band, interference strength of the frequency band, and indication information indicating whether the frequency band is available.
  • the fourth information includes at least one of the following information: each second radio frequency module included in the second device The identification information of the frequency band used by the first device to transmit data, the RSSI of the frequency band, the BLER of the frequency band, and the number of retransmissions when the data is transmitted using the frequency band.
  • the processor is further configured to:
  • the first device obtains first information related to the frequency band supported by the first device by using the first radio frequency module that is included in the first radio frequency module, and the second device performs the second radio frequency module and the second device Communication, so that communication between the second device and the second device does not need to be interrupted during the scanning process, and continuity of communication with the second device can be ensured; the first device determines that the second RF module communicates with the second device When the used frequency band needs to be replaced, select one available frequency band from the frequency band supported by the first device, and indicate that the second radio frequency module needs to be replaced or instruct the first radio frequency module to communicate with the second device using the selected frequency band. Therefore, the continuity of communication with the second device can be ensured during the frequency band replacement process, thereby improving the user experience;
  • the second device acquires the first radio frequency module included in the scan period of the first radio frequency module
  • the first information related to the frequency band supported by the second device is communicated with the first device by using at least one second radio frequency module included in the second device, so that the communication between the first device and the first device does not need to be interrupted during the scanning process, and the The continuity of the communication between the first devices improves the user experience; when any of the frequency bands currently used by any of the second RF modules of the second device is different from the frequency band currently used by the first device, indicating any of the second
  • the radio frequency module or the first radio frequency module communicates with the first device by using the frequency band currently used by the first device, so that the continuity of communication with the second device can also be ensured during the frequency band replacement process, thereby improving the user experience.
  • FIG. 1 is a schematic structural diagram of a WiFi system networking in the background art
  • FIG. 2 is a schematic diagram of a first device according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a second device according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of another first device according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram of another second device according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic flowchart of a data transmission method according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic flowchart diagram of another data transmission method according to an embodiment of the present invention. detailed description
  • the method and the device provided by the present invention can be applied to a wireless bridge in the WLAN technology, and is particularly applicable to a wireless bridge in the WiFi technology.
  • the technical solution provided by the embodiment of the present invention can ensure data in the process of scanning and frequency band replacement. The continuity of the transmission.
  • An embodiment of the present invention provides a first device.
  • the first device includes: a first radio frequency module 21, at least one second radio frequency module 22, and a first radio frequency module 21 and a second radio frequency, respectively.
  • the processing module 23 connected to the module 22, wherein:
  • the first RF module 21 is configured to obtain and be supported by the first device within a set scan period.
  • a second radio frequency module 22 configured to communicate with the second device
  • the processing module 23 is configured to: according to the first information acquired by the first radio frequency module 21, in the frequency band supported by the first device, when determining that the frequency band used by the second radio frequency module 22 to communicate with the second device needs to be replaced Selecting an available frequency band and indicating that the second radio frequency module 22 needs to be replaced or instructing the first radio frequency module 21 to communicate with the second device using the selected frequency band.
  • the first device acquires first information related to a frequency band supported by the first device in a set scan period by using the first radio frequency module included in the first radio frequency module, and at least one second included by the first device
  • the radio frequency module communicates with the second device, so that the communication between the radio device and the second device does not need to be interrupted during the scanning process, and the continuity of communication with the second device can be ensured; and the second radio frequency module and the second device are determined.
  • the frequency band used for communication by the device needs to be replaced, select one available frequency band from the frequency band supported by the first device, and indicate the second radio frequency module that needs to be replaced or indicate that the first radio frequency module uses the selected frequency band and the first frequency band.
  • the two devices communicate, so that the continuity of communication with the second device can be ensured during the frequency band replacement process, thereby improving the user experience.
  • the first device is a backhaul AP
  • the second device is a backhaul STA
  • the first device and the second device are not limited to the preferred devices described above, such as the first device may also be a router, the second device may also be a terminal, and the like.
  • the number of the second devices that communicate with the first device may be one or more, and the present invention does not limit the number of the second devices that communicate with the first device.
  • the first device provided by the embodiment of the present invention may include a second radio frequency module, and may also include multiple second radio frequency modules.
  • the present invention also does not limit the number of second radio frequency modules included in the first device.
  • the number of the second radio frequency modules that need to be replaced by the processing module is one or more.
  • the processing module 23 performs: a message, selecting an available frequency band from the frequency band supported by the first device, and indicating the second radio frequency module that needs to be replaced or indicating the first radio frequency module The block communicates with the second device using the selected frequency band.
  • the first information includes identifier information of a frequency band supported by the first device, and at least one of the following information:
  • the received signal strength of the frequency band supported by the first device indicates the RSSI, the interference strength of the frequency band, and indication information indicating whether the frequency band is available.
  • the first radio frequency module 21 is specifically configured to: scan a frequency band supported by the first device and in an idle state during a set scan period, and obtain corresponding first information.
  • the processing module 23 is further configured to: receive second information reported by the second device and related to the frequency band supported by the second device; and receive, according to the first information acquired by the first radio frequency module 21, The second information reported by the second device selects an available frequency band from the frequency bands commonly included in the first information and the second information.
  • the processing module 23 selects, as an alternative frequency band, an intersection of a frequency band that satisfies the set selection criterion in the first information and a frequency band that satisfies the selection criterion in the second information, from the candidate frequency band. Select an available frequency band.
  • the selected selection criterion may be that the RSSI is less than the set threshold, the interference intensity is less than the set threshold, and the like.
  • the frequency band with the smallest RSSI value is selected as the available frequency band; for example, from the candidate frequency band, one frequency band is randomly selected as the available frequency band.
  • the second information includes, but is not limited to, at least one of the following information: the identification information of the frequency band supported by the second device, the received signal strength indication RSSI of the frequency band, the interference strength of the frequency band, and whether the frequency band indicates whether the frequency band is Available instructions.
  • the second information reported by the second device is information related to a frequency band supported by the second device and in an idle state.
  • the processing module 23 is further configured to: notify the second device of the selected frequency band, to instruct the second device to use the frequency band selected by the processing module 23 to communicate with the second radio frequency module that needs to replace the frequency band. Specifically, after receiving the indication of the processing module 23, the second device replaces the frequency band used by the second device with the second radio frequency module that needs to be replaced in the first device to be the frequency band selected by the first device.
  • the first device further includes:
  • the collecting module 24 is configured to acquire third information related to a transmission quality of a frequency band used for communication between the second radio frequency module and the second device included in the first device;
  • the processing module 23 is further configured to: receive, by the second device, fourth information related to a transmission quality of a frequency band used by the second device and the second radio frequency module of the first device to communicate; and, according to the collecting module 24 Obtaining the third information and the fourth information reported by the second device, determining that the second radio frequency module whose transmission quality in the frequency band used for communication with the second device in the first device is lower than the set quality threshold is determined as The second RF module of the frequency band needs to be replaced.
  • the processing module 23 aggregates the frequency band information in the third information and the fourth information according to the third information acquired by the collecting module 24 and the fourth information reported by the second device, for example, according to the BLER value of each frequency band. Sorting, the frequency band in which the BLER value of the third information and the fourth information is greater than the set threshold is used as a set of frequency bands that need to be replaced.
  • the processing module 23 may select the frequency band in which the BLER value is the largest as the frequency band to be replaced, and may also use all the frequency bands in the set as the current need to be replaced. Frequency band.
  • a collection period may be set, so that the collection module 24 acquires the second RF module and the second RF module included in the first device in each set collection period.
  • the third information related to the transmission quality of the frequency band used by the device for communication.
  • the third information includes identifier information of a frequency band used by each second radio frequency module of the first device to communicate with the second device, and at least one of the following information:
  • the block error rate (BLER) of the frequency band used by each second radio frequency module of the first device to communicate with the second device, the number of retransmissions when the band is used for communication, the frequency band The intensity of the interference.
  • the fourth information includes the second radio device of the second device and the first device. At least one of identification information of a frequency band used for communication, and the following information: an RSSI of a frequency band used by the second device to communicate with each second radio frequency module of the first device, a BLER of the frequency band, and using the frequency band The number of retransmissions during communication and the interference strength of this band.
  • the processing module 23 is specifically configured to: instruct the first radio frequency module 21 to use the frequency band selected by the processing module 23 and the second device, and transmit the second radio frequency module that needs to replace the frequency band. And data between the second device; and the second RF module indicating that the frequency band needs to be replaced acquires the first information related to the frequency band supported by the first device within the set scan period.
  • This mode is applicable to a scenario in which the first device includes one or more second radio frequency modules.
  • the processing module 23 instructs the first radio frequency module 21 to use the frequency band selected by the processing module 23 and the second device to transmit data between the second radio frequency module and the second device that need to be replaced in the frequency band.
  • the module 21 has the function of the second radio frequency module 22, that is, can communicate with the second device; and indicates that the second radio frequency module that needs to replace the frequency band acquires the frequency band related to the frequency band supported by the first device within the set scanning period.
  • a message, at this time, the second radio frequency module that needs to replace the frequency band has the function of the first radio frequency module 21, that is, the function of scanning the frequency band supported by the first device. Thereby the continuity of communication between the first device and the second device is guaranteed.
  • the processing module 23 is specifically configured to: indicate that the first device includes a second radio frequency other than the frequency band to be replaced. Any second RF module other than the module transmits data between the second RF module and the second device that need to be replaced, and indicates that the second RF module that needs to replace the frequency band replaces the currently used frequency band with the selected frequency band. Communicating with the second device; and instructing the second radio module to stop transmitting data between the second radio frequency module and the second device that need to be replaced.
  • This mode is applicable to a scenario in which the first device includes at least two second radio frequency modules.
  • the processing module 23 first indicates any second radio frequency module included in the first device except the second radio frequency module that needs to be replaced, and transmits data between the second radio frequency module and the second device that need to be replaced. And indicating that the second RF module that needs to replace the frequency band replaces the currently used frequency band with the selected frequency band. And communicating with the second device; after the second RF module that needs to be replaced with the frequency band is replaced, the second RF module is instructed to stop transmitting data between the second RF module and the second device that need to be replaced. Thereby the continuity of communication between the first device and the second device is ensured.
  • the processing module 23 is further configured to: in the process of the second radio frequency module 22 communicating with the second device, instructing the first radio frequency module 21 to use the second device in a time other than the scanning period. Communicating, that is, the first radio frequency module 21 scans all the frequency bands supported by the first device in the scanning period, and obtains the first information, and the first radio frequency module 21 is the first time outside the scanning period.
  • the two radio frequency modules communicate with the second device.
  • the embodiment of the present invention further provides a second device.
  • the second device includes a first radio frequency module 31, at least one second radio frequency module 32, and a first radio frequency.
  • the processing module 33 connected to the module 31 and the second radio frequency module 32, wherein:
  • the first radio frequency module 31 is configured to acquire, according to the set scan period, second information related to a frequency band supported by the second device;
  • a second radio frequency module 32 configured to communicate with the first device
  • the processing module 33 is configured to: when the frequency band currently used by any second radio frequency module of the second device is different from the current frequency band used by the first device, indicate the second radio frequency module of the any one of the first radio frequency modules 31 Communicate with the first device using the frequency band currently used by the first device.
  • the second device acquires first information related to a frequency band supported by the second device in a set scan period by using the first radio frequency module included in the first radio frequency module, and at least one second included in the second device
  • the radio frequency module communicates with the first device, so that the communication between the first device and the first device does not need to be interrupted during the scanning process, the continuity of communication with the first device can be ensured, and the user experience is improved;
  • the frequency band currently used by any of the second radio frequency modules is different from the frequency band currently used by the first device, the second radio frequency module is instructed or the first radio frequency module is instructed to use the frequency band currently used by the first device and the first device. Communication is performed to ensure continuity of communication with the second device during the frequency band replacement process, thereby improving the user experience.
  • the first device is a backhaul AP
  • the second device is a backhaul STA.
  • the first device and the second device are not limited to the preferred devices described above, and the first device may also be a route.
  • the second device can also be a terminal, and so on.
  • the second information includes at least one of identifier information of a frequency band supported by the second device, and the following information:
  • the RSSI of the frequency band supported by the second device The RSSI of the frequency band supported by the second device, the interference strength of the frequency band, and indication information indicating whether the frequency band is available.
  • the first radio frequency module 31 is specifically configured to: scan a frequency band supported by the second device and in an idle state during the set scan period, and obtain corresponding second information.
  • the processing module 33 is further configured to: send the second information acquired by the first radio frequency module 31 to the first device.
  • the second device further includes:
  • the collecting module 34 is configured to acquire fourth information related to the transmission quality of the frequency band used by the second radio frequency module 32 and the first device to transmit data, and report the fourth information to the first device.
  • a collection period may be set, so that the collection module 34 acquires the second RF module 32 and the second device included in the second device in each set collection period.
  • the fourth information related to the transmission quality of the frequency band used by the device to transmit data, and the fourth information is reported to the first device.
  • the fourth information includes at least one of the identification information of the frequency band used by each second radio frequency module included in the second device and the first device to transmit data, and the following information:
  • the RSS1 of the frequency band used by each second radio frequency module and the first device included in the second device the BLER of the frequency band, the number of retransmissions when the data is transmitted using the frequency band, and the interference strength of the frequency band.
  • processing module 33 is further configured to:
  • the frequency band currently used by the second radio frequency module included in the second device is different from the current frequency band used by the first device.
  • the processing module 33 detects the frequency band used by the second radio frequency module 32 and the first device to transmit data in real time, and determines whether the frequency band currently used by each second radio frequency module 32 is the same as the current frequency band used by the first device.
  • the processing module when the frequency band currently used by any second radio frequency module of the second device is different from the current frequency band used by the first device, the processing module is used as an optional implementation manner. 33 is specifically used to:
  • This mode is applicable to a scenario in which the second device includes one or more second radio frequency modules.
  • the processing module 33 instructs the first radio frequency module 31 to transmit data between the second radio frequency module and the first device in the frequency band currently used by the first device.
  • the function of the radio frequency module 32 is to be able to communicate with the first device; and the second radio frequency module is instructed to obtain the second information related to the frequency band supported by the second device during the set scan period.
  • the second radio frequency module has the function of the first radio frequency module 31, that is, the function of scanning the frequency band supported by the second device. Thereby the continuity of communication between the first device and the second device is ensured.
  • the processing module 33 is specifically configured to:
  • the second radio frequency module except the any one of the second radio frequency modules, transmitting data between the second radio frequency module and the first device that need to be replaced, and indicating the second radio frequency module Replacing the currently used frequency band with the first device to transmit data to the first device; and indicating the other second RF module to stop transmitting between the second RF module and the first device The data.
  • This mode is applicable to a scenario in which the second device includes at least two second radio frequency modules.
  • the processing module 33 first indicates the second radio frequency module included in the second device, except for any of the second radio frequency modules, and transmits data between the any second radio frequency module and the first device, and indicates The second radio frequency module replaces the currently used frequency band with the first device in the frequency band currently used by the first device; and after the second radio frequency module replaces the frequency band, instructs the other second radio frequency
  • the module stops transmitting data between the any of the second RF modules and the first device. Thereby the continuity of communication between the first device and the second device is ensured.
  • processing module 33 is further configured to:
  • the first radio frequency module 31 is instructed to transmit data with the first device during a time other than the scanning period.
  • the first device includes a first radio frequency module 41, at least one second radio frequency module 42, and a processor 43 connected to the first radio frequency module 41 and the second radio frequency module 42, respectively, where:
  • the first radio frequency module 41 is configured to acquire, according to the set scan period, first information related to a frequency band supported by the first device;
  • the second radio frequency module 42 is configured to communicate with the second device
  • the processor 43 is configured to: according to the first information acquired by the first radio frequency module 41, in the frequency band supported by the first device, when determining that the frequency band used by the second radio frequency module 42 to communicate with the second device needs to be replaced Selecting an available frequency band and indicating that the second radio frequency module 42 needs to be replaced or instructing the first radio frequency module 41 to communicate with the second device using the selected frequency band.
  • the first device acquires first information related to a frequency band supported by the first device in a set scan period by using the first radio frequency module included in the first radio frequency module, and at least one second included by the first device
  • the radio frequency module communicates with the second device, so that the communication between the radio device and the second device does not need to be interrupted during the scanning process, and the continuity of communication with the second device can be ensured; and the second radio frequency module and the second device are determined.
  • the first Among the frequency bands supported by the device one of the available frequency bands is selected, and the second RF module that needs to be replaced is indicated or the first RF module is used to communicate with the second device using the selected frequency band, thereby ensuring the frequency band replacement process.
  • the continuity of communication with the second device enhances the user experience.
  • the first device is a backhaul AP
  • the second device is a backhaul STA
  • the first device and the second device are not limited to the preferred devices described above, such as the first device may also be a router, the second device may also be a terminal, and the like.
  • the first information includes the identifier information of the frequency band supported by the first device, and at least one of the following information: an RSSI of a frequency band supported by the first device, an interference strength of the frequency band, indicating the Indicates if the band is available.
  • the first radio frequency module 41 is specifically configured to: scan a frequency band supported by the first device and in an idle state during a set scan period, and obtain corresponding first information.
  • the processor 43 is further configured to: receive second information reported by the second device and related to the frequency band supported by the second device; and receive, according to the first information acquired by the first radio frequency module 41, The second information reported by the second device selects an available frequency band from the frequency bands commonly included in the first information and the second information.
  • the second information includes identifier information of a frequency band supported by the second device, and at least one of the following information: an RSSI of a frequency band supported by the second device, an interference strength of the frequency band, and indicating whether the frequency band is available. Instructions.
  • the second information reported by the second device is information related to a frequency band supported by the second device and in an idle state.
  • the processor 43 is further configured to: notify the second device of the selected frequency band, to indicate that the second device uses the frequency band selected by the processor 43 to communicate with the second radio frequency module that needs to replace the frequency band.
  • the processor 43 is further configured to: acquire third information related to a transmission quality of a frequency band used by the second radio frequency module 42 and the second device included in the first device to communicate; the processor 43 further For receiving: the second device and the second device reported by the second device The fourth information related to the transmission quality of the frequency band used by the radio frequency module to communicate; and the communication between the first device and the second device according to the obtained third information and the fourth information reported by the second device
  • the second RF module whose transmission quality is lower than the set quality threshold is determined as the second RF module that needs to be replaced.
  • a set period may be set, so that the processor 43 acquires a frequency band used for communication between the second radio frequency module and the second device included in the first device in each set collection period.
  • the third information related to the transmission quality may be set, so that the processor 43 acquires a frequency band used for communication between the second radio frequency module and the second device included in the first device in each set collection period.
  • the third information includes identifier information of a frequency band used by each second radio frequency module of the first device to communicate with the second device, and at least one of the following information:
  • the RSSL of the frequency band used by each second radio frequency module of the first device to communicate with the second device the BLER of the frequency band, the number of retransmissions when communicating using the frequency band, and the interference strength of the frequency band.
  • the fourth information includes at least one of the identification information of the frequency band used by the second device to communicate with each second radio frequency module of the first device, and the following information:
  • the processor 43 is specifically configured to: instruct the first radio frequency module 41 to use the frequency band selected by the processor 43 and the second device, and transmit the second radio frequency module that needs to be replaced with the frequency band.
  • the data between the second device; and the second RF module indicating that the frequency band needs to be replaced acquires the first information related to the frequency band supported by the first device during the set scan period, thereby ensuring the first device and the first device The continuity of communication between the two devices. This mode is applicable to scenarios where the first device includes one or more second radio modules.
  • the processor 43 is specifically configured to: indicate that the first device includes a second radio frequency other than the frequency band to be replaced. Any second RF module other than the module transmits data between the second RF module and the second device that need to be replaced, and indicates that the second RF module that needs to replace the frequency band replaces the currently used frequency band with the selected frequency band. Communicating with the second device; and, indicating any of the second shots The frequency module stops transmitting data between the second radio frequency module of the frequency band and the second device, thereby ensuring continuity of communication between the first device and the second device. This method is applicable to a scenario where the first device includes two or more second radio modules.
  • the processor 43 is further configured to: in the process of the second radio frequency module 42 communicating with the second device, instructing the first radio frequency module 41 to use the second device in a time other than the scanning period. Communicating, that is, the first radio frequency module 41 scans all the frequency bands supported by the first device in the scanning period, and obtains the first information, and the first radio frequency module 41 is in a time other than the scanning period. The second device communicates.
  • the second device includes a first radio frequency module 51, at least one second radio frequency module 52, and a processor 53 connected to the first radio frequency module 51 and the second radio frequency module 52, respectively, where:
  • the first radio frequency module 51 is configured to acquire, according to the set scan period, second information related to a frequency band supported by the second device;
  • a second radio frequency module 52 configured to communicate with the first device
  • the processor 53 is configured to indicate, when the frequency band currently used by any second radio frequency module of the second device is different from the frequency band currently used by the first device, indicating the second radio frequency module or indicating the use of the first radio frequency module 51
  • the frequency band currently used by the first device communicates with the first device.
  • the second device acquires first information related to a frequency band supported by the second device in a set scan period by using the first radio frequency module included in the first radio frequency module, and at least one second included in the second device
  • the radio frequency module communicates with the first device, so that communication between the first device and the first device does not need to be interrupted during the scanning process, and continuity of communication with the first device can be ensured; any second radio frequency of the second device When the frequency band currently used by the module is different from the frequency band currently used by the first device, indicating that the second radio frequency module or the first radio frequency module uses the frequency band currently used by the first device to communicate with the first device, thereby The continuity of communication with the second device can also be ensured during the frequency band replacement process, thereby improving the user experience.
  • the first device is a backhaul AP
  • the second device is a backhaul STA
  • the first device and the second device are not limited to the above preferred devices, such as the first device may also be a router, the second device may also be a terminal, and the like.
  • the second information includes the identifier information of the frequency band supported by the second device, and at least one of the following information: an RSSI of a frequency band supported by the second device, an interference strength of the frequency band, and whether the frequency band is Available instructions.
  • the first radio frequency module 51 is specifically configured to: scan a frequency band supported by the second device and in an idle state during the set scan period, and obtain corresponding second information.
  • the processor 53 is further configured to: send the second information acquired by the first radio frequency module 51 to the first device.
  • the processor 53 is further configured to: acquire fourth information related to a second radio frequency module 52 included in the second device, and a transmission quality of a frequency band used by the first device to transmit data, and report the fourth information to the first information. a device.
  • a set period may be set, so that the processor 53 acquires the data used by the second radio frequency module 52 and the first device included in the second device during each set collection period.
  • the fourth information related to the transmission quality of the frequency band, and the fourth information is reported to the first device.
  • the fourth information includes at least one of the identification information of the frequency band used by the second radio frequency module and the first device, and the following information included in the second device: The RSSI of the frequency band used by the radio frequency module and the first device to transmit data, the BLER of the frequency band, the number of retransmissions when the data is transmitted using the frequency band, and the interference strength of the frequency band.
  • the processor 53 is further configured to:
  • the processor 53 is specifically used to:
  • the second device includes at least two second radio frequency modules 52
  • the current frequency band used by any second radio frequency module of the second device is currently associated with the first device.
  • the processor 53 is specifically used to:
  • the second radio frequency module except the any one of the second radio frequency modules, transmitting data between the second radio frequency module and the first device that need to be replaced, and indicating the second radio frequency module Replacing the currently used frequency band with the first device to transmit data to the first device; and indicating the other second RF module to stop transmitting between the second RF module and the first device
  • the data ensures the continuity of communication between the first device and the second device. This mode is applicable to a scenario in which the second device includes at least two second radio frequency modules.
  • the processor 53 is further configured to:
  • the first radio frequency module 51 is instructed to transmit data with the first device during a time other than the scanning period.
  • an embodiment of the present invention further provides a method for transmitting data.
  • the method includes:
  • Step 61 The first device acquires first information related to a frequency band supported by itself by using the first radio frequency module included in the first radio frequency module, and the first device passes at least one second included by itself.
  • the radio frequency module communicates with the second device;
  • Step 62 When determining, by the first device, that a frequency band used by the second radio frequency module to communicate with the second device needs to be replaced, selecting one of the frequency bands supported by the first radio frequency module according to the first information a frequency band available, and indicating a second radio frequency module that needs to be replaced or indicating the first The radio frequency module communicates with the second device using the selected frequency band.
  • the number of the second radio frequency modules that need to be replaced by the first device is one or more.
  • the first device performs: according to the first information. Selecting an available frequency band from the frequency band supported by the first device, indicating the second radio frequency module that needs to be replaced, or instructing the first radio frequency module to use the selected frequency band to perform with the second device Communication.
  • the method further includes:
  • the first device selects an available frequency band from the frequency bands supported by the first device according to the first information, and includes: the first device, according to the first information and the second information, from the first Among the frequency bands commonly included in one information and the second information, one available frequency band is selected.
  • the method further includes:
  • the first device notifies the second device of the selected frequency band to instruct the second device to communicate with the second radio frequency module that needs to replace the frequency band using the selected frequency band.
  • the method further includes:
  • the first device acquires third information related to a transmission quality of a frequency band used by the second radio frequency module and the second device that is included in the second device; and the first device receives the report reported by the second device Fourth information related to a transmission quality of a frequency band used for communication between the second device and the second radio frequency module;
  • the method includes: the first device, according to the third information and the fourth information, The second radio frequency module in which the transmission quality of the frequency band used for communication with the second device in the first device is lower than the set quality threshold is determined as the second radio frequency module that needs to be replaced.
  • a set period may be set, so that the first device obtains the transmission quality of the frequency band used for communicating with the second radio frequency module and the second device included in the first device during each set collection period.
  • the first device instructs the first radio frequency module to communicate with the second device by using the selected frequency band, including:
  • the first device instructs the first radio frequency module to use the frequency band selected by the processing module and the second device to transmit data between the second radio frequency module and the second device that need to be replaced;
  • the device indicates that the second radio frequency module that needs to replace the frequency band acquires the first information within a set scan period.
  • the first device indicates that the second radio frequency module that needs to replace the frequency band uses the selected frequency band to communicate with the second device. , including:
  • the first device indicates any second radio frequency module included in the first device, except for the second radio frequency module that needs to be replaced, and transmits between the second radio frequency module that needs to be replaced with the second radio frequency device and the second device Data, and indicating that the second radio frequency module that needs to replace the frequency band replaces the currently used frequency band with the selected frequency band to communicate with the second device;
  • the first device instructs any one of the second radio frequency modules to stop transmitting data between the second radio frequency module and the second device that need to be replaced.
  • the method further includes: in the process of the second radio frequency module communicating with the second device, the first device instructing the first radio frequency module to be in addition to the scanning period
  • the second device is in communication outside of the time.
  • the first information includes identifier information of a frequency band supported by the first device, and at least one of the following information:
  • the RSSI of the frequency band supported by the first device the interference strength of the frequency band, and indication information indicating whether the frequency band is available.
  • the second information includes identifier information of a frequency band supported by the second device, and at least one of the following information:
  • the RSSI of the frequency band supported by the second device The RSSI of the frequency band supported by the second device, the interference strength of the frequency band, and indication information indicating whether the frequency band is available.
  • the third information includes each of the second radio frequency of the first device At least one of identification information of a frequency band used by the module to communicate with the second device, and at least one of the following information: each of the second radio frequency modules of the first device is in communication with the second device RSSI of the frequency band, block error rate BLER of the frequency band, number of retransmissions when using the frequency band for communication, and interference intensity of the frequency band;
  • the fourth information includes at least one of identification information of a frequency band used by the second device to communicate with each second radio frequency module of the first device, and the following information: the second device and the The identification information of the frequency band used by the second RF module for communication, the RSSI of the frequency band, the BLER of the frequency band, the number of retransmissions when the frequency band is used for communication, and the interference strength of the frequency band.
  • an embodiment of the present invention further provides a method for transmitting data.
  • the method includes:
  • Step 71 The second device obtains first information related to a frequency band supported by itself by using the first radio frequency module included in the first radio frequency module, and the second device passes at least one second included by itself.
  • the radio frequency module communicates with the first device;
  • Step 72 The second device indicates the second radio frequency module or indicates the first radio frequency when the frequency band currently used by any second radio frequency module that is included in the second device is different from the current frequency band used by the first device.
  • the module communicates with the first device using a frequency band currently used by the first device.
  • the method further includes: sending, by the second device, the second information acquired by the first radio frequency module to the first device.
  • the method further includes: acquiring, by the second device, fourth information related to a transmission quality of a frequency band used by the second radio frequency module and the first device to transmit data, and The fourth information is reported to the first device.
  • a set period may be set, so that the second device acquires the transmission quality of the frequency band used by the second radio frequency module and the first device to transmit data in the set period of the second device.
  • the fourth information is related, and the fourth information is sent to the first device.
  • step 72 the method further includes:
  • the second device detects, by the second radio frequency module, the data transmitted by the first device a frequency band, determining whether a frequency band currently used by each of the second radio frequency modules is the same as a frequency band currently used by the first device;
  • the second device After receiving the notification that the first device sends the changed frequency band of the first device, the second device determines the current frequency band used by the second radio frequency module included in the first device and the current device.
  • the frequency bands used are different.
  • step 72 when the frequency band currently used by any second radio frequency module of the second device is different from the current frequency band used by the first device, the second device indicates the use of the first radio frequency module.
  • the frequency band currently used by the first device to communicate with the first device includes: the second device instructing the first radio frequency module to transmit the second radio frequency module by using a frequency band currently used by the first device Data with the first device;
  • the method further includes: the second device instructing the any second radio frequency module to acquire the second information within the set scan period.
  • the second device includes at least two second radio frequency modules
  • step 72 when the frequency band currently used by any second radio frequency module of the second device is different from the current frequency band used by the first device, The second device instructs the first radio frequency module to communicate with the first device by using a frequency band currently used by the first device, including:
  • the second device indicates the second radio frequency module included in the second radio frequency module, and transmits data between the any second radio frequency module and the first device, and indicates the The second radio frequency module replaces the currently used frequency band with the frequency band currently used by the first device to transmit data with the first device;
  • the second device instructs the other second radio frequency module to stop transmitting data between the any second radio frequency module and the first device.
  • the method further includes: in the process of the second radio frequency module communicating with the first device, the second device instructing the first radio frequency module to be in addition to the scanning period
  • the data is transmitted with the first device in a time other than the time.
  • the second information includes the identification information of the frequency band supported by the second device, And at least one of the following information: an RSSI of a frequency band supported by the second device, an interference strength of the frequency band, indication information indicating whether the frequency band is available, and an interference strength of the frequency band.
  • the fourth information includes at least one of identifier information of a frequency band used by each second radio frequency module included in the second device and the first device to transmit data, and the following information: The RSSI of the frequency band used by each second radio frequency module and the first device included in the second device, the BLER of the frequency band, the number of retransmissions when the data is transmitted using the frequency band, and the interference strength of the frequency band.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can be embodied in the form of one or more computer program products embodied on a computer-usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which computer usable program code is embodied.
  • a computer-usable storage medium including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation in the flowchart The steps of a process or a plurality of processes and/or block diagrams of a function specified in a block or blocks.

Landscapes

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

Abstract

本发明公开了一种数据传输方法和设备。第一设备包括:第一射频模块、至少一个第二射频模块以及处理模块,其中:第一射频模块用于在设定的扫描周期内,获取与该第一设备所支持的频段相关的第一信息;第二射频模块用于与第二设备进行通信;处理模块用于在确定出第二射频模块与第二设备进行通信所使用的频段需要更换时,根据第一射频模块获取到的第一信息,从第一设备所支持的频段中,选择一个可用的频段,并指示需要更换频段的第二射频模块或指示第一射频模块使用所选择的频段与第二设备进行通信,从而在扫描和频段更换的过程中,保证了数据传输的连续性。

Description

一种数据传输方法和设备 本申请要求在 2014 年 2 月 21 日提交中国专利局、 申请号为 201410061162.6、发明名称为"一种数据传输方法和设备"的中国专利申请的优 先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及通信技术领域, 特别涉及一种数据传输方法和设备。 背景技术
无线网桥可以在局域网 ( Local Area Network , LAN )的链路层实现互连、 并且可以实现报文的存储和转发。 无线网桥可以用于连接位于不同独立网络 频段的设备, 具有传输功率大、 传输距离远、 抗干扰能力强等优点。
目前, 无线网桥包括以下三种桥接模式: 1 )点对点桥接模式。 点对点型 无线网桥可用来连接两个分别位于不同地点的网络, 一般由一对桥接器和一 对天线组成。 该对桥接器应设置成相同的频道, 只需要改变一方桥接器的频 道(即所使用的频段), 另一方桥接器便会自动改变到相应的频道。 2 ) 点对 多点桥接模式。 点对多点的无线网桥能够把多个离散的远程的网络连成一体, 结构相对于点对点无线网桥来说较复杂。 点对多点无线网桥通常以一个网络 为中心点发送无线信号, 其他接收点进行信号接收。 3 ) 中继桥接模式。 当需 要连接的两个局域网之间有障碍物遮挡而不可视时, 可以使用无线中继的方 法绕开障碍物, 来完成两点之间的无线桥接。
使用无线保真( Wireless Fidelity, WiFi )的无线局域网( Wireless Local Area Network, WLAN )技术可以通过接入点( Access Point, AP )和站点( Station, STA )实现无线网桥功能。 AP和 STA分别与需要通信的设备(如终端、基站) 相连, 通过无线传输该些需要通信的设备之间的数据, 系统组网的架构参见 图 1所示, 设备 B1 设备 B2分别需要与设备 A进行通信, 设备 可以通过 有线通信线路与 WiFi STAj连接、设备 B2可以通过有线通信线路与 WiFi STA2 连接, WiFi STAj与 WiFi STA2无线通信线路与 AP连接, AP可以通过有线通 信线路与设备 A连接, 从而通过无线网桥传输设备 与设备 A、 设备 B2与 设备 A之间的数据。
目前已有的实现方案是, AP包含一个射频模块,用于实现与各 STA之间 使用相同的频段进行数据传输。 由于 WiFi工作在非授权频段, 正在通信的频 段可能受到其他工作在相同频段设备的干扰, 该射频模块还需要周期性对 AP 所支持的频段进行扫描, 以在 AP与各 STA之间的传输因为干扰而质量变差 时, 为 AP的射频模块与各 STA的射频模块更换合适的频段继续进行数据传 输。但是, 由于 AP在扫描和频段更换的过程中, AP与各 STA之间无法通信, 从而无法保证数据传输的连续性, 且扫描期间数据传输的时延大甚至丟包, 降低了用户体验。 发明内容
本发明提供了一种数据传输方法和设备, 从而在扫描和频段更换的过程 中, 保证了数据传输的连续性。
第一方面, 一种第一设备, 该第一设备包括第一射频模块、 至少一个第 二射频模块、 以及分别与所述第一射频模块和所述第二射频模块连接的处理 模块, 其中:
所述第一射频模块, 用于在设定的扫描周期内, 获取与所述第一设备所 支持的频段相关的第一信息;
所述第二射频模块, 用于与第二设备进行通信;
所述处理模块, 用于在确定出所述第二射频模块与所述第二设备进行通 信所使用的频段需要更换时, 根据所述第一信息, 从所述第一设备所支持的 频段中, 选择一个可用的频段, 并指示需要更换频段的第二射频模块或指示 所述第一射频模块使用所选择的频段与所述第二设备进行通信。
结合第一方面, 在第一种可能的实现方式中, 所述处理模块还用于: 接收所述第二设备上报的与所述第二设备所支持的频段相关的第二信 息; 以及根据所述第一信息和所述第二信息, 从所述第一信息和所述第二信 息共同包含的频段中, 选择一个可用的频段。
结合第一方面, 在第二种可能的实现方式中, 所述处理模块还用于: 将所选择的频段通知给所述第二设备, 以指示所述第二设备使用所选择 的频段与需要更换频段的第二射频模块进行通信。
结合第一方面、 第一方面的第一种可能的实现方式、 或第一方面的第二 种可能的实现方式, 在第三种可能的实现方式中, 所述第一设备还包括: 釆集模块, 用于获取与所述第一设备包含的第二射频模块和所述第二设 备进行通信所使用的频段的传输质量相关的第三信息;
所述处理模块还用于: 接收所述第二设备上报的与所述第二设备和所述 第二射频模块进行通信所使用的频段的传输质量相关的第四信息; 以及, 根 据所述第三信息和所述第四信息, 将所述第一设备中与所述第二设备进行通 信所使用的频段的传输质量低于设定的质量阔值的第二射频模块, 确定为需 要更换频段的第二射频模块。
结合第一方面, 在第四种可能的实现方式中, 所述处理模块具体用于: 指示所述第一射频模块使用所述处理模块所选择的频段与所述第二设 备, 传输需要更换频段的第二射频模块与所述第二设备之间的数据; 以及, 指示需要更换频段的第二射频模块在设定的扫描周期内, 获取所述第一信息。
结合第一方面, 在第五种可能的实现方式中, 若所述第一设备至少包含 两个第二射频模块, 所述处理模块具体用于:
指示所述第一设备包含的除需要更换频段的第二射频模块之外的任一第 二射频模块, 传输需要更换频段的第二射频模块与所述第二设备之间的数据, 并指示需要更换频段的第二射频模块将当前使用的频段更换到所选择的频段 上与所述第二设备进行通信; 以及, 指示所述任一第二射频模块, 停止传输 需要更换频段的第二射频模块与所述第二设备之间的数据。
结合第一方面, 在第六种可能的实现方式中, 所述处理模块还用于: 在 所述第二射频模块与所述第二设备进行通信的过程中, 指示所述第一射频模 块在除所述扫描周期之外的时间内, 与所述第二设备进行通信。
结合第一方面、 第一方面的第一种可能的实现方式、 或第一方面的第二 种可能的实现方式, 在第七种可能的实现方式中, 所述第一信息包括所述第 一设备所支持的频段的标识信息、 以及下列信息中的至少一种:
所述第一设备所支持的频段的接收信号强度指示 RSSI、 该频段的干扰强 度、 表示该频段是否可用的指示信息。
结合第一方面的第一种可能的实现方式、 或第一方面的二种可能的实现 方式, 在第八种可能的实现方式中, 所述第二信息包括所述第二设备所支持 的频段的标识信息、 以及下列信息中的至少一种:
所述第二设备所支持的频段的 RSSI、 该频段的干扰强度、 表示该频段是 否可用的指示信息。
结合第一方面的第三种可能的实现方式, 在第九种可能的实现方式中, 所述第三信息包括每个所述第二射频模块与所述第二设备进行通信所使用的 频段的标识信息, 以及下列信息中的至少一种: 每个所述第二射频模块与所 述第二设备进行通信所使用的频段的 RSSI、 该频段的块误码率 BLER、 使用 该频段进行通信时的重传次数、 该频段的干扰强度;
所述第四信息包括所述第二设备与所述第二射频模块进行通信所使用的 频段的标识信息、 以及下列信息中的至少一种: 所述第二设备与所述第二射 频模块进行通信所使用的频段的 RSSI、 该频段的 BLER、 使用该频段进行通 信时的重传次数、 该频段的干扰强度。
第二方面, 一种第二设备, 该第二设备包括第一射频模块、 至少一个第 二射频模块、 以及分别与所述第一射频模块和所述第二射频模块连接的处理 模块, 其中:
所述第一射频模块, 用于在设定的扫描周期内, 获取与所述第二设备所 支持的频段相关的第二信息;
所述第二射频模块, 用于与第一设备进行通信; 所述处理模块, 用于在所述第二设备的任一第二射频模块当前所使用的 频段与所述第一设备当前所使用的频段不同时, 指示所述任一第二射频模块 或指示所述第一射频模块使用所述第一设备当前所使用的频段与所述第一设 备进行通信。
结合第二方面, 在第一种可能的实现方式中, 所述处理模块还用于: 将 所述第一射频模块获取到的所述第二信息发送给所述第一设备。
结合第二方面, 在第二种可能的实现方式中, 所述第二设备还包括: 釆集模块, 用于获取与所述第二设备包含的第二射频模块和所述第一设 备传输数据所使用的频段的传输质量相关的第四信息, 并将所述第四信息上 报给所述第一设备。
结合第二方面、 第二方面的第一种可能的实现方式、 或第二方面的第二 种可能的实现方式, 在第三种可能的实现方式中, 所述处理模块还用于: 检测所述第二射频模块与所述第一设备传输数据所使用的频段, 确定每 个所述第二射频模块当前所使用的频段与第一设备当前所使用的频段是否相 同;
或者,
在接收到所述第一设备发送的携带所述第一设备更换后的频段的通知 后, 确定所述第二设备所包含的第二射频模块当前所使用的频段与所述第一 设备当前所使用的频段不同。
结合第二方面, 在第四种可能的实现方式中, 所述处理模块具体用于: 指示所述第一射频模块使用所述第一设备当前所使用的频段, 传输所述 任一第二射频模块与所述第一设备之间的数据; 并指示所述任一第二射频模 块在设定的扫描周期内, 获取所述第二信息。
结合第二方面, 在第五种可能的实现方式中, 若所述第二设备至少包含 两个第二射频模块, 所述处理模块具体用于:
指示所述第二设备包含的除所述任一第二射频模块之外的其他第二射频 模块, 传输所述任一第二射频模块与所述第一设备之间的数据, 并指示所述 任一第二射频模块将当前使用的频段更换到所述第一设备当前所使用的频段 上与所述第一设备传输数据; 以及, 指示所述其他第二射频模块, 停止传输 所述任一第二射频模块与所述第一设备之间的数据。
结合第二方面、 第二方面的第一种可能的实现方式、 或第二方面的第二 种可能的实现方式, 在第六种可能的实现方式中, 所述第二信息包括以下信 息中的至少一种: 所述第二设备所支持的频段的标识信息、 该频段的 RSSI、 该频段的干扰强度、 表示该频段是否可用的指示信息。
结合第二方面的第二种可能的实现方式, 在第七种可能的实现方式中, 所述第四信息包括以下信息中的至少一种: 所述第二设备包含的各第二射频 模块与所述第一设备传输数据所使用的频段的标识信息、 该频段的 RSSI、 该 频段的 BLER、 使用该频段传输数据时的重传次数。
结合第二方面, 在第八种可能的实现方式中, 所述处理模块还用于: 在所述第二射频模块与所述第一设备进行通信的过程中, 指示所述第一 射频模块在除所述扫描周期之外的时间内, 与所述第一设备传输数据。
第三方面, 一种传输数据的方法, 该方法包括:
第一设备通过自身包含的第一射频模块在设定的扫描周期内, 获取与自 身所支持的频段相关的第一信息, 且, 所述第一设备通过自身包含的至少一 个第二射频模块与第二设备进行通信;
所述第一设备在确定出所述第二射频模块与所述第二设备进行通信所使 用的频段需要更换时, 根据所述第一信息, 从自身所支持的频段中, 选择一 个可用的频段, 并指示需要更换频段的第二射频模块或指示所述第一射频模 块使用所选择的频段与所述第二设备进行通信。
结合第三方面, 在第一种可能的实现方式中, 所述第一设备根据所述第 一信息, 从自身所支持的频段中, 选择一个可用的频段, 包括:
所述第一设备接收所述第二设备上报的与所述第二设备所支持的频段相 关的第二信息; 以及,
所述第一设备根据所述第一信息和所述第二信息, 从所述第一信息和所 述第二信息共同包含的频段中, 选择一个可用的频段。
结合第三方面, 在第二种可能的实现方式中, 所述方法还包括: 所述第一设备将所选择的频段通知给所述第二设备, 以指示所述第二设 备使用所选择的频段与需要更换频段的第二射频模块进行通信。
结合第三方面、 第三方面的第一种可能的实现方式、 或第三方面的第二 种可能的实现方式, 在第三种可能的实现方式中, 所述第一设备确定所述第 二射频模块与所述第二设备进行通信所使用的频段需要更换, 包括:
所述第一设备获取与自身包含的第二射频模块和所述第二设备进行通信 所使用的频段的传输质量相关的第三信息;
所述第一设备接收所述第二设备上报的与所述第二设备和所述第二射频 模块进行通信所使用的频段的传输质量相关的第四信息;
所述第一设备根据所述第三信息和所述第四信息, 将所述第一设备中与 所述第二设备进行通信所使用的频段的传输质量低于设定的质量阔值的第二 射频模块, 确定为需要更换频段的第二射频模块。
结合第三方面, 在第四种可能的实现方式中, 所述第一设备指示所述第 一射频模块使用所选择的频段与所述第二设备进行通信, 包括: 所述第一设 备指示所述第一射频模块使用自身所选择的频段与所述第二设备, 传输需要 更换频段的第二射频模块与所述第二设备之间的数据;
所述方法还包括: 所述第一设备指示需要更换频段的第二射频模块在设 定的扫描周期内, 获取所述第一信息。
结合第三方面, 在第五种可能的实现方式中, 若所述第一设备至少包含 两个第二射频模块, 所述第一设备指示需要更换频段的第二射频模块使用所 选择的频段与所述第二设备进行通信, 包括:
所述第一设备指示所述第一设备包含的除需要更换频段的第二射频模块 之外的任一第二射频模块, 传输需要更换频段的第二射频模块与所述第二设 备之间的数据, 并指示需要更换频段的第二射频模块将当前使用的频段更换 到所选择的频段上与所述第二设备进行通信; 所述第一设备指示所述任一第二射频模块, 停止传输需要更换频段的第 二射频模块与所述第二设备之间的数据。
结合第三方面, 在第六种可能的实现方式中, 所述方法还包括: 在所述第二射频模块与所述第二设备进行通信的过程中, 所述第一设备 指示所述第一射频模块在除所述扫描周期之外的时间内, 与所述第二设备进 行通信。
结合第三方面、 第三方面的第一种可能的实现方式、 或第三方面的第二 种可能的实现方式, 在第七种可能的实现方式中, 所述第一信息包括所述第 一设备所支持的频段的标识信息、 以及下列信息中的至少一种: 所述第一设 备所支持的频段的接收信号强度指示 RSSI、 该频段的干扰强度、 表示该频段 是否可用的指示信息。
结合第三方面的第一种可能的实现方式、 或第三方面的第二种可能的实 现方式, 在第八种可能的实现方式中, 所述第二信息包括所述第二设备所支 持的频段的标识信息、 以及下列信息中的至少一种: 所述第二设备所支持的 频段的 RSSI、 该频段的干扰强度、 表示该频段是否可用的指示信息。
结合第三方面的第三种可能的实现方式, 在第九种可能的实现方式中, 所述第三信息包括每个所述第二射频模块与所述第二设备进行通信所使用的 频段的标识信息, 以及下列信息中的至少一种: 每个所述第二射频模块与所 述第二设备进行通信所使用的频段的 RSSI、 该频段的块误码率 BLER、 使用 该频段进行通信时的重传次数、 该频段的干扰强度;
所述第四信息包括所述第二设备与所述第二射频模块进行通信所使用的 频段的标识信息、 以及下列信息中的至少一种: 所述第二设备与所述第二射 频模块进行通信所使用的频段的 RSSI、 该频段的 BLER、 使用该频段进行通 信时的重传次数、 该频段的干扰强度。
第四方面, 一种传输数据的方法, 该方法包括:
第二设备通过自身包含的第一射频模块在设定的扫描周期内, 获取与自 身所支持的频段相关的第一信息, 且, 所述第二设备通过自身包含的至少一 个第二射频模块与第一设备进行通信;
在所述第二设备的任一第二射频模块当前所使用的频段与所述第一设备 当前所使用的频段不同时, 所述第二设备指示所述任一第二射频模块或指示 所述第一射频模块使用所述第一设备当前所使用的频段与所述第一设备进行 通信。
结合第四方面, 在第一种可能的实现方式中, 所述方法还包括: 所述第二设备将所述第一射频模块获取到的所述第二信息发送给所述第 一设备。
结合第四方面, 在第二种可能的实现方式中, 所述方法还包括: 所述第二设备获取与自身包含的第二射频模块和所述第一设备传输数据 所使用的频段的传输质量相关的第四信息, 并将所述第四信息上报给所述第 一设备。
结合第四方面、 第四方面的第一种可能的实现方式、 或第四方面的第二 种可能的实现方式, 在第三种可能的实现方式中, 所述方法还包括:
所述第二设备检测所述第二射频模块与所述第一设备传输数据所使用的 频段, 确定每个所述第二射频模块当前所使用的频段与第一设备当前所使用 的频段是否相同;
或者,
所述第二设备在接收到所述第一设备发送的携带所述第一设备更换后的 频段的通知后, 确定自身所包含的第二射频模块当前所使用的频段与所述第 一设备当前所使用的频段不同。
结合第四方面, 在第四种可能的实现方式中, 所述第二设备指示所述第 一射频模块使用所述第一设备当前所使用的频段与所述第一设备进行通信, 包括: 所述第二设备指示所述第一射频模块使用所述第一设备当前所使用的 频段, 传输所述任一第二射频模块与所述第一设备之间的数据;
所述方法还包括: 所述第二设备指示所述任一第二射频模块在设定的扫 描周期内, 获取所述第二信息。 结合第四方面, 在第五种可能的实现方式中, 若所述第二设备至少包含 两个第二射频模块, 所述第二设备指示所述第一射频模块使用所述第一设备 当前所使用的频段与所述第一设备进行通信, 包括:
所述第二设备指示自身包含的除所述任一第二射频模块之外的其他第二 射频模块, 传输需要更换频段的第二射频模块与所述第一设备之间的数据, 并指示所述任一第二射频模块将当前使用的频段更换到所述第一设备当前所 使用的频段上与所述第一设备传输数据; 以及,
所述第二设备指示所述其他第二射频模块, 停止传输需要更换频段的第 二射频模块与所述第一设备之间的数据。
结合第四方面、 第四方面的第一种可能的实现方式、 或第四方面的第二 种可能的实现方式, 在第六种可能的实现方式中, 所述第二信息包括以下信 息中的至少一种: 所述第二设备所支持的频段的标识信息、 该频段的 RSSI、 该频段的干扰强度、 表示该频段是否可用的指示信息。
结合第四方面的第二种可能的实现方式, 在第七种可能的实现方式中, 所述第四信息包括以下信息中的至少一种: 所述第二设备包含的各第二射频 模块与所述第一设备传输数据所使用的频段的标识信息、 该频段的 RSSI、 该 频段的 BLER、 使用该频段传输数据时的重传次数。
结合第四方面, 在第八种可能的实现方式中, 所述方法还包括: 在所述第二射频模块与所述第一设备进行通信的过程中, 第二设备指示 所述第一射频模块在除所述扫描周期之外的时间内, 与所述第一设备传输数 据。
第五方面、 另一种第一设备, 其包括第一射频模块, 至少一个第二射频 模块, 以及分别与第一射频模块和第二射频模块连接的处理器, 其中:
所述第一射频模块, 用于在设定的扫描周期内, 获取与该第一设备所支 持的频段相关的第一信息;
所述第二射频模块, 用于与第二设备进行通信;
所述处理器, 用于在确定出所述第二射频模块与第二设备进行通信所使 用的频段需要更换时, 根据所述第一射频模块获取到的第一信息, 从第一设 备所支持的频段中, 选择一个可用的频段, 并指示需要更换频段的第二射频 模块或指示第一射频模块使用所选择的频段与第二设备进行通信。
结合第五方面, 在第一种可能的实现方式中, 处理器还用于: 接收第二 设备上报的与该第二设备所支持的频段相关的第二信息; 以及, 根据所述第 一射频模块获取到的第一信息和自身接收到的第二设备上报的第二信息, 从 第一信息和第二信息共同包含的频段中, 选择一个可用的频段。
结合第五方面, 在第二种可能的实现方式中, 处理器还用于: 将所选择 的频段通知给第二设备, 以指示第二设备使用处理器所选择的频段与需要更 换频段的第二射频模块进行通信。
结合第五方面、 第五方面的第一种可能的实现方式、 或第五方面的第二 种可能的实现方式, 在第三种可能的实现方式中, 处理器还用于: 获取与第 一设备包含的第二射频模块和第二设备进行通信所使用的频段的传输质量相 关的第三信息; 接收第二设备上报的与第二设备和该第一设备的第二射频模 块进行通信所使用的频段的传输质量相关的第四信息; 以及, 根据获取到的 第三信息和第二设备上报的第四信息, 将第一设备中与第二设备进行通信所 使用的频段的传输质量低于设定的质量阔值的第二射频模块, 确定为需要更 换频段的第二射频模块。
结合第五方面, 在第四种可能的实现方式中, 处理器具体用于: 指示所 述第一射频模块使用该处理器所选择的频段与第二设备, 传输需要更换频段 的第二射频模块与第二设备之间的数据; 以及, 指示需要更换频段的第二射 频模块在设定的扫描周期内, 获取与第一设备所支持的频段相关的第一信息。
结合第五方面, 在第五种可能的实现方式中, 若第一设备至少包含两个 第二射频模块, 处理器具体用于: 指示该第一设备包含的除需要更换频段的 第二射频模块之外的任一第二射频模块, 传输需要更换频段的第二射频模块 与第二设备之间的数据, 并指示需要更换频段的第二射频模块将当前使用的 频段更换到所选择的频段上与第二设备进行通信; 以及, 指示该任一第二射 频模块, 停止传输需要更换频段的第二射频模块与所述第二设备之间的数据, 从而保证了第一设备与第二设备之间通信的连续性。 该方式适用于第一设备 包含两个及两个以上的第二射频模块的场景。
结合第五方面, 在第六种可能的实现方式中, 处理器还用于: 在所述第 二射频模块与第二设备进行通信的过程中, 指示所述第一射频模块在除扫描 周期之外的时间内, 与第二设备进行通信。
结合第五方面、 第五方面的第一种可能的实现方式、 或第五方面的第二 种可能的实现方式, 在第七种可能的实现方式中, 所述第一信息包括所述第 一设备所支持的频段的标识信息、 以及下列信息中的至少一种:
所述第一设备所支持的频段的接收信号强度指示 RSSI、 该频段的干扰强 度、 表示该频段是否可用的指示信息。
结合第五方面的第一种可能的实现方式、 或第五方面的二种可能的实现 方式, 在第八种可能的实现方式中, 所述第二信息包括所述第二设备所支持 的频段的标识信息、 以及下列信息中的至少一种:
所述第二设备所支持的频段的 RSSI、 该频段的干扰强度、 表示该频段是 否可用的指示信息。
结合第五方面的第三种可能的实现方式, 在第九种可能的实现方式中, 所述第三信息包括每个所述第二射频模块与所述第二设备进行通信所使用的 频段的标识信息, 以及下列信息中的至少一种: 每个所述第二射频模块与所 述第二设备进行通信所使用的频段的 RSSI、 该频段的块误码率 BLER、 使用 该频段进行通信时的重传次数、 该频段的干扰强度;
所述第四信息包括所述第二设备与所述第二射频模块进行通信所使用的 频段的标识信息、 以及下列信息中的至少一种: 所述第二设备与所述第二射 频模块进行通信所使用的频段的 RSSI、 该频段的 BLER、 使用该频段进行通 信时的重传次数、 该频段的干扰强度。
结合第六方面, 另一种第二设备, 其包括第一射频模块、 至少一个第二 射频模块、 以及分别与第一射频模块和第二射频模块连接的处理器, 其中: 所述第一射频模块, 用于在设定的扫描周期内, 获取与该第二设备所支 持的频段相关的第二信息;
所述第二射频模块, 用于与第一设备进行通信;
所述处理器, 用于在第二设备的任一第二射频模块当前所使用的频段与 第一设备当前所使用的频段不同时, 指示所述任一第二射频模块或指示第一 射频模块使用第一设备当前所使用的频段与第一设备进行通信。
结合第六方面, 在第一种可能的实现方式中, 处理器还用于: 将第一射 频模块获取到的第二信息发送给第一设备。
结合第六方面, 在第二种可能的实现方式中, 处理器还用于: 获取与第 二设备包含的第二射频模块和第一设备传输数据所使用的频段的传输质量相 关的第四信息, 并将第四信息上报给第一设备。
结合第六方面、 第六方面的第一种可能的实现方式、 或第六方面的第二 种可能的实现方式, 在第三种可能的实现方式中, 处理器还用于:
检测所述第二射频模块与所述第一设备传输数据所使用的频段, 确定每 个所述第二射频模块当前所使用的频段与第一设备当前所使用的频段是否相 同;
或者,
在接收到所述第一设备发送的携带所述第一设备更换后的频段的通知 后, 确定所述第二设备所包含的第二射频模块当前所使用的频段与所述第一 设备当前所使用的频段不同。
结合第六方面, 在第四种可能的实现方式中, 在第二设备的任一第二射 频模块当前所使用的频段与第一设备当前所使用的频段不同时, 处理器具体 用于: 指示所述第一射频模块使用第一设备当前所使用的频段, 传输所述任 一第二射频模块与第一设备之间的数据; 并指示所述任一第二射频模块在设 定的扫描周期内, 获取所述第二信息。
结合第六方面, 在第五种可能的实现方式中, 若第二设备至少包含两个 第二射频模块, 在第二设备的任一第二射频模块当前所使用的频段与第一设 备当前所使用的频段不同时, 处理器具体用于:
指示第二设备包含的除所述任一第二射频模块之外的其他第二射频模 块, 传输需要更换频段的第二射频模块与第一设备之间的数据, 并指示所述 任一第二射频模块将当前使用的频段更换到第一设备当前所使用的频段上与 第一设备传输数据; 以及, 指示所述其他第二射频模块, 停止传输所述任一 第二射频模块与所述第一设备之间的数据。
结合第六方面、 第六方面的第一种可能的实现方式、 或第六方面的第二 种可能的实现方式, 在第六种可能的实现方式中, 所述第二信息包括以下信 息中的至少一种: 所述第二设备所支持的频段的标识信息、 该频段的 RSSI、 该频段的干扰强度、 表示该频段是否可用的指示信息。
结合第六方面的第二种可能的实现方式, 在第七种可能的实现方式中, 所述第四信息包括以下信息中的至少一种: 所述第二设备包含的各第二射频 模块与所述第一设备传输数据所使用的频段的标识信息、 该频段的 RSSI、 该 频段的 BLER、 使用该频段传输数据时的重传次数。
结合第六方面, 在第八种可能的实现方式中, 处理器还用于:
在所述第二射频模块与第一设备进行通信的过程中, 指示所述第一射频 模块在除所述扫描周期之外的时间内, 与第一设备传输数据。
本发明实施例提供的方法和设备带来的有益效果如下:
第一设备通过自身包含的第一射频模块在设定的扫描周期内, 获取与该 第一设备所支持的频段相关的第一信息; 通过自身包含的至少一个第二射频 模块与第二设备进行通信, 从而在扫描过程中也无需中断与第二设备之间的 通信, 能够保证与第二设备之间的通信的连续性; 第一设备在确定出第二射 频模块与第二设备进行通信所使用的频段需要更换时, 从第一设备所支持的 频段中, 选择一个可用的频段, 并指示需要更换频段的第二射频模块或指示 第一射频模块使用所选择的频段与第二设备进行通信, 从而在频段更换过程 中也能够保证与第二设备之间的通信的连续性, 提高了用户体验;
第二设备通过自身包含的第一射频模块在设定的扫描周期内, 获取与该 第二设备所支持的频段相关的第一信息; 通过自身包含的至少一个第二射频 模块与第一设备进行通信, 从而在扫描过程中也无需中断与第一设备之间的 通信, 能够保证与第一设备之间的通信的连续性, 提高了用户体验; 在第二 设备的任一第二射频模块当前所使用的频段与第一设备当前所使用的频段不 同时, 指示该任一第二射频模块或指示第一射频模块使用第一设备当前所使 用的频段与第一设备进行通信, 从而在频段更换过程中也能够保证与第二设 备之间的通信的连续性, 提高了用户体验。 附图说明
图 1为背景技术中 WiFi系统组网的架构示意图;
图 2为本发明实施例提供的第一设备的示意图;
图 3为本发明实施例提供的第二设备的示意图;
图 4为本发明实施例提供的另一种第一设备的示意图;
图 5为本发明实施例提供的另一种第二设备的示意图;
图 6为本发明实施例提供的一种数据传输方法的流程示意图;
图 7为本发明实施例提供的另一种数据传输方法的流程示意图。 具体实施方式
本发明提供的方法和设备可以应用于 WLAN技术中的的无线网桥, 尤其 适用于 WiFi技术中的无线网桥, 本发明实施例提供的技术方案能够在扫描和 频段更换的过程中, 保证数据传输的连续性。
下面结合说明书附图对本发明实施例作进一步详细描述。 应当理解, 此 处所描述的实施例仅用于说明和解释本发明, 并不用于限定本发明。
本发明实施例提供了一种第一设备, 参见图 2所示, 该第一设备包括: 第一射频模块 21 , 至少一个第二射频模块 22, 以及分别与第一射频模块 21 和第二射频模块 22连接的处理模块 23 , 其中:
第一射频模块 21 , 用于在设定的扫描周期内, 获取与该第一设备所支持 的频段相关的第一信息;
第二射频模块 22, 用于与第二设备进行通信;
处理模块 23 ,用于在确定出第二射频模块 22与第二设备进行通信所使用 的频段需要更换时, 根据第一射频模块 21获取到的第一信息, 从第一设备所 支持的频段中, 选择一个可用的频段, 并指示需要更换频段的第二射频模块 22或指示第一射频模块 21使用所选择的频段与第二设备进行通信。
本发明实施例提供的第一设备, 通过自身包含的第一射频模块在设定的 扫描周期内, 获取与该第一设备所支持的频段相关的第一信息; 通过自身包 含的至少一个第二射频模块与第二设备进行通信, 从而在扫描过程中也无需 中断与第二设备之间的通信, 能够保证与第二设备之间的通信的连续性; 在 确定出第二射频模块与第二设备进行通信所使用的频段需要更换时, 从第一 设备所支持的频段中, 选择一个可用的频段, 并指示需要更换频段的第二射 频模块或指示第一射频模块使用所选择的频段与第二设备进行通信, 从而在 频段更换过程中也能够保证与第二设备之间的通信的连续性, 提高了用户体 验。
本发明实施例中,可选的, 第一设备为回传 AP,且第二设备为回传 STA。 当然, 第一设备和第二设备不限于上述优选设备, 如第一设备也可以是路由 器, 第二设备也可以是终端, 等等。
本发明实施例中, 与第一设备进行通信的第二设备的数量可以是一个也 可以是多个, 本发明不对与第一设备进行通信的第二设备的数量进行限定。 本发明实施例所提供的第一设备可以包含一个第二射频模块, 也可以包含多 个第二射频模块, 本发明也不对第一设备所包含的第二射频模块的数量进行 限定。
本发明实施例中, 处理模块 23确定出的需要更换频段的第二射频模块的 数量为一个或一个以上, 对于每个需要更换频段的第二射频模块, 处理模块 23 均执行: 根据所述第一信息, 从所述第一设备所支持的频段中, 选择一个 可用的频段, 并指示该需要更换频段的第二射频模块或指示所述第一射频模 块使用所选择的频段与所述第二设备进行通信。
本发明实施例中, 第一信息包括该第一设备所支持的频段的标识信息、 以及下列信息中的至少一种:
该第一设备所支持的频段的接收信号强度指示 RSSI、该频段的干扰强度、 表示该频段是否可用的指示信息。
可选的, 第一射频模块 21具体用于: 在设定的扫描周期内, 扫描该第一 设备所支持的且处于空闲状态的频段, 并获取相应的第一信息。
在实施中, 处理模块 23还用于: 接收第二设备上报的与该第二设备所支 持的频段相关的第二信息; 以及, 根据第一射频模块 21获取到的第一信息和 自身接收到的第二设备上报的第二信息, 从第一信息和第二信息共同包含的 频段中, 选择一个可用的频段。
具体的, 处理模块 23在选择可用的频段时, 将第一信息中满足设定的选 择准则的频段以及第二信息中满足该选择准则的频段的交集作为备选频段, 从该备选频段中选择一个可用的频段。
其中, 设定的选择准则可以为满足 RSSI小于设定的阔值, 满足干扰强度 小于设定的阔值, 等等。
上述过程中, 从该备选频段中选择一个可用的频段的实现方式有多种, 本发明不对其进行限定。 如从备选频段中, 选择 RSSI值最小的频段作为可用 的频段; 又如, 从备选频段中, 随机选择一个频段作为可用的频段。
本发明实施中, 第二信息包括但不限于以下信息中的至少一种: 第二设备所支持的频段的标识信息、 该频段的接收信号强度指示 RSSI、 该频段的干扰强度、 表示该频段是否可用的指示信息。
可选的, 第二设备上报的第二信息是与该第二设备所支持的且处于空闲 状态的频段相关的信息。
在实施中, 处理模块 23还用于: 将所选择的频段通知给第二设备, 以指 示第二设备使用处理模块 23所选择的频段与需要更换频段的第二射频模块进 行通信。 具体的, 第二设备在接收到处理模块 23的指示后, 将自身与第一设备中 需要更换频段的第二射频模块进行通信所使用的频段更换为第一设备所选择 的频段。
基于上述任一实施例, 该第一设备还包括:
釆集模块 24, 用于获取与该第一设备包含的第二射频模块和第二设备进 行通信所使用的频段的传输质量相关的第三信息;
该处理模块 23还用于: 接收第二设备上报的与第二设备和该第一设备的 第二射频模块进行通信所使用的频段的传输质量相关的第四信息; 以及, 根 据釆集模块 24获取到的第三信息和第二设备上报的第四信息, 将第一设备中 与第二设备进行通信所使用的频段的传输质量低于设定的质量阔值的第二射 频模块, 确定为需要更换频段的第二射频模块。
具体的, 处理模块 23根据釆集模块 24获取到的第三信息和第二设备上 报的第四信息, 将第三信息和第四信息中的频段信息进行汇总, 如按照各频 段的 BLER值进行排序, 将第三信息和第四信息中 BLER值大于设定的阔值 的频段作为需要更换的频段集合。
需要说明的是, 处理模块 23在确定了需要更换的频段集合后, 可以选择 其中 BLER值最大的频段作为本次需要更换的频段, 也可以将该集合中的所 有频段都作为本次需要更换的频段。
本发明实施例中, 可选的, 可以设定一个釆集周期, 以使釆集模块 24在 每个设定的釆集周期内, 获取与该第一设备包含的第二射频模块和第二设备 进行通信所使用的频段的传输质量相关的第三信息。
本发明实施例中, 第三信息包括第一设备的每个第二射频模块与第二设 备进行通信所使用的频段的标识信息、 以及下列信息中的至少一种:
第一设备的每个第二射频模块与第二设备进行通信所使用的频段的 RSSL 该频段的块误码率(Block Error Rate, BLER ), 使用该频段进行通信 时的重传次数、 该频段的干扰强度。
本发明实施例中, 第四信息包括第二设备与第一设备的各第二射频模块 进行通信所使用的频段的标识信息、 以及下列信息中的至少一种: 第二设备与第一设备的各第二射频模块进行通信所使用的频段的 RSSI、 该频段的 BLER、 使用该频段进行通信时的重传次数、 该频段的干扰强度。
在实施中, 作为一种可选的实现方式, 处理模块 23具体用于: 指示第一 射频模块 21使用该处理模块 23所选择的频段与第二设备, 传输需要更换频 段的第二射频模块与第二设备之间的数据; 以及, 指示需要更换频段的第二 射频模块在设定的扫描周期内, 获取与第一设备所支持的频段相关的第一信 息。
该方式适用于第一设备包含一个或一个以上的第二射频模块的场景。 该 方式下, 处理模块 23指示第一射频模块 21使用该处理模块 23所选择的频段 与第二设备传输需要更换频段的第二射频模块与第二设备之间的数据, 此时, 第一射频模块 21具有第二射频模块 22的功能, 即能够与第二设备进行通信; 并指示需要更换频段的第二射频模块在设定的扫描周期内, 获取与第一设备 所支持的频段相关的第一信息, 此时, 需要更换频段的第二射频模块具有第 一射频模块 21的功能, 即对第一设备所支持的频段进行扫描的功能。 从而保 证了第一设备与第二设备之间通信的连续性。
在实施中, 作为另一种可选的实现方式, 若第一设备至少包含两个第二 射频模块 22 , 处理模块 23具体用于: 指示该第一设备包含的除需要更换频段 的第二射频模块之外的任一第二射频模块, 传输需要更换频段的第二射频模 块与第二设备之间的数据, 并指示需要更换频段的第二射频模块将当前使用 的频段更换到所选择的频段上与第二设备进行通信; 以及, 指示该任一第二 射频模块, 停止传输需要更换频段的第二射频模块与所述第二设备之间的数 据。
该方式适用于第一设备包含至少两个第二射频模块的场景。 该方式下, 处理模块 23先指示第一设备包含的除需要更换频段的第二射频模块之外的任 一第二射频模块, 传输需要更换频段的第二射频模块与第二设备之间的数据, 并指示需要更换频段的第二射频模块将当前使用的频段更换到所选择的频段 上与第二设备进行通信; 在需要更换频段的第二射频模块更换完频段后, 再 指示该任一第二射频模块停止传输需要更换频段的第二射频模块与第二设备 之间的数据。 从而保证了第一设备与第二设备之间通信的连续性。
基于上述任一实施例, 处理模块 23还用于: 在第二射频模块 22与第二 设备进行通信的过程中, 指示第一射频模块 21在除扫描周期之外的时间内, 与第二设备进行通信, 即第一射频模块 21在扫描周期内, 对该第一设备所支 持的所有频段进行扫描, 并获取到第一信息, 该第一射频模块 21在扫描周期 之外的时间内作为第二射频模块与第二设备进行通信。
基于相同的发明构思, 本发明实施例还提供了一种第二设备, 参见图 3 所示, 该第二设备包括第一射频模块 31、 至少一个第二射频模块 32、 以及分 别与第一射频模块 31和第二射频模块 32连接的处理模块 33 , 其中:
第一射频模块 31 , 用于在设定的扫描周期内, 获取与该第二设备所支持 的频段相关的第二信息;
第二射频模块 32, 用于与第一设备进行通信;
处理模块 33 , 用于在第二设备的任一第二射频模块当前所使用的频段与 第一设备当前所使用的频段不同时, 指示该任一的第二射频模块或指示第一 射频模块 31使用第一设备当前所使用的频段与第一设备进行通信。
本发明实施例提供的第二设备, 通过自身包含的第一射频模块在设定的 扫描周期内, 获取与该第二设备所支持的频段相关的第一信息; 通过自身包 含的至少一个第二射频模块与第一设备进行通信, 从而在扫描过程中也无需 中断与第一设备之间的通信, 能够保证与第一设备之间的通信的连续性, 提 高了用户体验; 在第二设备的任一第二射频模块当前所使用的频段与第一设 备当前所使用的频段不同时, 指示该任一第二射频模块或指示第一射频模块 使用第一设备当前所使用的频段与第一设备进行通信, 从而在频段更换过程 中也能够保证与第二设备之间的通信的连续性, 提高了用户体验。
本发明实施例中,可选的, 第一设备为回传 AP,且第二设备为回传 STA。 当然, 第一设备和第二设备不限于上述优选设备, 如第一设备也可以是路由 器, 第二设备也可以是终端, 等等。
本发明实施例中, 第二信息包括第二设备所支持的频段的标识信息、 以 及下列信息中的至少一种:
第二设备所支持的频段的 RSSI、 该频段的干扰强度、 表示该频段是否可 用的指示信息。
可选的, 第一射频模块 31具体用于: 在设定的扫描周期内, 扫描第二设 备所支持的且处于空闲状态的频段, 并获取相应的第二信息。
在实施中, 处理模块 33还用于: 将第一射频模块 31获取到的第二信息 发送给第一设备。
在实施中, 第二设备还包括:
釆集模块 34 ,用于获取与该第二设备包含的第二射频模块 32和第一设备 传输数据所使用的频段的传输质量相关的第四信息, 并将第四信息上报给第 一设备。
本发明实施例中, 可选的, 可以设定一个釆集周期, 以使釆集模块 34在 每个设定的釆集周期内, 获取与该第二设备包含的第二射频模块 32和第一设 备传输数据所使用的频段的传输质量相关的第四信息, 并将第四信息上报给 第一设备。
本发明实施例中, 第四信息包括第二设备包含的各第二射频模块与第一 设备传输数据所使用的频段的标识信息、 以及下列信息中的至少一种:
第二设备包含的各第二射频模块与第一设备传输数据所使用的频段的 RSSL 该频段的 BLER、 使用该频段传输数据时的重传次数、 该频段的干扰 强度。
基于上述任一实施例, 处理模块 33还用于:
检测第二射频模块 32与第一设备传输数据所使用的频段, 确定每个第二 射频模块 32当前所使用的频段与第一设备当前所使用的频段是否相同; 或者,
在接收到第一设备发送的携带该第一设备更换后的频段的通知后, 确定 该第二设备所包含的第二射频模块当前所使用的频段与第一设备当前所使用 的频段不同。
具体的, 处理模块 33 实时检测第二射频模块 32与第一设备传输数据所 使用的频段, 确定每个第二射频模块 32当前所使用的频段与第一设备当前所 使用的频段是否相同。
基于上述任一实施例, 在实施中, 作为一种可选的实现方式, 在第二设 备的任一第二射频模块当前所使用的频段与第一设备当前所使用的频段不同 时, 处理模块 33具体用于:
指示第一射频模块 31使用第一设备当前所使用的频段, 传输该任一第二 射频模块与第一设备之间的数据; 并指示该任一第二射频模块在设定的扫描 周期内, 获取第二信息。
该方式适用于第二设备包含一个或一个以上的第二射频模块的场景。 该 方式下, 处理模块 33指示第一射频模块 31使用第一设备当前所使用的频段 传输该任一第二射频模块与第一设备之间的数据, 此时, 第一射频模块 31具 有第二射频模块 32的功能, 即能够与第一设备进行通信; 并指示该任一第二 射频模块在设定的扫描周期内, 获取与第二设备所支持的频段相关的第二信 息, 此时, 该任一第二射频模块具有第一射频模块 31的功能, 即对第二设备 所支持的频段进行扫描的功能。 从而保证了第一设备与第二设备之间通信的 连续性。
在实施中, 作为另一种可选的实现方式, 若第二设备至少包含两个第二 射频模块 32 , 在第二设备的任一第二射频模块当前所使用的频段与第一设备 当前所使用的频段不同时, 处理模块 33具体用于:
指示第二设备包含的除该任一第二射频模块之外的其他第二射频模块, 传输需要更换频段的第二射频模块与第一设备之间的数据, 并指示该任一第 二射频模块将当前使用的频段更换到第一设备当前所使用的频段上与第一设 备传输数据; 以及, 指示该其他第二射频模块, 停止传输该任一第二射频模 块与所述第一设备之间的数据。 该方式适用于第二设备包含至少两个第二射频模块的场景。 该方式下, 处理模块 33先指示第二设备包含的除该任一第二射频模块之外的其他第二射 频模块, 传输该任一第二射频模块与第一设备之间的数据, 并指示该任一第 二射频模块将当前使用的频段更换到第一设备当前所使用的频段上与第一设 备进行通信; 在该任一第二射频模块更换完频段后, 再指示该其他第二射频 模块停止传输该任一第二射频模块与第一设备之间的数据。 从而保证了第一 设备与第二设备之间通信的连续性。
基于上述任一实施例, 处理模块 33还用于:
在第二射频模块 32与第一设备进行通信的过程中,指示第一射频模块 31 在除所述扫描周期之外的时间内, 与第一设备传输数据。
下面结合可选的硬件结构, 对本发明实施例提供的第一设备的结构、 处 理方式进行说明。
参见图 4所示, 该第一设备包括第一射频模块 41 , 至少一个第二射频模 块 42, 以及分别与第一射频模块 41和第二射频模块 42连接的处理器 43 , 其 中:
第一射频模块 41 , 用于在设定的扫描周期内, 获取与该第一设备所支持 的频段相关的第一信息;
第二射频模块 42, 用于与第二设备进行通信;
处理器 43,用于在确定出第二射频模块 42与第二设备进行通信所使用的 频段需要更换时, 根据第一射频模块 41获取到的第一信息, 从第一设备所支 持的频段中, 选择一个可用的频段, 并指示需要更换频段的第二射频模块 42 或指示第一射频模块 41使用所选择的频段与第二设备进行通信。
本发明实施例提供的第一设备, 通过自身包含的第一射频模块在设定的 扫描周期内, 获取与该第一设备所支持的频段相关的第一信息; 通过自身包 含的至少一个第二射频模块与第二设备进行通信, 从而在扫描过程中也无需 中断与第二设备之间的通信, 能够保证与第二设备之间的通信的连续性; 在 确定出第二射频模块与第二设备进行通信所使用的频段需要更换时, 从第一 设备所支持的频段中, 选择一个可用的频段, 并指示需要更换频段的第二射 频模块或指示第一射频模块使用所选择的频段与第二设备进行通信, 从而在 频段更换过程中也能够保证与第二设备之间的通信的连续性, 提高了用户体 验。
本发明实施例中,可选的, 第一设备为回传 AP,且第二设备为回传 STA。 当然, 第一设备和第二设备不限于上述优选设备, 如第一设备也可以是路由 器, 第二设备也可以是终端, 等等。
本发明实施例中, 第一信息包括该第一设备所支持的频段的标识信息、 以及下列信息中的至少一种: 该第一设备所支持的频段的 RSSI、 该频段的干 扰强度、 表示该频段是否可用的指示信息。
可选的, 第一射频模块 41具体用于: 在设定的扫描周期内, 扫描该第一 设备所支持的且处于空闲状态的频段, 并获取相应的第一信息。
在实施中, 处理器 43还用于: 接收第二设备上报的与该第二设备所支持 的频段相关的第二信息; 以及, 根据第一射频模块 41获取到的第一信息和自 身接收到的第二设备上报的第二信息, 从第一信息和第二信息共同包含的频 段中, 选择一个可用的频段。
本发明实施中, 第二信息包括第二设备所支持的频段的标识信息、 以及 下列信息中的至少一种: 第二设备所支持的频段的 RSSI、该频段的干扰强度、 表示该频段是否可用的指示信息。
可选的, 第二设备上报的第二信息是与该第二设备所支持的且处于空闲 状态的频段相关的信息。
在实施中, 处理器 43还用于: 将所选择的频段通知给第二设备, 以指示 第二设备使用处理器 43所选择的频段与需要更换频段的第二射频模块进行通 信。
基于上述任一实施例, 处理器 43还用于: 获取与第一设备包含的第二射 频模块 42和第二设备进行通信所使用的频段的传输质量相关的第三信息; 该处理器 43还用于: 接收第二设备上报的与第二设备和该第一设备的第 二射频模块进行通信所使用的频段的传输质量相关的第四信息; 以及, 根据 获取到的第三信息和第二设备上报的第四信息, 将第一设备中与第二设备进 行通信所使用的频段的传输质量低于设定的质量阔值的第二射频模块, 确定 为需要更换频段的第二射频模块。
可选的, 可以设定一个釆集周期, 以使处理器 43在每个设定的釆集周期 内, 获取与该第一设备包含的第二射频模块和第二设备进行通信所使用的频 段的传输质量相关的第三信息。
本发明实施例中, 第三信息包括第一设备的每个第二射频模块与第二设 备进行通信所使用的频段的标识信息、 以及下列信息中的至少一种:
第一设备的每个第二射频模块与第二设备进行通信所使用的频段的 RSSL 该频段的 BLER、 使用该频段进行通信时的重传次数、 该频段的干扰 强度。
本发明实施例中, 第四信息包括但第二设备与第一设备的各第二射频模 块进行通信所使用的频段的标识信息、 以及下列信息中的至少一种:
第二设备与第一设备的各第二射频模块进行通信所使用的频段的 RSSI、 该频段的 BLER、 使用该频段进行通信时的重传次数、 该频段的干扰强度。
在实施中, 作为一种可选的实现方式, 处理器 43具体用于: 指示第一射 频模块 41使用该处理器 43所选择的频段与第二设备, 传输需要更换频段的 第二射频模块与第二设备之间的数据; 以及, 指示需要更换频段的第二射频 模块在设定的扫描周期内, 获取与第一设备所支持的频段相关的第一信息, 从而保证了第一设备与第二设备之间通信的连续性。 该方式适用于第一设备 包含一个或一个以上的第二射频模块的场景。
在实施中, 作为另一种可选的实现方式, 若第一设备至少包含两个第二 射频模块 42, 处理器 43具体用于: 指示该第一设备包含的除需要更换频段的 第二射频模块之外的任一第二射频模块, 传输需要更换频段的第二射频模块 与第二设备之间的数据, 并指示需要更换频段的第二射频模块将当前使用的 频段更换到所选择的频段上与第二设备进行通信; 以及, 指示该任一第二射 频模块, 停止传输需要更换频段的第二射频模块与所述第二设备之间的数据, 从而保证了第一设备与第二设备之间通信的连续性。 该方式适用于第一设备 包含两个及两个以上的第二射频模块的场景。
基于上述任一实施例, 处理器 43还用于: 在第二射频模块 42与第二设 备进行通信的过程中, 指示第一射频模块 41在除扫描周期之外的时间内, 与 第二设备进行通信, 即第一射频模块 41在扫描周期内, 对该第一设备所支持 的所有频段进行扫描, 并获取到第一信息, 该第一射频模块 41在扫描周期之 外的时间内与第二设备进行通信。
下面结合可选的硬件结构, 对本发明实施例提供的第二设备的结构、 处 理方式进行说明。
参见图 5所示, 该第二设备包括第一射频模块 51、 至少一个第二射频模 块 52、 以及分别与第一射频模块 51和第二射频模块 52连接的处理器 53 , 其 中:
第一射频模块 51 , 用于在设定的扫描周期内, 获取与该第二设备所支持 的频段相关的第二信息;
第二射频模块 52, 用于与第一设备进行通信;
处理器 53 , 用于在第二设备的任一第二射频模块当前所使用的频段与第 一设备当前所使用的频段不同时, 指示该任一第二射频模块或指示第一射频 模块 51使用第一设备当前所使用的频段与第一设备进行通信。
本发明实施例提供的第二设备, 通过自身包含的第一射频模块在设定的 扫描周期内, 获取与该第二设备所支持的频段相关的第一信息; 通过自身包 含的至少一个第二射频模块与第一设备进行通信, 从而在扫描过程中也无需 中断与第一设备之间的通信, 能够保证与第一设备之间的通信的连续性; 在 第二设备的任一第二射频模块当前所使用的频段与第一设备当前所使用的频 段不同时, 指示该任一第二射频模块或指示第一射频模块使用第一设备当前 所使用的频段与第一设备进行通信, 从而在频段更换过程中也能够保证与第 二设备之间的通信的连续性, 提高了用户体验。 本发明实施例中,可选的, 第一设备为回传 AP,且第二设备为回传 STA。 当然, 第一设备和第二设备不限于上述优选设备, 如第一设备也可以是路由 器, 第二设备也可以是终端, 等等。
本发明实施例中, 第二信息包括第二设备所支持的频段的标识信息、 以 及下列信息中的至少一种: 第二设备所支持的频段的 RSSI、 该频段的干扰强 度、 表示该频段是否可用的指示信息。
可选的, 第一射频模块 51具体用于: 在设定的扫描周期内, 扫描第二设 备所支持的且处于空闲状态的频段, 并获取相应的第二信息。
在实施中, 处理器 53还用于: 将第一射频模块 51获取到的第二信息发 送给第一设备。
在实施中, 处理器 53还用于: 获取与第二设备包含的第二射频模块 52 和第一设备传输数据所使用的频段的传输质量相关的第四信息, 并将第四信 息上报给第一设备。
可选的, 可以设定一个釆集周期, 以使处理器 53在每个设定的釆集周期 内, 获取与该第二设备包含的第二射频模块 52和第一设备传输数据所使用的 频段的传输质量相关的第四信息, 并将第四信息上报给第一设备。
本发明实施例中, 第四信息包括第二设备包含的各第二射频模块与第一 设备传输数据所使用的频段的标识信息、 以及下列信息中的至少一种: 第二 设备包含的各第二射频模块与第一设备传输数据所使用的频段的 RSSI、 该频 段的 BLER、 使用该频段传输数据时的重传次数、 该频段的干扰强度。
基于上述任一实施例, 处理器 53还用于:
检测第二射频模块 52与第一设备传输数据所使用的频段, 确定每个第二 射频模块 52当前所使用的频段与第一设备当前所使用的频段是否相同;
或者,
在接收到第一设备发送的携带该第一设备更换后的频段的通知后, 确定 该第二设备所包含的第二射频模块当前所使用的频段与第一设备当前所使用 的频段不同。 基于上述任一实施例, 在实施中, 作为一种可选的实现方式, 在第二设 备的任一第二射频模块当前所使用的频段与第一设备当前所使用的频段不同 时, 处理器 53具体用于:
指示第一射频模块 51使用第一设备当前所使用的频段, 传输该任一第二 射频模块与第一设备之间的数据; 并指示该任一第二射频模块在设定的扫描 周期内, 获取第二信息, 从而保证了第一设备与第二设备之间通信的连续性。 该方式适用于第二设备包含一个或一个以上的第二射频模块的场景。
在实施中, 作为另一种可选的实现方式, 若第二设备至少包含两个第二 射频模块 52 , 在第二设备的任一第二射频模块当前所使用的频段与第一设备 当前所使用的频段不同时, 处理器 53具体用于:
指示第二设备包含的除该任一第二射频模块之外的其他第二射频模块, 传输需要更换频段的第二射频模块与第一设备之间的数据, 并指示该任一第 二射频模块将当前使用的频段更换到第一设备当前所使用的频段上与第一设 备传输数据; 以及, 指示该其他第二射频模块, 停止传输该任一第二射频模 块与所述第一设备之间的数据, 从而保证了第一设备与第二设备之间通信的 连续性。 该方式适用于第二设备包含至少两个第二射频模块的场景。
基于上述任一实施例, 处理器 53还用于:
在第二射频模块 52与第一设备进行通信的过程中,指示第一射频模块 51 在除所述扫描周期之外的时间内, 与第一设备传输数据。
基于同一发明构思, 本发明实施例还提供了一种传输数据的方法, 参见 图 6所示, 该方法包括:
步骤 61、 第一设备通过自身包含的第一射频模块在设定的扫描周期内, 获取与自身所支持的频段相关的第一信息, 且, 所述第一设备通过自身包含 的至少一个第二射频模块与第二设备进行通信;
步骤 62、 所述第一设备在确定出所述第二射频模块与所述第二设备进行 通信所使用的频段需要更换时, 根据所述第一信息, 从自身所支持的频段中, 选择一个可用的频段, 并指示需要更换频段的第二射频模块或指示所述第一 射频模块使用所选择的频段与所述第二设备进行通信。
本步骤中, 第一设备确定出的需要更换频段的第二射频模块的数量为一 个或一个以上, 对于每个需要更换频段的第二射频模块, 第一设备均执行: 根据所述第一信息, 从所述第一设备所支持的频段中, 选择一个可用的频段, 并指示该需要更换频段的第二射频模块或指示所述第一射频模块使用所选择 的频段与所述第二设备进行通信。
在实施中, 所述方法还包括:
所述第一设备接收所述第二设备上报的与所述第二设备所支持的频段相 关的第二信息; 以及,
所述第一设备根据所述第一信息, 从自身所支持的频段中, 选择一个可 用的频段, 包括: 所述第一设备根据所述第一信息和所述第二信息, 从所述 第一信息和所述第二信息共同包含的频段中, 选择一个可用的频段。
基于上述任一实施例, 所述方法还包括:
所述第一设备将所选择的频段通知给所述第二设备, 以指示所述第二设 备使用所选择的频段与需要更换频段的第二射频模块进行通信。
基于上述任一实施例, 所述方法还包括:
所述第一设备获取与自身包含的第二射频模块和所述第二设备进行通信 所使用的频段的传输质量相关的第三信息; 以及, 所述第一设备接收所述第 二设备上报的与所述第二设备和所述第二射频模块进行通信所使用的频段的 传输质量相关的第四信息;
所述第一设备确定所述第二射频模块与所述第二设备进行通信所使用的 频段需要更换, 包括: 所述第一设备根据所述第三信息和所述第四信息, 将 所述第一设备中与所述第二设备进行通信所使用的频段的传输质量低于设定 的质量阔值的第二射频模块, 确定为需要更换频段的第二射频模块。
可选的, 可以设定一个釆集周期, 以使第一设备在每个设定的釆集周期 内, 获取与自身包含的第二射频模块和第二设备进行通信所使用的频段的传 输质量相关的第三信息。 在实施中, 步骤 62中, 所述第一设备指示所述第一射频模块使用所选择 的频段与所述第二设备进行通信, 包括:
第一设备指示所述第一射频模块使用所述处理模块所选择的频段与所述 第二设备, 传输需要更换频段的第二射频模块与所述第二设备之间的数据; 所述第一设备指示需要更换频段的第二射频模块在设定的扫描周期内, 获取所述第一信息。
在实施中, 若所述第一设备至少包含两个第二射频模块, 步骤 62中, 所 述第一设备指示需要更换频段的第二射频模块使用所选择的频段与所述第二 设备进行通信, 包括:
所述第一设备指示所述第一设备包含的除需要更换频段的第二射频模块 之外的任一第二射频模块, 传输需要更换频段的第二射频模块与所述第二设 备之间的数据, 并指示需要更换频段的第二射频模块将当前使用的频段更换 到所选择的频段上与所述第二设备进行通信;
所述第一设备指示所述任一第二射频模块, 停止传输需要更换频段的第 二射频模块与所述第二设备之间的数据。
基于上述任一实施例, 所述方法还包括: 在所述第二射频模块与所述第 二设备进行通信的过程中, 所述第一设备指示所述第一射频模块在除所述扫 描周期之外的时间内, 与所述第二设备进行通信。
本发明实施例中, 所述第一信息包括所述第一设备所支持的频段的标识 信息、 以及下列信息中的至少一种:
所述第一设备所支持的频段的 RSSI、 该频段的干扰强度、 表示该频段是 否可用的指示信息。
本发明实施例中, 所述第二信息包括所述第二设备所支持的频段的标识 信息、 以及下列信息中的至少一种:
所述第二设备所支持的频段的 RSSI、 该频段的干扰强度、 表示该频段是 否可用的指示信息。
本发明实施例中, 所述第三信息包括所述第一设备的每个所述第二射频 模块与所述第二设备进行通信所使用的频段的标识信息、 以及下列信息中的 至少一种: 所述第一设备的每个所述第二射频模块与所述第二设备进行通信 所使用的频段的 RSSI、 该频段的块误码率 BLER、 使用该频段进行通信时的 重传次数、 该频段的干扰强度;
所述第四信息包括所述第二设备与所述第一设备的各第二射频模块进行 通信所使用的频段的标识信息、 以及下列信息中的至少一种: 所述第二设备 与所述第二射频模块进行通信所使用的频段的标识信息、 该频段的 RSSI、 该 频段的 BLER、 使用该频段进行通信时的重传次数、 该频段的干扰强度。
基于同一发明构思, 本发明实施例还提供了一种传输数据的方法, 参见 图 7所示, 该方法包括:
步骤 71、 第二设备通过自身包含的第一射频模块在设定的扫描周期内, 获取与自身所支持的频段相关的第一信息, 且, 所述第二设备通过自身包含 的至少一个第二射频模块与第一设备进行通信;
步骤 72、 所述第二设备在自身包含的任一第二射频模块当前所使用的频 段与第一设备当前所使用的频段不同时, 指示该任一第二射频模块或指示所 述第一射频模块使用所述第一设备当前所使用的频段与所述第一设备进行通 信。
在实施中, 所述方法还包括: 所述第二设备将所述第一射频模块获取到 的所述第二信息发送给所述第一设备。
基于上述任一实施例, 所述方法还包括: 所述第二设备获取与自身包含 的第二射频模块和所述第一设备传输数据所使用的频段的传输质量相关的第 四信息, 并将所述第四信息上报给所述第一设备。
可选的, 可以设定一个釆集周期, 以使第二设备在每个设定的釆集周期 内, 获取与自身包含的第二射频模块和第一设备传输数据所使用的频段的传 输质量相关的第四信息, 并将第四信息上^艮给第一设备。
基于上述任一实施例, 步骤 72中, 所述方法还包括:
所述第二设备检测所述第二射频模块与所述第一设备传输数据所使用的 频段, 确定每个所述第二射频模块当前所使用的频段与第一设备当前所使用 的频段是否相同;
或者,
所述第二设备在接收到所述第一设备发送的携带所述第一设备更换后的 频段的通知后, 确定自身所包含的第二射频模块当前所使用的频段与所述第 一设备当前所使用的频段不同。
在实施中, 步骤 72中, 在第二设备的任一第二射频模块当前所使用的频 段与第一设备当前所使用的频段不同时, 所述第二设备指示所述第一射频模 块使用所述第一设备当前所使用的频段与所述第一设备进行通信, 包括: 所述第二设备指示所述第一射频模块使用第一设备当前所使用的频段, 传输该任一第二射频模块与第一设备之间的数据;
相应的, 该方法还包括: 所述第二设备指示该任一第二射频模块在设定 的扫描周期内, 获取第二信息。
在实施中, 若所述第二设备至少包含两个第二射频模块, 步骤 72中, 在 第二设备的任一第二射频模块当前所使用的频段与第一设备当前所使用的频 段不同时, 所述第二设备指示所述第一射频模块使用所述第一设备当前所使 用的频段与所述第一设备进行通信, 包括:
所述第二设备指示自身包含的除该任一第二射频模块之外的其他第二射 频模块, 传输该任一第二射频模块与所述第一设备之间的数据, 并指示该任 一第二射频模块将当前使用的频段更换到所述第一设备当前所使用的频段上 与所述第一设备传输数据; 以及,
所述第二设备指示该其他第二射频模块, 停止传输该任一第二射频模块 与所述第一设备之间的数据。
基于上述任一实施例, 所述方法还包括: 在所述第二射频模块与所述第 一设备进行通信的过程中, 所述第二设备指示所述第一射频模块在除所述扫 描周期之外的时间内, 与所述第一设备传输数据。
本发明实施例中, 所述第二信息所述第二设备所支持的频段的标识信息、 以及下列信息中的至少一种: 所述第二设备所支持的频段的 RSSI、 该频段的 干扰强度、 表示该频段是否可用的指示信息、 该频段的干扰强度。
本发明实施例中, 所述第四信息包括所述第二设备包含的各第二射频模 块与所述第一设备传输数据所使用的频段的标识信息、 以及下列信息中的至 少一种: 所述第二设备包含的各第二射频模块与所述第一设备传输数据所使 用的频段的 RSSI、 该频段的 BLER、 使用该频段传输数据时的重传次数、 该 频段的干扰强度。
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或 计算机程序产品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可釆用在一个或多个 其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器、 CD-ROM、 光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序产 品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图 和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中的流程 和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得通 过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流 程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设 备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存储器 中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个流程或 多个流程和 /或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的 处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图 一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的步 骤。
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知了 基本创造性概念, 则可对这些实施例作出另外的变更和修改。 所以, 所附权 利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。

Claims

权 利 要 求
1、 一种第一设备, 其特征在于, 该第一设备包括第一射频模块、 至少一 个第二射频模块、 以及分别与所述第一射频模块和所述第二射频模块连接的 处理模块, 其中:
所述第一射频模块, 用于在设定的扫描周期内, 获取与所述第一设备所 支持的频段相关的第一信息;
所述第二射频模块, 用于与第二设备进行通信;
所述处理模块, 用于在确定出所述第二射频模块与所述第二设备进行通 信所使用的频段需要更换时, 根据所述第一信息, 从所述第一设备所支持的 频段中, 选择一个可用的频段, 并指示需要更换频段的第二射频模块或指示 所述第一射频模块使用所选择的频段与所述第二设备进行通信。
2、 如权利要求 1所述的第一设备, 其特征在于, 所述处理模块还用于: 接收所述第二设备上报的与所述第二设备所支持的频段相关的第二信 息; 以及根据所述第一信息和所述第二信息, 从所述第一信息和所述第二信 息共同包含的频段中, 选择一个可用的频段。
3、 如权利要求 1所述的第一设备, 其特征在于, 所述处理模块还用于: 将所选择的频段通知给所述第二设备, 以指示所述第二设备使用所选择 的频段与需要更换频段的第二射频模块进行通信。
4、 如权利要求 1~3任一项所述的第一设备, 其特征在于, 所述第一设备 还包括:
釆集模块, 用于获取与所述第一设备包含的第二射频模块和所述第二设 备进行通信所使用的频段的传输质量相关的第三信息;
所述处理模块还用于: 接收所述第二设备上报的与所述第二设备和所述 第二射频模块进行通信所使用的频段的传输质量相关的第四信息; 以及, 根 据所述第三信息和所述第四信息, 将所述第一设备中与所述第二设备进行通 信所使用的频段的传输质量低于设定的质量阔值的第二射频模块, 确定为需 要更换频段的第二射频模块。
5、如权利要求 1所述的第一设备,其特征在于, 所述处理模块具体用于: 指示所述第一射频模块使用所述处理模块所选择的频段与所述第二设 备, 传输需要更换频段的第二射频模块与所述第二设备之间的数据; 以及, 指示需要更换频段的第二射频模块在设定的扫描周期内, 获取所述第一信息。
6、 如权利要求 1所述的第一设备, 其特征在于, 若所述第一设备至少包 含两个第二射频模块, 所述处理模块具体用于:
指示所述第一设备包含的除需要更换频段的第二射频模块之外的任一第 二射频模块, 传输需要更换频段的第二射频模块与所述第二设备之间的数据, 并指示需要更换频段的第二射频模块将当前使用的频段更换到所选择的频段 上与所述第二设备进行通信; 以及, 指示所述任一第二射频模块, 停止传输 需要更换频段的第二射频模块与所述第二设备之间的数据。
7、 如权利要求 1所述的第一设备, 其特征在于, 所述处理模块还用于: 在所述第二射频模块与所述第二设备进行通信的过程中, 指示所述第一 射频模块在除所述扫描周期之外的时间内, 与所述第二设备进行通信。
8、 如权利要求 1~3任一项所述的第一设备, 其特征在于, 所述第一信息 包括所述第一设备所支持的频段的标识信息、 以及下列信息中的至少一种: 所述第一设备所支持的频段的接收信号强度指示 RSSI、 该频段的干扰强 度、 表示该频段是否可用的指示信息。
9、 如权利要求 2或 3所述的第一设备, 其特征在于, 所述第二信息包括 所述第二设备所支持的频段的标识信息、 以及下列信息中的至少一种:
所述第二设备所支持的频段的 RSSI、 该频段的干扰强度、 表示该频段是 否可用的指示信息。
10、 如权利要求 4所述的第一设备, 其特征在于,
所述第三信息包括每个所述第二射频模块与所述第二设备进行通信所使 用的频段的标识信息, 以及下列信息中的至少一种: 每个所述第二射频模块 与所述第二设备进行通信所使用的频段的 RSSI、 该频段的块误码率 BLER、 使用该频段进行通信时的重传次数、 该频段的干扰强度;
所述第四信息包括所述第二设备与所述第二射频模块进行通信所使用的 频段的标识信息、 以及下列信息中的至少一种: 所述第二设备与所述第二射 频模块进行通信所使用的频段的 RSSI、 该频段的 BLER、 使用该频段进行通 信时的重传次数、 该频段的干扰强度。
11、 一种第二设备, 其特征在于, 该第二设备包括第一射频模块、 至少 一个第二射频模块、 以及分别与所述第一射频模块和所述第二射频模块连接 的处理模块, 其中:
所述第一射频模块, 用于在设定的扫描周期内, 获取与所述第二设备所 支持的频段相关的第二信息;
所述第二射频模块, 用于与第一设备进行通信;
所述处理模块, 用于在所述第二设备的任一第二射频模块当前所使用的 频段与所述第一设备当前所使用的频段不同时, 指示所述任一第二射频模块 或指示所述第一射频模块使用所述第一设备当前所使用的频段与所述第一设 备进行通信。
12、如权利要求 11所述的第二设备, 其特征在于, 所述处理模块还用于: 将所述第一射频模块获取到的所述第二信息发送给所述第一设备。
13、如权利要求 11所述的第二设备, 其特征在于, 所述第二设备还包括: 釆集模块, 用于获取与所述第二设备包含的第二射频模块和所述第一设 备传输数据所使用的频段的传输质量相关的第四信息, 并将所述第四信息上 报给所述第一设备。
14、 如权利要求 11~13任一项所述的第二设备, 其特征在于, 所述处理 模块还用于:
检测所述第二射频模块与所述第一设备传输数据所使用的频段, 确定每 个所述第二射频模块当前所使用的频段与第一设备当前所使用的频段是否相 同;
或者, 在接收到所述第一设备发送的携带所述第一设备更换后的频段的通知 后, 确定所述第二设备所包含的第二射频模块当前所使用的频段与所述第一 设备当前所使用的频段不同。
15、 如权利要求 11所述的第二设备, 其特征在于, 所述处理模块具体用 于:
指示所述第一射频模块使用所述第一设备当前所使用的频段, 传输所述 任一第二射频模块与所述第一设备之间的数据; 并指示所述任一第二射频模 块在设定的扫描周期内, 获取所述第二信息。
16、 如权利要求 11所述的第二设备, 其特征在于, 若所述第二设备至少 包含两个第二射频模块, 所述处理模块具体用于:
指示所述第二设备包含的除所述任一第二射频模块之外的其他第二射频 模块, 传输所述任一第二射频模块与所述第一设备之间的数据, 并指示所述 任一第二射频模块将当前使用的频段更换到所述第一设备当前所使用的频段 上与所述第一设备传输数据; 以及, 指示所述其他第二射频模块, 停止传输 所述任一第二射频模块与所述第一设备之间的数据。
17、 如权利要求 11~13任一项所述的第二设备, 其特征在于, 所述第二 信息包括以下信息中的至少一种:
所述第二设备所支持的频段的标识信息、 该频段的 RSSI、 该频段的干扰 强度、 表示该频段是否可用的指示信息。
18、 如权利要求 13所述的第二设备, 其特征在于, 所述第四信息包括以 下信息中的至少一种:
所述第二设备包含的各第二射频模块与所述第一设备传输数据所使用的 频段的标识信息、 该频段的 RSSI、 该频段的 BLER、 使用该频段传输数据时 的重传次数。
19、如权利要求 11所述的第二设备, 其特征在于, 所述处理模块还用于: 在所述第二射频模块与所述第一设备进行通信的过程中, 指示所述第一 射频模块在除所述扫描周期之外的时间内, 与所述第一设备传输数据。
20、 一种传输数据的方法, 其特征在于, 该方法包括:
第一设备通过自身包含的第一射频模块在设定的扫描周期内, 获取与自 身所支持的频段相关的第一信息, 且, 所述第一设备通过自身包含的至少一 个第二射频模块与第二设备进行通信;
所述第一设备在确定出所述第二射频模块与所述第二设备进行通信所使 用的频段需要更换时, 根据所述第一信息, 从自身所支持的频段中, 选择一 个可用的频段, 并指示需要更换频段的第二射频模块或指示所述第一射频模 块使用所选择的频段与所述第二设备进行通信。
21、 如权利要求 20所述的方法, 其特征在于, 所述第一设备根据所述第 一信息, 从自身所支持的频段中, 选择一个可用的频段, 包括:
所述第一设备接收所述第二设备上报的与所述第二设备所支持的频段相 关的第二信息; 以及,
所述第一设备根据所述第一信息和所述第二信息, 从所述第一信息和所 述第二信息共同包含的频段中, 选择一个可用的频段。
22、 如权利要求 20所述的方法, 其特征在于, 所述方法还包括: 所述第一设备将所选择的频段通知给所述第二设备, 以指示所述第二设 备使用所选择的频段与需要更换频段的第二射频模块进行通信。
23、 如权利要求 20~22任一项所述的方法, 其特征在于, 所述第一设备 确定所述第二射频模块与所述第二设备进行通信所使用的频段需要更换, 包 括:
所述第一设备获取与自身包含的第二射频模块和所述第二设备进行通信 所使用的频段的传输质量相关的第三信息;
所述第一设备接收所述第二设备上报的与所述第二设备和所述第二射频 模块进行通信所使用的频段的传输质量相关的第四信息;
所述第一设备根据所述第三信息和所述第四信息, 将所述第一设备中与 所述第二设备进行通信所使用的频段的传输质量低于设定的质量阔值的第二 射频模块, 确定为需要更换频段的第二射频模块。
24、 如权利要求 20所述的方法, 其特征在于,
所述第一设备指示所述第一射频模块使用所选择的频段与所述第二设备 进行通信, 包括: 所述第一设备指示所述第一射频模块使用自身所选择的频 段与所述第二设备, 传输需要更换频段的第二射频模块与所述第二设备之间 的数据;
所述方法还包括: 所述第一设备指示需要更换频段的第二射频模块在设 定的扫描周期内, 获取所述第一信息。
25、 如权利要求 20所述的方法, 其特征在于, 若所述第一设备至少包含 两个第二射频模块, 所述第一设备指示需要更换频段的第二射频模块使用所 选择的频段与所述第二设备进行通信, 包括:
所述第一设备指示所述第一设备包含的除需要更换频段的第二射频模块 之外的任一第二射频模块, 传输需要更换频段的第二射频模块与所述第二设 备之间的数据, 并指示需要更换频段的第二射频模块将当前使用的频段更换 到所选择的频段上与所述第二设备进行通信;
所述第一设备指示所述任一第二射频模块, 停止传输需要更换频段的第 二射频模块与所述第二设备之间的数据。
26、 如权利要求 20所述的方法, 其特征在于, 所述方法还包括: 在所述第二射频模块与所述第二设备进行通信的过程中, 所述第一设备 指示所述第一射频模块在除所述扫描周期之外的时间内, 与所述第二设备进 行通信。
27、 如权利要求 20~22任一项所述的方法, 其特征在于, 所述第一信息 包括所述第一设备所支持的频段的标识信息、 以及下列信息中的至少一种: 所述第一设备所支持的频段的接收信号强度指示 RSSI、 该频段的干扰强 度、 表示该频段是否可用的指示信息。
28、 如权利要求 21或 22所述的方法, 其特征在于, 所述第二信息包括 所述第二设备所支持的频段的标识信息、 以及下列信息中的至少一种:
所述第二设备所支持的频段的 RSSI、 该频段的干扰强度、 表示该频段是 否可用的指示信息。
29、 如权利要求 23所述的方法, 其特征在于,
所述第三信息包括每个所述第二射频模块与所述第二设备进行通信所使 用的频段的标识信息, 以及下列信息中的至少一种: 每个所述第二射频模块 与所述第二设备进行通信所使用的频段的 RSSI、 该频段的块误码率 BLER、 使用该频段进行通信时的重传次数、 该频段的干扰强度;
所述第四信息包括所述第二设备与所述第二射频模块进行通信所使用的 频段的标识信息、 以及下列信息中的至少一种: 所述第二设备与所述第二射 频模块进行通信所使用的频段的 RSSI、 该频段的 BLER、 使用该频段进行通 信时的重传次数、 该频段的干扰强度。
30、 一种传输数据的方法, 其特征在于, 该方法包括:
第二设备通过自身包含的第一射频模块在设定的扫描周期内, 获取与自 身所支持的频段相关的第一信息, 且, 所述第二设备通过自身包含的至少一 个第二射频模块与第一设备进行通信;
在所述第二设备的任一第二射频模块当前所使用的频段与所述第一设备 当前所使用的频段不同时, 所述第二设备指示所述任一第二射频模块或指示 所述第一射频模块使用所述第一设备当前所使用的频段与所述第一设备进行 通信。
31、 如权利要求 30所述的方法, 其特征在于, 所述方法还包括: 所述第二设备将所述第一射频模块获取到的所述第二信息发送给所述第 一设备。
32、 如权利要求 30所述的方法, 其特征在于, 所述方法还包括: 所述第二设备获取与自身包含的第二射频模块和所述第一设备传输数据 所使用的频段的传输质量相关的第四信息, 并将所述第四信息上报给所述第 一设备。
33、 如权利要求 30~32任一项所述的方法, 其特征在于, 所述方法还包 括: 所述第二设备检测所述第二射频模块与所述第一设备传输数据所使用的 频段, 确定每个所述第二射频模块当前所使用的频段与第一设备当前所使用 的频段是否相同;
或者,
所述第二设备在接收到所述第一设备发送的携带所述第一设备更换后的 频段的通知后, 确定自身所包含的第二射频模块当前所使用的频段与所述第 一设备当前所使用的频段不同。
34、 如权利要求 30所述的方法, 其特征在于,
所述第二设备指示所述第一射频模块使用所述第一设备当前所使用的频 段与所述第一设备进行通信, 包括: 所述第二设备指示所述第一射频模块使 用所述第一设备当前所使用的频段, 传输所述任一第二射频模块与所述第一 设备之间的数据;
所述方法还包括: 所述第二设备指示所述任一第二射频模块在设定的扫 描周期内, 获取所述第二信息。
35、 如权利要求 30所述的方法, 其特征在于, 若所述第二设备至少包含 两个第二射频模块, 所述第二设备指示所述第一射频模块使用所述第一设备 当前所使用的频段与所述第一设备进行通信, 包括:
所述第二设备指示自身包含的除所述任一第二射频模块之外的其他第二 射频模块, 传输需要更换频段的第二射频模块与所述第一设备之间的数据, 并指示所述任一第二射频模块将当前使用的频段更换到所述第一设备当前所 使用的频段上与所述第一设备传输数据; 以及,
所述第二设备指示所述其他第二射频模块, 停止传输需要更换频段的第 二射频模块与所述第一设备之间的数据。
36、 如权利要求 30~32任一项所述的方法, 其特征在于, 所述第二信息 包括以下信息中的至少一种:
所述第二设备所支持的频段的标识信息、 该频段的 RSSI、 该频段的干扰 强度、 表示该频段是否可用的指示信息。
37、 如权利要求 32所述的方法, 其特征在于, 所述第四信息包括以下信 息中的至少一种:
所述第二设备包含的各第二射频模块与所述第一设备传输数据所使用的 频段的标识信息、 该频段的 RSSI、 该频段的 BLER、 使用该频段传输数据时 的重传次数。
38、 如权利要求 30所述的方法, 其特征在于, 所述方法还包括: 在所述第二射频模块与所述第一设备进行通信的过程中, 所述第二设备 指示所述第一射频模块在除所述扫描周期之外的时间内, 与所述第一设备传 输数据。
PCT/CN2014/085402 2014-02-21 2014-08-28 一种数据传输方法和设备 WO2015123981A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410061162.6 2014-02-21
CN201410061162.6A CN104869644B (zh) 2014-02-21 2014-02-21 一种数据传输方法和设备

Publications (1)

Publication Number Publication Date
WO2015123981A1 true WO2015123981A1 (zh) 2015-08-27

Family

ID=53877605

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/085402 WO2015123981A1 (zh) 2014-02-21 2014-08-28 一种数据传输方法和设备

Country Status (2)

Country Link
CN (1) CN104869644B (zh)
WO (1) WO2015123981A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105764158A (zh) * 2016-02-04 2016-07-13 腾讯科技(深圳)有限公司 数据通信方法及装置
CN105916171A (zh) * 2016-03-30 2016-08-31 深圳市金立通信设备有限公司 一种接入控制方法、接入设备及终端设备
CN110166151B (zh) * 2018-02-12 2021-05-11 华为技术有限公司 一种数据传输方法以及相关设备
CN111384980B (zh) * 2018-12-29 2021-10-26 华为技术有限公司 基于非授权频段进行通信的移动终端、芯片及其通信方法
CN116133161B (zh) * 2023-04-14 2023-08-22 荣耀终端有限公司 数据传输方法及电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120230263A1 (en) * 2011-03-08 2012-09-13 Samsung Electronics Co., Ltd. Wireless network channel allocation method for interference avoidance
CN103561449A (zh) * 2013-11-08 2014-02-05 福建星网锐捷网络有限公司 无线接入方法和无线接入点
CN103582053A (zh) * 2012-07-23 2014-02-12 华为终端有限公司 一种信道切换方法、装置和系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515879B (zh) * 2008-02-18 2012-09-05 台扬科技股份有限公司 建立桥接器连线的方法
CN102932959B (zh) * 2012-10-30 2015-09-23 福建星网锐捷网络有限公司 智分双频无线接入装置和方法、网络设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120230263A1 (en) * 2011-03-08 2012-09-13 Samsung Electronics Co., Ltd. Wireless network channel allocation method for interference avoidance
CN103582053A (zh) * 2012-07-23 2014-02-12 华为终端有限公司 一种信道切换方法、装置和系统
CN103561449A (zh) * 2013-11-08 2014-02-05 福建星网锐捷网络有限公司 无线接入方法和无线接入点

Also Published As

Publication number Publication date
CN104869644B (zh) 2019-02-05
CN104869644A (zh) 2015-08-26

Similar Documents

Publication Publication Date Title
US10681698B2 (en) Dedicated backhaul for whole home coverage
JP7030816B2 (ja) ハイブリッドモビリティおよび無線リソース管理機構
US10405250B2 (en) RRM measurement method, measurement system, terminal and base station
US9826567B2 (en) D2D switchover method, system, and device
KR102239729B1 (ko) 이동 통신 네트워크에서 핸드오버를 제어하는 방법과 이러한 방법을 구현하는 장치 및 시스템
JP5189677B2 (ja) マルチキャリアシステムにおいてアップリンクカバレッジを改善するためのシステム及び方法
CN103703858B (zh) 蜂窝无线电通信中移动性信息的交换
WO2012124224A1 (ja) 無線基地局装置、無線基地局装置における無線通信方法、及び無線通信システム
WO2013166932A1 (zh) 参考信号接收功率的上报方法和设备
MX2007002907A (es) Cambio de canal continuo en una red inalambrica de area local.
US9832698B2 (en) Cellular communication system, user terminal, and cellular base station
WO2015123981A1 (zh) 一种数据传输方法和设备
WO2015119538A1 (en) Methods, wireless device, base station and candidate relay station for supporting d2d communication over relay
WO2011138268A1 (en) Apparatus and method for inter-radio access technology carrier aggregation mobility enhancement
WO2017206910A1 (zh) 信息反馈方法、装置及系统
WO2013104333A1 (zh) 获取移动终端移动速度的方法、基站及终端
WO2015100556A1 (zh) 邻区测量方法和设备
EP3195647A1 (en) Adapting the number of cells to measure in a network with on/off cells
WO2014023221A1 (zh) 测量配置的处理方法及装置
WO2015120578A1 (zh) 获取非授权频率信息的方法及设备
WO2014012385A1 (zh) 移动性管理的方法和设备
CN105376864A (zh) 一种数据传输控制方法,及网络设备
WO2011134383A1 (zh) 一种td-scdma小区的gsm邻区配置方法及设备
CN104202760B (zh) 同频信道干扰的消除方法
WO2017154486A1 (ja) 通信装置

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: 14883505

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14883505

Country of ref document: EP

Kind code of ref document: A1