CN110493805B - Method and device for detecting position of wireless extended AP and computer readable storage medium - Google Patents

Method and device for detecting position of wireless extended AP and computer readable storage medium Download PDF

Info

Publication number
CN110493805B
CN110493805B CN201810456691.4A CN201810456691A CN110493805B CN 110493805 B CN110493805 B CN 110493805B CN 201810456691 A CN201810456691 A CN 201810456691A CN 110493805 B CN110493805 B CN 110493805B
Authority
CN
China
Prior art keywords
distance
wireless extension
onu
ranging
wireless
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810456691.4A
Other languages
Chinese (zh)
Other versions
CN110493805A (en
Inventor
李想
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201810456691.4A priority Critical patent/CN110493805B/en
Publication of CN110493805A publication Critical patent/CN110493805A/en
Application granted granted Critical
Publication of CN110493805B publication Critical patent/CN110493805B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/003Locating users or terminals or network equipment for network management purposes, e.g. mobility management locating network equipment

Abstract

The invention discloses a method for detecting the position of a wireless extended AP, which comprises the following steps: acquiring a first distance and a second distance, wherein the first distance is the distance between an ONU and a first wireless extension AP, and the second distance is the distance between the ONU and a second wireless extension AP; receiving a third distance between the first wireless extension AP and the second wireless extension AP; determining a location of the first wireless extension AP using the first distance, the second distance, and the third distance. The invention also discloses a device for detecting the position of the wireless extended AP and a computer readable storage medium.

Description

Method and device for detecting position of wireless extended AP and computer readable storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for detecting a location of a wireless extension AP, and a computer-readable storage medium.
Background
A Gigabit Passive Optical Network (GPON) technology is a passive Optical Network access technology based on ITU-T g.988 standard, and a GPON system includes an Optical Line Terminal (OLT), an Optical Distribution Network (ODN), and an Optical Network Unit (ONU). With the development and popularization of wireless technology WLAN, ONU also gets rid of the constraint of wired connection, providing wireless access. Various devices with wireless functions (including mobile phones, notebook computers, smart televisions and the like) can be connected to the ONU through wireless signals or indirectly.
Because the wireless coverage of the ONU is limited and the wireless signal is shielded by obstacles in the area, the coverage is further reduced. In order to solve this problem, an Access network structure of an ONU under-hanging a wireless Access Point (AP) appears, that is, a longer-distance coverage is realized by a wireless AP. Therefore, a wireless device far away from the ONU can access the ONU through the wireless extension AP.
In areas such as large-area home residences, spacious office spaces, hotels, etc., an ONU may need to hang down a plurality of wireless extension APs to make the WLAN coverage tend to be good. When increasing the wireless extension APs, operation and maintenance personnel need to know the specific distribution of the wireless extension APs hung under the ONU, including the position of each wireless extension AP, and how to effectively detect the position of the wireless extension AP is very important, but no effective method for positioning the extended wireless extension APs hung under the ONU is provided at present.
Therefore, a technical solution for detecting the position of the wireless extension AP is needed, which can detect the current position of the wireless extension AP and locate the wireless extension AP hanging below the ONU.
Disclosure of Invention
In view of this, embodiments of the present invention desirably provide a method, an apparatus, and a computer-readable storage medium for detecting a location of a wireless extension AP, which can detect a distribution situation of a current location of the wireless extension AP and locate the wireless extension AP that is hung below an ONU.
The technical scheme of the embodiment of the invention is realized as follows:
in one aspect, an embodiment of the present invention provides a method for detecting a location of an AP of a wireless extension access point, where the method is applied to an optical network unit ONU, and the method includes:
acquiring a first distance and a second distance, wherein the first distance is the distance between the ONU and a first wireless extension AP, and the second distance is the distance between the ONU and a second wireless extension AP;
receiving a third distance between the first wireless extension AP and the second wireless extension AP;
determining a location of the first wireless extension AP using the first distance, the second distance, and the third distance.
On the other hand, an embodiment of the present invention provides a method for detecting a location of a wireless extension AP, where a first wireless extension AP reports a third distance between the first wireless extension AP and a second wireless extension AP to an optical network unit ONU;
the ONU acquires a first distance and a second distance, wherein the first distance is the distance between the ONU and the first wireless extension AP, the second distance is the distance between the ONU and the second wireless extension AP, receives a third distance between the first wireless extension AP and the second wireless extension AP, and determines the position of the first wireless extension AP by utilizing the first distance, the second distance and the third distance.
On the other hand, an embodiment of the present invention further provides an apparatus for detecting an AP position of a wireless expansion access point, including: a processor, a memory for storing a computer program operable on the processor; wherein the processor is configured to execute, when running the computer program:
acquiring a first distance and a second distance, wherein the first distance is the distance between an ONU and a first wireless extension AP, and the second distance is the distance between the ONU and a second wireless extension AP;
receiving a third distance between the first wireless extension AP and the second wireless extension AP;
determining a location of the first wireless extension AP using the first distance, the second distance, and the third distance.
On the other hand, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for detecting an AP position of a wireless extension access point is implemented.
The embodiment of the invention provides a method and a device for detecting the position of a wireless extended AP and a computer readable storage medium, wherein the method comprises the following steps: acquiring a first distance and a second distance, wherein the first distance is the distance between the ONU and a first wireless extension AP, and the second distance is the distance between the ONU and a second wireless extension AP; receiving a third distance between the first wireless extension AP and the second wireless extension AP; determining a location of the first wireless extension AP using the first distance, the second distance, and the third distance; therefore, the ONU locates the first wireless extension AP hung downwards through the first distance between the ONU and the first wireless extension AP hung downwards, the second distance between the ONU and the second wireless extension AP hung downwards, and the third distance between the first wireless extension AP and the second wireless extension AP, so that the position condition of the first wireless extension AP relative to the ONU is known, operation and maintenance personnel can analyze the position of the current wireless extension AP better, the position of the wireless extension AP is optimized, the utilization rate and the network coverage rate of wireless extension AP equipment are improved, and the perception of users is improved.
Drawings
Fig. 1 is a flowchart illustrating a method for detecting a location of a wireless extension AP according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for detecting a location of a wireless extension AP according to a third embodiment of the present invention;
fig. 3 is a schematic diagram of a networking structure of an ONU and a downward wireless extension AP thereof according to a fourth embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for detecting a location of a wireless extension AP according to a fourth embodiment of the present invention;
fig. 5 is a schematic diagram of a method for detecting an ONU distance by an ONU according to a fourth embodiment of the present invention;
fig. 6 is a schematic diagram illustrating a method for detecting an adjacent distance by a wireless extension AP according to a fourth embodiment of the present invention;
fig. 7 is a schematic distribution diagram of the locations of wireless expansion APs according to the fourth embodiment of the present invention;
fig. 8 is a schematic structural diagram of an apparatus for detecting a location of a wireless extension AP according to a fifth embodiment of the present invention.
Detailed Description
The following describes the embodiments in further detail with reference to the accompanying drawings.
Example one
An embodiment of the present invention provides a method for detecting a location of a wireless extension AP, which is applied to an ONU, and as shown in fig. 1, the method includes:
s101, acquiring a first distance and a second distance;
the first distance is a distance between the ONU and a first wireless extension AP, and the second distance is a distance between the ONU and a second wireless extension AP.
And the ONU hangs a plurality of wireless extended APs to enhance the wireless coverage of the ONU. The ONU and the OLT interact through an optical network unit Management and Control Interface (OMCI) protocol. The OLT may notify the ONU of the distance detection through the customized ranging notification message to detect the distance between the ONU and the hung wireless extension AP, where the hung wireless extension AP includes the first wireless extension AP and the second wireless extension AP as an example.
It should be noted that, during distance detection, the ONU detects a distance between the ONU itself and a first wireless extension AP to be positioned, and when there is one wireless extension AP to be positioned, the ONU itself can simultaneously detect a distance between the ONU itself and a second wireless extension AP, except the first wireless extension AP, in the wireless extension APs hung below. The method for detecting the first distance between the ONU itself and the first wireless extension AP may be the same as the method for detecting the second distance between the ONU itself and the second wireless extension AP.
In some embodiments, the second wireless extension AP may be a wireless extension AP that is adjacent to the first wireless extension AP.
Here, a first distance between the ONU itself and the first wireless extension AP is taken as an example to describe a distance between the ONU itself and the suspended wireless extension AP.
When the ONU receives the ranging notification message of the OLT, the first distance between the ONU itself and the first wireless extension AP hanging down may be detected in an idle state or at a regular time. When detecting the first distance in the idle state, the method can judge whether the ONU has service processing currently, and when the service processing does not exist, the first distance is detected. When the first distance between the wireless extension AP and the first wireless extension AP hung down is detected regularly, the distance measurement time can be set, whether the current time reaches the set distance measurement time or not is judged, and when the time reaches the distance measurement time, the first distance is detected. Such as: the set distance measurement time is 2 am, when the distance measurement notification is received, the detection of the first distance is not executed temporarily, and when the time reaches 2 am, the detection of the first distance is executed. The ranging time can be set according to actual requirements.
The ONU detects a first distance between the ONU and the first wireless extension AP, and comprises the following steps: sending a ranging message to the first wireless extended AP, and recording first sending time for sending the ranging message; receiving a ranging response message which is sent by the first wireless extended AP and responds to the ranging message, and recording first receiving time for receiving the ranging response message; determining the first distance using the first transmit time and the first receive time. Wherein the definition of each character in the ranging message and the ranging response message may be set using a wireless 802.11 frame format. The ranging message and the ranging response message are exemplified by the definitions of the respective fields shown in table 1. Table 2 is an example of detailed definitions of the frame control fields in table 1.
Table 1802.11 frame format definition
Name(s) Description of the invention Length (byte)
Frame Control (Frame Control) The details of this field are given in the following table 2
Duration (Duration ID) For recording Network Allocation Vectors (NAV) 2
Destination address Destination MAC address 6
Source address Source MAC address 6
Receiving end address Address of wireless station responsible for processing the frame 6
Sequence control field (Seq-Ctl) For reassembling frame fragments and discarding duplicate frames 2
Sending end address Address of radio interface for transmitting frame to radio medium 6
Frame Check Sequence (FCS) Enabling the workstation to check the integrity of the frames received 4
Table 2 detailed definition of frame control field
Figure BDA0001659849930000051
Figure BDA0001659849930000061
Here, two values are selected in the 802.11 standard reserved range (0000 ~ 1001) through the Subtype field as the ranging request message type and the ranging response message type. For example: the ranging message is denoted by Subtype 1000, and the ranging response message is denoted by Subtype 1001.
And for the first wireless extension AP, when the ONU detects the first distance, the ONU takes the first wireless extension AP as a target AP, sends a ranging message to the target AP, records the time when the ranging message is sent as the first sending time, and returns a ranging response message responding to the ranging message to the ONU when the first wireless extension AP receives the ranging message sent by the ONU. When receiving the ranging message, the first wireless extension AP may suspend processing of the service being processed, and immediately return a ranging response message to the ONU, and at this time, the ranging response message returned by the first wireless extension AP to the ONU may not carry any time information, indicating that the first wireless extension AP immediately returns the ranging response message to the ONU when receiving the ranging message. When the first wireless extension AP receives the ranging message, the service being processed can be continuously processed, a ranging response message is returned to the ONU after the service being processed is processed, at the moment, the time of receiving the ranging message and the time of returning the ranging response message to the ONU can be recorded, and the returned ranging response message carries the time interval between the time of receiving the ranging message and the time of returning the ranging response message; the ONU can directly carry the time interval, can also carry the time of receiving the ranging message and the time of returning the ranging response message, and calculates the time interval after receiving the ranging response message. When the first wireless extension AP returns the ranging response message to the ONU, it may be characterized by the delay processing identifier that the ranging response message is returned immediately when the first wireless extension AP receives the ranging message or after a time interval.
When the ONU receives the ranging response message returned by the first wireless extension AP, recording the first receiving time of the received ranging response message, taking the time difference between the first sending time and the first receiving time as the first message transmission time, and calculating the first distance between the ONU and the first wireless extension AP by using the first message transmission time and the transmission speed of the wireless signal.
And when the ranging response message received by the ONU carries time information representing the time interval, obtaining first message transmission time according to the first sending time, the first receiving time and the time interval corresponding to the time information carried in the ranging response message. Such as: the first sending time is t1, the first receiving time is t2, the time interval corresponding to the time information carried by the ranging response message is t3, the first message transmission time t is t2-t1-t3, and the first distance L1 is t s/2, where s is the transmission speed of the wireless signal. The first transmission time and the first reception time may be tabulated as absolute times, i.e., real-time timesIt may also be expressed in terms of relative time. The wireless signal transmission speed can be set according to actual requirements, such as: 2.9X 10-8m/s。
It should be noted that, in the embodiment of the present invention, a specific implementation manner of the ONU detecting the first distance between the ONU itself and the first wireless extension AP is not limited, and the first distance may also be detected by a signal strength or the like.
When the first distance is detected, the ONU can obtain a plurality of first distances through a plurality of times of detection and obtain the first distance through a plurality of first distances by calculation so as to eliminate the detection error under the condition that the wireless signal is unstable. When a plurality of first distances are obtained through a plurality of detections, the plurality of first distances may be calculated by: and calculating the average first distance by using the zone average value, and taking the calculated average first distance as the detected first distance. The method of calculating the first distance from the first distances detected a plurality of times is not limited.
In practical application, if the first ranging is successful or failed, the second ranging is sent again, and after the second ranging is successful or failed, the third ranging is sent again; according to the above process, multiple ranging times can be performed for a preset number of times, for example, 10 times. So as to overcome the failure of ranging or the unstable condition of wireless signal.
When the ONU detects the first distance between itself and the first wireless extension AP, the ONU may carry the device identifier of the first wireless extension AP in the ranging message to determine that the first wireless extension AP is the target AP.
In practical application, the ONU detects the first distance and the second distance in the same way, and when detecting the second distance, the ONU sends a ranging message to the second wireless extension AP and records the sending time of the ranging message; receiving a ranging response message which is sent by a second wireless extended AP and responds to the ranging message, and recording the receiving time of the ranging response message; the second distance is determined using the time of transmission and the time of reception.
S102, receiving a third distance between the first wireless extension AP and the second wireless extension AP;
before receiving a third distance between a first wireless extension AP and a second wireless extension AP, an ONU may send a ranging instruction to the first wireless extension AP, where the ranging instruction is used to instruct the first wireless extension AP to disconnect from the ONU and establish a ranging connection with the second wireless extension AP through a ranging Service Set Identifier (SSID) to detect the third distance through the ranging connection.
And when the first wireless expansion AP receives the ranging indication sent by the ONU, disconnecting the first wireless expansion AP from the ONU in the idle state, and establishing ranging connection with the second wireless expansion AP through the ranging SSID. The priority of the ranging SSID is higher than that of other SSIDs, the connection established through the ranging SSID is ranging connection, and the ranging connection is only used for ranging and does not process services. Here, when establishing the ranging connection, the SSID used by the second wireless extension AP may be a ranging SSID or a service SSID.
And when the first wireless extension AP obtains a second distance between the first wireless extension AP and the second wireless extension AP through the ranging connection, disconnecting the ranging connection between the first wireless extension AP and the second wireless extension AP, re-accessing the ONU, establishing connection with the ONU, and sending a third distance to the ONU through the re-established connection. When the first wireless extension AP sends the third distance, the first wireless extension AP simultaneously carries the device identifiers of the two ends corresponding to the third distance, that is, the first wireless extension AP and the second wireless extension AP, and the device identifiers may be MAC information.
Here, the third distance is determined according to a second transmission time when the first wireless extension AP transmits the ranging message to the second wireless extension AP and a second reception time when the first wireless extension AP receives the ranging response message transmitted by the second wireless extension AP in response to the ranging message.
And when the ONU receives the third distance, the ONU stores the received third distance and also stores the device information of the wireless extension APs at two ends corresponding to the third distance.
S103, determining the position of the first wireless extension AP by using the first distance, the second distance and the third distance.
After the first distance, the second distance and the third distance are obtained, the position of the first wireless extension AP is determined according to the first distance, the second distance and the third distance, specifically, the position information of the wireless extension AP is generated by using the first distance, the second distance and the third distance by using the ONU as a coordinate origin, the first wireless extension AP as a coordinate point and the second wireless extension AP as a reference coordinate point.
Here, the obtained location information may be relative location information, that is, a relative location of the first wireless extension AP with respect to the ONU. When there is a specific location of the second wireless extension AP, the actual location of the first wireless extension AP may be determined by the specific location of the second wireless extension AP.
In practical application, the ONU may hang a plurality of wireless extension APs simultaneously, and at this time, may position the plurality of wireless extension APs simultaneously, for example: the ONU down-hung wireless extension AP comprises AP1, AP2, AP3 and AP4, and the distance L1 between the ONU and the AP1 is detected respectively1Distance L1 between ONU and AP22Distance L1 between ONU and AP33And the distance L1 between the ONU and the AP44While receiving the distance L2 between the AP1 and the AP21Distance L2 between AP2 and AP32Distance L2 between AP3 and AP43And distance L2 between AP4 and AP14. At this time, the ONU is used as the origin of coordinates, the wireless extension AP is used as a coordinate point in two-dimensional coordinates, location points of all the wireless extension APs in the two-dimensional coordinates are determined, and location distribution information of the wireless extension APs is determined, where the location distribution information may include identification information of the wireless extension APs and coordinate information corresponding to the identification information.
When determining the location information of the first wireless extension AP, the ONU may display or transmit the determined location information to the OLT. When the position information is sent to the OLT, the position information can be sent to the OLT through a self-defined OMCI message, the self-defined OMCI message comprises a private Management Entity (ME), and the private ME comprises an equipment identifier of the wireless extension AP corresponding to the position information. The device identification may be MAC information.
Here, the definition of the message type and format of the custom OMCI message may refer to table 3, where a value of a field Managed entry identifier in the custom OMCI message may be set according to a requirement, so that the sent custom OMCI message can be identified as a message for acquiring location information or sending location information in the message interaction between the ONU and the OLT.
In practical application, when the OLT acquires the position information from the ONU, the user-defined OMCI message with the message type of get message can be sent to the ONU, and after the ONU receives the get message sent by the OLT, the position information determined by the ONU can be returned to the OLT through the user-defined OMCI message with the message type of get response message.
When the ONU has more position information to be returned and the sending of the position information cannot be completed through one get response message, the OLT can be informed of the specific information amount of the position information to be returned through the get response message. When the OLT receives a get response message carrying specific information quantity, the OLT sends one or more user-defined OMCI messages with the message type of get next message to the ONU according to the specific information quantity, the ONU sends the user-defined OMCI messages with the message type of get next response message to respond to the received get next message, and the sent position information is carried in the get next response message.
In practical applications, the execution order of S101 and S102 is not limited.
In the embodiment of the invention, when determining the position of the first wireless extension AP to be positioned, the ONU detects a first distance between the ONU and the first wireless extension AP and a second distance between the ONU and the second wireless extension AP, receives a third distance between the first wireless extension AP and the second wireless extension AP, positions the wireless extension AP to be positioned according to the first distance, the second distance and the third distance, and determines the position condition of the wireless extension AP to be positioned. Furthermore, after the position of the wireless extension AP to be positioned is determined, the position distribution information of the wireless extension AP is displayed or sent to the OLT through a self-defined OMCI message, and the position distribution information is displayed on the OLT, so that operation and maintenance personnel can be helped to better analyze the distribution condition of the current wireless extension AP, the distribution of the wireless extension AP is optimized, the utilization rate and the network coverage rate of wireless extension AP equipment are improved, and the user perception is improved.
Example two
In an embodiment of the present invention, a method for detecting a wireless extension AP is provided, where the method is applied to a first wireless extension AP, and includes:
and the first wireless extension AP reports a third distance between the first wireless extension AP and the second wireless extension AP to the ONU so that the ONU determines the position of the first wireless extension AP by utilizing the first distance between the ONU and the first wireless extension AP, the third distance between the ONU and the second wireless extension AP and the third distance.
When the ONU detects a first distance between the ONU and the first wireless extension AP, the first wireless extension AP receives a ranging message sent by the ONU and sends a ranging response message responding to the ranging message to the ONU.
When receiving the ranging message sent by the ONU, the first wireless extension AP may immediately return a ranging response message to the ONU, or may return a ranging response message to the ONU after processing the service being processed. Here, the first embodiment can be referred to as a method for calculating the first distance, and details are not repeated here.
And when receiving the ranging instruction of the ONU, the first wireless extension AP detects a third distance between the first wireless extension AP and the second wireless extension AP and sends the detected third distance to the ONU. And after receiving the third distance sent by the first wireless extension AP, the ONU determines the position of the first wireless extension AP by using the third distance, the first distance between the ONU and the first wireless extension AP and the second distance between the ONU and the second wireless extension AP. Here, the second wireless extension AP may be a wireless extension AP adjacent to the first wireless extension AP.
When detecting a third distance between the first wireless extension AP and a second wireless extension AP, the first wireless extension AP detects the third distance through a ranging connection between the first wireless extension AP and the second wireless extension AP. Here, the first wireless extension AP receives a ranging instruction sent by the ONU, disconnects the connection with the ONU, and establishes a ranging connection with the second wireless extension AP through the ranging SSID. Specifically, when the first wireless extension AP receives a ranging instruction issued by the ONU, the connection with the ONU is disconnected and a wireless signal corresponding to the ranging SSID is opened in an idle state based on the ranging instruction, a ranging connection is established with the second wireless extension AP through the ranging SSID, and the third distance is indirectly detected through ranging. Here, the ranging connection only uses ranging without performing a service process, and the SSID of the second wireless extension AP may be a ranging SSID or a service SSID.
When the first wireless extension AP detects a third distance between the first wireless extension AP and the second wireless extension AP, sending a ranging message to the second wireless extension AP, and recording second sending time for sending the ranging message; receiving a ranging response message which is sent by the second wireless extension AP and responds to the ranging message, and recording second receiving time for receiving the ranging response message; determining a third distance between the first wireless extension AP and the second wireless extension AP by using a second sending time and a second receiving time.
Here, when the second wireless extension AP receives the ranging message, the processing of the service being processed may be suspended, and the ranging response message may be immediately returned to the first wireless extension AP, where the ranging response message returned to the first wireless extension AP may not carry any time information, indicating that the second wireless extension AP immediately returns the ranging response message to the first wireless extension AP when receiving the ranging message. When the second wireless extension AP receives the ranging message, the service being processed may also be continuously processed, and a ranging response message is returned to the first wireless extension AP after the service being processed is processed, at this time, the second wireless extension AP may record the time when the ranging message is received and the time when the ranging response message is returned to the first wireless extension AP, and carry a time interval between the time when the second wireless extension AP receives the ranging message and the time when the ranging response message is returned in the ranging response message returned to the first wireless extension AP, where the time interval may be directly carried, or may be carried at the time when the second wireless extension AP receives the ranging message and the time when the ranging response message is returned, and the time interval is calculated after the first wireless extension AP receives the ranging response message. When the second wireless extension AP returns the ranging response message to the first wireless extension AP, it may be characterized by the delay processing identifier whether the second wireless extension AP returns the ranging response message immediately when receiving the ranging message or after a time interval.
When the first wireless extension AP receives the ranging response message returned by the second wireless extension AP, recording second receiving time of the ranging response message, taking a time difference between the second sending time and the second receiving time as second message transmission time, and calculating a third distance between the first wireless extension AP and the second wireless extension AP by using the second message transmission time and the transmission speed of the wireless signal. And when the ranging response message received by the first wireless extension AP carries time information representing the time interval, obtaining second message transmission time according to the second sending time, the second receiving time and the time interval corresponding to the time information carried in the ranging response message. Such as: the second sending time is m1, the second receiving time is m2, the time interval corresponding to the time information carried by the ranging response message is m3, the second message transmission time is m2-m1-m3, and the third distance L3 is m s/2, where s is the transmission speed of the wireless signal. The second sending time and the second receiving time may be represented by absolute time, that is, real-time, or may be relative time.
The second wireless extension AP may include a plurality of wireless extension APs, such as: the wireless sensor network comprises APs 2 and AP4, wherein the first wireless expansion AP1 establishes ranging connection with the APs 2 and 4 respectively through ranging SSID, and detects a distance L2 between the AP1 and the AP2 respectively through the established ranging connection1Distance L2 between AP1 and AP44. The order of establishing the ranging connection between the AP1 and the AP2 and the ranging connection between the AP1 and the AP4 is not limited.
In the embodiment of the present invention, the method for detecting the third distance between the first wireless extension AP and the second wireless extension AP by the first wireless extension AP is not limited to this, and the third distance may be detected by a method such as signal strength detection.
When the third distance is detected, the first wireless extension AP may obtain a plurality of third distances through multiple detections, and obtain one third distance through calculation of the plurality of third distances, so as to eliminate a detection error in the case where the wireless signal is unstable.
It should be noted that, when the first wireless extension AP establishes the ranging connection with the second wireless extension AP through the ranging SSID and the second wireless extension AP finishes processing the service return ranging response message, the second wireless extension AP establishes the ranging connection with the ranging SSID of the wireless extension AP through the service SSID.
When the first wireless extension AP receives the ranging response message returned by the second wireless extension AP, the ranging connection with the second wireless extension AP is disconnected, the connection with the ONU is reestablished, and the calculated third distance is reported to the ONU through the reestablished connection, so that the ONU determines the position of the first wireless extension AP according to the detected first distance, the detected second distance and the received third distance.
In practical application, the execution sequence of the ONU for detecting the distance between the ONU itself and the first wireless extension AP for calculating the third distance between the ONU itself and the second wireless extension AP is not limited.
In the embodiment of the invention, the first wireless extension AP to be positioned hung under the ONU reports the third distance between the first wireless extension AP and the second wireless extension AP to the ONU, so that the ONU can determine the position of the first wireless extension AP according to the first distance between the first wireless extension AP and the ONU, the second distance between the second wireless extension AP and the received third distance. Further, when detecting the third distance between the first wireless extension AP and the second wireless extension AP, the first wireless extension AP may detect the first distance through the ranging connection established by the ranging SSID, thereby improving ranging efficiency without affecting normal services.
EXAMPLE III
In an embodiment of the present invention, a method for detecting a wireless extension AP is provided, where the method is applied to a system including an ONU and a wireless extension AP hung down, and as shown in fig. 2, the method includes:
s201, reporting a third distance between the first wireless extension AP and the second wireless extension AP to an ONU by the first wireless extension AP;
and when receiving the ranging instruction of the ONU, the first wireless expansion AP disconnects the connection with the ONU and establishes ranging connection with the second wireless expansion AP through the ranging SSID.
When the wireless extension AP detects the third distance, the wireless extension AP sends a ranging message to a second wireless extension AP through ranging connection, and records second sending time for sending the ranging message; receiving a ranging response message which is sent by the second wireless extended AP and responds to the ranging message, and recording second receiving time for receiving the ranging response message; a third distance is determined using the second transmit time and the second receive time.
And after receiving the ranging response message, the first wireless extension AP disconnects the ranging connection with the second wireless extension AP, establishes connection with the ONU, and reports the calculated third distance to the ONU.
S202, the ONU acquires a first distance and a second distance, receives a third distance between the first wireless extension AP and the second wireless extension AP, and determines the position of the first wireless extension AP by using the first distance, the second distance and the third distance.
The first distance is a distance between the ONU and the first wireless extension AP, and the second distance is a distance between the ONU and the second wireless extension AP.
And the ONU detects a first distance between the ONU and the first wireless extension AP hung down and a second distance between the ONU and the second wireless extension AP while receiving the third distance reported by the first wireless extension AP. Here, the ONU may detect the first distance and the second distance after receiving the ranging notification message transmitted by the OLT, and transmit a ranging instruction to the first wireless extension AP to instruct the first wireless extension AP to detect the third distance.
And the ONU sends the ranging message to the first wireless extension AP when detecting the first distance, and records the first sending time of the ranging message. And the first wireless extension AP receives the ranging message sent by the ONU and sends a ranging response message responding to the ranging message to the ONU. The ONU receives a ranging response message which is sent by a first wireless extended AP and responds to the ranging message, and records first receiving time for receiving the ranging response message; the first distance is determined using a first transmit time and a first receive time.
The method for detecting the second distance by the ONU is similar to the method for detecting the first distance, and the difference is only that the target wireless extension AP is different, the wireless extension AP corresponding to the first distance is the first wireless extension AP, and the wireless extension AP corresponding to the second distance is the second wireless extension AP.
After detecting the first distance and the second distance, the ONU determines the position of the first wireless extension AP by using the first distance, the second distance, and the third distance, specifically: and generating the position information of the wireless extension AP by using the ONU as a coordinate origin, the first wireless extension AP as a coordinate point and the second wireless extension AP as a reference coordinate point and using the first distance, the second distance and the third distance.
After determining the location information of the first wireless extension AP, the ONU may send the location information to the OLT or the web through a custom OMCI message, and display the location of the first wireless extension AP on the OLT or the web.
In practical application, the ONU can determine the positions of a plurality of wireless extension APs at the same time, and detect the position distribution of the wireless extension APs hung down.
Example four
In the embodiment of the present invention, a method for detecting a location of a wireless extension AP according to the embodiment of the present invention is further described with a scenario shown in fig. 3.
Fig. 3 is a schematic diagram of a networking structure of an ONU and its downward-hanging wireless extension AP, and as shown in fig. 3, 4 wireless extension APs are hung under the ONU: AP1, AP2, AP3, and AP4, wherein AP1 is adjacent to AP2 and AP4, AP2 is adjacent to AP1 and AP3, AP3 is adjacent to AP2 and AP4, and AP4 is adjacent to AP1 and AP 3.
Fig. 4 shows a method for detecting a hanging-down wireless extension AP by an ONU, which includes:
s401, the OLT informs the ONU of position detection;
the OLT sends an OMCI message through the newly added private ME definition and informs the ONU to start detecting the position of the extended AP; and when the ONU determines that no service is initiated, starting detection.
S402, the ONU detects the ONU distance between the ONU and the hung wireless extension AP;
as shown in fig. 5, the ONU starts sending ranging messages to each wireless extension AP hung down by the ONU; and after each wireless extension AP receives the ranging message, immediately responding to the ranging response message of the sender ONU and returning the ranging response message to the ONU. And the ONU calculates the time difference of message receiving and sending according to the received ranging response message, and calculates the physical distance between each response AP and the ONU, namely the ONU distance.
S403, the ONU indicates the hung wireless extension AP to detect the adjacent distance between the wireless extension AP and the adjacent wireless extension AP;
as shown in fig. 6, each wireless extension AP sequentially starts the ranging dedicated SSID, the second wireless extension AP adjacent to each wireless extension AP accesses the ranging dedicated SSID with high priority, each wireless extension AP initiates ranging to the accessed adjacent wireless extension AP, sends a ranging message, receives a ranging response message from the adjacent wireless extension AP, and then calculates a distance between the wireless extension AP and the adjacent wireless extension AP, that is, an adjacent distance, and stores a ranging result.
And after the ranging of each wireless extended AP aiming at the adjacent wireless extended AP is finished, immediately closing the special ranging SSID, connecting back to the ONU, and reporting the ranging result to the ONU.
Wherein, each wireless extension AP needs to repeat S403 to detect the adjacent distance to the wireless extension AP adjacent to itself.
S404, the ONU calculates the position distribution information of the hung wireless extension AP according to the ONU distance and the adjacent distance;
the ONU selects the ONU as an origin (0, 0) of a two-dimensional coordinate as a first reference point according to a self ranging result (ONU distance) and a ranging result (adjacent distance) reported by the wireless extension AP hung below the ONU; optionally selecting 1 wireless extension AP, determining a two-dimensional coordinate (x, 0) as a second reference point according to the ONU distance between the AP and the ONU; selecting a wireless extension AP to be positioned, and calculating a two-dimensional coordinate of the wireless extension AP to be positioned according to the distance between the wireless extension AP to be positioned and a known reference point; selecting the next wireless extension AP to be positioned, and calculating the two-dimensional coordinates of the next wireless extension AP according to the distance between the next wireless extension AP to be positioned and the wireless extension AP (at least 3) with known coordinates until all the wireless extension APs to be positioned calculate the two-dimensional coordinates, so as to obtain the position distribution information of all the wireless extension APs to be positioned, as shown in FIG. 7. The coordinates of AP1 are determined to be (x1, 0), the coordinates of AP1 are determined to be (0, x2), the coordinates of AP1 are (-x3, 0), and the coordinates of AP1 are determined to be (0, -x 4).
S405, the ONU sends the distribution position information to the OLT.
The OLT issues an OMCI ranging result acquisition message through the newly added private ME to acquire a ranging result stored by the ONU, and the OLT or other upper-layer devices draw a relative position diagram of the ONU and its downward-hanging wireless extension AP, as shown in fig. 7.
In the embodiment of the invention, the relative position display of the ONU and the wireless extension AP hung below the ONU can be triggered through the WEB page.
In the embodiment of the present invention, the ONU distance detected in S401 includes a first distance and a second distance, and corresponds to the first distance when the wireless extension AP is the first wireless extension AP; and when the wireless extension AP is a second wireless extension AP, the corresponding second distance also comprises the distance between the ONU and other wireless extension APs besides the first distance and the second distance. Likewise, the neighboring distance detected in S402 includes a third distance, where the third distance is a distance between the first wireless extension AP and the second wireless extension AP, and at this time, the first wireless extension AP and the second wireless extension AP are adjacent to each other.
In this embodiment, the AP1, the AP2, the AP3, and the AP4 may all correspond to the first wireless extension AP in the above embodiments, so as to serve as the wireless extension AP to be located. When the AP1 is the first wireless extension AP, the AP2 and the AP4 are adjacent APs of the AP1, and the AP1 corresponds to the second wireless extension AP; when the AP2 is the first wireless extension AP, the AP1 and the AP3 are neighboring APs of the AP2, and the AP2 corresponds to the second wireless extension AP, and so on.
In the embodiment of the present invention, in the distribution process of the wireless extended AP, the method includes:
1. the definition of private ME is newly added in the interactive message between OLT and ONU, and the management and control of OMCI are accepted, the ME includes distance, MAC information of two ends. And configuring a newly added private ME through an OMCI protocol, and informing the ONU to start ranging in an idle state or start ranging at regular time.
2. Newly adding the definition of the ranging message and the ranging response message, and processing the ranging message and storing and reporting the ranging result by each wireless AP.
3. Each wireless expansion AP reserves a ranging SSID, and the high-priority connection ranging SSID is used for ranging with a second wireless expansion AP;
4. the ONU sends a ranging message to the plurality of wireless extension APs hung downwards and then receives a ranging response message of each wireless extension AP; and calculating the physical distance from each wireless extension AP to the ONU according to the time difference of the received and sent messages, and storing the physical distance in the ONU.
5. The wireless extended AP can receive the ranging message and respond to the ranging message to send a ranging response message; meanwhile, each wireless expansion AP can start a ranging SSID special for ranging, and a second wireless expansion AP accesses the ranging SSID with high priority. And the wireless extension AP initiates ranging and temporarily stores the ranging result in the wireless extension AP.
6. After the ranging of the wireless extended AP and the adjacent wireless extended AP is finished, the ranging SSID can be immediately closed and is connected back to the ONU, and the ranging result is reported to the ONU.
7. And the ONU acquires a message according to the OMCI distance measurement result issued by the OLT and reports the stored distance measurement result to the OLT.
8. And the upper-layer media such as OLT, WEB and the like determine the relative positions of the ONU and the lower-hanging APs according to the distance information between the ONU and the wireless expansion AP and the distance information between the wireless expansion AP and the adjacent wireless expansion AP. Wherein, the upper medium includes OLT and WEB, but not limited thereto,
EXAMPLE five
The embodiment of the invention also provides a device for detecting the position of the wireless extended AP, which is applied to the ONU and comprises the following components: a processor, a memory for storing a computer program operable on the processor;
wherein the processor is configured to execute, when running the computer program: acquiring a first distance and a second distance, wherein the first distance is the distance between the ONU and a first wireless extension AP, and the second distance is the distance between the ONU and a second wireless extension AP; receiving a third distance between the first wireless extension AP and the second wireless extension AP; determining a location of the first wireless extension AP using the first distance, the second distance, and the third distance.
The processor is configured to, when running the computer program, perform: sending a ranging message to the first wireless expansion AP, and recording first sending time for sending the ranging message; receiving a ranging response message which is sent by the first wireless extended AP and responds to the ranging message, and recording first receiving time for receiving the ranging response message; determining the first distance using the first transmit time and the first receive time.
The processor is configured to, when executing the computer program, further perform, before receiving a third distance between the wireless extension AP and a second wireless extension AP: and sending a ranging instruction to the first wireless extension AP, wherein the ranging instruction is used for instructing the first wireless extension AP to disconnect from the ONU and establish ranging connection with the second wireless extension AP through a ranging Service Set Identifier (SSID).
The third distance is determined according to a second sending time and a second receiving time, the second sending time is a time when the first wireless expansion AP sends the ranging message to the second wireless expansion AP, and the second receiving time is a time when the first wireless expansion AP receives the ranging response message sent by the second wireless expansion AP and responding to the ranging message.
The processor is configured to, when executing the computer program, perform the determining the location of the first wireless extension AP using the first distance, the second distance, and the third distance includes:
and generating the position information of the wireless extension AP by using the ONU as a coordinate origin, the first wireless extension AP as a coordinate point and the second wireless extension AP as a reference coordinate point and using the first distance, the second distance and the third distance.
Based on this, fig. 8 is a schematic structural diagram of an apparatus for detecting a location of a wireless extension AP according to a fifth embodiment of the present invention, and the apparatus for detecting a location of a wireless extension AP shown in fig. 8 includes: at least one processor 801 and a memory 802. The various components in the apparatus for detecting the location of a wireless extension AP are coupled together by a bus system 803. It is understood that the bus system 803 is used to enable communications among the components. It should be noted that the MMU, the memory, the first memory, and the second memory in the fifth embodiment may be implemented by the memory 802.
It will be appreciated that the memory 802 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 1202 described in connection with the embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 802 in the embodiment of the present invention is used to store various types of data to support the operation of the apparatus for detecting the location of the wireless extension AP of the fifth embodiment.
The method disclosed in the above embodiments of the present invention may be applied to the processor 801 or implemented by the processor 801. The processor 801 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 801. The Processor 801 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 801 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium that is located in the memory 802, and the processor 801 reads the information in the memory 802 to perform the steps of the aforementioned methods in conjunction with its hardware.
In an exemplary embodiment, the apparatus for detecting a location of a wireless extension AP of the fifth embodiment may be implemented by one or more APplication Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components, and is configured to perform the foregoing method.
Exactly product of six
In an exemplary embodiment, the present invention further provides a computer readable storage medium, such as the memory 802 comprising a computer program, which is executable by the processor 801 of the traffic statistic apparatus to perform the steps of the aforementioned method. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
A computer-readable storage medium for an ONU, having a computer program stored thereon, which, when executed by a processor, performs:
acquiring a first distance and a second distance, wherein the first distance is the distance between the ONU and a first wireless extension AP, and the second distance is the distance between the ONU and a second wireless extension AP; receiving a third distance between the first wireless extension AP and the second wireless extension AP; determining a location of the first wireless extension AP using the first distance, the second distance, and the third distance.
The computer program, when executed by the processor, further performs:
sending a ranging message to the first wireless expansion AP, and recording first sending time for sending the ranging message; receiving a ranging response message which is sent by the first wireless extended AP and responds to the ranging message, and recording first receiving time for receiving the ranging response message; determining the first distance using the first transmit time and the first receive time.
The computer program, when executed by the processor, further performs, prior to receiving a third distance between the wireless extension AP and a second wireless extension AP: sending a ranging indication to the first wireless extension AP, wherein the ranging indication is used for indicating the first wireless extension AP to disconnect from the ONU and establish ranging connection with the second wireless extension AP through a ranging Service Set Identifier (SSID).
When the computer program is executed by the processor, the third distance is determined according to a second sending time and a second receiving time, the second sending time is a time when the first wireless expansion AP sends a ranging message to the second wireless expansion AP, and the second receiving time is a time when the first wireless expansion AP receives a ranging response message sent by the second wireless expansion AP and responding to the ranging message.
The computer program, when executed by a processor, performing the determining the location of the first wireless extension AP using the first distance, the second distance, and the third distance comprises: and generating the position information of the wireless extension AP by using the ONU as a coordinate origin, the first wireless extension AP as a coordinate point and the second wireless extension AP as a reference coordinate point and using the first distance, the second distance and the third distance.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (6)

1. A method for detecting a wireless extension Access Point (AP) position, the method comprising:
an Optical Network Unit (ONU) acquires a first distance and a second distance, wherein the first distance is the distance between the ONU and a first wireless extension AP to be positioned, the second distance is the distance between the ONU and a second wireless extension AP, and the first wireless extension AP and the second wireless extension AP are wireless extension APs hung under the ONU, and the ONU detects the first distance between the ONU and the first wireless extension AP hung under the ONU in an idle state or at regular time;
the ONU receives a third distance between the first wireless extension AP and the second wireless extension AP to be positioned;
the ONU determines the position of the first wireless extension AP to be positioned by using the first distance, the second distance and the third distance, wherein the position is the relative position of the first wireless extension AP relative to the ONU; wherein the method further comprises:
sending a ranging message to the first wireless expansion AP, and recording first sending time for sending the ranging message;
receiving a ranging response message sent by the first wireless extension AP and responding to the ranging message, and recording first receiving time for receiving the ranging response message, wherein the ranging response message carries time information representing a time interval, and the time interval is determined according to the time interval from the time when the first wireless extension AP receives the ranging message to the time when the first wireless extension AP returns the ranging response message to the ONU;
determining the first distance using the first transmission time, the first reception time, and the time interval;
wherein prior to receiving a third distance between the first wireless extension AP and a second wireless extension AP to be positioned, the method further comprises:
and sending a ranging instruction to the first wireless extension AP, wherein the ranging instruction is used for instructing the first wireless extension AP to disconnect from the ONU and establish ranging connection with the second wireless extension AP through a ranging Service Set Identifier (SSID).
2. The method of claim 1, wherein the third distance is determined according to a second sending time and a second receiving time, the second sending time is a time when the first wireless expansion AP sends a ranging message to the second wireless expansion AP, and the second receiving time is a time when the first wireless expansion AP receives a ranging response message sent by the second wireless expansion AP and responding to the ranging message.
3. The method of claim 1, wherein the determining the location of the first wireless extension AP to be located using the first distance, the second distance, and the third distance comprises:
and generating the position information of the wireless extension AP by using the ONU as a coordinate origin, the first wireless extension AP as a coordinate point and the second wireless extension AP as a reference coordinate point and using the first distance, the second distance and the third distance.
4. A method for detecting a wireless extension Access Point (AP) position, the method comprising:
reporting a third distance between the first wireless extension AP and the second wireless extension AP to an Optical Network Unit (ONU) by the first wireless extension AP;
the ONU acquires a first distance and a second distance, wherein the first distance is a distance between the ONU and the first wireless extension AP to be positioned, and the second distance is a distance between the ONU and the second wireless extension AP, the ONU detects the first distance between the ONU and the first wireless extension AP hung below the ONU in an idle state or at regular time, receives a third distance between the first wireless extension AP to be positioned and the second wireless extension AP, and determines the position of the first wireless extension AP to be positioned by using the first distance, the second distance and the third distance, and the position is a relative position of the first wireless extension AP to the ONU;
the ONU sends a ranging message to the first wireless extension AP, records first sending time for sending the ranging message, receives a ranging response message which is sent by the first wireless extension AP and responds to the ranging message, and records first receiving time for receiving the ranging response message, wherein the ranging response message carries time information representing a time interval which is determined according to the time from the time when the first wireless extension AP receives the ranging message to the time when the first wireless extension AP returns the ranging response message to the ONU;
determining the first distance using the first transmit time, the first receive time, and the time interval;
the ONU sends a ranging instruction to the first wireless extension AP before receiving a third distance between the first wireless extension AP and the second wireless extension AP to be positioned, wherein the ranging instruction is used for instructing the first wireless extension AP to disconnect from the ONU and establishing ranging connection with the second wireless extension AP through a ranging Service Set Identifier (SSID).
5. An apparatus for detecting a location of a wireless extension Access Point (AP), comprising: a processor, a memory for storing a computer program operable on the processor; wherein the processor is configured to execute, when running the computer program:
acquiring a first distance and a second distance, wherein the first distance is the distance between an ONU and a first wireless extension AP to be positioned, the second distance is the distance between the ONU and a second wireless extension AP, and the ONU detects the first distance between the ONU and the first wireless extension AP hung below in an idle state or at regular time;
receiving a third distance between the first wireless extension AP and the second wireless extension AP to be positioned;
determining the position of the first wireless extension AP to be positioned by using the first distance, the second distance and the third distance, wherein the position is the relative position of the first wireless extension AP relative to the ONU; the processor is further configured to, when executing the computer program, further perform:
sending a ranging message to the first wireless expansion AP, and recording first sending time for sending the ranging message;
receiving a ranging response message sent by the first wireless extension AP and responding to the ranging message, and recording first receiving time for receiving the ranging response message, wherein the ranging response message carries time information representing a time interval, and the time interval is determined according to the time interval from the time when the first wireless extension AP receives the ranging message to the time when the first wireless extension AP returns the ranging response message to the ONU;
determining the first distance using the first transmit time, the first receive time, and the time interval; the processor is configured to, when executing the computer program, further perform:
and sending a ranging instruction to the first wireless extension AP, wherein the ranging instruction is used for instructing the first wireless extension AP to disconnect from the ONU and establish ranging connection with the second wireless extension AP through a ranging Service Set Identifier (SSID).
6. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 3.
CN201810456691.4A 2018-05-14 2018-05-14 Method and device for detecting position of wireless extended AP and computer readable storage medium Active CN110493805B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810456691.4A CN110493805B (en) 2018-05-14 2018-05-14 Method and device for detecting position of wireless extended AP and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810456691.4A CN110493805B (en) 2018-05-14 2018-05-14 Method and device for detecting position of wireless extended AP and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110493805A CN110493805A (en) 2019-11-22
CN110493805B true CN110493805B (en) 2022-06-17

Family

ID=68543748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810456691.4A Active CN110493805B (en) 2018-05-14 2018-05-14 Method and device for detecting position of wireless extended AP and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110493805B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132825B (en) * 2019-12-31 2022-08-26 华为技术有限公司 Communication method, optical network terminal, optical line terminal and system
WO2023065080A1 (en) * 2021-10-18 2023-04-27 北京小米移动软件有限公司 Method and apparatus for expanding ranging capability, communication device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869640A (en) * 2015-06-17 2015-08-26 全讯汇聚网络科技(北京)有限公司 Automatic AP location method based on wireless network AC system
JP2015231102A (en) * 2014-06-04 2015-12-21 日本電信電話株式会社 Optical radio access system and power saving method
CN105722075A (en) * 2016-01-26 2016-06-29 山东康威通信技术股份有限公司 Comprehensive WIFI coverage system using road well lids and control method thereof
CN105992336A (en) * 2015-01-31 2016-10-05 华为技术有限公司 Access point (AP) network element positioning method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015231102A (en) * 2014-06-04 2015-12-21 日本電信電話株式会社 Optical radio access system and power saving method
CN105992336A (en) * 2015-01-31 2016-10-05 华为技术有限公司 Access point (AP) network element positioning method and apparatus
CN104869640A (en) * 2015-06-17 2015-08-26 全讯汇聚网络科技(北京)有限公司 Automatic AP location method based on wireless network AC system
CN105722075A (en) * 2016-01-26 2016-06-29 山东康威通信技术股份有限公司 Comprehensive WIFI coverage system using road well lids and control method thereof

Also Published As

Publication number Publication date
CN110493805A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
KR102208280B1 (en) Communication processing method and apparatus under LTE and 5G tight interworking
KR102524269B1 (en) Locating method for uplink arrival time difference and apparatus thereof
US20150296043A1 (en) DYNAMIC IDENTIFICATION SYSTEM AND METHOD FOR IoT DEVICES
WO2020151757A1 (en) Location method and system
EP3060017A1 (en) Method and device of initial synchronization between d2d ues
WO2020156470A1 (en) Communication method and apparatus
KR20230016659A (en) Downlink positioning reference signal transmission method, device and storage medium
CN110730485B (en) Switching method, device and system
EP3544340A1 (en) Lmu device fusion method, apparatus, and system
US20170150475A1 (en) Positioning method and apparatus and communication system
CN103747431A (en) Method and device for realizing rapid roaming based on neighbor detection
KR20180107321A (en) Method and apparatus for transmitting d2d discovery signal and communications system
CN110493805B (en) Method and device for detecting position of wireless extended AP and computer readable storage medium
WO2014101490A1 (en) Relay node selection method and apparatus
KR20170137617A (en) Method and apparatus for setup of wireless connection
CN104104478A (en) Method and device for sending Probe Response frame in WLAN
EP3687240A1 (en) Method, device, and base station for implementing wireless backhaul
US20160286583A1 (en) Method for terminal accessing base station, and apparatus
CN106535327A (en) Wireless locating method and apparatus
CN106507442A (en) Control method and device that cell is accessed
CN113055933A (en) Cell access method, user equipment and base station
CN114125958A (en) Downlink positioning measurement method, device and system
WO2017020748A1 (en) Method and device for processing signalling tracking task
JP6561406B2 (en) Positioning apparatus and method
CN103391566A (en) Method and device for optimization

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant