WO2014048227A1 - Scanning method, scanning control method, user equipment, base station, and system - Google Patents

Scanning method, scanning control method, user equipment, base station, and system Download PDF

Info

Publication number
WO2014048227A1
WO2014048227A1 PCT/CN2013/082829 CN2013082829W WO2014048227A1 WO 2014048227 A1 WO2014048227 A1 WO 2014048227A1 CN 2013082829 W CN2013082829 W CN 2013082829W WO 2014048227 A1 WO2014048227 A1 WO 2014048227A1
Authority
WO
WIPO (PCT)
Prior art keywords
wifi
base station
beacon frame
transmission time
synchronization information
Prior art date
Application number
PCT/CN2013/082829
Other languages
French (fr)
Chinese (zh)
Inventor
邢平平
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2014048227A1 publication Critical patent/WO2014048227A1/en

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a scanning method, a method for controlling scanning, a user equipment, a base station, and a system. Background technique
  • LTE Long Term Evolved
  • the eNB evolved Node B, evolved base station
  • UE User Equipment
  • the UE scans nearby WiF i APs (Acces s Point, access points) in an active or passive manner, performs identity authentication and establishes a connection after successful scanning, and then connects through the connection.
  • WiFi AP transmits data.
  • the active scanning means that the UE actively generates and sends a sounding frame, and scans the WiFi AP by receiving a sounding response frame returned by the WiFi AP.
  • Passive scanning means that the WiFi AP periodically broadcasts the beacon Beacon frame, and the UE listens to the broadcast channel, and receives the Beacon frame to complete scanning of the WiF i AP.
  • the scanning mode is passive scanning, the UE will listen to each scanned channel within the maximum period defined by the Channel Time parameter, or scan each channel to be monitored. If the scanning mode is active scanning, it is also necessary to complete the generation of the sounding frame and the subsequent processing of the collected sounding response frames during the scanning process. Therefore, the foregoing solutions all increase the scanning time of the UE and bring about power consumption problems of the UE. Summary of the invention
  • the present invention provides a scanning method, a user equipment, a base station, and a system.
  • a first aspect of the present invention provides a scanning method, including:
  • the WiFi function is activated to scan the WiFi AP according to the transmission time of the beacon frame.
  • acquiring synchronization information of the wireless fidelity WiFi access point AP and the base station includes:
  • obtaining a transmission time of a beacon frame of the WiFi AP according to the synchronization information includes: If the synchronization information is to indicate that the WiFi AP and the base station are synchronized, or indicate a scanning mode, or indicate a deployment mode of the WiFi AP, calculate the system according to the system frame number SFN of the base station and the target beacon frame transmission time TBTT. The transmission time of the beacon frame of the WiFi AP;
  • the synchronization information is a time difference between the WiF i AP and the base station, calculating a beacon frame of the WiFi AP according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT Launch time.
  • the transmitting of the beacon frame of the WiFi AP is calculated according to the system frame number SFN of the base station and the target beacon frame transmission time TBTT Time, including:
  • Tread-beacon (n) TBTT-10* (n+1) mod TBTT - del ta;
  • the Tread_beacon (n) is the transmission time of the beacon frame of the WiFi AP, where n is the SFN of the base station, and del ta is a correction coefficient and is greater than or equal to zero.
  • the information of the WiFi AP is calculated according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT
  • the launch time of the frame including:
  • Tread-beacon (n) TBTT- (10* (n+1) - Tdiff) mod TBTT - de l ta;
  • Tread_beacon (n) is the transmission time of the beacon frame of the WiFi AP, n is the The SFN of the base station, Tdiff is the time difference, and de l ta is a positive coefficient of greater than or equal to zero.
  • the method further includes:
  • the base station indicates that the scanning mode is the active scanning mode or the passive scanning mode, determining that the current scanning mode is the scanning mode indicated by the base station; or
  • the base station indicates the deployment mode of the WiFi AP, when the deployment mode is that the WiFi AP is co-located with the base station, determining that the current scanning mode is the active scanning mode, when the deployment mode is When the base station is a macro base station and multiple WiF i APs are configured under the macro base station, determine that the current scanning mode is a passive scan mode;
  • the WiFi function is activated before the transmission time of the beacon frame, and the WiFi AP is scanned according to the determined current scanning mode.
  • the method further includes:
  • beacon frame If the beacon frame is received, initiate a process of establishing a connection with the WiFi AP; or, if the beacon frame is not received within a specified time, turn off the WiFi function to stop
  • the WiFi AP scans.
  • a second aspect of the present invention provides a method for controlling a scan, where the method includes: transmitting synchronization information of a wireless fidelity WiFi access point AP and a base station to a user equipment UE, where the synchronization information is used by the UE to obtain a WiFi AP.
  • the transmission time of the beacon frame is such that the WiFi function is activated to scan the WiF i AP according to the transmission time of the beacon frame.
  • the sending the synchronization information of the wireless fidelity WiFi access point AP and the base station to the user equipment UE includes:
  • the synchronization information of the WiFi AP and the base station is sent to the UE through a broadcast channel or a dedicated channel.
  • the method further includes:
  • the synchronization information is used to indicate that the WiF i AP is synchronized with the base station, or indicates a scanning mode, or indicates a deployment manner of the WiFi AP, where the UE uses the system frame number SFN and the target of the base station.
  • the beacon frame transmission time TBTT calculates a transmission time of the beacon frame of the WiFi AP; or
  • the synchronization information is a time difference between the WiFi AP and the base station, and is used by the UE. Calculating a transmission time of the beacon frames of the WiFi AP according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT.
  • a third aspect of the present invention provides a user equipment UE, where the UE includes:
  • An acquiring module configured to acquire synchronization information of a wireless fidelity WiFi access point AP and a base station; and a processing module, configured to obtain, according to the synchronization information acquired by the acquiring module, a transmission time of a beacon frame of the WiFi AP;
  • a scanning module configured to activate a WiFi function to scan the WiFi AP according to a transmission time of the beacon frame obtained by the processing module.
  • the acquiring module is configured to: receive synchronization information of the WiFi AP and the base station that are sent by the base station by using a broadcast channel or a dedicated channel.
  • the processing module includes:
  • a first calculating unit configured to: according to the synchronization information indicating that the WiFi AP and the base station are synchronized, or indicating a scanning mode, or indicating a deployment mode of the WiF i AP, according to the system frame number SFN and the target beacon of the base station
  • the frame transmission time TBTT calculates the transmission time of the beacon frame of the WiFi AP
  • a second calculating unit configured to: if the synchronization information is a time difference between the WiFi AP and the base station, calculate a WiFi AP according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT The launch time of the beacon frame.
  • the Tread_beacon (n) is the transmission time of the beacon frame of the WiFi AP, where n is the SFN of the base station, and del ta is a correction coefficient and is greater than or equal to zero.
  • the Tread_beacon (n) is the transmission time of the beacon frame of the WiFi AP, where n is the SFN of the base station, Tdiff is the time difference, and de l ta is a correction coefficient and is greater than or equal to 0.
  • the scanning module is further configured to:
  • the base station Determining that the current scanning mode is the scanning mode indicated by the base station, if the base station indicates that the scanning mode is the active scanning mode or the passive scanning mode before the WiFi function is activated before the transmitting time of the beacon frame is activated. Or, if the base station indicates the deployment mode of the WiFi AP, when the deployment mode is that the WiF i AP is co-located with the base station, determining that the current scanning mode is the active scanning mode, where the deployment mode is When the macro base station configures multiple WiFi APs under the macro base station, determining that the current scanning mode is a passive scanning mode;
  • the WiFi AP is scanned according to the determined current scanning mode.
  • the UE further includes:
  • a establishing module configured to initiate a process of establishing a connection with the WiF i AP if the beacon frame is received after the scanning module activates the WiFi function to scan the WiFi AP before the transmitting time of the beacon frame;
  • the scanning module is further configured to: if the beacon frame is not received within a specified time, shut down the W i F i function to stop scanning the WiFi AP.
  • a fourth aspect of the present invention provides a base station, where the base station includes:
  • a sending module configured to send synchronization information of the wireless fidelity WiFi access point AP and the base station to the user equipment UE, where the synchronization information is used by the UE to obtain a transmission time of the beacon frame of the WiFi AP, according to the beacon frame
  • the launch time activates the WiFi function to scan the WiFi AP.
  • the sending module is used to broadcast The channel or dedicated channel transmits synchronization information of the WiFi AP and the base station to the UE.
  • the base station further includes:
  • An indication module configured to indicate that the WiF i AP and the base station are synchronized, or indicate a scanning mode, or indicate a deployment manner of the WiFi AP, where the UE uses the system frame number SFN and the target of the base station
  • the beacon frame transmission time TBTT calculates a transmission time of the beacon frame of the WiFi AP; or a time difference between the WiFi AP and the base station, where the UE uses the system frame number SFN of the base station, Calculating the WiF i by the time difference and the target beacon frame transmission time TBTT
  • the transmission time of a beacon frame of the AP is a beacon frame of the AP.
  • a fifth aspect of the present invention provides a user equipment UE, where the UE includes:
  • a receiver configured to acquire synchronization information of a wireless fidelity WiFi access point AP and a base station
  • a processor configured to obtain, according to the synchronization information acquired by the receiver, a transmission time of a beacon frame of the WiFi AP, according to the The transmission time of the beacon frame activates the WiFi function to scan the WiFi AP.
  • the receiver is configured to receive synchronization information of the WiFi AP and the base station that are sent by the base station by using a broadcast channel or a dedicated channel.
  • the processor is specifically configured to:
  • the synchronization information is to indicate that the WiFi AP and the base station are synchronized, or indicate a scanning mode, or indicate a deployment mode of the WiFi AP, calculate the WiF i according to the system frame number SFN of the base station and the target beacon frame transmission time TBTT.
  • the transmission time of the beacon frame of the AP, and the WiF i function is activated to scan the WiFi AP before the transmission time of the beacon frame;
  • the synchronization information is a time difference between the WiF i AP and the base station, calculating a beacon frame of the WiF i AP according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT The time is transmitted, and the WiFi function is activated to scan the WiFi AP before the transmission time of the beacon frame.
  • the processor is specifically configured to: if the base station indicates that the scanning mode is an active scanning mode or a passive scanning mode And determining that the current scanning mode is the scanning mode indicated by the base station; or, if the base station indicates the deployment mode of the WiFi AP, when the deployment mode is that the WiFi AP is co-located with the base station, determining that the current scanning mode is In the active scanning mode, when the base station is a macro base station and multiple WiF i APs are configured under the macro base station, determining that the current scanning mode is a passive scanning mode; The information obtains a transmission time of the beacon frame of the WiFi AP; and the WiFi AP is scanned according to the determined current scanning mode.
  • the processor is further configured to:
  • beacon frame is received, a process of establishing a connection with the WiFi AP is initiated; or, if the beacon frame is not received within a specified time, the WiFi function is turned off to stop scanning the WiFi AP.
  • a sixth aspect of the present invention provides a base station, where the base station includes:
  • a transmitter configured to send synchronization information of the wireless fidelity WiFi access point AP and the base station to the user equipment UE, where the synchronization information is used by the UE to obtain a transmission time of a beacon frame of the WiFi AP, according to the beacon frame
  • the launch time activates the WiF i function to scan the WiF i AP.
  • the transmitter is configured to send, by using a broadcast channel or a dedicated channel, synchronization information of the WiF i AP and the base station to the UE.
  • the transmitter is further configured to:
  • the technical solution provided by the embodiment of the present invention has the following beneficial effects:
  • the transmission time of the beacon frame of the WiFi AP is calculated, and the WiFi function is activated according to the transmission time to scan the WiFi AP, the scanning time is reduced, and the power consumption of the UE is reduced.
  • FIG. 1 is a flowchart of a scanning method according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a scanning method according to another embodiment of the present invention.
  • FIG. 3 is a schematic diagram of synchronization between a WiFi AP and a base station according to an embodiment of the present invention
  • FIG. 4 is another schematic diagram of synchronization between a WiFi AP and a base station according to an embodiment of the present invention
  • FIG. UE structure diagram is another schematic diagram of synchronization between a WiFi AP and a base station according to an embodiment of the present invention.
  • FIG. 6 is a structural diagram of a base station according to still another embodiment of the present invention.
  • FIG. 7 is a structural diagram of a UE according to another embodiment of the present invention.
  • FIG. 8 is a structural diagram of a base station according to another embodiment of the present invention.
  • FIG. 9 is a structural diagram of a system according to still another embodiment of the present invention. detailed description
  • the embodiment of the invention relates to a mobile network, and a WiFi AP is deployed in the mobile network.
  • the mobile network includes, but is not limited to, GSM (Global System of Mobile communication), UMTS (Universal Mobile Telecommunications System), LTE, and the like.
  • the WiFi is a WLAN (Wireless Local Access)
  • a standard for Network, WLAN is a communication consisting of a wireless network card and a WiFi AP.
  • An AP commonly referred to as a network bridge or access point, is a bridge between a traditional wired LAN and a wireless LAN. It works like a HUB (hub) or router with a built-in wireless transmitter.
  • the wireless network card is typically located in the user equipment UE responsible for receiving signals transmitted by the AP.
  • the WiFi AP is an access point for mobile users to enter the wired network. It is mainly used in broadband homes, inside buildings, and inside campus. Typical distances range from tens of meters to hundreds of meters.
  • the deployment manner of the WiFi AP in the mobile network includes but is not limited to the following two types: WiFi AP and LTE small base station co-station, or multiple WiFi APs are deployed under the LTE macro base station.
  • the LTE small base station includes the femto cell Femto cel l or the pico cell P ico ce ll.
  • the deployment of multiple WiFi APs in the macro base station refers to deploying multiple WiFi APs under the coverage of the macro base station.
  • the UE in the embodiment of the present invention includes but is not limited to: a notebook computer, a mobile phone terminal, a tablet computer, and the like.
  • the UE may be a multimode terminal including a mobile network module and a WiFi transceiver.
  • the UE resides in the mobile network.
  • the WiFi function needs to be activated, that is, the WiF i transceiver is turned on, and when the scanning is finished, the WiFi transceiver is turned off to stop the WiFi AP scanning.
  • the length of the activation time of the WiFi function in the UE determines the power consumption of the UE.
  • the present invention reduces the power consumption of the UE by shortening the activation time of the WiFi function, and can effectively reduce the scanning time. Referring to FIG. 1 , an embodiment of the present invention provides a scanning method, including:
  • Step 102 Obtain a transmission time of a beacon frame of the WiF i AP according to the synchronization information.
  • the beacon frame refers to a Beacon frame.
  • the beacon frame has a transmission period of TBTT (Target Beacon Transmit ssion Times), and the base station periodically broadcasts in a TBTT period.
  • the beacon frame includes but is not limited to the following information: AP's MAC (Media Acces s Control) address, network name SSID (Service Set Ident if ier), supported rate, supported authentication Mode, encryption algorithm, beacon frame transmission interval, channel used, and so on.
  • the beacon frame may be the next beacon frame of the WiFi AP current beacon frame, or may be the first beacon frame of the WiFi AP received by the UE before the WiFi AP communication.
  • the acquiring synchronization information of the wireless fidelity WiFi access point AP and the base station includes: receiving synchronization information of the WiF i AP and the base station that are sent by the base station by using a broadcast channel or a dedicated channel.
  • the synchronization information may be information used for synchronization between the base station and the WiFi AP, and the synchronization may be one or any of the following: time synchronization, phase synchronization, frequency synchronization, signal synchronization, clock synchronization, and frame synchronization.
  • the WiFi AP may detect a Preamb le signal transmitted by the base station, determine a phase deviation from the base station, determine a frequency deviation from the base station according to the phase deviation, perform time synchronization using the determined phase deviation, and utilize the frequency deviation. Perform frequency synchronization. It can be the processing of the underlying hardware.
  • the time or clock that can be called frequency synchronization and time synchronization can be in the traditional sense of the year, month, day, hour, minute or second, or the signalistic phase relationship.
  • obtaining the transmission time of the beacon frame of the WiFi AP according to the synchronization information including: if the synchronization information is to indicate that the WiFi AP and the base station are synchronized, or indicating a scanning mode, or indicating a deployment manner of the WiFi AP, And calculating, according to the system frame number SFN of the base station and the target beacon frame transmission time TBTT, a transmission time of the beacon frame of the WiFi AP;
  • the synchronization information is a time difference between the WiF i AP and the base station, calculating the system according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT
  • the transmission time of the WiFi AP's beacon frame is the transmission time of the WiFi AP's beacon frame.
  • the above time difference can be understood as one or any of the following: phase deviation, frequency deviation, signal deviation, and clock deviation.
  • the above time can be understood as the concept of time, minute and second; in a narrow sense, time difference can be understood as the concept of signal phase, frequency, signal, frame, or clock.
  • calculating a transmission time of the beacon frame of the WiFi AP according to the system frame number SFN of the base station and the target beacon frame transmission time TBTT including:
  • Tread-beacon (n) TBTT-10* (n+1) mod TBTT - del ta;
  • the Tread_beacon (n) is the transmission time of the beacon frame of the WiFi AP, where n is the SFN of the base station, and del ta is a correction coefficient and is greater than or equal to zero.
  • calculating a transmission time of the beacon frame of the WiF i AP according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT including:
  • Tread-beacon (n) TBTT- (10* (n+1) - Tdiff) mod TBTT - de l ta;
  • Tread_beacon (n) is the transmission time of the beacon frame of the WiFi AP, n is the The SFN of the base station, Tdiff is the time difference, and de l ta is a correction coefficient and is greater than or equal to zero.
  • the base station indicates that the scanning mode is the active scanning mode or the passive scanning mode, determining that the current scanning mode is the scanning mode indicated by the base station.
  • the base station indicates the deployment mode of the WiFi AP
  • the deployment mode is that the WiFi AP is co-located with the base station
  • determining that the current scanning mode is the active scanning mode, where the deployment mode is
  • the macro base station configures multiple WiFi APs under the macro base station, it determines that the current scan mode is the passive scan mode.
  • the WiFi function is activated according to the transmission time of the beacon frame, and the following includes:
  • the WiFi function is activated before the transmission time of the beacon frame, and the WiFi AP is scanned according to the current scanning mode determined above.
  • the UE does not need to simultaneously monitor the transmission time of the beacon frame of the WiFi AP of multiple channels, that is, it does not need to scan the WiF i AP for a long time to obtain the beacon frame of the WiFi AP, and does not need to generate the self-generated
  • the frame is probed to obtain a beacon frame of the WiFi AP.
  • the UE only needs to obtain the synchronization information of the WiFi AP and the base station, and calculates the beacon frame of the WiFi AP according to the synchronization information.
  • Launch time After obtaining the above transmission time, the UE activates the WiF i function according to the above transmission time and scans the WiFi AP, saves power and saves scanning time.
  • the UE may activate the WiFi function and scan the WiF i AP within a short time before the transmission time of the beacon frame, and the short time may be set according to an empirical value setting or a simulation result, which is not limited by the present invention. .
  • the WiFi AP is further scanned, and the method further includes:
  • beacon frame is received, a process of establishing a connection with the WiFi AP is initiated; or, if the beacon frame is not received within a specified time, the WiFi function is turned off to stop scanning the WiFi AP.
  • the executor of the method provided by this embodiment is specifically a UE, and the method can be applied to various wireless communication systems, such as LTE and the like.
  • the above scanning method provided by the embodiment reduces the scanning time and reduces the scanning time by calculating the transmission time of the beacon frame of the WiFi AP according to the synchronization information and activating the WiFi function before the transmission time.
  • the power consumption of the UE For example, when the frame boundary of the WiFi AP and the base station is aligned according to the synchronization information, the transmission time of the beacon frame of the WiFi AP is calculated according to the SFN and the TBTT of the base station; when the frame boundary of the WiFi AP and the base station is not aligned, according to the SFN of the base station The time difference and TBTT calculate the transmission time of the WiFi AP's beacon frame, and a complete solution is given.
  • the current scanning mode may be determined according to the indication of the base station, so that the scanning is performed according to the manner, thereby further improving the scanning efficiency.
  • the connection is established. If the beacon frame is not received within the specified time, the WiFi function is turned off to stop scanning the WiFi AP, thereby further saving the power consumption of the UE.
  • the sending the synchronization information of the wireless fidelity WiFi access point AP and the base station to the user equipment UE includes:
  • the synchronization information of the WiFi AP and the base station is sent to the UE through a broadcast channel or a dedicated channel.
  • the method for controlling scanning further includes: Indicating an active scanning mode or a passive scanning mode and transmitting to the UE; or
  • the AP is co-located with the base station, or the base station is a macro base station and multiple WiF i APs are configured under the macro base station.
  • the method for controlling scanning provides a method for the UE to calculate the transmission time of the beacon frame of the WiFi AP according to the synchronization information, and activate the WiFi function to scan the WiFi AP before the transmission time.
  • the scan time is effectively reduced, and the power consumption of the UE is reduced.
  • another embodiment of the present invention provides a scanning method, including:
  • the base station in the mobile network sends the synchronization information of the wireless fidelity WiFi access point AP and the base station to the user equipment UE.
  • the base station may send the WiFi AP information to the UE through a broadcast channel or a dedicated channel, where the WiFi AP information includes synchronization information of the WiFi AP and the base station.
  • the WiFi AP information includes but is not limited to the following information: SSID (WiFi access point identifier), channel list, scanning mode, whether the WiFi AP and the LTE small base station are co-located, and the like.
  • the UE receives synchronization information of the WiFi AP and the base station that are sent by the base station by using a broadcast channel or a dedicated channel.
  • the base station may send the WiFi AP information through the broadcast channel or the dedicated channel, where the synchronization information of the WiFi AP and the base station is carried, and correspondingly, the UE may obtain the synchronization information of the WiFi AP and the base station from the received WiFi AP information.
  • the base station indicates the active scanning mode or the passive scanning mode and sends the signal to the UE.
  • the deployment mode of the WiFi AP in the base station is indicated to the UE, where the deployment mode is that the WiF i AP is co-located with the base station, or the base station is a macro base.
  • the station configures a plurality of WiFi APs under the macro base station.
  • the active scanning mode refers to that the UE actively generates and sends a probe frame Probe Reques t Frame, and scans the WiFi AP by receiving a probe response ⁇ j3 ⁇ 4 Probe Response Frame returned by the WiF i AP.
  • the probe response frame includes but is not limited to the following information: MAC address of the AP Address, network name SSID, supported rate, supported authentication method, encryption algorithm, beacon frame transmission interval, used channel, etc.
  • the passive scanning mode means that the WiF i AP periodically broadcasts the beacon Beacon frame, and the UE completes the scanning of the WiFi AP by receiving the Beacon frame.
  • the active ping mode and the passive scanning mode are performed. After the scanning succeeds, the Authentive Icat ion and the associated As soc iat process are performed between the UE and the base station, and then the UE transmits data to communicate with the WiF i AP that establishes the association relationship.
  • the scanning mode of the base station is determined to be the scanning mode indicated by the base station; or, if the base station indicates the deployment mode of the WiFi AP, the deployment mode is the WiFi AP.
  • the scanning mode of the base station is an active scanning mode.
  • the scanning mode of the base station is determined to be a passive scanning mode.
  • the scanning mode is preferably configured as an active scanning mode, which can reduce interference.
  • the scanning mode is preferably configured as a passive scanning mode.
  • the interaction process between 201 and 202 and the interaction process with 203 and 204 may be performed in time or in synchronization, and the present invention does not limit the specific sequence.
  • the UE calculates a transmission time of the beacon frame of the WiFi AP according to the synchronization information.
  • This step can specifically include:
  • the beacon frame transmission time TBTT calculates the transmission time of the beacon frame of the WiFi AP
  • the synchronization information is a time difference between the WiFi AP and the base station, determining that the frame boundary of the WiFi AP and the base station are not aligned, and calculating according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT The transmission time of the WiFi AP's beacon frame.
  • the SFN System Frame Number
  • the 1024 frames of the mobile cell and the TBTT of 100 WiFi APs are aligned end to end.
  • the time of transmitting the beacon frame of the WiFi AP is calculated according to the system frame number SFN of the base station and the target beacon frame transmission time TBTT, which may include:
  • Tread-beacon (n) TBTT-10* (n+1) mod TBTT - del ta;
  • the Tread-beacon (n) is the transmission time of the beacon frame of the WiF i AP, the TBTT is the target beacon frame transmission time, n is the SFN of the base station, and del ta is the correction coefficient and is greater than or equal to 0.
  • the transmission of the beacon frame of the WiFi AP is calculated according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT.
  • Time can include:
  • Tread-beacon (n) TBTT- (10* (n+1) - Tdiff) mod TBTT - de l ta;
  • Tread-beacon (n) is the transmission time of the beacon frame of the WiF i AP
  • TBTT is the target Beacon frame transmission time
  • n is the SFN of the base station
  • Tdiff is the time difference
  • del ta is the correction coefficient and is greater than or equal to 0, in units of ms.
  • the value of del ta can be set as needed.
  • the WiFi function is activated at the time of transmitting the beacon frame of the WiFi AP.
  • the value of the del ta can be set to a number greater than 0, such as 10 ms, etc., which is not specifically limited in the present invention.
  • the UE activates the WiFi function to scan the WiFi AP before the transmission time of the beacon frame. Description.
  • the UE If the UE receives the beacon frame, initiate a process of establishing a connection with the WiFi AP; or, if the beacon frame is not received within the specified time, the WiFi function is disabled to stop scanning the WiFi AP, and the process ends. .
  • the synchronization information is sent by the base station, and the UE calculates the transmission time of the beacon frame of the WiFi AP according to the synchronization information, and activates the WiFi function to scan the WiFi AP before the transmission time, thereby effectively reducing the The scan time is reduced and the power consumption of the UE is reduced.
  • the transmission time of the beacon frame of the WiFi AP is calculated according to the SFN and the TBTT of the base station; when the frame boundary of the WiFi AP and the base station is not aligned, according to the SFN and the time difference of the base station And TBTT calculates the transmission time of the WiFi AP's beacon frame, and gives a complete solution.
  • the current scanning mode may be determined according to the indication of the base station, thereby performing scanning according to the manner, thereby further improving the scanning efficiency.
  • a further embodiment of the present invention provides a user equipment UE, including: an obtaining module 501, configured to acquire synchronization information of a wireless fidelity WiFi access point AP and a base station; and a processing module 502, configured to obtain The synchronization information acquired by the ear block 501 obtains the transmission time of the beacon frame of the WiF i AP;
  • the scanning module 503 is configured to perform scanning on the WiFi AP according to the activation time of the beacon frame obtained by the processing module 502.
  • the obtaining module 501 is configured to: receive synchronization information of the WiFi AP and the base station that are sent by the base station by using a broadcast channel or a dedicated channel.
  • the processing module 502 can include:
  • a first calculating unit configured to: if the synchronization information is to indicate that the WiFi AP and the base station are synchronized, or indicate a scanning mode, or indicate a deployment manner of the WiFi AP, according to the system of the base station
  • the frame number SFN and the target beacon frame transmission time TBTT calculate the transmission time of the beacon frame of the WiFi AP;
  • a second calculating unit configured to: if the synchronization information is a time difference between the WiFi AP and the base station, calculate a beacon of the WiFi AP according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT The transmission time of the frame.
  • the first calculating unit is configured to calculate a transmission time of a beacon frame of the WiFi AP according to the following formula:
  • Tread-beacon (n) TBTT-10* (n+1) mod TBTT - del ta;
  • the Tread-beacon (n) is the transmission time of the beacon frame of the WiF i AP, the TBTT is the target beacon frame transmission time, n is the SFN of the base station, and del ta is the correction coefficient and is greater than or equal to 0.
  • the second calculating unit is configured to calculate a transmission time of the beacon frame of the WiFi AP according to the following formula:
  • Tread-beacon (n) TBTT- (10* (n+1) - Tdiff) mod TBTT - de l ta;
  • Tread-beacon (n) is the transmission time of the beacon frame of the WiF i AP
  • TBTT is the target The beacon frame transmission time
  • n is the SFN of the base station
  • Tdiff is the time difference
  • del ta is the correction coefficient and is greater than or equal to zero.
  • the scanning module 503 is specifically configured to:
  • the base station indicates that the scanning mode is the active scanning mode or the passive scanning mode before the transmitting time of the beacon frame is activated, if the scanning mode is the active scanning mode or the passive scanning mode, the current scanning mode is determined to be the scanning mode indicated by the base station; or If the base station indicates the deployment mode of the WiFi AP, when the deployment mode is that the WiFi AP is co-located with the base station, the current scanning mode is determined to be the active scanning mode, and the deployment mode is that the base station is a macro base station and is under the macro base station. When multiple WiFi APs are configured, the current scanning mode is determined to be passive scanning mode.
  • the WiFi AP is scanned according to the determined current scanning mode.
  • the UE may further include: Establishing a module, after the scanning module 503 activates the WiFi function to scan the WiF i AP before the transmitting time of the beacon frame, if the beacon frame is received, initiate a process of establishing a connection with the WiFi AP;
  • the scanning module 503 is further configured to: if the beacon frame is not received within a specified time, the shutdown WiFi function stops scanning the WiFi AP.
  • the embodiment of the scanning method shown in FIG. 1 and the scanning method embodiment shown in FIG. 2 are described in detail in the method embodiment, and are not described here.
  • the UE provided by the foregoing embodiment calculates the transmission time of the beacon frame of the WiFi AP according to the synchronization information, and activates the WiFi function to scan the WiFi AP before the transmission time, thereby effectively reducing the scan time and reducing the UE. Power consumption.
  • the transmission time of the beacon frame of the WiFi AP is calculated according to the SFN and the TBTT of the base station; when the frame boundary of the WiFi AP and the base station is not aligned, according to the SFN of the base station
  • the time difference and TBTT calculate the transmission time of the WiFi AP's beacon frame, and a complete solution is given.
  • the current scanning mode can be determined according to the indication of the base station, thereby performing scanning in this manner, further improving the scanning efficiency.
  • the connection is established, and if the beacon frame is not received within the specified time, the WiF i function is turned off to stop scanning the WiFi AP, thereby further saving the power consumption of the UE.
  • another embodiment of the present invention further provides a base station, including:
  • the sending module 601 is configured to send synchronization information of the wireless fidelity WiF i access point AP and the base station to the user equipment UE, where the synchronization information is used by the UE to obtain a transmission time of the beacon frame of the WiFi AP, according to the beacon frame.
  • the transmitting time activates the WiFi function to scan the WiFi AP.
  • the sending module 601 is configured to send, by using a broadcast channel or a dedicated channel, synchronization information of the WiFi AP and the base station to the UE. Further, the base station may further include:
  • the indication module 602 is configured to indicate the active scanning mode or the passive scanning mode and send the signal to the UE.
  • the deployment mode of the WiFi AP in the base station is indicated to the UE, where the deployment mode is that the WiFi AP is co-located with the base station, or the base station
  • a plurality of WiFi APs are configured for the macro base station and under the macro base station.
  • the indication module 602 can also be used to indicate:
  • the UE calculates a beacon frame of the WiFi AP according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT Launch time.
  • the base station in this embodiment may be a base station in any base station, including but not limited to base stations in GSM, UMTS, LTE, and the like.
  • the foregoing base station provided in this embodiment may perform the operations performed by the base station in the foregoing method embodiment.
  • the foregoing base station provides the base station, by sending synchronization information to the UE, so that the UE calculates the transmission time of the beacon frame of the WiFi AP according to the synchronization information, and activates the WiFi function to scan the WiFi AP before the transmission time, effectively The scan time is reduced and the power consumption of the UE is reduced.
  • a further embodiment of the present invention further provides a user equipment UE, including: a receiver 701, configured to acquire synchronization information of a wireless fidelity WiFi access point AP and a base station; and a processor 702, configured to receive The synchronization information acquired by the machine 701 obtains the transmission time of the beacon frame of the WiFi AP, and activates the WiFi function to scan the WiFi AP according to the transmission time of the beacon frame.
  • a user equipment UE including: a receiver 701, configured to acquire synchronization information of a wireless fidelity WiFi access point AP and a base station; and a processor 702, configured to receive The synchronization information acquired by the machine 701 obtains the transmission time of the beacon frame of the WiFi AP, and activates the WiFi function to scan the WiFi AP according to the transmission time of the beacon frame.
  • the receiver 701 is specifically configured to receive WiF i AP information sent by the base station by using a broadcast channel or a dedicated channel, and obtain synchronization between the WiF i AP and the base station from the WiFi AP information. Information.
  • the processor 702 is specifically configured to:
  • the WiFi is calculated according to the system frame number SFN and the target beacon frame transmission time TBTT of the base station.
  • the transmission time of the beacon frame of the AP, and the WiFi function is activated to scan the WiFi AP before the transmission time of the beacon frame; or
  • the synchronization information is a time difference between the WiFi AP and the base station, calculating a transmission time of the beacon frame of the WiFi AP according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT, and The WiFi function is activated before the transmission time of the beacon frame to scan the WiF i AP.
  • the processor 702 is further configured to:
  • the base station indicates that the scanning mode is the active scanning mode or the passive scanning mode before the transmitting time of the beacon frame is activated, if the scanning mode is the active scanning mode or the passive scanning mode, the current scanning mode is determined to be the scanning mode indicated by the base station; or If the base station indicates the deployment mode of the WiFi AP, when the deployment mode is that the WiFi AP is co-located with the base station, the current scanning mode is determined to be the active scanning mode, and the deployment mode is that the base station is a macro base station and is under the macro base station. When multiple WiFi APs are configured, the current scanning mode is determined to be passive scanning mode.
  • the processor 702 scans the WiFi AP according to the determined current scanning manner.
  • the processor 70 2 is further configured to:
  • the base station indicates that the scanning mode is the active scanning mode or the passive scanning mode, determining that the current scanning mode is the scanning mode indicated by the base station; or, if the base station indicates the deployment mode of the WiFi AP, When the WiFi AP is co-located with the base station, it is determined that the current scanning mode is the active scanning mode.
  • the deployment mode is that the base station is a macro base station and multiple WiFi APs are configured under the macro base station, the current scanning mode is determined as Passive scanning method;
  • the WiFi AP is scanned according to the determined current scanning mode.
  • the detailed process is described in the description of the method embodiment, and is not described here.
  • the UE provided by the foregoing embodiment calculates the transmission time of the beacon frame of the WiFi AP according to the synchronization information, and activates the WiFi function to scan the WiFi AP before the transmission time, thereby effectively reducing the scan time and reducing the UE. Power consumption.
  • the transmission time of the beacon frame of the WiFi AP is calculated according to the SFN and the TBTT of the base station; when the frame boundary of the WiFi AP and the base station is not aligned, according to the SFN of the base station
  • the time difference and TBTT calculate the transmission time of the WiFi AP's beacon frame, and a complete solution is given.
  • the current scanning mode can be determined according to the indication of the base station, thereby performing scanning in this manner, further improving the scanning efficiency.
  • the connection is established, and if the beacon frame is not received within the specified time, the WiF i function is turned off to stop scanning the WiFi AP, thereby further saving the power consumption of the UE.
  • another embodiment of the present invention further provides a base station, including:
  • the transmitter 801 is configured to send synchronization information of the wireless fidelity WiFi access point AP and the base station to the user equipment UE, where the synchronization information is used by the UE to obtain a transmission time of the beacon frame of the WiFi AP, so as to be transmitted according to the beacon frame.
  • the time activated WiFi function scans the WiF i AP.
  • the transmitter 801 is specifically configured to send, by using a broadcast channel or a dedicated channel, synchronization information of the WiFi AP and the base station to the UE.
  • the transmitter 801 is further configured to:
  • the deployment mode is that the WiFi AP is co-located with the base station, or the base station is a macro base station and Multiple WiFi APs are configured under the macro base station.
  • the base station further includes a processor: And indicating that the WiFi AP and the base station are synchronized, or indicating a scanning mode, or indicating a deployment manner of the WiFi AP, where the UE transmits the system frame number SFN and the target beacon frame according to the base station.
  • the time TBTT calculates a transmission time of the beacon frame of the WiFi AP; or is used to indicate a time difference between the WiF i AP and the base station, where the UE uses the system frame number SFN of the base station, Calculating a transmission time of the beacon frames of the WiFi AP by using the time difference and the target beacon frame transmission time TBTT
  • the base station in this embodiment may be a base station in any base station, including but not limited to base stations in GSM, UMTS, LTE, and the like.
  • the above-mentioned base station provided in this embodiment may perform the method provided in the foregoing method embodiment.
  • the foregoing base station provides the base station, by sending synchronization information to the UE, so that the UE calculates the transmission time of the beacon frame of the WiFi AP according to the synchronization information, and activates the WiFi function to scan the WiFi AP before the transmission time, effectively The scan time is reduced and the power consumption of the UE is reduced.
  • another embodiment of the present invention further provides a scanning system, including: a UE 901 and a base station 902.
  • the UE 901 may be the UE provided by any of the foregoing embodiments, and the base station 902 may be the base station provided by any of the foregoing embodiments.
  • the base station 902 may be the base station provided by any of the foregoing embodiments.
  • the system provided by this embodiment may perform the method provided by any of the foregoing method embodiments.
  • the system sends the synchronization information to the UE by using the base station, and the UE calculates the transmission time of the beacon frame of the WiFi AP according to the synchronization information, and activates the WiFi function to scan the WiFi AP before the transmission time, effectively The scan time is reduced and the power consumption of the UE is reduced.
  • the program may be For storage in a computer readable storage medium, the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

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

Abstract

Disclosed are a scanning method, a scanning control method, a user equipment, a base station, and a system. The present invention relates to the technical field of the communications. The scanning method comprises: obtaining synchronization information of a wireless fidelity (WiFi) access point (AP) and a base station; obtaining transmission time of a beacon frame of the WiFi AP according to the synchronization information; and activating, according to the transmission time of the beacon frame, a WiFi function to scan the WiFi AP. The scanning control method comprises: sending synchronization information of a wireless fidelity (WiFi) access point (AP) and a user equipment (UE), the synchronization information being used by the UE to obtain transmission time of a beacon frame of the WiFi AP, so as to activate, according to the transmission time of the beacon frame, a WiFi function to scan the WiFi AP. The system comprises a UE and a base station. The present invention effectively reduces the scanning time and reduces power consumption of the UE.

Description

扫描方法、 控制扫描的方法、 用户 i殳备、 基站和系统 本申请要求于 2012 年 9 月 28 日提交中国专利局、 申请号为 CN 201210370452. X, 发明名称为 "扫描方法、 控制扫描的方法、 用户设备、 基站和系统" 的中国专利申请的优先权, 其全部内容通过引用结合在本申 请中。 技术领域  Scanning method, method for controlling scanning, user equipment, base station and system The application is filed on September 28, 2012, and the application number is CN 201210370452. X, the invention name is "scanning method, control scanning method" The priority of the Chinese patent application, the user equipment, the base station and the system, the entire contents of which are incorporated herein by reference. Technical field
本发明涉及通信技术领域,特别涉及一种扫描方法、控制扫描的方法、 用户设备、 基站和系统。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a scanning method, a method for controlling scanning, a user equipment, a base station, and a system. Background technique
随着移动互联网业务的增长, 无线通信网络中的数据量激增, 加速了 对带宽的需求。 网络运营商为了緩解移动蜂窝网络的拥塞, 需要部署更多 的基站来提高网络容量, 但这势必会增加投资成本与维护成本。 因此, 越 来越多的网络运营商选择了移动数据分流的方式, 将移动网络中的部分数 据分流到其他可用的接入技术上, 作为对移动网络的补充。  With the growth of mobile Internet services, the amount of data in wireless communication networks has proliferated, accelerating the demand for bandwidth. In order to alleviate the congestion of mobile cellular networks, network operators need to deploy more base stations to increase network capacity, but this will inevitably increase investment costs and maintenance costs. As a result, more and more network operators have chosen the way of mobile data offloading, which offloads part of the data in the mobile network to other available access technologies as a complement to the mobile network.
目前, 用于移动数据分流的最主要的补充网络技术包括: WiFi (Wireless Fidelity, 无线保真)、 家庭基站及 iMB ( Integrated Mobi le Broadcast, 集成移动广播)等。 为了进一步提高用户感受, WiFi 系统和 3GPP ( 3rd Generation Partnership Program, 第三代合作伙伴计戈 ) LTE (Long Term Evolved, 长期演进网络)进行紧耦合是一种可能的方案。 其 中, LTE是目前 3GPP组织中各厂商积极研究的一种移动通信网络, 它能够 降低时延、 提高用户数据速率、 增加系统容量及覆盖, 且成本较低。 LTE网 络中部署的 eNB( evolved Node B,演进型基站)通过空中接口来与 UE(User Equipment, 用户设备) 实现通信。 在 WiFi系统和 3GPP LTE紧耦合的方案中, UE通过主动方式或被动方 式扫描附近的 WiF i AP ( Acces s Point , 接入点), 扫描成功后进行身份认 证以及建立连接, 然后通过该连接与 WiFi AP传输数据。 其中, 主动扫描 是指 UE主动生成并发送探测帧, 通过接收 WiFi AP返回的探测响应帧来扫 描到 WiFi AP。 被动扫描是指 WiFi AP周期性地广播信标 Beacon帧, UE监 听广播信道, 得以接收该 Beacon帧来完成对 WiF i AP的扫描。 Currently, the most important complementary network technologies for mobile data offloading include: WiFi (Wireless Fidelity), home base station, and iMB (Integrated Mobi Le Broadcast). In order to further enhance the user experience, tight coupling of the WiFi system and 3GPP (3rd Generation Partnership Program) LTE (Long Term Evolved) is a possible solution. Among them, LTE is a mobile communication network actively researched by various vendors in the current 3GPP organization, which can reduce delay, increase user data rate, increase system capacity and coverage, and has low cost. The eNB ( evolved Node B, evolved base station) deployed in the LTE network communicates with the UE (User Equipment) through the air interface. In a tightly coupled solution between the WiFi system and the 3GPP LTE, the UE scans nearby WiF i APs (Acces s Point, access points) in an active or passive manner, performs identity authentication and establishes a connection after successful scanning, and then connects through the connection. WiFi AP transmits data. The active scanning means that the UE actively generates and sends a sounding frame, and scans the WiFi AP by receiving a sounding response frame returned by the WiFi AP. Passive scanning means that the WiFi AP periodically broadcasts the beacon Beacon frame, and the UE listens to the broadcast channel, and receives the Beacon frame to complete scanning of the WiF i AP.
如果扫描方式是被动扫描,那么 UE将在信道驻留时间( Channel Time ) 参数定义的最大期限之内监听每个被扫描的信道, 或扫描每一个待监听的 信道。 如果扫描方式是主动扫描, 则还需要在扫描过程中完成探测帧的生 成和随后的对收集到的探测响应帧的处理。 故上述方案均会增加 UE的扫描 时间, 并带来 UE的耗电问题。 发明内容  If the scanning mode is passive scanning, the UE will listen to each scanned channel within the maximum period defined by the Channel Time parameter, or scan each channel to be monitored. If the scanning mode is active scanning, it is also necessary to complete the generation of the sounding frame and the subsequent processing of the collected sounding response frames during the scanning process. Therefore, the foregoing solutions all increase the scanning time of the UE and bring about power consumption problems of the UE. Summary of the invention
为了节约扫描时间及降低 UE的耗电, 本发明提供了一种扫描方法、 用 户设备、 基站和系统。  In order to save scanning time and reduce power consumption of the UE, the present invention provides a scanning method, a user equipment, a base station, and a system.
本发明的第一方面提供一种扫描方法, 包括:  A first aspect of the present invention provides a scanning method, including:
获取无线保真 WiF i接入点 AP和基站的同步信息;  Obtaining synchronization information of the wireless fidelity WiF i access point AP and the base station;
根据所述同步信息获得 WiFi AP的信标帧的发射时间;  Obtaining a transmission time of a beacon frame of the WiFi AP according to the synchronization information;
根据所述信标帧的发射时间激活 WiFi功能对 WiFi AP进行扫描。  The WiFi function is activated to scan the WiFi AP according to the transmission time of the beacon frame.
在本发明的第一方面的第一种可能的实现方式中, 获取无线保真 WiFi 接入点 AP和基站的同步信息, 包括:  In a first possible implementation manner of the first aspect of the present invention, acquiring synchronization information of the wireless fidelity WiFi access point AP and the base station includes:
接收所述基站通过广播信道或者专用信道发送的所述 WiF i AP和所述 基站的同步信息。  Receiving synchronization information of the WiF i AP and the base station that are sent by the base station through a broadcast channel or a dedicated channel.
结合第一方面, 或第一方面的第一种可能的实现方式, 在第二种可能 的实现方式中, 根据所述同步信息获得 WiFi AP 的信标帧的发射时间, 包 括: 如果所述同步信息为指示所述 WiFi AP和基站同步, 或者指示扫描方 式, 或者指示 WiFi AP的部署方式, 则根据所述基站的系统帧号 SFN和目 标信标帧传输时间 TBTT计算出所述 WiFi AP的信标帧的发射时间; With reference to the first aspect, or the first possible implementation manner of the first aspect, in a second possible implementation manner, obtaining a transmission time of a beacon frame of the WiFi AP according to the synchronization information includes: If the synchronization information is to indicate that the WiFi AP and the base station are synchronized, or indicate a scanning mode, or indicate a deployment mode of the WiFi AP, calculate the system according to the system frame number SFN of the base station and the target beacon frame transmission time TBTT. The transmission time of the beacon frame of the WiFi AP;
如果所述同步信息为所述 WiF i AP和基站之间的时间差, 则根据所述 基站的系统帧号 SFN、 所述时间差和目标信标帧传输时间 TBTT计算出所述 WiFi AP的信标帧的发射时间。  If the synchronization information is a time difference between the WiF i AP and the base station, calculating a beacon frame of the WiFi AP according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT Launch time.
结合第一方面的第二种可能的实现方式, 在第三种可能的实现方式中, 根据所述基站的系统帧号 SFN和目标信标帧传输时间 TBTT计算出 WiFi AP 的信标帧的发射时间, 包括:  With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner, the transmitting of the beacon frame of the WiFi AP is calculated according to the system frame number SFN of the base station and the target beacon frame transmission time TBTT Time, including:
按照如下公式计算出 WiFi AP的信标帧的发射时间:  Calculate the transmission time of the beacon frame of the WiFi AP according to the following formula:
Tread-beacon (n) = TBTT-10* (n+1) mod TBTT - del ta;  Tread-beacon (n) = TBTT-10* (n+1) mod TBTT - del ta;
其中, Tread_beacon (n) 为所述 WiFi AP的信标帧的发射时间, n为所 述基站的 SFN, del ta为修正系数且大于或等于 0。  The Tread_beacon (n) is the transmission time of the beacon frame of the WiFi AP, where n is the SFN of the base station, and del ta is a correction coefficient and is greater than or equal to zero.
结合第一方面的第二种可能的实现方式, 在第四种可能的实现方式中, 根据所述基站的系统帧号 SFN、 所述时间差和目标信标帧传输时间 TBTT计 算出 WiFi AP的信标帧的发射时间, 包括:  With reference to the second possible implementation manner of the first aspect, in a fourth possible implementation manner, the information of the WiFi AP is calculated according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT The launch time of the frame, including:
按照如下公式计算出 WiFi AP的信标帧的发射时间:  Calculate the transmission time of the beacon frame of the WiFi AP according to the following formula:
Tread-beacon (n) = TBTT- (10* (n+1) - Tdiff) mod TBTT - de l ta; 其中, Tread_beacon (n) 为所述 WiFi AP的信标帧的发射时间, n为所 述基站的 SFN, Tdiff 为所述时间差, de l ta为^ ίι爹正系数且大于或等于 0。  Tread-beacon (n) = TBTT- (10* (n+1) - Tdiff) mod TBTT - de l ta; where Tread_beacon (n) is the transmission time of the beacon frame of the WiFi AP, n is the The SFN of the base station, Tdiff is the time difference, and de l ta is a positive coefficient of greater than or equal to zero.
结合第一方面, 或以上任意一种可能的实现方式, 在第五种可能的实 现方式中, 还包括:  In combination with the first aspect, or any of the foregoing possible implementation manners, in a fifth possible implementation manner, the method further includes:
如果所述基站指示扫描方式为主动扫描方式或被动扫描方式, 则确定 当前的扫描方式为所述基站指示的扫描方式; 或者,  If the base station indicates that the scanning mode is the active scanning mode or the passive scanning mode, determining that the current scanning mode is the scanning mode indicated by the base station; or
如果所述基站指示 WiFi AP的部署方式, 则当所述部署方式为 WiFi AP 与基站共站时, 确定当前的扫描方式为主动扫描方式, 当所述部署方式为 所述基站为宏基站且在该宏基站下配置多个 WiF i AP 时, 确定当前的扫描 方式为被动扫 4 方式; If the base station indicates the deployment mode of the WiFi AP, when the deployment mode is that the WiFi AP is co-located with the base station, determining that the current scanning mode is the active scanning mode, when the deployment mode is When the base station is a macro base station and multiple WiF i APs are configured under the macro base station, determine that the current scanning mode is a passive scan mode;
根据所述信标帧的发射时间激活 WiFi功能对 WiFi AP进行扫描, 具体 包括:  Activating the WiFi function according to the transmission time of the beacon frame to scan the WiFi AP, specifically:
在所述信标帧的发射时间以前激活 WiFi功能, 并按照确定的所述当前 的扫描方式对 WiFi AP进行扫描。  The WiFi function is activated before the transmission time of the beacon frame, and the WiFi AP is scanned according to the determined current scanning mode.
结合第一方面, 或以上任意一种可能的实现方式, 在第六种可能的实 现方式中, 还包括:  In combination with the first aspect, or any of the foregoing possible implementation manners, in a sixth possible implementation manner, the method further includes:
如果接收到所述信标帧, 则发起和 WiFi AP建立连接的过程; 或者, 如果在指定的时间内未接收到所述信标帧, 则关闭 WiFi 功能停止对 If the beacon frame is received, initiate a process of establishing a connection with the WiFi AP; or, if the beacon frame is not received within a specified time, turn off the WiFi function to stop
WiFi AP进行扫描。 The WiFi AP scans.
本发明的第二方面提供一种控制扫描的方法, 所述方法包括: 发送无线保真 WiFi接入点 AP和基站的同步信息给用户设备 UE, 所述 同步信息用于所述 UE获得 WiFi AP的信标帧的发射时间以便根据所述信标 帧的发射时间激活 WiFi功能对 WiF i AP进行扫描。  A second aspect of the present invention provides a method for controlling a scan, where the method includes: transmitting synchronization information of a wireless fidelity WiFi access point AP and a base station to a user equipment UE, where the synchronization information is used by the UE to obtain a WiFi AP. The transmission time of the beacon frame is such that the WiFi function is activated to scan the WiF i AP according to the transmission time of the beacon frame.
在第二方面的第一种可能的实现方式中,发送无线保真 WiFi接入点 AP 和基站的同步信息给用户设备 UE, 包括:  In a first possible implementation manner of the second aspect, the sending the synchronization information of the wireless fidelity WiFi access point AP and the base station to the user equipment UE includes:
通过广播信道或者专用信道发送所述 WiFi AP和所述基站的同步信息 给所述 UE。  The synchronization information of the WiFi AP and the base station is sent to the UE through a broadcast channel or a dedicated channel.
结合第二方面, 或第二方面的第一种可能的实现方式, 在第二种可能 的实现方式中, 所述方法还包括:  With reference to the second aspect, or the first possible implementation manner of the second aspect, in a second possible implementation manner, the method further includes:
所述同步信息为指示所述 WiF i AP和所述基站同步, 或者指示扫描方 式, 或者指示所述 WiFi AP的部署方式, 用于所述 UE ^艮据所述基站的系统 帧号 SFN和目标信标帧传输时间 TBTT计算所述 WiFi AP的信标帧的发射时 间; 或者  And the synchronization information is used to indicate that the WiF i AP is synchronized with the base station, or indicates a scanning mode, or indicates a deployment manner of the WiFi AP, where the UE uses the system frame number SFN and the target of the base station. The beacon frame transmission time TBTT calculates a transmission time of the beacon frame of the WiFi AP; or
所述同步信息为所述 WiFi AP和所述基站之间的时间差, 用于所述 UE 根据所述基站的系统帧号 SFN、 所述时间差和目标信标帧传输时间 TBTT计 算所述 WiFi AP的个信标帧的发射时间。 The synchronization information is a time difference between the WiFi AP and the base station, and is used by the UE. Calculating a transmission time of the beacon frames of the WiFi AP according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT.
本发明的第三方面提供一种用户设备 UE, 所述 UE包括:  A third aspect of the present invention provides a user equipment UE, where the UE includes:
获取模块, 用于获取无线保真 WiFi接入点 AP和基站的同步信息; 处理模块, 用于根据所述获取模块获取的所述同步信息获得 WiFi AP 的信标帧的发射时间;  An acquiring module, configured to acquire synchronization information of a wireless fidelity WiFi access point AP and a base station; and a processing module, configured to obtain, according to the synchronization information acquired by the acquiring module, a transmission time of a beacon frame of the WiFi AP;
扫描模块, 用于根据所述处理模块获得的所述信标帧的发射时间激活 WiFi功能对 WiFi AP进行扫描。  And a scanning module, configured to activate a WiFi function to scan the WiFi AP according to a transmission time of the beacon frame obtained by the processing module.
本发明的第三方面的第一种可能的实现方式中, 所述获取模块用于: 接收所述基站通过广播信道或者专用信道发送的所述 WiFi AP和所述基站 的同步信息。  In a first possible implementation manner of the third aspect of the present invention, the acquiring module is configured to: receive synchronization information of the WiFi AP and the base station that are sent by the base station by using a broadcast channel or a dedicated channel.
结合第三方面, 或第三方面的第一种可能的实现方式, 在第二种可能 的实现方式中, 所述处理模块包括:  With reference to the third aspect, or the first possible implementation manner of the third aspect, in a second possible implementation manner, the processing module includes:
第一计算单元, 用于如果所述同步信息为指示所述 WiFi AP和基站同 步, 或者指示扫描方式, 或者指示 WiF i AP 的部署方式, 则根据所述基站 的系统帧号 SFN和目标信标帧传输时间 TBTT计算出 WiFi AP的信标帧的发 射时间;  a first calculating unit, configured to: according to the synchronization information indicating that the WiFi AP and the base station are synchronized, or indicating a scanning mode, or indicating a deployment mode of the WiF i AP, according to the system frame number SFN and the target beacon of the base station The frame transmission time TBTT calculates the transmission time of the beacon frame of the WiFi AP;
第二计算单元, 用于如果所述同步信息为所述 WiFi AP和基站之间的 时间差, 则根据所述基站的系统帧号 SFN、所述时间差和目标信标帧传输时 间 TBTT计算出 WiFi AP的信标帧的发射时间。  a second calculating unit, configured to: if the synchronization information is a time difference between the WiFi AP and the base station, calculate a WiFi AP according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT The launch time of the beacon frame.
结合第三方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所述第一计算单元用于按照如下公式计算出 WiFi AP的信标帧的发射时间: Tread-beacon (n) = TBTT-10* (n+1) mod TBTT - del ta;  With reference to the second possible implementation manner of the third aspect, in a third possible implementation manner, the first calculating unit is configured to calculate a transmission time of a beacon frame of the WiFi AP according to the following formula: Tread-beacon ( n) = TBTT-10* (n+1) mod TBTT - del ta;
其中, Tread_beacon (n) 为所述 WiFi AP的信标帧的发射时间, n为所 述基站的 SFN, del ta为修正系数且大于或等于 0。  The Tread_beacon (n) is the transmission time of the beacon frame of the WiFi AP, where n is the SFN of the base station, and del ta is a correction coefficient and is greater than or equal to zero.
结合第三方面的第二种可能的实现方式, 在第四种可能的实现方式中, 所述第二计算单元用于按照如下公式计算出 WiFi AP的信标帧的发射时间: Tread-beacon (n) = TBTT- (10* (n+1) - Tdiff) mod TBTT - de l ta; 其中, Tread_beacon (n) 为所述 WiFi AP的信标帧的发射时间, n为所 述基站的 SFN, Tdiff 为所述时间差, de l ta为修正系数且大于或等于 0。 In conjunction with the second possible implementation of the third aspect, in a fourth possible implementation, The second calculating unit is configured to calculate a transmission time of a beacon frame of the WiFi AP according to the following formula: Tread-beacon (n) = TBTT- (10* (n+1) - Tdiff) mod TBTT - de l ta; The Tread_beacon (n) is the transmission time of the beacon frame of the WiFi AP, where n is the SFN of the base station, Tdiff is the time difference, and de l ta is a correction coefficient and is greater than or equal to 0.
结合第三方面, 或以上任意一种第三方面的可能的实现方式, 在第五 种可能的实现方式中, 所述扫描模块还用于:  With reference to the third aspect, or the possible implementation manner of the foregoing third aspect, in a fifth possible implementation, the scanning module is further configured to:
在所述信标帧的发射时间以前激活 WiFi功能对 WiFi AP进行扫描之前, 如果所述基站指示扫描方式为主动扫描方式或被动扫描方式, 则确定当前 的扫描方式为所述基站指示的扫描方式; 或者, 如果所述基站指示 WiFi AP 的部署方式, 则当所述部署方式为 WiF i AP与基站共站时, 确定当前的扫 描方式为主动扫描方式, 当所述部署方式为所述基站为宏基站且在该宏基 站下配置多个 WiFi AP时, 确定当前的扫描方式为被动扫描方式;  Determining that the current scanning mode is the scanning mode indicated by the base station, if the base station indicates that the scanning mode is the active scanning mode or the passive scanning mode before the WiFi function is activated before the transmitting time of the beacon frame is activated. Or, if the base station indicates the deployment mode of the WiFi AP, when the deployment mode is that the WiF i AP is co-located with the base station, determining that the current scanning mode is the active scanning mode, where the deployment mode is When the macro base station configures multiple WiFi APs under the macro base station, determining that the current scanning mode is a passive scanning mode;
按照确定的所述当前的扫描方式对 WiFi AP进行扫描。  The WiFi AP is scanned according to the determined current scanning mode.
结合第三方面, 或以上任意一种第三方面的可能的实现方式, 在第六 种可能的实现方式中, 所述 UE还包括:  With reference to the third aspect, or the foregoing possible implementation manner of the foregoing third aspect, in a sixth possible implementation, the UE further includes:
建立模块, 用于在所述扫描模块在所述信标帧的发射时间以前激活 WiFi功能对 WiFi AP进行扫描之后,如果接收到所述信标帧,则发起和 WiF i AP建立连接的过程;  And a establishing module, configured to initiate a process of establishing a connection with the WiF i AP if the beacon frame is received after the scanning module activates the WiFi function to scan the WiFi AP before the transmitting time of the beacon frame;
或者,  Or,
所述扫描模块还用于: 如果在指定的时间内未接收到所述信标帧, 则 关闭 W i F i功能停止对 WiFi AP进行扫描。  The scanning module is further configured to: if the beacon frame is not received within a specified time, shut down the W i F i function to stop scanning the WiFi AP.
本发明的第四方面提供一种基站, 所述基站包括:  A fourth aspect of the present invention provides a base station, where the base station includes:
发送模块, 用于发送无线保真 WiFi接入点 AP和基站的同步信息给用 户设备 UE, 所述同步信息用于所述 UE获得 WiFi AP的信标帧的发射时间以 便根据所述信标帧的发射时间激活 WiFi功能对 WiFi AP进行扫描。  a sending module, configured to send synchronization information of the wireless fidelity WiFi access point AP and the base station to the user equipment UE, where the synchronization information is used by the UE to obtain a transmission time of the beacon frame of the WiFi AP, according to the beacon frame The launch time activates the WiFi function to scan the WiFi AP.
在第四方面的第一种可能的实现方式中, 所述发送模块用于通过广播 信道或者专用信道发送所述 WiFi AP和所述基站的同步信息给所述 UE。 结合第四方面, 或第四方面的第一种可能的实现方式, 在第二种可能 的实现方式中, 所述基站还包括: In a first possible implementation manner of the fourth aspect, the sending module is used to broadcast The channel or dedicated channel transmits synchronization information of the WiFi AP and the base station to the UE. With reference to the fourth aspect, or the first possible implementation manner of the fourth aspect, in a second possible implementation manner, the base station further includes:
指示模块, 用于指示所述 WiF i AP和所述基站同步, 或者指示扫描方 式, 或者指示所述 WiFi AP的部署方式, 用于所述 UE ^艮据所述基站的系统 帧号 SFN和目标信标帧传输时间 TBTT计算所述 WiFi AP的信标帧的发射时 间; 或者所述 WiFi AP和所述基站之间的时间差, 用于所述 UE 艮据所述基 站的系统帧号 SFN、 所述时间差和目标信标帧传输时间 TBTT计算所述 WiF i An indication module, configured to indicate that the WiF i AP and the base station are synchronized, or indicate a scanning mode, or indicate a deployment manner of the WiFi AP, where the UE uses the system frame number SFN and the target of the base station The beacon frame transmission time TBTT calculates a transmission time of the beacon frame of the WiFi AP; or a time difference between the WiFi AP and the base station, where the UE uses the system frame number SFN of the base station, Calculating the WiF i by the time difference and the target beacon frame transmission time TBTT
AP的个信标帧的发射时间。 The transmission time of a beacon frame of the AP.
本发明的第五方面提供一种用户设备 UE, 所述 UE包括:  A fifth aspect of the present invention provides a user equipment UE, where the UE includes:
接收机, 用于获取无线保真 WiFi接入点 AP和基站的同步信息; 处理器, 用于根据所述接收机获取的所述同步信息获得 WiFi AP 的信 标帧的发射时间, 根据所述信标帧的发射时间激活 WiFi功能对 WiFi AP进 行扫描。  a receiver, configured to acquire synchronization information of a wireless fidelity WiFi access point AP and a base station, and a processor, configured to obtain, according to the synchronization information acquired by the receiver, a transmission time of a beacon frame of the WiFi AP, according to the The transmission time of the beacon frame activates the WiFi function to scan the WiFi AP.
在第五方面的第一种可能的实现方式中, 所述接收机用于接收所述基 站通过广播信道或者专用信道发送的所述 WiFi AP和所述基站的同步信息。  In a first possible implementation manner of the fifth aspect, the receiver is configured to receive synchronization information of the WiFi AP and the base station that are sent by the base station by using a broadcast channel or a dedicated channel.
结合第五方面, 或第五方面的第一种可能的实现方式, 在第二种可能 的实现方式中, 所述处理器具体用于:  With reference to the fifth aspect, or the first possible implementation manner of the fifth aspect, in a second possible implementation manner, the processor is specifically configured to:
如果所述同步信息为指示所述 WiFi AP和基站同步, 或者指示扫描方 式, 或者指示 WiFi AP的部署方式, 则根据所述基站的系统帧号 SFN和目 标信标帧传输时间 TBTT计算出 WiF i AP的信标帧的发射时间, 且在所述信 标帧的发射时间以前激活 WiF i功能对 WiFi AP进行扫描;  If the synchronization information is to indicate that the WiFi AP and the base station are synchronized, or indicate a scanning mode, or indicate a deployment mode of the WiFi AP, calculate the WiF i according to the system frame number SFN of the base station and the target beacon frame transmission time TBTT. The transmission time of the beacon frame of the AP, and the WiF i function is activated to scan the WiFi AP before the transmission time of the beacon frame;
如果所述同步信息为所述 WiF i AP和基站之间的时间差, 则根据所述 基站的系统帧号 SFN、 所述时间差和目标信标帧传输时间 TBTT计算出 WiF i AP的信标帧的发射时间,且在所述信标帧的发射时间以前激活 WiFi功能对 WiFi AP进行扫描。 结合第五方面, 或第五方面的第一种可能的实现方式, 第三种可能的 实现方式中, 所述处理器具体用于: 如果所述基站指示扫描方式为主动扫 描方式或被动扫描方式, 则确定当前的扫描方式为所述基站指示的扫描方 式; 或者, 如果所述基站指示 WiFi AP 的部署方式, 则当所述部署方式为 WiFi AP与基站共站时, 确定当前的扫描方式为主动扫描方式, 当所述部署 方式为所述基站为宏基站且在该宏基站下配置多个 WiF i AP 时, 确定当前 的扫描方式为被动扫描方式; 根据所述接收机获取的所述同步信息获得 WiFi AP的信标帧的发射时间;按照所述确定的当前扫描方式对所述 WiFi AP 进行扫描。 If the synchronization information is a time difference between the WiF i AP and the base station, calculating a beacon frame of the WiF i AP according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT The time is transmitted, and the WiFi function is activated to scan the WiFi AP before the transmission time of the beacon frame. With reference to the fifth aspect, or the first possible implementation manner of the fifth aspect, in a third possible implementation manner, the processor is specifically configured to: if the base station indicates that the scanning mode is an active scanning mode or a passive scanning mode And determining that the current scanning mode is the scanning mode indicated by the base station; or, if the base station indicates the deployment mode of the WiFi AP, when the deployment mode is that the WiFi AP is co-located with the base station, determining that the current scanning mode is In the active scanning mode, when the base station is a macro base station and multiple WiF i APs are configured under the macro base station, determining that the current scanning mode is a passive scanning mode; The information obtains a transmission time of the beacon frame of the WiFi AP; and the WiFi AP is scanned according to the determined current scanning mode.
结合第五方面, 或以上第五方面的任意一种可能的实现方式, 在第四 种可能的实现方式中, 所述处理器还用于:  With reference to the fifth aspect, or any one of the possible implementation manners of the foregoing fifth aspect, in a fourth possible implementation, the processor is further configured to:
如果接收到所述信标帧, 则发起和 WiFi AP建立连接的过程; 或者, 如果在指定的时间内未接收到所述信标帧,则关闭 WiFi功能停止对 WiFi AP 进行扫描。  If the beacon frame is received, a process of establishing a connection with the WiFi AP is initiated; or, if the beacon frame is not received within a specified time, the WiFi function is turned off to stop scanning the WiFi AP.
本发明的第六方面提供一种基站, 所述基站包括:  A sixth aspect of the present invention provides a base station, where the base station includes:
发射机, 用于发送无线保真 WiFi接入点 AP和基站的同步信息给用户 设备 UE, 所述同步信息用于所述 UE获得 WiFi AP的信标帧的发射时间以便 根据所述信标帧的发射时间激活 WiF i功能对 WiF i AP进行扫描。  a transmitter, configured to send synchronization information of the wireless fidelity WiFi access point AP and the base station to the user equipment UE, where the synchronization information is used by the UE to obtain a transmission time of a beacon frame of the WiFi AP, according to the beacon frame The launch time activates the WiF i function to scan the WiF i AP.
在第六方面的第一种可能的实现方式中, 所述发射机用于通过广播信 道或者专用信道发送所述 WiF i AP和所述基站的同步信息给所述 UE。  In a first possible implementation manner of the sixth aspect, the transmitter is configured to send, by using a broadcast channel or a dedicated channel, synchronization information of the WiF i AP and the base station to the UE.
结合第六方面, 或第六方面的第一中可能的实现方式, 在第二种可能 的实现方式中, 所述发射机还用于:  With reference to the sixth aspect, or the first possible implementation manner of the sixth aspect, in a second possible implementation manner, the transmitter is further configured to:
指示主动扫描方式或被动扫描方式并发送给所述 UE; 或者, 将所述基 站中 WiFi AP的部署方式指示给所述 UE, 所述部署方式为 WiF i AP与基站 共站, 或所述基站为宏基站且在该宏基站下配置多个 WiFi AP。  Instructing the active scanning mode or the passive scanning mode to be sent to the UE; or indicating the deployment mode of the WiFi AP in the base station to the UE, where the deployment mode is that the WiF i AP is co-located with the base station, or the base station A plurality of WiFi APs are configured for the macro base station and under the macro base station.
本发明实施例提供的技术方案带来的有益效果是: 通过根据同步信息 计算出 WiFi AP的信标帧的发射时间, 并根据该发射时间激活 WiFi功能对 WiFi AP进行扫描, 减少扫描时间, 并且降低了 UE的耗电。 附图说明 The technical solution provided by the embodiment of the present invention has the following beneficial effects: The transmission time of the beacon frame of the WiFi AP is calculated, and the WiFi function is activated according to the transmission time to scan the WiFi AP, the scanning time is reduced, and the power consumption of the UE is reduced. DRAWINGS
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述 中所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅 是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性 劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings may be obtained based on these drawings without any creative work.
图 1是本发明一实施例提供的扫描方法流程图;  1 is a flowchart of a scanning method according to an embodiment of the present invention;
图 1是本发明另一实施例提供的扫描方法流程图;  1 is a flowchart of a scanning method according to another embodiment of the present invention;
图 3是本发明实施例提供的 WiFi AP和基站同步的一种示意图; 图 4是本发明实施例提供的 WiFi AP和基站同步的另一种示意图; 图 5是本发明又一实施例提供的 UE结构图;  FIG. 3 is a schematic diagram of synchronization between a WiFi AP and a base station according to an embodiment of the present invention; FIG. 4 is another schematic diagram of synchronization between a WiFi AP and a base station according to an embodiment of the present invention; FIG. UE structure diagram;
图 6是本发明再一实施例提供的基站结构图;  6 is a structural diagram of a base station according to still another embodiment of the present invention;
图 7是本发明另一实施例提供的 UE结构图;  FIG. 7 is a structural diagram of a UE according to another embodiment of the present invention;
图 8是本发明又一实施例提供的基站结构图;  FIG. 8 is a structural diagram of a base station according to another embodiment of the present invention; FIG.
图 9是本发明还一实施例提供的系统结构图。 具体实施方式  FIG. 9 is a structural diagram of a system according to still another embodiment of the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本 发明实施方式作进一步地详细描述。  The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
本发明实施例涉及移动网络, 且该移动网络内部署有 WiFi AP。 所述移 动网络包括但不限于: GSM ( Global System of Mobile communication, 全球移动通讯系统 ), UMTS( Universal Mobile Telecommunications System, 通用移动通信系统), LTE等等。所述 WiFi是 WLAN( Wireless Local Access The embodiment of the invention relates to a mobile network, and a WiFi AP is deployed in the mobile network. The mobile network includes, but is not limited to, GSM (Global System of Mobile communication), UMTS (Universal Mobile Telecommunications System), LTE, and the like. The WiFi is a WLAN (Wireless Local Access)
Network, 无线局域网) 的一个标准, 是由无线网卡和 WiFi AP组成的通信 网络。 AP—般称为网络桥接器或接入点, 它是传统的有线局域网与无线局 域网之间的桥梁, 其工作原理相当于一个内置无线发射器的 HUB (集线器) 或者路由器。而无线网卡通常位于负责接收由 AP所发射信号的用户设备 UE 中。 WiFi AP是移动用户进入有线网络的接入点, 主要用于宽带家庭、 大楼 内部以及园区内部, 典型距离覆盖几十米至上百米。 WiFi AP在移动网络内 的部署方式包括但不限于以下两种: WiFi AP和 LTE 小基站共站, 或者在 LTE宏基站下部署多个 WiFi AP。 其中, LTE小基站包括毫微微小区 Femto cel l或者微微小区 P ico ce l l , 宏基站下部署多个 WiFi AP是指在宏基站 覆盖范围下部署多个 WiFi AP。 A standard for Network, WLAN, is a communication consisting of a wireless network card and a WiFi AP. The internet. An AP, commonly referred to as a network bridge or access point, is a bridge between a traditional wired LAN and a wireless LAN. It works like a HUB (hub) or router with a built-in wireless transmitter. The wireless network card is typically located in the user equipment UE responsible for receiving signals transmitted by the AP. The WiFi AP is an access point for mobile users to enter the wired network. It is mainly used in broadband homes, inside buildings, and inside campus. Typical distances range from tens of meters to hundreds of meters. The deployment manner of the WiFi AP in the mobile network includes but is not limited to the following two types: WiFi AP and LTE small base station co-station, or multiple WiFi APs are deployed under the LTE macro base station. The LTE small base station includes the femto cell Femto cel l or the pico cell P ico ce ll. The deployment of multiple WiFi APs in the macro base station refers to deploying multiple WiFi APs under the coverage of the macro base station.
本发明实施例中的 UE包括但不限于: 笔记本电脑、 手机终端、 平板电 脑等等。 所述 UE可以是多模终端, 包括移动网络模块和 WiFi收发机。 通 常情况下 UE驻留在移动网络中, 在 UE进行 WiF i AP扫描之前, 需要激活 WiFi功能, 即开启 WiF i收发机, 当扫描结束后关闭 WiFi收发机停止 WiFi AP扫描。 其中, UE内 WiFi功能的激活时间的长短决定了 UE的耗电情况, 本发明通过缩短 WiFi功能的激活时间来降低 UE的耗电, 并且能够有效地 减少扫描的时间。 参见图 1 , 本发明一实施例提供了一种扫描方法, 包括:  The UE in the embodiment of the present invention includes but is not limited to: a notebook computer, a mobile phone terminal, a tablet computer, and the like. The UE may be a multimode terminal including a mobile network module and a WiFi transceiver. In general, the UE resides in the mobile network. Before the UE performs WiF i AP scanning, the WiFi function needs to be activated, that is, the WiF i transceiver is turned on, and when the scanning is finished, the WiFi transceiver is turned off to stop the WiFi AP scanning. The length of the activation time of the WiFi function in the UE determines the power consumption of the UE. The present invention reduces the power consumption of the UE by shortening the activation time of the WiFi function, and can effectively reduce the scanning time. Referring to FIG. 1 , an embodiment of the present invention provides a scanning method, including:
101: 获取无线保真 WiF i接入点 AP和基站的同步信息;  101: Acquire synchronization information of the wireless fidelity WiF i access point AP and the base station;
102: 根据该同步信息获得 WiF i AP的信标帧的发射时间;  Step 102: Obtain a transmission time of a beacon frame of the WiF i AP according to the synchronization information.
103: 根据该信标帧的发射时间激活 WiFi功能对 WiFi AP进行扫描。 本实施例中, 信标帧是指 Beacon 帧, 通常信标帧的发射周期为 TBTT ( Target Beacon Transmi s s ion Times , 目标信标†贞传输时间), 基站会以 TBTT为周期来周期性地广播发送信标帧。 所述信标帧包括但不限于以下信 息: AP 的 MAC ( Media Acces s Control , 媒体访问控制)地址、 网络名称 SSID ( Service Set Ident i f ier , 服务集标识)、 支持的速率、 支持的认证 方式、 加密算法、 信标帧发送间隔、 使用的信道等等。 103: Activate the WiFi function to scan the WiFi AP according to the transmission time of the beacon frame. In this embodiment, the beacon frame refers to a Beacon frame. Generally, the beacon frame has a transmission period of TBTT (Target Beacon Transmit ssion Times), and the base station periodically broadcasts in a TBTT period. Send a beacon frame. The beacon frame includes but is not limited to the following information: AP's MAC (Media Acces s Control) address, network name SSID (Service Set Ident if ier), supported rate, supported authentication Mode, encryption algorithm, beacon frame transmission interval, channel used, and so on.
可选的, 上述信标帧可以为 WiFi AP 当前信标帧的下一个信标帧, 也 可以为 UE在于 WiFi AP通信前接收到的 WiFi AP的第一个信标帧。  Optionally, the beacon frame may be the next beacon frame of the WiFi AP current beacon frame, or may be the first beacon frame of the WiFi AP received by the UE before the WiFi AP communication.
可选地, 获取无线保真 WiFi接入点 AP和基站的同步信息, 包括: 接收所述基站通过广播信道或者专用信道发送的所述 WiF i AP和所述 基站的同步信息。  Optionally, the acquiring synchronization information of the wireless fidelity WiFi access point AP and the base station includes: receiving synchronization information of the WiF i AP and the base station that are sent by the base station by using a broadcast channel or a dedicated channel.
在本实施例中, 上述同步信息可以为用于基站和 WiFi AP同步的信息, 该同步可以为以下一种或任意几种: 时间同步、 相位同步、 频率同步、 信 号同步、 时钟同步、 帧同步。 例如, WiFi AP可以检测基站发射的 Preamb le 信号, 确定与该基站的相位偏差, 根据该相位偏差确定与该基站的频率偏 差, 利用所述确定的相位偏差进行时间同步, 并利用所述频率偏差进行频 率同步。 上过可以是底层硬件的处理过程, 所谓频率同步和时间同步也可 到的时间或时钟可以传统意义上的年月日时分秒, 也可以是信号学上的相 位关系。  In this embodiment, the synchronization information may be information used for synchronization between the base station and the WiFi AP, and the synchronization may be one or any of the following: time synchronization, phase synchronization, frequency synchronization, signal synchronization, clock synchronization, and frame synchronization. . For example, the WiFi AP may detect a Preamb le signal transmitted by the base station, determine a phase deviation from the base station, determine a frequency deviation from the base station according to the phase deviation, perform time synchronization using the determined phase deviation, and utilize the frequency deviation. Perform frequency synchronization. It can be the processing of the underlying hardware. The time or clock that can be called frequency synchronization and time synchronization can be in the traditional sense of the year, month, day, hour, minute or second, or the signalistic phase relationship.
可选地, 根据所述同步信息获得 WiFi AP的信标帧的发射时间, 包括: 如果所述同步信息为指示所述 WiFi AP和基站同步, 或者指示扫描方 式, 或者指示 WiFi AP的部署方式, 则根据所述基站的系统帧号 SFN和目 标信标帧传输时间 TBTT计算出所述 WiFi AP的信标帧的发射时间;  Optionally, obtaining the transmission time of the beacon frame of the WiFi AP according to the synchronization information, including: if the synchronization information is to indicate that the WiFi AP and the base station are synchronized, or indicating a scanning mode, or indicating a deployment manner of the WiFi AP, And calculating, according to the system frame number SFN of the base station and the target beacon frame transmission time TBTT, a transmission time of the beacon frame of the WiFi AP;
如果所述同步信息为所述 WiF i AP和基站之间的时间差, 则根据所述 基站的系统帧号 SFN、 所述时间差和目标信标帧传输时间 TBTT计算出所述 If the synchronization information is a time difference between the WiF i AP and the base station, calculating the system according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT
WiFi AP的信标帧的发射时间。 The transmission time of the WiFi AP's beacon frame.
在本实施例中, 上述时间差可以理解以下一种或任意几种: 相位偏差、 频率偏差、 信号偏差、 时钟偏差。 从广义上讲, 上述时间可以理解成时分 秒的概念; 从狭义上讲, 时间差可以理解成信号学上的相位、 频率、 信号、 帧、 或时钟的概念。 可选地, 根据所述基站的系统帧号 SFN和目标信标帧传输时间 TBTT计 算出 WiFi AP的信标帧的发射时间, 包括: In the present embodiment, the above time difference can be understood as one or any of the following: phase deviation, frequency deviation, signal deviation, and clock deviation. Broadly speaking, the above time can be understood as the concept of time, minute and second; in a narrow sense, time difference can be understood as the concept of signal phase, frequency, signal, frame, or clock. Optionally, calculating a transmission time of the beacon frame of the WiFi AP according to the system frame number SFN of the base station and the target beacon frame transmission time TBTT, including:
按照如下公式计算出 WiFi AP的信标帧的发射时间:  Calculate the transmission time of the beacon frame of the WiFi AP according to the following formula:
Tread-beacon (n) = TBTT-10* (n+1) mod TBTT - del ta;  Tread-beacon (n) = TBTT-10* (n+1) mod TBTT - del ta;
其中, Tread_beacon (n) 为所述 WiFi AP的信标帧的发射时间, n为所 述基站的 SFN, del ta为修正系数且大于或等于 0。  The Tread_beacon (n) is the transmission time of the beacon frame of the WiFi AP, where n is the SFN of the base station, and del ta is a correction coefficient and is greater than or equal to zero.
可选地,根据所述基站的系统帧号 SFN、所述时间差和目标信标帧传输 时间 TBTT计算出 WiF i AP的信标帧的发射时间, 包括:  Optionally, calculating a transmission time of the beacon frame of the WiF i AP according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT, including:
按照如下公式计算出 WiFi AP的信标帧的发射时间:  Calculate the transmission time of the beacon frame of the WiFi AP according to the following formula:
Tread-beacon (n) = TBTT- (10* (n+1) - Tdiff) mod TBTT - de l ta; 其中, Tread_beacon (n) 为所述 WiFi AP的信标帧的发射时间, n为所 述基站的 SFN, Tdiff 为所述时间差, de l ta为修正系数且大于或等于 0。  Tread-beacon (n) = TBTT- (10* (n+1) - Tdiff) mod TBTT - de l ta; where Tread_beacon (n) is the transmission time of the beacon frame of the WiFi AP, n is the The SFN of the base station, Tdiff is the time difference, and de l ta is a correction coefficient and is greater than or equal to zero.
可选地, 如果所述基站指示扫描方式为主动扫描方式或被动扫描方式, 则确定当前的扫描方式为所述基站指示的扫描方式。  Optionally, if the base station indicates that the scanning mode is the active scanning mode or the passive scanning mode, determining that the current scanning mode is the scanning mode indicated by the base station.
可选的, 如果所述基站指示 WiFi AP 的部署方式, 则当所述部署方式 为 WiFi AP 与基站共站时, 确定当前的扫描方式为主动扫描方式, 当所述 部署方式为所述基站为宏基站且在该宏基站下配置多个 WiFi AP 时, 确定 当前的扫 4 方式为被动扫 4 方式。  Optionally, if the base station indicates the deployment mode of the WiFi AP, when the deployment mode is that the WiFi AP is co-located with the base station, determining that the current scanning mode is the active scanning mode, where the deployment mode is When the macro base station configures multiple WiFi APs under the macro base station, it determines that the current scan mode is the passive scan mode.
可选的, 根据所述信标帧的发射时间激活 WiFi功能对 WiFi AP进行扫 描, 具体包括:  Optionally, the WiFi function is activated according to the transmission time of the beacon frame, and the following includes:
在所述信标帧的发射时间以前激活 WiFi功能, 并按照上述确定的当前 扫描方式对 WiFi AP进行扫描。  The WiFi function is activated before the transmission time of the beacon frame, and the WiFi AP is scanned according to the current scanning mode determined above.
在本实施例中, UE不需要同时监听多个信道的 WiFi AP的信标帧的发 射时间, 即不需要长时间对 WiF i AP进行扫描以获取 WiFi AP的信标帧, 也不需要自行生成探测帧以便获取 WiFi AP的信标帧。 上述 UE只需要获取 WiFi AP和基站的同步信息, 并根据同步信息计算出上述 WiFi AP的信标帧 的发射时间。 当获取了上述发射时间后, UE才根据上述发射时间激活 WiF i 功能并对 WiFi AP进行扫描, 节电并节省扫描时间。 例如, UE可以在上述 信标帧的发射时间前的短暂时间内激活 WiFi功能并对 WiF i AP进行扫描, 上述短暂时间可以根据经验值设定或仿真结果设定, 本发明对此不做限定。 In this embodiment, the UE does not need to simultaneously monitor the transmission time of the beacon frame of the WiFi AP of multiple channels, that is, it does not need to scan the WiF i AP for a long time to obtain the beacon frame of the WiFi AP, and does not need to generate the self-generated The frame is probed to obtain a beacon frame of the WiFi AP. The UE only needs to obtain the synchronization information of the WiFi AP and the base station, and calculates the beacon frame of the WiFi AP according to the synchronization information. Launch time. After obtaining the above transmission time, the UE activates the WiF i function according to the above transmission time and scans the WiFi AP, saves power and saves scanning time. For example, the UE may activate the WiFi function and scan the WiF i AP within a short time before the transmission time of the beacon frame, and the short time may be set according to an empirical value setting or a simulation result, which is not limited by the present invention. .
可选地, 根据所述信标帧的发射时间激活 WiFi功能对 WiFi AP进行扫 描之后, 还包括:  Optionally, after the WiFi function is activated according to the transmission time of the beacon frame, the WiFi AP is further scanned, and the method further includes:
如果接收到所述信标帧, 则发起和 WiFi AP建立连接的过程; 或者, 如果在指定的时间内未接收到所述信标帧, 则关闭 WiFi 功能停止对 WiFi AP进行扫描。  If the beacon frame is received, a process of establishing a connection with the WiFi AP is initiated; or, if the beacon frame is not received within a specified time, the WiFi function is turned off to stop scanning the WiFi AP.
本实施例提供的所述方法的执行主体具体是 UE, 所述方法可以应用于 各种无线通信系统, 如 LTE等等。  The executor of the method provided by this embodiment is specifically a UE, and the method can be applied to various wireless communication systems, such as LTE and the like.
本实施例提供的上述扫描方法, 通过根据同步信息计算出 WiFi AP 的 信标帧的发射时间, 并在该发射时间以前激活 WiFi功能对 WiFi AP进行扫 描, 有效地减少了扫描时间, 并且降低了 UE的耗电。 例如, 根据同步信息 在 WiFi AP和基站的帧边界对齐时,根据基站的 SFN和 TBTT计算出 WiFi AP 的信标帧的发射时间; 在 WiFi AP和基站的帧边界不对齐时, 根据基站的 SFN、 时间差和 TBTT计算出 WiFi AP的信标帧的发射时间, 给出了完整的 解决方案。 进一步地, 还可以根据基站的指示确定当前的扫描方式, 从而 按照该方式进行扫描, 进一步提高了扫描效率。 当接收信标帧成功时, 建 立连接, 在指定时间内未接收到信标帧则关闭 WiFi功能停止对 WiFi AP进 行扫描, 从而进一步节省了 UE的耗电。  The above scanning method provided by the embodiment reduces the scanning time and reduces the scanning time by calculating the transmission time of the beacon frame of the WiFi AP according to the synchronization information and activating the WiFi function before the transmission time. The power consumption of the UE. For example, when the frame boundary of the WiFi AP and the base station is aligned according to the synchronization information, the transmission time of the beacon frame of the WiFi AP is calculated according to the SFN and the TBTT of the base station; when the frame boundary of the WiFi AP and the base station is not aligned, according to the SFN of the base station The time difference and TBTT calculate the transmission time of the WiFi AP's beacon frame, and a complete solution is given. Further, the current scanning mode may be determined according to the indication of the base station, so that the scanning is performed according to the manner, thereby further improving the scanning efficiency. When the beacon frame is successfully received, the connection is established. If the beacon frame is not received within the specified time, the WiFi function is turned off to stop scanning the WiFi AP, thereby further saving the power consumption of the UE.
可选地, 发送无线保真 WiFi接入点 AP和基站的同步信息给用户设备 UE, 包括:  Optionally, the sending the synchronization information of the wireless fidelity WiFi access point AP and the base station to the user equipment UE includes:
通过广播信道或者专用信道发送所述 WiFi AP和所述基站的同步信息 给所述 UE。  The synchronization information of the WiFi AP and the base station is sent to the UE through a broadcast channel or a dedicated channel.
可选地, 所述控制扫描的方法还包括: 指示主动扫描方式或被动扫描方式并发送给所述 UE; 或者, Optionally, the method for controlling scanning further includes: Indicating an active scanning mode or a passive scanning mode and transmitting to the UE; or
将所述基站中 WiFi AP的部署方式指示给所述 UE,所述部署方式为 WiFi And indicating the deployment manner of the WiFi AP in the base station to the UE, where the deployment mode is WiFi
AP与基站共站, 或所述基站为宏基站且在该宏基站下配置多个 WiF i AP。 The AP is co-located with the base station, or the base station is a macro base station and multiple WiF i APs are configured under the macro base station.
本实施例提供的上述控制扫描的方法,通过发送同步信息给 UE以便 UE 根据该同步信息计算出 WiFi AP 的信标帧的发射时间, 并在该发射时间以 前激活 WiFi功能对 WiFi AP进行扫描, 有效地减少了扫描时间, 并且降低 了 UE的耗电。 参见图 2 , 本发明又一实施例提供了一种扫描方法, 包括:  The method for controlling scanning according to the embodiment provides a method for the UE to calculate the transmission time of the beacon frame of the WiFi AP according to the synchronization information, and activate the WiFi function to scan the WiFi AP before the transmission time. The scan time is effectively reduced, and the power consumption of the UE is reduced. Referring to FIG. 2, another embodiment of the present invention provides a scanning method, including:
201: 移动网络内的基站发送无线保真 WiFi接入点 AP和基站的同步信 息给用户设备 UE。  201: The base station in the mobile network sends the synchronization information of the wireless fidelity WiFi access point AP and the base station to the user equipment UE.
具体地, 基站可以通过广播信道或者专用信道发送 WiFi AP信息给该 UE, 该 WiFi AP信息中包含该 WiFi AP和该基站的同步信息。 其中, 所述 WiFi AP信息包括但不限于以下信息: SSID ( WiFi接入点标识), 信道列表, 扫描方式, WiFi AP与 LTE小基站是否共站等等。  Specifically, the base station may send the WiFi AP information to the UE through a broadcast channel or a dedicated channel, where the WiFi AP information includes synchronization information of the WiFi AP and the base station. The WiFi AP information includes but is not limited to the following information: SSID (WiFi access point identifier), channel list, scanning mode, whether the WiFi AP and the LTE small base station are co-located, and the like.
202: UE接收该基站通过广播信道或者专用信道发送的该 WiFi AP和该 基站的同步信息。  202: The UE receives synchronization information of the WiFi AP and the base station that are sent by the base station by using a broadcast channel or a dedicated channel.
具体地, 基站可以通过广播信道或者专用信道发送 WiFi AP信息, 其 中携带该 WiFi AP和该基站的同步信息, 相应地, UE可以从接收的 WiFi AP 信息中获取该 WiFi AP和该基站的同步信息。  Specifically, the base station may send the WiFi AP information through the broadcast channel or the dedicated channel, where the synchronization information of the WiFi AP and the base station is carried, and correspondingly, the UE may obtain the synchronization information of the WiFi AP and the base station from the received WiFi AP information. .
203: 基站指示主动扫描方式或被动扫描方式并发送给该 UE; 或者, 将 该基站中 WiFi AP的部署方式指示给该 UE, 该部署方式为 WiF i AP与基站 共站, 或该基站为宏基站且在该宏基站下配置多个 WiFi AP。  203: The base station indicates the active scanning mode or the passive scanning mode and sends the signal to the UE. Alternatively, the deployment mode of the WiFi AP in the base station is indicated to the UE, where the deployment mode is that the WiF i AP is co-located with the base station, or the base station is a macro base. The station configures a plurality of WiFi APs under the macro base station.
本实施例中, 所述主动扫描方式是指 UE主动生成并发送探测帧 Probe Reques t Frame,通过接收 WiF i AP返回的探测响应†j¾ Probe Response Frame 来扫描到 WiFi AP。 所述探测响应帧包括但不限于以下信息: AP的 MAC地 址、 网络名称 SSID、 支持的速率、 支持的认证方式、 加密算法、 信标帧发 送间隔、 使用的信道等等。 所述被动扫描方式是指 WiF i AP周期性地广播 信标 Beacon帧, UE通过接收该 Beacon帧来完成对 WiFi AP的扫描。 无论 是主动扫描方式还是被动扫描方式, 扫描成功后 UE 与基站之间执行鉴权 Authent icat ion和关联 As soc iat ion过程,然后 UE与建立关联关系的 WiF i AP之间传输数据进行通信。 In this embodiment, the active scanning mode refers to that the UE actively generates and sends a probe frame Probe Reques t Frame, and scans the WiFi AP by receiving a probe response 返回j3⁄4 Probe Response Frame returned by the WiF i AP. The probe response frame includes but is not limited to the following information: MAC address of the AP Address, network name SSID, supported rate, supported authentication method, encryption algorithm, beacon frame transmission interval, used channel, etc. The passive scanning mode means that the WiF i AP periodically broadcasts the beacon Beacon frame, and the UE completes the scanning of the WiFi AP by receiving the Beacon frame. The active ping mode and the passive scanning mode are performed. After the scanning succeeds, the Authentive Icat ion and the associated As soc iat process are performed between the UE and the base station, and then the UE transmits data to communicate with the WiF i AP that establishes the association relationship.
204: 如果基站指示扫描方式为主动扫描方式或被动扫描方式, 则确定 所述基站的扫描方式为基站指示的扫描方式; 或者, 如果基站指示 WiFi AP 的部署方式, 则当该部署方式为 WiFi AP与基站共站时, 确定所述基站的 扫描方式为主动扫描方式, 当该部署方式为宏基站下配置多个 WiF i AP时, 确定所述基站的扫描方式为被动扫描方式。  If the base station indicates that the scanning mode is the active scanning mode or the passive scanning mode, the scanning mode of the base station is determined to be the scanning mode indicated by the base station; or, if the base station indicates the deployment mode of the WiFi AP, the deployment mode is the WiFi AP. When the station is co-located with the base station, it is determined that the scanning mode of the base station is an active scanning mode. When the deployment mode is configured to configure multiple WiF i APs in the macro base station, the scanning mode of the base station is determined to be a passive scanning mode.
其中, 对于 WiFi AP和基站共站的场景, 扫描方式优选配置为主动扫 描方式, 可以减小干扰; 对于 WiFi AP和基站不共站的场景, 即宏基站下 配置了多个 WiFi AP的场景, 则扫描方式优选配置为被动扫描方式。  In the scenario where the WiFi AP and the base station are co-station, the scanning mode is preferably configured as an active scanning mode, which can reduce interference. For a scene in which the WiFi AP and the base station are not co-located, that is, a scene in which multiple WiFi APs are configured under the macro base station, The scanning mode is preferably configured as a passive scanning mode.
本实施例中, 201、 202的交互过程, 与 203、 204的交互过程在时间上 可以不分先后, 也可以同步进行, 本发明不限定具体顺序。  In this embodiment, the interaction process between 201 and 202 and the interaction process with 203 and 204 may be performed in time or in synchronization, and the present invention does not limit the specific sequence.
205: UE根据该同步信息计算 WiFi AP的信标帧的发射时间。  205: The UE calculates a transmission time of the beacon frame of the WiFi AP according to the synchronization information.
本步骤可以具体包括:  This step can specifically include:
如果该同步信息为指示该 WiF i AP和基站的帧边界对齐, 或者指示扫 描方式, 或者指示 WiFi AP的部署方式, 则确定该 WiFi AP和基站同步, 根据所述基站的系统帧号 SFN和目标信标帧传输时间 TBTT计算出 WiFi AP 的信标帧的发射时间;  If the synchronization information indicates that the frame boundary of the WiF i AP and the base station is aligned, or indicates a scanning mode, or indicates a deployment mode of the WiFi AP, determining that the WiFi AP and the base station are synchronized according to the system frame number SFN and the target of the base station. The beacon frame transmission time TBTT calculates the transmission time of the beacon frame of the WiFi AP;
如果该同步信息为该 WiFi AP和基站之间的时间差, 则确定该 WiFi AP 和基站的帧边界不对齐,根据所述基站的系统帧号 SFN、该时间差和目标信 标帧传输时间 TBTT计算出 WiFi AP的信标帧的发射时间。  If the synchronization information is a time difference between the WiFi AP and the base station, determining that the frame boundary of the WiFi AP and the base station are not aligned, and calculating according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT The transmission time of the WiFi AP's beacon frame.
参见图 3 , UE所在的移动小区的 SFN ( Sys tem Frame Number , 系统帧 号) =0的帧和 WiFi AP的 Beacon帧同步, 代表时间对齐。 例如, 移动小区 1024个帧和 100个 WiFi AP的 TBTT的首尾对齐。 Referring to FIG. 3, the SFN (System Frame Number) of the mobile cell where the UE is located The frame of =0) is synchronized with the Beacon frame of the WiFi AP, representing time alignment. For example, the 1024 frames of the mobile cell and the TBTT of 100 WiFi APs are aligned end to end.
本实施例中, 在确定 WiFi AP和基站同步的场景下, 根据所述基站的 系统帧号 SFN和目标信标帧传输时间 TBTT计算出 WiFi AP的信标帧的发射 时间, 可以包括:  In this embodiment, in the scenario that the WiFi AP and the base station are synchronized, the time of transmitting the beacon frame of the WiFi AP is calculated according to the system frame number SFN of the base station and the target beacon frame transmission time TBTT, which may include:
按照如下公式计算出 WiFi AP的信标帧的发射时间:  Calculate the transmission time of the beacon frame of the WiFi AP according to the following formula:
Tread-beacon (n) = TBTT-10* (n+1) mod TBTT - del ta;  Tread-beacon (n) = TBTT-10* (n+1) mod TBTT - del ta;
其中, Tread-beacon (n) 为 WiF i AP的信标帧的发射时间, TBTT为目 标信标帧传输时间, n为所述基站的 SFN, del ta为修正系数且大于或等于 0。  The Tread-beacon (n) is the transmission time of the beacon frame of the WiF i AP, the TBTT is the target beacon frame transmission time, n is the SFN of the base station, and del ta is the correction coefficient and is greater than or equal to 0.
参见图 4 , 当 UE所在的移动小区的 SFN=0的帧和 WiFi AP的 Beacon帧 在时间上不对齐时, 可以理解为 WiF i AP和基站的帧边界不对齐。  Referring to FIG. 4, when the SFN=0 frame of the mobile cell where the UE is located and the Beacon frame of the WiFi AP are not aligned in time, it can be understood that the frame boundary of the WiF i AP and the base station are not aligned.
本实施例中, 在 WiF i AP和基站的帧边界不对齐的场景下, 根据所述 基站的系统帧号 SFN、该时间差和目标信标帧传输时间 TBTT计算出 WiFi AP 的信标帧的发射时间, 可以包括:  In this embodiment, in a scenario where the frame boundary of the WiF i AP and the base station are not aligned, the transmission of the beacon frame of the WiFi AP is calculated according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT. Time can include:
按照如下公式计算出 WiFi AP的信标帧的发射时间:  Calculate the transmission time of the beacon frame of the WiFi AP according to the following formula:
Tread-beacon (n) = TBTT- (10* (n+1) - Tdiff) mod TBTT - de l ta; 其中, Tread-beacon (n) 为 WiF i AP的信标帧的发射时间, TBTT为目 标信标帧传输时间, n为所述基站的 SFN, Tdiff 为该时间差, del ta为修 正系数且大于或等于 0, 单位 ms。  Tread-beacon (n) = TBTT- (10* (n+1) - Tdiff) mod TBTT - de l ta; where Tread-beacon (n) is the transmission time of the beacon frame of the WiF i AP, TBTT is the target Beacon frame transmission time, n is the SFN of the base station, Tdiff is the time difference, del ta is the correction coefficient and is greater than or equal to 0, in units of ms.
上述两个场景中, del ta的取值可以根据需要进行设置。当取值为 0时, 代表在 WiFi AP的信标帧的发射时刻激活 WiFi功能, 本实施例中, 考虑到 启动 WiFi接收机和切换的时间, 为了提高扫描的效率和准确性, 优选地, 可以将该 del ta的取值设置为大于 0的数, 如 10ms等等, 本发明对此不做 具体限定。  In the above two scenarios, the value of del ta can be set as needed. When the value is 0, the WiFi function is activated at the time of transmitting the beacon frame of the WiFi AP. In this embodiment, in consideration of the time for starting the WiFi receiver and the handover, in order to improve the efficiency and accuracy of the scanning, preferably, The value of the del ta can be set to a number greater than 0, such as 10 ms, etc., which is not specifically limited in the present invention.
206: UE在该信标帧的发射时间以前激活 WiFi功能对 WiFi AP进行扫 描。 206: The UE activates the WiFi function to scan the WiFi AP before the transmission time of the beacon frame. Description.
207: 如果 UE接收到该信标帧, 则发起和 WiFi AP建立连接的过程; 或者,如果在指定的时间内未接收到该信标帧,则关闭 WiFi功能停止对 WiFi AP进行扫描, 流程结束。  207: If the UE receives the beacon frame, initiate a process of establishing a connection with the WiFi AP; or, if the beacon frame is not received within the specified time, the WiFi function is disabled to stop scanning the WiFi AP, and the process ends. .
本实施例提供的上述方法, 通过基站发送同步信息且 UE根据该同步信 息计算出 WiFi AP的信标帧的发射时间, 并在该发射时间以前激活 WiFi功 能对 WiFi AP进行扫描, 有效地减少了扫描时间, 并且降低了 UE的耗电。 根据同步信息在 WiFi AP和基站的帧边界对齐时, 根据基站的 SFN和 TBTT 计算出 WiFi AP的信标帧的发射时间; 在 WiFi AP和基站的帧边界不对齐 时, 根据基站的 SFN、 时间差和 TBTT计算出 WiFi AP的信标帧的发射时间, 给出了完整的解决方案。 进一步地, 还可以根据基站的指示确定当前的扫 描方式, 从而按照该方式进行扫描, 进一步提高了扫描效率。 当接收信标 帧成功时, 建立连接, 在指定时间内未接收到信标帧则关闭 WiFi功能停止 对 WiFi AP进行扫描, 从而进一步节省了 UE的耗电。 参见图 5 , 本发明再一实施例提供了一种用户设备 UE, 包括: 获取模块 501 , 用于获取无线保真 WiFi接入点 AP和基站的同步信息; 处理模块 502 ,用于根据该获耳 ^莫块 501获取的该同步信息获得 WiF i AP 的信标帧的发射时间;  In the foregoing method provided by the embodiment, the synchronization information is sent by the base station, and the UE calculates the transmission time of the beacon frame of the WiFi AP according to the synchronization information, and activates the WiFi function to scan the WiFi AP before the transmission time, thereby effectively reducing the The scan time is reduced and the power consumption of the UE is reduced. According to the synchronization information, when the frame boundary of the WiFi AP and the base station is aligned, the transmission time of the beacon frame of the WiFi AP is calculated according to the SFN and the TBTT of the base station; when the frame boundary of the WiFi AP and the base station is not aligned, according to the SFN and the time difference of the base station And TBTT calculates the transmission time of the WiFi AP's beacon frame, and gives a complete solution. Further, the current scanning mode may be determined according to the indication of the base station, thereby performing scanning according to the manner, thereby further improving the scanning efficiency. When the beacon frame is successfully received, a connection is established, and if the beacon frame is not received within a specified time, the WiFi function is turned off to stop scanning the WiFi AP, thereby further saving the power consumption of the UE. Referring to FIG. 5, a further embodiment of the present invention provides a user equipment UE, including: an obtaining module 501, configured to acquire synchronization information of a wireless fidelity WiFi access point AP and a base station; and a processing module 502, configured to obtain The synchronization information acquired by the ear block 501 obtains the transmission time of the beacon frame of the WiF i AP;
扫描模块 503 ,用于根据该处理模块 502获得的该信标帧的发射时间激 活 WiFi功能对所述 WiFi AP进行扫描。  The scanning module 503 is configured to perform scanning on the WiFi AP according to the activation time of the beacon frame obtained by the processing module 502.
其中, 获取模块 501 可以用于: 接收该基站通过广播信道或者专用信 道发送的该 WiFi AP和该基站的同步信息。  The obtaining module 501 is configured to: receive synchronization information of the WiFi AP and the base station that are sent by the base station by using a broadcast channel or a dedicated channel.
其中, 处理模块 502可以包括:  The processing module 502 can include:
第一计算单元, 用于如果该同步信息为指示该 WiFi AP和基站同步, 或者指示扫描方式, 或者指示 WiFi AP 的部署方式, 则根据所述基站的系 统帧号 SFN和目标信标帧传输时间 TBTT计算出 WiFi AP的信标帧的发射时 间; a first calculating unit, configured to: if the synchronization information is to indicate that the WiFi AP and the base station are synchronized, or indicate a scanning mode, or indicate a deployment manner of the WiFi AP, according to the system of the base station The frame number SFN and the target beacon frame transmission time TBTT calculate the transmission time of the beacon frame of the WiFi AP;
第二计算单元, 用于如果该同步信息为该 WiFi AP和基站之间的时间 差,则根据所述基站的系统帧号 SFN、该时间差和目标信标帧传输时间 TBTT 计算出 WiFi AP的信标帧的发射时间。  a second calculating unit, configured to: if the synchronization information is a time difference between the WiFi AP and the base station, calculate a beacon of the WiFi AP according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT The transmission time of the frame.
进一步地, 一种实施方式下, 该第一计算单元用于按照如下公式计算 出 WiFi AP的信标帧的发射时间:  Further, in an implementation manner, the first calculating unit is configured to calculate a transmission time of a beacon frame of the WiFi AP according to the following formula:
Tread-beacon (n) = TBTT-10* (n+1) mod TBTT - del ta;  Tread-beacon (n) = TBTT-10* (n+1) mod TBTT - del ta;
其中, Tread-beacon (n) 为 WiF i AP的信标帧的发射时间, TBTT为目 标信标帧传输时间, n为所述基站的 SFN, del ta为修正系数且大于或等于 0。  The Tread-beacon (n) is the transmission time of the beacon frame of the WiF i AP, the TBTT is the target beacon frame transmission time, n is the SFN of the base station, and del ta is the correction coefficient and is greater than or equal to 0.
进一步地, 另一种实施方式下, 该第二计算单元用于按照如下公式计 算出 WiFi AP的信标帧的发射时间:  Further, in another implementation manner, the second calculating unit is configured to calculate a transmission time of the beacon frame of the WiFi AP according to the following formula:
Tread-beacon (n) = TBTT- (10* (n+1) - Tdiff) mod TBTT - de l ta; 其中, Tread—beacon (n) 为 WiF i AP的信标帧的发射时间, TBTT为目 标信标帧传输时间, n为所述基站的 SFN, Tdiff 为该时间差, del ta为修 正系数且大于或等于 0。  Tread-beacon (n) = TBTT- (10* (n+1) - Tdiff) mod TBTT - de l ta; where Tread-beacon (n) is the transmission time of the beacon frame of the WiF i AP, TBTT is the target The beacon frame transmission time, n is the SFN of the base station, Tdiff is the time difference, and del ta is the correction coefficient and is greater than or equal to zero.
本实施例中, 扫描模块 503具体用于:  In this embodiment, the scanning module 503 is specifically configured to:
在该信标帧的发射时间以前激活 WiFi功能对 WiFi AP进行扫描之前, 如果该基站指示扫描方式为主动扫描方式或被动扫描方式, 则确定当前的 扫描方式为该基站指示的扫描方式; 或者, 如果该基站指示 WiFi AP 的部 署方式, 则当该部署方式为 WiFi AP与基站共站时, 确定当前的扫描方式 为主动扫描方式, 当该部署方式为该基站为宏基站且在该宏基站下配置多 个 WiFi AP时, 确定当前的扫描方式为被动扫描方式;  If the base station indicates that the scanning mode is the active scanning mode or the passive scanning mode before the transmitting time of the beacon frame is activated, if the scanning mode is the active scanning mode or the passive scanning mode, the current scanning mode is determined to be the scanning mode indicated by the base station; or If the base station indicates the deployment mode of the WiFi AP, when the deployment mode is that the WiFi AP is co-located with the base station, the current scanning mode is determined to be the active scanning mode, and the deployment mode is that the base station is a macro base station and is under the macro base station. When multiple WiFi APs are configured, the current scanning mode is determined to be passive scanning mode.
按照所述确定的当前扫描方式对所述 WiFi AP进行扫描。  The WiFi AP is scanned according to the determined current scanning mode.
本实施例中, 该 UE还可以包括: 建立模块, 用于在扫描模块 503在该信标帧的发射时间以前激活 WiFi 功能对 WiF i AP进行扫描之后, 如果接收到该信标帧, 则发起和 WiFi AP 建立连接的过程; In this embodiment, the UE may further include: Establishing a module, after the scanning module 503 activates the WiFi function to scan the WiF i AP before the transmitting time of the beacon frame, if the beacon frame is received, initiate a process of establishing a connection with the WiFi AP;
或者,  Or,
扫描模块 503还用于: 如果在指定的时间内未接收到该信标帧, 则关 闭 WiFi功能停止对 WiFi AP进行扫描。 如图 1所示的扫描方法实施例、 图 2所示的扫描方法实施例, 详细过程详 见方法实施例中的描述, 此处不赘述。  The scanning module 503 is further configured to: if the beacon frame is not received within a specified time, the shutdown WiFi function stops scanning the WiFi AP. The embodiment of the scanning method shown in FIG. 1 and the scanning method embodiment shown in FIG. 2 are described in detail in the method embodiment, and are not described here.
本实施例提供的上述 UE, 通过根据同步信息计算出 WiFi AP的信标帧 的发射时间, 并在该发射时间以前激活 WiFi功能对 WiFi AP进行扫描, 有 效地减少了扫描时间, 并且降低了 UE的耗电。 根据同步信息在 WiFi AP和 基站的帧边界对齐时, 才艮据基站的 SFN和 TBTT计算出 WiFi AP的信标帧的 发射时间; 在 WiFi AP和基站的帧边界不对齐时, 根据基站的 SFN、 时间差 和 TBTT计算出 WiFi AP的信标帧的发射时间, 给出了完整的解决方案。 进 一步地, 还可以根据基站的指示确定当前的扫描方式, 从而按照该方式进 行扫描, 进一步提高了扫描效率。 当接收信标帧成功时, 建立连接, 在指 定时间内未接收到信标帧则关闭 WiF i功能停止对 WiFi AP进行扫描, 从而 进一步节省了 UE的耗电。 参见图 6 , 本发明另一个实施例还提供了一种基站, 包括:  The UE provided by the foregoing embodiment calculates the transmission time of the beacon frame of the WiFi AP according to the synchronization information, and activates the WiFi function to scan the WiFi AP before the transmission time, thereby effectively reducing the scan time and reducing the UE. Power consumption. According to the synchronization information, when the frame boundary of the WiFi AP and the base station is aligned, the transmission time of the beacon frame of the WiFi AP is calculated according to the SFN and the TBTT of the base station; when the frame boundary of the WiFi AP and the base station is not aligned, according to the SFN of the base station The time difference and TBTT calculate the transmission time of the WiFi AP's beacon frame, and a complete solution is given. Further, the current scanning mode can be determined according to the indication of the base station, thereby performing scanning in this manner, further improving the scanning efficiency. When the beacon frame is successfully received, the connection is established, and if the beacon frame is not received within the specified time, the WiF i function is turned off to stop scanning the WiFi AP, thereby further saving the power consumption of the UE. Referring to FIG. 6, another embodiment of the present invention further provides a base station, including:
发送模块 601 ,用于发送无线保真 WiF i接入点 AP和基站的同步信息给 用户设备 UE, 该同步信息用于该 UE获得 WiFi AP的信标帧的发射时间以便 根据该信标帧的发射时间激活 WiFi功能对所述 WiFi AP进行扫描。  The sending module 601 is configured to send synchronization information of the wireless fidelity WiF i access point AP and the base station to the user equipment UE, where the synchronization information is used by the UE to obtain a transmission time of the beacon frame of the WiFi AP, according to the beacon frame. The transmitting time activates the WiFi function to scan the WiFi AP.
其中, 发送模块 601 用于通过广播信道或者专用信道发送该 WiFi AP 和该基站的同步信息给该 UE。 进一步地, 该基站还可以包括: The sending module 601 is configured to send, by using a broadcast channel or a dedicated channel, synchronization information of the WiFi AP and the base station to the UE. Further, the base station may further include:
指示模块 602 , 用于指示主动扫描方式或被动扫描方式并发送给该 UE; 或者, 将该基站中 WiFi AP的部署方式指示给该 UE, 该部署方式为 WiFi AP 与基站共站, 或该基站为宏基站且在该宏基站下配置多个 WiFi AP。  The indication module 602 is configured to indicate the active scanning mode or the passive scanning mode and send the signal to the UE. Alternatively, the deployment mode of the WiFi AP in the base station is indicated to the UE, where the deployment mode is that the WiFi AP is co-located with the base station, or the base station A plurality of WiFi APs are configured for the macro base station and under the macro base station.
所述指示模块 602 , 还可以用于指示:  The indication module 602 can also be used to indicate:
所述 WiFi AP和所述基站同步,或者指示扫描方式,或者指示所述 WiFi AP的部署方式,用于所述 UE才艮据所述基站的系统帧号 SFN和目标信标帧传 输时间 TBTT计算所述 WiFi AP的信标帧的发射时间; 或者  Synchronizing the WiFi AP with the base station, or indicating a scanning mode, or indicating a deployment manner of the WiFi AP, where the UE calculates the system frame number SFN and the target beacon frame transmission time TBTT according to the base station. The transmission time of the beacon frame of the WiFi AP; or
所述 WiFi AP和所述基站之间的时间差, 用于所述 UE根据所述基站的 系统帧号 SFN、 所述时间差和目标信标帧传输时间 TBTT计算所述 WiFi AP 的个信标帧的发射时间。  a time difference between the WiFi AP and the base station, where the UE calculates a beacon frame of the WiFi AP according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT Launch time.
本实施例中的基站可以为任一基站中的基站,包括但不限于 GSM、UMTS、 LTE中的基站等等。  The base station in this embodiment may be a base station in any base station, including but not limited to base stations in GSM, UMTS, LTE, and the like.
本实施例提供的上述基站可以执行上述方法实施例中基站所执行的动 作, 详细过程详见方法实施例中的描述, 此处不赘述。  The foregoing base station provided in this embodiment may perform the operations performed by the base station in the foregoing method embodiment. For details, refer to the description in the method embodiment, and details are not described herein.
本实施例提供的上述基站, 通过发送同步信息给 UE,使得 UE根据该同 步信息计算出 WiFi AP的信标帧的发射时间,并在该发射时间以前激活 WiFi 功能对 WiFi AP进行扫描,有效地减少了扫描时间, 并且降低了 UE的耗电。 参见图 7 , 本发明又一个实施例还提供了一种用户设备 UE, 包括: 接收机 701 , 用于获取无线保真 WiFi接入点 AP和基站的同步信息; 处理器 702 , 用于根据接收机 701获取的该同步信息获得 WiFi AP的信 标帧的发射时间, 根据该信标帧的发射时间激活 WiFi功能对 WiFi AP进行 扫描。  The foregoing base station provides the base station, by sending synchronization information to the UE, so that the UE calculates the transmission time of the beacon frame of the WiFi AP according to the synchronization information, and activates the WiFi function to scan the WiFi AP before the transmission time, effectively The scan time is reduced and the power consumption of the UE is reduced. Referring to FIG. 7, a further embodiment of the present invention further provides a user equipment UE, including: a receiver 701, configured to acquire synchronization information of a wireless fidelity WiFi access point AP and a base station; and a processor 702, configured to receive The synchronization information acquired by the machine 701 obtains the transmission time of the beacon frame of the WiFi AP, and activates the WiFi function to scan the WiFi AP according to the transmission time of the beacon frame.
其中, 接收机 701 具体用于接收该基站通过广播信道或者专用信道发 送的 WiF i AP信息, 从该 WiFi AP信息中获取该 WiF i AP和该基站的同步 信息。 The receiver 701 is specifically configured to receive WiF i AP information sent by the base station by using a broadcast channel or a dedicated channel, and obtain synchronization between the WiF i AP and the base station from the WiFi AP information. Information.
其中, 处理器 702具体用于:  The processor 702 is specifically configured to:
如果该同步信息为指示该 WiF i AP和基站同步, 或者指示扫描方式, 或者指示 WiFi AP的部署方式, 则才艮据所述基站的系统帧号 SFN和目标信 标帧传输时间 TBTT计算出 WiFi AP的信标帧的发射时间, 且在所述信标帧 的发射时间以前激活 WiFi功能对 WiFi AP进行扫描; 或  If the synchronization information indicates that the WiF i AP and the base station are synchronized, or indicates a scanning mode, or indicates a deployment mode of the WiFi AP, the WiFi is calculated according to the system frame number SFN and the target beacon frame transmission time TBTT of the base station. The transmission time of the beacon frame of the AP, and the WiFi function is activated to scan the WiFi AP before the transmission time of the beacon frame; or
如果该同步信息为该 WiFi AP和基站之间的时间差, 则根据所述基站 的系统帧号 SFN、 该时间差和目标信标帧传输时间 TBTT计算出 WiFi AP的 信标帧的发射时间,且在所述信标帧的发射时间以前激活 WiFi功能对 WiF i AP进行扫描。  If the synchronization information is a time difference between the WiFi AP and the base station, calculating a transmission time of the beacon frame of the WiFi AP according to the system frame number SFN of the base station, the time difference, and the target beacon frame transmission time TBTT, and The WiFi function is activated before the transmission time of the beacon frame to scan the WiF i AP.
其中, 处理器 702还用于:  The processor 702 is further configured to:
在该信标帧的发射时间以前激活 WiFi功能对 WiFi AP进行扫描之前, 如果该基站指示扫描方式为主动扫描方式或被动扫描方式, 则确定当前的 扫描方式为该基站指示的扫描方式; 或者, 如果该基站指示 WiFi AP 的部 署方式, 则当该部署方式为 WiFi AP与基站共站时, 确定当前的扫描方式 为主动扫描方式, 当该部署方式为该基站为宏基站且在该宏基站下配置多 个 WiFi AP时, 确定当前的扫描方式为被动扫描方式;  If the base station indicates that the scanning mode is the active scanning mode or the passive scanning mode before the transmitting time of the beacon frame is activated, if the scanning mode is the active scanning mode or the passive scanning mode, the current scanning mode is determined to be the scanning mode indicated by the base station; or If the base station indicates the deployment mode of the WiFi AP, when the deployment mode is that the WiFi AP is co-located with the base station, the current scanning mode is determined to be the active scanning mode, and the deployment mode is that the base station is a macro base station and is under the macro base station. When multiple WiFi APs are configured, the current scanning mode is determined to be passive scanning mode.
相应地, 处理器 702 具体按照确定的所述当前的扫描方式对 WiFi AP 进行扫描。  Correspondingly, the processor 702 scans the WiFi AP according to the determined current scanning manner.
其中, 处理器 702还用于: The processor 70 2 is further configured to:
如果所述基站指示扫描方式为主动扫描方式或被动扫描方式, 则确定 当前的扫描方式为所述基站指示的扫描方式;或者,如果所述基站指示 WiFi AP的部署方式, 则当所述部署方式为 WiFi AP与基站共站时, 确定当前的 扫描方式为主动扫描方式, 当所述部署方式为所述基站为宏基站且在该宏 基站下配置多个 WiFi AP时, 确定当前的扫描方式为被动扫描方式;  If the base station indicates that the scanning mode is the active scanning mode or the passive scanning mode, determining that the current scanning mode is the scanning mode indicated by the base station; or, if the base station indicates the deployment mode of the WiFi AP, When the WiFi AP is co-located with the base station, it is determined that the current scanning mode is the active scanning mode. When the deployment mode is that the base station is a macro base station and multiple WiFi APs are configured under the macro base station, the current scanning mode is determined as Passive scanning method;
根据所述接收机获取的所述同步信息获得 WiFi AP 的信标帧的发射时 间; Obtaining a transmission time of a beacon frame of the WiFi AP according to the synchronization information acquired by the receiver Between
按照所述确定的当前扫描方式对所述 WiFi AP进行扫描。 详细过程详见方法实施例中的描述, 此处不赘述。  The WiFi AP is scanned according to the determined current scanning mode. The detailed process is described in the description of the method embodiment, and is not described here.
本实施例提供的上述 UE, 通过根据同步信息计算出 WiFi AP的信标帧 的发射时间, 并在该发射时间以前激活 WiFi功能对 WiFi AP进行扫描, 有 效地减少了扫描时间, 并且降低了 UE的耗电。 根据同步信息在 WiFi AP和 基站的帧边界对齐时, 才艮据基站的 SFN和 TBTT计算出 WiFi AP的信标帧的 发射时间; 在 WiFi AP和基站的帧边界不对齐时, 根据基站的 SFN、 时间差 和 TBTT计算出 WiFi AP的信标帧的发射时间, 给出了完整的解决方案。 进 一步地, 还可以根据基站的指示确定当前的扫描方式, 从而按照该方式进 行扫描, 进一步提高了扫描效率。 当接收信标帧成功时, 建立连接, 在指 定时间内未接收到信标帧则关闭 WiF i功能停止对 WiFi AP进行扫描, 从而 进一步节省了 UE的耗电。 参见图 8 , 本发明再一个实施例还提供了一种基站, 包括:  The UE provided by the foregoing embodiment calculates the transmission time of the beacon frame of the WiFi AP according to the synchronization information, and activates the WiFi function to scan the WiFi AP before the transmission time, thereby effectively reducing the scan time and reducing the UE. Power consumption. According to the synchronization information, when the frame boundary of the WiFi AP and the base station is aligned, the transmission time of the beacon frame of the WiFi AP is calculated according to the SFN and the TBTT of the base station; when the frame boundary of the WiFi AP and the base station is not aligned, according to the SFN of the base station The time difference and TBTT calculate the transmission time of the WiFi AP's beacon frame, and a complete solution is given. Further, the current scanning mode can be determined according to the indication of the base station, thereby performing scanning in this manner, further improving the scanning efficiency. When the beacon frame is successfully received, the connection is established, and if the beacon frame is not received within the specified time, the WiF i function is turned off to stop scanning the WiFi AP, thereby further saving the power consumption of the UE. Referring to FIG. 8, another embodiment of the present invention further provides a base station, including:
发射机 801 ,用于发送无线保真 WiFi接入点 AP和基站的同步信息给用 户设备 UE, 该同步信息用于该 UE获得 WiFi AP的信标帧的发射时间以便根 据该信标帧的发射时间激活 WiFi功能对所述 WiF i AP进行扫描。  The transmitter 801 is configured to send synchronization information of the wireless fidelity WiFi access point AP and the base station to the user equipment UE, where the synchronization information is used by the UE to obtain a transmission time of the beacon frame of the WiFi AP, so as to be transmitted according to the beacon frame. The time activated WiFi function scans the WiF i AP.
其中, 发射机 801具体用于通过广播信道或者专用信道发送该 WiFi AP 和该基站的同步信息给该 UE。  The transmitter 801 is specifically configured to send, by using a broadcast channel or a dedicated channel, synchronization information of the WiFi AP and the base station to the UE.
进一步地, 该发射机 801还用于:  Further, the transmitter 801 is further configured to:
指示主动扫描方式或被动扫描方式并发送给该 UE; 或者, 将该基站中 WiFi AP的部署方式指示给该 UE, 该部署方式为 WiFi AP与基站共站, 或 该基站为宏基站且在该宏基站下配置多个 WiFi AP。  Instructing the active scanning mode or the passive scanning mode to be sent to the UE; or, indicating the deployment mode of the WiFi AP in the base station to the UE, the deployment mode is that the WiFi AP is co-located with the base station, or the base station is a macro base station and Multiple WiFi APs are configured under the macro base station.
进一步, 该基站还包括处理器: 用于指示所述 WiFi AP和所述基站同步, 或者指示扫描方式, 或者指 示所述 WiFi AP的部署方式, 用于所述 UE才艮据所述基站的系统帧号 SFN和 目标信标帧传输时间 TBTT计算所述 WiFi AP的信标帧的发射时间; 或者 用于指示所述 WiF i AP和所述基站之间的时间差, 用于所述 UE才艮据所 述基站的系统帧号 SFN、 所述时间差和目标信标帧传输时间 TBTT计算所述 WiFi AP的个信标帧的发射时间 Further, the base station further includes a processor: And indicating that the WiFi AP and the base station are synchronized, or indicating a scanning mode, or indicating a deployment manner of the WiFi AP, where the UE transmits the system frame number SFN and the target beacon frame according to the base station. The time TBTT calculates a transmission time of the beacon frame of the WiFi AP; or is used to indicate a time difference between the WiF i AP and the base station, where the UE uses the system frame number SFN of the base station, Calculating a transmission time of the beacon frames of the WiFi AP by using the time difference and the target beacon frame transmission time TBTT
本实施例中的基站可以为任一基站中的基站,包括但不限于 GSM、UMTS、 LTE中的基站等等。  The base station in this embodiment may be a base station in any base station, including but not limited to base stations in GSM, UMTS, LTE, and the like.
本实施例提供的上述基站可以执行上述方法实施例中提供的方法, 详 细过程详见方法实施例中的描述, 此处不赘述。  The above-mentioned base station provided in this embodiment may perform the method provided in the foregoing method embodiment. For details, refer to the description in the method embodiment, and details are not described herein.
本实施例提供的上述基站, 通过发送同步信息给 UE,使得 UE根据该同 步信息计算出 WiFi AP的信标帧的发射时间,并在该发射时间以前激活 WiFi 功能对 WiFi AP进行扫描,有效地减少了扫描时间, 并且降低了 UE的耗电。 参见图 9 , 本发明另一个实施例还提供了一种扫描系统, 包括: UE 901 和基站 902。  The foregoing base station provides the base station, by sending synchronization information to the UE, so that the UE calculates the transmission time of the beacon frame of the WiFi AP according to the synchronization information, and activates the WiFi function to scan the WiFi AP before the transmission time, effectively The scan time is reduced and the power consumption of the UE is reduced. Referring to FIG. 9, another embodiment of the present invention further provides a scanning system, including: a UE 901 and a base station 902.
其中, UE 901可以为上述任一实施例提供的 UE, 基站 902可以为上述 任一实施例提供的基站, 详细描述详见上述实施例, 此处不赘述。  The UE 901 may be the UE provided by any of the foregoing embodiments, and the base station 902 may be the base station provided by any of the foregoing embodiments. For details, refer to the foregoing embodiment, and details are not described herein.
本实施例提供的所述系统可以执行上述任一方法实施例提供的方法, 详细过程详见方法实施例中的描述, 此处不赞述。  The system provided by this embodiment may perform the method provided by any of the foregoing method embodiments. For details, refer to the description in the method embodiment, which is not described herein.
本实施例提供的上述系统, 通过基站发送同步信息给 UE, UE根据该同 步信息计算出 WiFi AP的信标帧的发射时间,并在该发射时间以前激活 WiFi 功能对 WiFi AP进行扫描,有效地减少了扫描时间, 并且降低了 UE的耗电。 本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以 通过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可 以存储于一种计算机可读存储介质中, 上述提到的存储介质可以是只读存 储器, 磁盘或光盘等。 In the foregoing system, the system sends the synchronization information to the UE by using the base station, and the UE calculates the transmission time of the beacon frame of the WiFi AP according to the synchronization information, and activates the WiFi function to scan the WiFi AP before the transmission time, effectively The scan time is reduced and the power consumption of the UE is reduced. A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to complete related hardware, the program may be For storage in a computer readable storage medium, the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发 明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在 本发明的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims

权利要求 Rights request
1、 一种扫描方法, 其特征在于, 所述方法包括: 1. A scanning method, characterized in that the method includes:
获取无线保真 WiF i接入点 AP和基站的同步信息; Obtain synchronization information of wireless fidelity WiFi access point AP and base station;
根据所述同步信息获得 WiFi AP的信标帧的发射时间; Obtain the transmission time of the beacon frame of the WiFi AP according to the synchronization information;
根据所述信标帧的发射时间激活 WiFi功能对所述 WiFi AP进行扫描。 The WiFi function is activated to scan the WiFi AP according to the transmission time of the beacon frame.
2、 根据权利要求 1所述的方法, 其特征在于, 获取无线保真 WiFi接 入点 AP和基站的同步信息, 包括: 2. The method according to claim 1, characterized in that obtaining the synchronization information of the wireless fidelity WiFi access point AP and the base station includes:
接收所述基站通过广播信道或者专用信道发送的所述 WiF i AP和所述 基站的同步信息。 Receive synchronization information between the WiFi AP and the base station sent by the base station through a broadcast channel or a dedicated channel.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 根据所述同步信息 获得 WiFi AP的信标帧的发射时间, 包括: 3. The method according to claim 1 or 2, characterized in that: obtaining the transmission time of the beacon frame of the WiFi AP according to the synchronization information includes:
如果所述同步信息为指示所述 WiFi AP和所述基站同步, 或者指示扫 描方式, 或者指示所述 WiFi AP 的部署方式, 则根据所述基站的系统帧号 SFN和目标信标帧传输时间 TBTT计算所述 WiFi AP的信标帧的发射时间; 如果所述同步信息为所述 WiF i AP和所述基站之间的时间差, 则根据 所述基站的系统帧号 SFN、 所述时间差和目标信标帧传输时间 TBTT计算所 述 WiFi AP的个信标帧的发射时间。 If the synchronization information indicates synchronization between the WiFi AP and the base station, or indicates a scanning mode, or indicates a deployment mode of the WiFi AP, then according to the system frame number SFN of the base station and the target beacon frame transmission time TBTT Calculate the transmission time of the beacon frame of the WiFi AP; If the synchronization information is the time difference between the WiFi AP and the base station, then according to the system frame number SFN of the base station, the time difference and the target signal The beacon frame transmission time TBTT calculates the transmission time of beacon frames of the WiFi AP.
4、 根据权利要求 3所述的方法, 其特征在于, 根据所述基站的系统帧 号 SFN和目标信标帧传输时间 TBTT计算所述 WiF i AP的信标帧的发射时间, 包括: 4. The method according to claim 3, wherein calculating the transmission time of the beacon frame of the WiFi AP according to the system frame number SFN of the base station and the target beacon frame transmission time TBTT includes:
按照如下公式计算所述 WiFi AP的信标帧的发射时间: Calculate the transmission time of the beacon frame of the WiFi AP according to the following formula:
Treadbea∞n (n) = TBTT-10* (n+1) mod TBTT - del ta; 其中, Tr6ad_b n (n) 为所述 WiFi AP的信标帧的发射时间, n为所述基 站的 SFN, del ta为修正系数且大于或等于 0。 T readbea∞n (n) = TBTT-10* (n+1) mod TBTT - del ta; Wherein, T r6ad _ bn (n) is the transmission time of the beacon frame of the WiFi AP, n is the SFN of the base station, and delta is the correction coefficient and is greater than or equal to 0.
5、 根据权利要求 3所述的方法, 其特征在于, 根据所述基站的系统帧 号 SFN、 所述时间差和目标信标帧传输时间 TBTT计算所述 WiFi AP的信标 帧的发射时间, 包括: 5. The method according to claim 3, characterized in that, calculating the transmission time of the beacon frame of the WiFi AP according to the system frame number SFN of the base station, the time difference and the target beacon frame transmission time TBTT, including :
按照如下公式计算所述 WiFi AP的信标帧的发射时间: Calculate the transmission time of the beacon frame of the WiFi AP according to the following formula:
Treadbeacn (n) = TBTT- (10* (n+l) - Tdi ff) mod TBTT - del ta; T readbeac . n (n) = TBTT- (10* (n+l) - Tdi ff) mod TBTT - del ta;
其中, Tr6ad_b n (n) 为所述 WiFi AP的信标帧的发射时间, n为所述基 站的 SFN, Tdi ff 为所述时间差, del ta为爹正系数且大于或等于 0。 Wherein, T r6ad _ bn (n) is the transmission time of the beacon frame of the WiFi AP, n is the SFN of the base station, Td ff is the time difference, and del ta is the positive coefficient and is greater than or equal to 0.
6、 根据权利要求 1至 5中任一项所述的方法, 其特征在于, 还包括: 如果所述基站指示扫描方式为主动扫描方式或被动扫描方式, 则确定 当前扫描方式为所述基站指示的扫描方式; 或者, 6. The method according to any one of claims 1 to 5, further comprising: if the base station indicates that the scanning mode is an active scanning mode or a passive scanning mode, determining that the current scanning mode is the base station indication. scanning method; or,
如果所述基站指示 WiFi AP的部署方式, 则当所述部署方式为 WiFi AP 与基站共站时, 确定当前扫描方式为主动扫描方式, 当所述部署方式为所 述基站为宏基站且在所述宏基站下配置多个 WiF i AP 时, 确定当前扫描方 式为被动扫描方式; If the base station indicates the deployment mode of the WiFi AP, then when the deployment mode is that the WiFi AP and the base station are co-sited, it is determined that the current scanning mode is the active scanning mode. When the deployment mode is that the base station is a macro base station and is located in When multiple WiFi APs are configured under the macro base station, it is determined that the current scanning mode is passive scanning mode;
根据所述信标帧的发射时间激活 WiFi功能对 WiFi AP进行扫描, 具体 包括: Activate the WiFi function to scan the WiFi AP according to the transmission time of the beacon frame, specifically including:
在所述信标帧的发射时间以前激活 WiFi功能, 并按照所述确定的当前 扫描方式对所述 WiFi AP进行扫描。 The WiFi function is activated before the transmission time of the beacon frame, and the WiFi AP is scanned according to the determined current scanning mode.
7、 根据权利要求 1至 6中任一项所述的方法, 其特征在于, 还包括: 如果接收到所述信标帧, 则发起和 WiFi AP建立连接的过程; 或者, 如果在指定的时间内未接收到所述信标帧, 关闭所述 WiFi功能以停止 对 WiFi AP进行扫描。 7. The method according to any one of claims 1 to 6, further comprising: if the beacon frame is received, initiating a process of establishing a connection with the WiFi AP; or, if at a specified time The beacon frame is not received within the period, turn off the WiFi function to stop Scan for WiFi APs.
8、 一种扫描方法, 其特征在于, 所述方法包括: 8. A scanning method, characterized in that the method includes:
发送无线保真 WiFi接入点 AP和基站的同步信息给用户设备 UE, 所述 同步信息用于所述 UE获得 WiFi AP的信标帧的发射时间以便根据所述信标 帧的发射时间激活 WiFi功能对所述 WiFi AP进行扫描。 Send the synchronization information of the wireless fidelity WiFi access point AP and the base station to the user equipment UE. The synchronization information is used by the UE to obtain the transmission time of the beacon frame of the WiFi AP so as to activate WiFi according to the transmission time of the beacon frame. Function to scan the WiFi AP.
9、 根据权利要求 8所述的方法, 其特征在于, 发送无线保真 WiFi接 入点 AP和基站的同步信息给用户设备 UE , 具体包括: 9. The method according to claim 8, characterized in that sending the synchronization information of the wireless fidelity WiFi access point AP and the base station to the user equipment UE specifically includes:
通过广播信道或者专用信道发送所述 WiFi AP和所述基站的同步信息 给所述 UE。 Send the synchronization information of the WiFi AP and the base station to the UE through a broadcast channel or a dedicated channel.
10、 根据权利要求 8或 9所述的方法, 其特征在于, 所述方法还包括: 所述同步信息为指示所述 WiF i AP和所述基站同步, 或者指示扫描方 式, 或者指示所述 WiFi AP的部署方式, 用于所述 UE ^艮据所述基站的系统 帧号 SFN和目标信标帧传输时间 TBTT计算所述 WiFi AP的信标帧的发射时 间; 或者 10. The method according to claim 8 or 9, characterized in that, the method further includes: the synchronization information indicates synchronization between the WiFi AP and the base station, or indicates a scanning mode, or indicates the WiFi The deployment method of the AP is used for the UE to calculate the transmission time of the beacon frame of the WiFi AP according to the system frame number SFN of the base station and the target beacon frame transmission time TBTT; or
所述同步信息为所述 WiFi AP和所述基站之间的时间差, 用于所述 UE 根据所述基站的系统帧号 SFN、 所述时间差和目标信标帧传输时间 TBTT计 算所述 WiFi AP的个信标帧的发射时间。 The synchronization information is the time difference between the WiFi AP and the base station, which is used by the UE to calculate the WiFi AP based on the system frame number SFN of the base station, the time difference and the target beacon frame transmission time TBTT. The transmission time of beacon frames.
11、 一种用户设备 UE, 其特征在于, 所述 UE包括: 11. A user equipment UE, characterized in that the UE includes:
获取模块, 用于获取无线保真 WiFi接入点 AP和基站的同步信息; 处理模块, 用于根据所述获取模块获取的所述同步信息获得 WiFi AP 的信标帧的发射时间; The acquisition module is used to obtain the synchronization information of the wireless fidelity WiFi access point AP and the base station; the processing module is used to obtain the transmission time of the beacon frame of the WiFi AP according to the synchronization information obtained by the acquisition module;
扫描模块, 用于根据所述处理模块获得的所述信标帧的发射时间激活 WiFi功能对所述 WiFi AP进行扫描。 Scanning module, configured to activate according to the transmission time of the beacon frame obtained by the processing module The WiFi function scans the WiFi AP.
12、 根据权利要求 11所述的 UE, 其特征在于, 所述获取模块用于: 接收所述基站通过广播信道或者专用信道发送的所述 WiF i AP和所述 基站的同步信息。 12. The UE according to claim 11, wherein the acquisition module is configured to: receive the synchronization information of the WiFi AP and the base station sent by the base station through a broadcast channel or a dedicated channel.
13、 根据权利要求 11或 12所述的 UE, 其特征在于, 所述处理模块包 括: 13. The UE according to claim 11 or 12, characterized in that the processing module includes:
第一计算单元, 用于如果所述同步信息为指示所述 WiFi AP和基站同 步, 或者指示扫描方式, 或者指示 WiF i AP 的部署方式, 则根据所述基站 的系统帧号 SFN和目标信标帧传输时间 TBTT计算所述 WiF i AP的信标帧的 发射时间; The first calculation unit is configured to, if the synchronization information indicates synchronization between the WiFi AP and the base station, or indicates a scanning mode, or indicates a deployment mode of the WiFi AP, then according to the system frame number SFN and the target beacon of the base station Frame transmission time TBTT calculates the transmission time of the beacon frame of the WiFi AP;
第二计算单元, 用于如果所述同步信息为所述 WiFi AP和基站之间的 时间差, 则根据所述基站的系统帧号 SFN、所述时间差和目标信标帧传输时 间 TBTT计算所述 WiF i AP的信标帧的发射时间。 A second calculation unit, configured to calculate the WiFi according to the system frame number SFN of the base station, the time difference and the target beacon frame transmission time TBTT if the synchronization information is the time difference between the WiFi AP and the base station. i AP’s beacon frame transmission time.
14、 根据权利要求 13所述的 UE, 其特征在于, 所述第一计算单元用于 按照如下公式计算出 WiFi AP的信标帧的发射时间: 14. The UE according to claim 13, wherein the first calculation unit is used to calculate the transmission time of the beacon frame of the WiFi AP according to the following formula:
Treadbea∞n (n) = TBTT-10* (n+1) mod TBTT - del ta; T readbea∞n (n) = TBTT-10* (n+1) mod TBTT - del ta;
其中, Tread_beaen (n) 为所述 WiFi AP的信标帧的发射时间, n为所述基 站的 SFN, del ta为修正系数且大于或等于 0。 Among them, T read_beae . n (n) is the transmission time of the beacon frame of the WiFi AP, n is the SFN of the base station, and delta is the correction coefficient and is greater than or equal to 0.
15、 根据权利要求 13所述的 UE, 其特征在于, 所述第二计算单元用于 按照如下公式计算出 WiFi AP的信标帧的发射时间: 15. The UE according to claim 13, wherein the second calculation unit is used to calculate the transmission time of the beacon frame of the WiFi AP according to the following formula:
Tread_beacon (n) = TBTT- (10* (n+1) - Tdi ff) mod TBTT - del ta; T read _ beacon (n) = TBTT- (10* (n+1) - Tdi ff) mod TBTT - del ta;
其中, Tr6ad_b n (n) 为所述 WiFi AP的信标帧的发射时间, n为所述基 站的 SFN, Tdi ff 为所述时间差, del ta为爹正系数且大于或等于 0。 Wherein, T r6ad _ bn (n) is the transmission time of the beacon frame of the WiFi AP, n is the base SFN of the station, Tdi ff is the time difference, del ta is the positive coefficient and is greater than or equal to 0.
16、 根据权利要求 11至 15中任一项所述的 UE, 其特征在于, 所述扫 描模块具体用于: 16. The UE according to any one of claims 11 to 15, characterized in that the scanning module is specifically used for:
在所述信标帧的发射时间以前激活 WiFi功能对 WiFi AP进行扫描之前, 如果所述基站指示扫描方式为主动扫描方式或被动扫描方式, 则确定当前 扫描方式为所述基站指示的扫描方式; 或者, 如果所述基站指示 WiFi AP 的部署方式, 则当所述部署方式为 WiF i AP与基站共站时, 确定当前扫描 方式为主动扫描方式, 当所述部署方式为所述基站为宏基站且在所述宏基 站下配置多个 WiFi AP时, 确定当前扫描方式为被动扫描方式; Before activating the WiFi function to scan the WiFi AP before the transmission time of the beacon frame, if the base station indicates that the scanning mode is an active scanning mode or a passive scanning mode, it is determined that the current scanning mode is the scanning mode indicated by the base station; Or, if the base station indicates the deployment mode of the WiFi AP, then when the deployment mode is that the WiFi AP and the base station are co-located, it is determined that the current scanning mode is the active scanning mode, and when the deployment mode is that the base station is a macro base station And when multiple WiFi APs are configured under the macro base station, it is determined that the current scanning mode is the passive scanning mode;
按照所述确定的当前扫描方式对所述 WiFi AP进行扫描。 Scan the WiFi AP according to the determined current scanning mode.
17、 根据权利要求 11至 16中任一项所述的 UE, 其特征在于, 所述 UE 还包括: 17. The UE according to any one of claims 11 to 16, characterized in that the UE further includes:
建立模块, 用于在所述扫描模块在所述信标帧的发射时间以前激活 Establishing a module for activating the scanning module before the transmission time of the beacon frame
WiFi功能对 WiFi AP进行扫描之后,如果接收到所述信标帧,则发起和 WiF i AP建立连接的过程; After the WiFi function scans the WiFi AP, if the beacon frame is received, the process of establishing a connection with the WiFi AP is initiated;
或者, or,
所述扫描模块还用于: 如果在指定的时间内未接收到所述信标帧, 则 关闭 W i F i功能停止对 WiFi AP进行扫描。 The scanning module is also configured to: if the beacon frame is not received within a specified time, turn off the WiFi function to stop scanning the WiFi AP.
18、 一种基站, 其特征在于, 所述基站包括: 18. A base station, characterized in that, the base station includes:
发送模块, 用于发送无线保真 WiFi接入点 AP和基站的同步信息给用 户设备 UE, 所述同步信息用于所述 UE获得 WiFi AP的信标帧的发射时间以 便根据所述信标帧的发射时间激活 WiFi功能对所述 WiFi AP进行扫描。 A sending module, configured to send the synchronization information of the wireless fidelity WiFi access point AP and the base station to the user equipment UE. The synchronization information is used by the UE to obtain the transmission time of the beacon frame of the WiFi AP so that the beacon frame can be transmitted according to the beacon frame. The transmit time activates the WiFi function to scan the WiFi AP.
19、 根据权利要求 18所述的基站, 其特征在于, 所述发送模块用于通 过广播信道或者专用信道发送所述 WiF i AP和所述基站的同步信息给所述19. The base station according to claim 18, wherein the sending module is configured to send synchronization information of the WiFi AP and the base station to the base station through a broadcast channel or a dedicated channel.
UE。 UE.
20、 根据权利要求 18或 19所述的基站, 其特征在于, 所述基站还包 括: 20. The base station according to claim 18 or 19, characterized in that the base station further includes:
指示模块, 用于指示 Indication module, used to indicate
所述 WiFi AP和所述基站同步,或者指示扫描方式,或者指示所述 WiFi AP的部署方式,用于所述 UE才艮据所述基站的系统帧号 SFN和目标信标帧传 输时间 TBTT计算所述 WiFi AP的信标帧的发射时间; 或者 The WiFi AP is synchronized with the base station, or indicates a scanning mode, or indicates a deployment mode of the WiFi AP, for the UE to calculate based on the system frame number SFN and target beacon frame transmission time TBTT of the base station. The transmission time of the beacon frame of the WiFi AP; or
所述 WiFi AP和所述基站之间的时间差, 用于所述 UE根据所述基站的 系统帧号 SFN、 所述时间差和目标信标帧传输时间 TBTT计算所述 WiFi AP 的个信标帧的发射时间。 The time difference between the WiFi AP and the base station is used by the UE to calculate the beacon frames of the WiFi AP based on the system frame number SFN of the base station, the time difference and the target beacon frame transmission time TBTT. Launch time.
21、 一种用户设备 UE, 其特征在于, 所述 UE包括: 21. A user equipment UE, characterized in that the UE includes:
接收机, 用于获取无线保真 WiFi接入点 AP和基站的同步信息; 处理器, 用于根据所述接收机获取的所述同步信息获得 WiFi AP 的信 标帧的发射时间,根据所述信标帧的发射时间激活 WiFi功能对所述 WiFi AP 进行扫描。 A receiver, used to obtain the synchronization information of the wireless fidelity WiFi access point AP and the base station; A processor, used to obtain the transmission time of the beacon frame of the WiFi AP according to the synchronization information obtained by the receiver, according to the The transmission time of the beacon frame activates the WiFi function to scan the WiFi AP.
22、 根据权利要求 21所述的 UE, 其特征在于, 所述接收机具体用于接 收所述基站通过广播信道或者专用信道发送的所述 WiF i AP和所述基站的 同步信息。 22. The UE according to claim 21, wherein the receiver is specifically configured to receive the synchronization information of the WiFi AP and the base station sent by the base station through a broadcast channel or a dedicated channel.
23、 根据权利要求 21或 22所述的 UE, 其特征在于, 所述处理器具体 用于: 如果所述同步信息为指示所述 WiFi AP和基站同步, 或者指示扫描方 式, 或者指示 WiFi AP的部署方式, 则根据所述基站的系统帧号 SFN和目 标信标帧传输时间 TBTT计算出 WiF i AP的信标帧的发射时间, 且在所述信 标帧的发射时间以前激活 WiF i功能对 WiFi AP进行扫描; 或 23. The UE according to claim 21 or 22, characterized in that the processor is specifically configured to: If the synchronization information indicates synchronization between the WiFi AP and the base station, or indicates a scanning mode, or indicates a deployment mode of the WiFi AP, then the WiFi i is calculated based on the system frame number SFN of the base station and the target beacon frame transmission time TBTT. The transmission time of the beacon frame of the AP, and activate the WiFi function to scan the WiFi AP before the transmission time of the beacon frame; or
如果所述同步信息为所述 WiF i AP和基站之间的时间差, 则根据所述 基站的系统帧号 SFN、 所述时间差和目标信标帧传输时间 TBTT计算出 WiF i AP的信标帧的发射时间,且在所述信标帧的发射时间以前激活 WiFi功能对 WiFi AP进行扫描。 If the synchronization information is the time difference between the WiFi AP and the base station, then calculate the beacon frame of the WiFi AP based on the system frame number SFN of the base station, the time difference and the target beacon frame transmission time TBTT. The transmission time, and activate the WiFi function to scan the WiFi AP before the transmission time of the beacon frame.
24、 根据权利要求 21或 22所述的 UE, 其特征在于, 所述处理器具体 用于: 24. The UE according to claim 21 or 22, characterized in that the processor is specifically used for:
如果所述基站指示扫描方式为主动扫描方式或被动扫描方式, 则确定 当前的扫描方式为所述基站指示的扫描方式;或者,如果所述基站指示 WiFi AP的部署方式, 则当所述部署方式为 WiFi AP与基站共站时, 确定当前的 扫描方式为主动扫描方式, 当所述部署方式为所述基站为宏基站且在该宏 基站下配置多个 WiFi AP时, 确定当前的扫描方式为被动扫描方式; If the base station indicates that the scanning mode is the active scanning mode or the passive scanning mode, it is determined that the current scanning mode is the scanning mode indicated by the base station; or, if the base station indicates the deployment mode of the WiFi AP, then when the deployment mode When the WiFi AP and the base station are co-sited, it is determined that the current scanning mode is the active scanning mode. When the deployment mode is that the base station is a macro base station and multiple WiFi APs are configured under the macro base station, it is determined that the current scanning mode is Passive scanning mode;
根据所述接收机获取的所述同步信息获得 WiFi AP 的信标帧的发射时 间; Obtain the transmission time of the beacon frame of the WiFi AP according to the synchronization information obtained by the receiver;
按照所述确定的当前扫描方式对所述 WiFi AP进行扫描。 Scan the WiFi AP according to the determined current scanning mode.
25、 根据权利要求 21至 24中任一项所述的 UE, 其特征在于, 所述处 理器还用于: 25. The UE according to any one of claims 21 to 24, characterized in that the processor is also used to:
如果接收到所述信标帧, 则发起和 WiFi AP建立连接的过程; 或者, 如果在指定的时间内未接收到所述信标帧,则关闭 WiFi功能停止对 WiFi AP 进行扫描。 If the beacon frame is received, the process of establishing a connection with the WiFi AP is initiated; or, if the beacon frame is not received within a specified time, the WiFi function is turned off to stop scanning the WiFi AP.
26、 一种基站, 其特征在于, 所述基站包括: 26. A base station, characterized in that, the base station includes:
发射机, 用于发送无线保真 WiFi接入点 AP和基站的同步信息给用户 设备 UE, 所述同步信息用于所述 UE获得 WiFi AP的信标帧的发射时间以便 根据所述信标帧的发射时间激活 WiF i功能对所述 WiFi AP进行扫描。 Transmitter, used to send synchronization information of the wireless fidelity WiFi access point AP and the base station to the user equipment UE, the synchronization information is used for the UE to obtain the transmission time of the beacon frame of the WiFi AP so as to follow the beacon frame The transmit time activates the WiFi function to scan the WiFi AP.
27、 根据权利要求 26所述的基站, 其特征在于, 所述发射机具体用于 通过广播信道或者专用信道发送所述 WiFi AP和所述基站的同步信息给所 述 UE。 27. The base station according to claim 26, wherein the transmitter is specifically configured to send the synchronization information of the WiFi AP and the base station to the UE through a broadcast channel or a dedicated channel.
28、 根据权利要求 26或 27所述的基站, 其特征在于, 所述发射机还 用于: 28. The base station according to claim 26 or 27, characterized in that the transmitter is also used for:
指示主动扫描方式或被动扫描方式并发送给所述 UE; 或者, 将所述基 站中 WiFi AP的部署方式指示给所述 UE, 所述部署方式为 WiF i AP与基站 共站, 或所述基站为宏基站且在所述宏基站下配置多个 WiFi AP。 Indicate the active scanning mode or the passive scanning mode and send it to the UE; or, indicate the deployment mode of the WiFi AP in the base station to the UE, and the deployment mode is that the WiFi AP and the base station are co-located, or the base station It is a macro base station and multiple WiFi APs are configured under the macro base station.
PCT/CN2013/082829 2012-09-28 2013-09-03 Scanning method, scanning control method, user equipment, base station, and system WO2014048227A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210370452.XA CN103716857B (en) 2012-09-28 2012-09-28 Scan method, user equipment and base station
CN201210370452.X 2012-09-28

Publications (1)

Publication Number Publication Date
WO2014048227A1 true WO2014048227A1 (en) 2014-04-03

Family

ID=50386966

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/082829 WO2014048227A1 (en) 2012-09-28 2013-09-03 Scanning method, scanning control method, user equipment, base station, and system

Country Status (2)

Country Link
CN (1) CN103716857B (en)
WO (1) WO2014048227A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108012304A (en) * 2017-12-04 2018-05-08 广东欧珀移动通信有限公司 Wireless local area network scan method, apparatus, computer equipment and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744597B (en) * 2014-12-12 2019-06-21 华为终端有限公司 A kind of terminal and its wireless connection method
CN106604363B (en) * 2016-12-07 2019-07-30 Oppo广东移动通信有限公司 A kind of Wireless Fidelity Wi-Fi scan method, mobile terminal and storage medium
CN108260186B (en) * 2016-12-29 2023-06-20 中兴通讯股份有限公司 Network access method, device and system
CN106851690A (en) * 2017-02-28 2017-06-13 广东欧珀移动通信有限公司 wireless network scanning method, device and computer equipment
GB201712136D0 (en) * 2017-07-27 2017-09-13 Finlay Alan A sensor network for a rotatable element

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009086128A1 (en) * 2007-12-27 2009-07-09 Agito Networks, Inc. Scanning for a wireless device
CN102006653A (en) * 2009-08-28 2011-04-06 华为技术有限公司 Access control method and access point (AP)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060040656A1 (en) * 2004-08-17 2006-02-23 Kotzin Michael D Mechanism for hand off using access point detection of synchronized subscriber beacon transmissions
US7224970B2 (en) * 2004-10-26 2007-05-29 Motorola, Inc. Method of scanning for beacon transmissions in a WLAN
US8842605B2 (en) * 2009-12-10 2014-09-23 Nokia Corporation Network discovery in wireless communication systems
CN102595424A (en) * 2011-01-07 2012-07-18 中兴通讯股份有限公司 Processing method and terminal device for avoiding WLAN beacon

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009086128A1 (en) * 2007-12-27 2009-07-09 Agito Networks, Inc. Scanning for a wireless device
CN102006653A (en) * 2009-08-28 2011-04-06 华为技术有限公司 Access control method and access point (AP)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108012304A (en) * 2017-12-04 2018-05-08 广东欧珀移动通信有限公司 Wireless local area network scan method, apparatus, computer equipment and storage medium
CN108012304B (en) * 2017-12-04 2020-09-11 Oppo广东移动通信有限公司 Wireless local area network scanning method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN103716857A (en) 2014-04-09
CN103716857B (en) 2017-11-28

Similar Documents

Publication Publication Date Title
JP6577556B2 (en) Method and apparatus for searching for neighboring subscriber group cells
US9723475B2 (en) System and method for adjusting a discovery protocol in a wireless network
US9622156B2 (en) System and method for efficient access network query protocol (ANQP) discovery of multiple access points (APs)
CN102625438B (en) A kind ofly carry out synchronous method, system and equipment
US20140376515A1 (en) Methods, apparatuses and computer program products for wlan discovery and handover in coexisted lte and wlan networks
WO2014048227A1 (en) Scanning method, scanning control method, user equipment, base station, and system
JP2017153149A (en) Out-of-band scanning for femto access point detection
US20170064760A1 (en) Assisted wireless connection setup
US9730252B2 (en) Quick connection between customized softap and STA
CN111869261A (en) Discovery and security in LWA communications
WO2015081567A1 (en) Station device access point method, device, and system
WO2018153344A1 (en) Handover preparation method, base station and user equipment
KR20160089411A (en) Relay capable wireless apparatuses
WO2014106434A1 (en) System and method for efficient access network query protocol (anqp) discovery of multiple access points (aps)
KR20160002868A (en) Mechanism for gateway discovery layer-2 mobility
KR101873391B1 (en) Decrease reassociation time for STAs connected to AP
EP3422750B1 (en) Method and apparatus for providing service provider identifier, access device, and terminal device
CN114845420A (en) Method and system for adding AP (Access Point) networking in EasyMesh network
KR20110046218A (en) Method and apparatus for acquiring configuration information of target base station by source base station in wireless communication system and system therefor
KR20130119376A (en) Apparatus and method for estimating location of mobile station in wireless local area network
GB2475968A (en) Super frame header configuration bit to indicate an advance base station is connected to a legacy network
Yao et al. OppoScan: enabling fast handoff in dense 802.11 WMNs via opportunistic probing with virtual radio
JP2023500134A (en) COMMUNICATION METHOD, COMMUNICATION DEVICE, AND COMMUNICATION SYSTEM
KR20150116552A (en) Integrated base station and terminal unit
WO2018000321A1 (en) Access point switching method, device and equipment

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

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

Country of ref document: EP

Kind code of ref document: A1