WO2015066912A1 - 基站开通方法和基站开通*** - Google Patents

基站开通方法和基站开通*** Download PDF

Info

Publication number
WO2015066912A1
WO2015066912A1 PCT/CN2013/086836 CN2013086836W WO2015066912A1 WO 2015066912 A1 WO2015066912 A1 WO 2015066912A1 CN 2013086836 W CN2013086836 W CN 2013086836W WO 2015066912 A1 WO2015066912 A1 WO 2015066912A1
Authority
WO
WIPO (PCT)
Prior art keywords
base station
router
address
query request
request
Prior art date
Application number
PCT/CN2013/086836
Other languages
English (en)
French (fr)
Inventor
胡国杰
朱伟
王江胜
严卫平
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201380004031.8A priority Critical patent/CN103959747B/zh
Priority to PCT/CN2013/086836 priority patent/WO2015066912A1/zh
Priority to EP13897162.7A priority patent/EP3070993B1/en
Publication of WO2015066912A1 publication Critical patent/WO2015066912A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Definitions

  • the present invention relates to communication technologies, and in particular, to a base station activation method and a base station activation system. Background technique
  • the dynamic host configuration protocol can be used to implement fast and low-cost activation of the base station.
  • the base station first broadcasts a DHCP request, and the DHCP server assigns an IP address to the base station after receiving the broadcast. After obtaining the IP address, the base station can automatically connect to the server and automatically complete the configuration of the base station parameters according to the tasks configured in advance.
  • Embodiments of the present invention provide a base station activation method and a base station activation system for improving base station activation efficiency.
  • an embodiment of the present invention provides a base station, including:
  • a first sending module configured to send an internet protocol IP query request to the router, so that the router sends the IP query request to the server, where the IP query request includes identifier information of the base station and a temporary IP address of the base station Address
  • a first receiving module configured to receive an IP query request response that is sent by the router to the base station according to the temporary IP, where the IP query request response carries the server to allocate the base station according to the identifier information of the base station Official IP address;
  • a second sending module configured to send an open request to the router, so that the router sends the open request to the server, where the open request carries the official IP address;
  • a second receiving module configured to receive a turn-on response forwarded by the router to the base station according to the formal IP, where the open response carries a base station startup parameter configured by the server for the base station.
  • the first receiving module is further configured to: before the first sending module sends an IP query request to the router, receive the first address sent by the router Resolving a protocol ARP request, the first ARP request carrying an IP address of the router and a media access control MAC address; determining, according to an IP address of the router, a network segment where the base station is located; obtaining a location according to the network segment where the network segment is located The temporary IP address corresponding to the network segment.
  • the first sending module is further configured to: receive, by the first receiving module, the first ARP sent by the router After the request, a free ARP response is sent to the router according to the IP address of the router, and the free ARP response carries the MAC address of the base station.
  • the IP query request response further includes: Other base station identification information in the network segment except the base station and its corresponding official IP address.
  • the first sending module after the first sending module sends an IP query request to the router, When the receiving module does not receive the IP query request response within the set time, the first sending module is further configured to: send a free ARP request to the router, so that the router sends the temporary IP to the base station The address is updated with the MAC address correspondence; the IP query request is sent to the router again, so that the router sends the IP query request to the server.
  • the first sending module is further configured to: before sending the IP query request to the router Sending a second ARP request, the destination address of the second ARP request is the temporary IP address; if an ARP response to the ARP request is received, the ARP request is sent again after the first time interval is set until the ARP request is sent The first sending module does not receive the ARP response within a second set time period.
  • an embodiment of the present invention provides a router, including:
  • a first receiving module configured to receive an internet protocol IP query request sent by the base station, and The IP query request is sent to the server, where the IP query request includes the identifier information of the base station and a temporary IP address of the base station;
  • a first sending module configured to forward an IP query request response to the base station according to the temporary IP, where the IP query request response carries an official IP address allocated by the server according to the identifier information of the base station to the base station;
  • a second receiving module configured to receive the opening request sent by the base station, and forward the opening request to the server, where the opening request carries the official IP address;
  • a second sending module configured to forward a turn-on response to the base station according to the formal IP, where the open response carries a base station startup parameter configured by the server for the base station.
  • the first sending module is further configured to: before the first receiving module receives the base station sends an IP query request, send the first address to the base station Parsing a protocol ARP request, the first ARP request carrying an IP address of the router and a media access control MAC address, so that the base station determines, according to an IP address of the router, a network segment where the base station is located, and according to the location The network segment obtains the temporary IP address corresponding to the network segment.
  • the first receiving module is further configured to: after the first sending module sends the first ARP request to the base station, receive the base station according to the A free ARP response sent by the IP address of the router, where the free ARP response carries the MAC address of the base station.
  • the IP query request response further includes: Other base station identification information in the network segment except the base station and its corresponding official IP address.
  • the first receiving module receives the IP query request sent by the base station If the base station does not receive the IP query request response within the set time, the first receiving module is further configured to receive the free ARP request sent by the base station, and correspond to the temporary IP address and the MAC address. The relationship is updated; receiving the IP query request sent by the base station again, and sending the IP query request to the server.
  • an embodiment of the present invention provides a server, including: a first receiving module, configured to receive an internet protocol IP query request that is received by the router from the base station and forwarded to the server, where the IP query request includes identifier information of the base station and a temporary IP address of the base station;
  • a first sending module configured to send an IP query request response to the router, to enable the router to forward the IP query request response to the base station, where the IP query request response carries the server according to the base station
  • the identification information is an official IP address assigned to the base station
  • a second receiving module configured to receive a turn-on request that is received by the router from the base station and forwarded to the server, where the open request carries the official IP address;
  • the second sending module is configured to send a turn-on response to the router, so that the router forwards the turn-on response, where the turn-on response carries a base station startup parameter configured by the server for the base station.
  • the IP query request response further includes: a network segment other than the first base station in the network segment where the first base station is located Two base station identification information and its corresponding official IP address.
  • an embodiment of the present invention provides a method for starting a base station, including:
  • the first base station sends an internet protocol IP query request to the router, so that the router sends the IP query request to the server, where the IP query request includes the identifier information of the first base station and the temporary IP address of the first base station.
  • the first base station receives an IP query request response that is sent by the router to the first base station according to the temporary IP, where the IP query request response carries the identifier according to the identifier information of the first base station.
  • the first base station sends an open request to the router, so that the router sends the open request to the server, where the open request carries the official IP address;
  • the first base station receives an activation response forwarded by the router to the first base station according to the formal IP, and the activation response carries a base station startup parameter configured by the server for the first base station.
  • the method before the sending, by the first base station, the IP query request to the router, the method further includes:
  • the method further includes:
  • the first base station sends a free ARP response to the router according to the IP address of the router, where the free ARP response carries the MAC address of the first base station.
  • the IP query request response further includes: the first base station The second base station identification information and its corresponding official IP address in the network segment where the first base station is located.
  • the first to the third possible implementation manner of the fourth aspect in a fourth possible implementation manner of the fourth aspect, after the first base station sends an IP query request to the router, The first base station does not receive the IP query request response within a set time, and the method further includes:
  • the first base station sends a free ARP request to the router, so that the router updates the correspondence between the temporary IP address and the MAC address of the first base station;
  • the first base station sends the IP query request to the router again, so that the router sends the IP query request to the server.
  • the first to fourth possible implementation manners of the fourth aspect before the sending, by the first base station, the IP query request to the router, :
  • the first base station sends a second ARP request, and the destination address of the second ARP request is the temporary IP address;
  • the first base station If the first base station receives an ARP response to the ARP request, the first base station sets the first time interval and then sends the ARP request again until the first base station is in the second time setting The ARP response was not received.
  • an embodiment of the present invention provides a method for starting a base station, including:
  • IP query request sent by the first base station, and sending the IP query request to the server, where the IP query request includes the identifier information of the first base station and the a temporary IP address of the first base station;
  • the router responds to the IP query request forwarded by the first base station according to the temporary IP, and the IP query request response carries the formality that the server allocates to the first base station according to the identifier information of the first base station. IP address;
  • the router receives the opening request sent by the first base station, and forwards the opening request to the server, where the opening request carries the official IP address;
  • the router forwards a turn-on response to the first base station according to the formal IP, where the open response carries a base station startup parameter configured by the server for the first base station.
  • the method before the receiving, by the router, the first base station sends an IP query request, the method further includes:
  • ARP request carries an IP address of the router and a media access control MAC address, so that the first base station is configured according to the router
  • the IP address of the first base station is determined, and the temporary IP address corresponding to the network segment is obtained according to the network segment where the network segment is located.
  • the method further includes:
  • the router receives a free ARP response sent by the first base station according to the IP address of the router, and the free ARP response carries the MAC address of the first base station.
  • the IP query request response further includes: the first base station The second base station identification information and its corresponding official IP address in the network segment where the first base station is located.
  • the method further includes:
  • an embodiment of the present invention provides a base station activation method, including: a server receiving an Internet Protocol IP query request received by a router from a first base station and forwarding to the server, where the IP query request includes the first base station Identification information and a temporary IP address of the first base station;
  • the server sends an IP query request response to the router, so that the router will send an IP query request response to the router, so that the router will send an IP query request response to the router, so that the router will send an IP query request response to the router, so that the router will send an IP query request response to the router, so that the router will send an IP query request response to the router, so that the router will send an IP query request response to the router, so that the router will send an IP query request response to the router, so that the router will
  • the IP query request response is forwarded to the first base station, and the IP query request response carries an official IP address allocated by the server according to the identifier information of the first base station to the first base station;
  • the server receives a provisioning request that the router receives from the first base station and forwards the packet to the server, where the opening request carries the official IP address;
  • the server sends an activation response to the router, so that the router forwards the activation response, and the activation response carries a base station startup parameter configured by the server for the first base station.
  • the IP query request response further includes: a network segment other than the first base station in the network segment where the first base station is located Two base station identification information and its corresponding official IP address.
  • an embodiment of the present invention provides a base station, including:
  • the method includes: a processor and a memory, where the memory stores execution instructions, when the base station is running, the processor communicates with the memory, and the processor executes the execution instruction to cause the base station to perform as the first The method of any of the aspects.
  • an embodiment of the present invention provides a router, including: a processor and a memory, where the memory stores an execution instruction, when the router is running, the processor communicates with the memory, the processor Executing the execution instructions causes the base station to perform the method of any of the second aspects.
  • an embodiment of the present invention provides a server, including: a processor and a memory, where the memory stores an execution instruction, and when the server is running, the processor communicates with the memory, the processor Executing the execution instructions causes the base station to perform the method of any of the third aspects.
  • the base station may send an IP query request to the server via the router through a temporary IP address, to request the server to allocate a formal IP address to the base station, and after the base station obtains the official IP address, the base station can pass the formal IP address.
  • the router requests the server to allocate relevant parameters for the base station to be activated, thereby improving the base station opening efficiency and saving The cost of the base station opening.
  • FIG. 1 is a flowchart of an embodiment of a method for enabling a base station according to the present invention
  • FIG. 2 is a flowchart of still another embodiment of a method for opening a base station according to the present invention
  • FIG. 3 is a flowchart of another embodiment of a method for opening a base station according to the present invention.
  • FIG. 4 is a signaling diagram of an embodiment of a base station activation system according to the present invention.
  • FIG. 5 is a schematic structural diagram of an embodiment of a base station according to the present invention.
  • FIG. 6 is a schematic structural diagram of an embodiment of a router provided by the present invention.
  • FIG. 7 is a schematic structural diagram of an embodiment of a server provided by the present invention.
  • FIG. 8 is a schematic structural diagram of still another embodiment of a base station according to the present invention.
  • FIG. 9 is a schematic structural diagram of still another embodiment of a router provided by the present invention.
  • FIG. 10 is a schematic structural diagram of still another embodiment of a server provided by the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
  • the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • GSM Global System for Mobile Communications
  • CDMA Code Division Multiple Access
  • CDMA Code Division Multiple
  • TDMA Time Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • WCDMA Frequency Division Multiple Access
  • FDDMA Frequency Division Multiple Addressing
  • OFDM A Orthogonal Frequency-Division Multiple Access
  • SC-FDMA single carrier FDMA
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • the base station (for example, an access point) involved in the present application may be a base station (BTS, Base Transceiver Station) in GSM or CDMA, or may be a base station (NodeB) in WCDMA, or may be an evolved base station in LTE (eNB or e-NodeB, evolved Node B), this application is not limited.
  • BTS Base Transceiver Station
  • NodeB base station
  • LTE evolved Node B
  • FIG. 1 is a flowchart of an embodiment of a method for enabling a base station according to the present invention. As shown in FIG. 1, the method in this embodiment may include:
  • Step 101 The first base station sends an internet protocol IP query request to the router, so that the router sends an IP query request to the server, where the IP query request includes the identifier information of the first base station and the temporary IP address of the first base station.
  • Step 102 The first base station receives an IP query request that the router forwards to the first base station according to the temporary IP address, and the IP query request response carries the formal IP address allocated by the server according to the identifier information of the first base station to the first base station.
  • Step 103 The first base station sends an open request to the router, so that the router sends the open request to the server, and the open request carries the official IP address.
  • Step 104 The first base station receives a turn-on response forwarded by the router to the first base station according to the formal IP, and the start-up response carries the base station startup parameter configured by the server for the first base station.
  • one router can connect multiple base stations, and one server can connect multiple routers.
  • the information sent by the base station to the server needs to be first sent to the router and forwarded to the server by the router.
  • the information sent by the server to the base station needs to be sent to the router first and forwarded by the router to the base station.
  • the first base station in the embodiment of the present invention may be any one of the base stations in the network, and the identifier information of the base station may be used to uniquely identify the base station in the network, for example, may be an electronic serial number (ESN) of the base station. Or other flag information, the present invention is not limited thereto.
  • ESN electronic serial number
  • a temporary IP address In a network segment (including a router, and multiple base stations connected to the router) You can set a temporary IP address or multiple IP addresses. Generally, to save IP address resources, you can set a temporary IP address in a network segment.
  • the temporary IP address can be stored in a device having a storage function, such as a USB flash drive or the like.
  • the base station can connect and communicate with the device with the storage function through the network port, serial port, fiber interface or other communication interface on the base station board, and read the temporary IP address in the network segment to which the storage device stores. It should be noted that the present invention does not specifically limit how the temporary IP address is stored and how the base station acquires.
  • the server may allocate and send a corresponding official IP address to the base station according to the identifier information of the first base station.
  • the server stores information such as the official IP address, subnet mask, and next hop route of all the base stations in all networks.
  • the first base station After the first base station obtains the official IP address, it can send an open request to the server using the official IP address.
  • the server will open the configuration parameters required by the base station (the different types of base stations need to be configured with different parameters, for example, the parameters such as the station name, the sector number, the location area, the routing area, and the cell type may be included. The present invention is not described in detail) and is sent to the base station, and the first base station can perform base station activation according to parameters sent by the server.
  • the method may further include: the first base station receiving the first address resolution protocol ARP request sent by the router, where the first ARP request carries the router IP address and media access control MAC address.
  • the first base station determines the network segment where the first base station is located according to the IP address of the router.
  • the first base station can obtain the temporary IP address corresponding to the network segment according to the network segment where the network segment is located. Since different network segments may have different temporary IP addresses, follow the above steps to ensure that the base station obtains the correct temporary IP address.
  • the first base station may further include a process of the router discovering the base station, where specifically: the first base station may also send a free ARP response to the router according to the IP address of the router, and the free ARP response Carrying the MAC address of the first base station.
  • the base station can know the IP address and MAC address of the router, and the router can also know the temporary IP address and MAC address of the base station, thereby ensuring the positive communication between the router and the base station.
  • the server may send the assigned official IP address to the network except the first base station.
  • the other second base station in order to overcome the problem, the IP query request response may further include other than the first base station in the network segment where the first base station is located.
  • an "IP preemption" may occur, which may affect the base station activation.
  • the ARP entry in the router is tampered with, in the entry, the temporary IP address corresponding to the first base station's MAC address is changed to the temporary IP address corresponding to the second
  • the MAC address of the base station the router forwards the IP query request response received from the server to the second base station, so that the second base station receives the IP query request (the IP query request carries all the unopened base stations in the network segment)
  • the official IP address can be automatically opened afterwards, and the first base station cannot receive the IP query request response.
  • the first base station may send a gratuitous ARP request, where the sender IP address and the destination IP address carried in the ARP request are temporary IP addresses of the first base station, and the source MAC address is the MAC address of the first base station, and the destination MAC address. Is the broadcast address, which informs the router to update the ARP entry. After the router updates the ARP entry, the router can forward the IP query request response to the first base station.
  • the first base station may first determine whether the temporary IP address is being occupied by another base station. Specifically, the first base station may send a second ARP request, where the destination address of the second ARP request is a temporary IP address. If the first base station receives the ARP response to the ARP request, it indicates that the temporary IP address is being occupied by other base stations, and the first base station needs to wait until the other base station that is occupying the temporary IP address releases the temporary IP address, and the first base station only This temporary IP address can be occupied.
  • the first base station is configured to resend the ARP request after the first time interval until the first base station does not receive the ARP response within the set second time period, indicating that there is no other base station, the temporary IP address, and the first base station can further occupy the Temporary IP address.
  • the base station may send an IP query request to the server via the router through the temporary IP address, to request the server to allocate a formal IP address to the base station, and after obtaining the official IP address, the base station may use the official IP address to send the server to the server through the router.
  • the request allocates relevant parameters for the base station to be opened, thereby improving the base station opening efficiency and saving the cost of the base station opening.
  • FIG. 2 is a flowchart of still another embodiment of a method for opening a base station according to the present invention, as shown in FIG. 2,
  • the method of this embodiment may include:
  • Step 201 The router receives the Internet Protocol IP query request sent by the first base station, and sends an IP query request to the server, where the IP query request includes the identifier information of the first base station and the temporary IP address of the first base station.
  • Step 202 The router responds to the IP query request forwarded by the temporary IP to the first base station, where the IP query request response carries the official IP address allocated by the server according to the identifier information of the first base station.
  • Step 203 The router receives the opening request sent by the first base station, and forwards the opening request to the server, where the opening request carries the official IP address.
  • Step 204 The router forwards the activation response to the first base station according to the formal IP, and the base station startup parameter configured by the carrying server for the first base station in the activation response.
  • one router can connect multiple base stations, and one server can connect multiple routers.
  • the information sent by the base station to the server needs to be first sent to the router and forwarded to the server by the router.
  • the information sent by the server to the base station needs to be sent to the router first and forwarded by the router to the base station.
  • the first base station in the embodiment of the present invention may be any one of the base stations in the network, and the identifier information of the base station may be used to uniquely identify the base station in the network, for example, may be an electronic serial number (ESN) of the base station. Or other flag information, the present invention is not limited thereto.
  • ESN electronic serial number
  • a temporary IP address or multiple IP addresses can be set in a network segment (including a router and multiple base stations connected to the router). Generally, to save IP address resources, a temporary segment can be set in a network segment. IP address. Temporary IP addresses can be stored in devices with storage capabilities, such as USB flash drives.
  • the base station can connect and communicate with the device with storage function through the network port, serial port, fiber interface or other communication interface on the base station board to read the temporary IP address in the network segment to which the storage device belongs. It should be noted that the present invention does not specifically limit how the temporary IP address is stored and how the base station acquires.
  • the server may allocate and send a corresponding official IP address to the base station according to the identifier information of the first base station.
  • the server stores information such as the official IP address, subnet mask, and next hop route of all base stations in all networks.
  • the first base station After the first base station obtains the official IP address, it can send a provisioning request to the server using the official IP address.
  • the server received the opening After the request, the configuration parameters required for the base station are to be opened.
  • the parameters of the different types of base stations need to be configured with different parameters, for example, the parameters such as the station name, the sector number, the location area, the routing area, and the cell type may be included.
  • the base station is sent to the base station, and the first base station can perform base station activation according to parameters sent by the server.
  • the router may further include a process for the first base station to discover the router. Specifically, the router sends a first address resolution protocol ARP request to the first base station, where the first ARP request carries the IP address of the router. The address and the medium access control MAC address, so that the first base station determines the network segment where the first base station is located according to the IP address of the router, and obtains the temporary IP address corresponding to the network segment according to the network segment where the network is located.
  • ARP request carries the IP address of the router.
  • the address and the medium access control MAC address so that the first base station determines the network segment where the first base station is located according to the IP address of the router, and obtains the temporary IP address corresponding to the network segment according to the network segment where the network is located.
  • the router may further include a process of the router discovering the base station. Specifically, the router receives the free ARP response sent by the first base station according to the IP address of the router, and the free ARP response carries the first base station. MAC address.
  • the base station can know the IP address and MAC address of the router, and the router can also know the temporary IP address and MAC address of the base station, thereby ensuring normal traffic between the router and the base station.
  • the server may send the assigned official IP address to the network except the first base station.
  • the second base station may further include the second base station identification information of the network segment where the first base station is located, and the corresponding official IP address of the network segment where the first base station is located.
  • the router forwards the IP query request response received from the server to the second base station, so that the second base station receives the IP query request (the IP query request carries all unopened base stations in the network segment)
  • the official IP address can be automatically opened afterwards, and the first base station cannot receive an IP query request response.
  • the first base station may send a gratuitous ARP request, where the sender IP address and the destination IP address carried in the ARP request are temporary IP addresses of the first base station, and the source MAC address is the MAC address of the first base station, and the destination MAC address. Is the broadcast address, which informs the router to update the ARP entry. After the router updates the ARP entry, the router can forward the IP query request response to the first base station.
  • the base station may send an IP query request to the server via the router through the temporary IP address, to request the server to allocate a formal IP address to the base station, and after obtaining the official IP address, the base station may use the official IP address to send the server to the server through the router.
  • the request allocates relevant parameters for the base station to be opened, thereby improving the base station opening efficiency and saving the cost of the base station opening.
  • FIG. 3 is a flowchart of another embodiment of a method for opening a base station according to the present invention. As shown in FIG. 3, the method in this embodiment may include:
  • Step 301 The server receives an Internet Protocol IP query request that is received by the router from the first base station and forwarded to the server, where the IP query request includes the identifier information of the first base station and the temporary IP address of the first base station.
  • Step 302 The server sends an IP query request response to the router, so that the router forwards the IP query request response to the first base station, where the IP query request response carries the formal IP address allocated by the server according to the identifier information of the first base station.
  • Step 303 The server receives a provisioning request that the router receives from the first base station and forwards the packet to the server, where the opening request carries an official IP address.
  • Step 304 The server sends a turn-on response to the router, so that the router forwards the turn-on response, and the turn-on response carries the base station startup parameter configured by the server for the first base station.
  • the IP query request response further carries the second base station identification information and the corresponding official IP address of the network segment where the first base station is located, except the first base station.
  • one router can connect multiple base stations, and one server can connect multiple routers.
  • the information sent by the base station to the server needs to be first sent to the router and forwarded to the server by the router.
  • the information sent by the server to the base station needs to be sent to the router first and forwarded by the router to the base station.
  • the first base station in the embodiment of the present invention may be any one of the base stations in the network, and the identifier information of the base station may be used to uniquely identify the base station in the network, for example, may be an electronic serial number of the base station. (Electronic Serial Number, ESN), or other flag information, the present invention is not limited thereto.
  • ESN Electronic Serial Number
  • a temporary IP address or multiple IP addresses can be set in a network segment (including a router and multiple base stations connected to the router). Generally, to save IP address resources, a temporary segment can be set in a network segment. IP address. Temporary IP addresses can be stored in devices with storage capabilities, such as USB flash drives.
  • the base station can connect and communicate with the device with storage function through the network port, serial port, fiber interface or other communication interface on the base station board to read the temporary IP address in the network segment to which the storage device belongs. It should be noted that the present invention does not specifically limit how the temporary IP address is stored and how the base station acquires.
  • the server may allocate and send a corresponding official IP address to the base station according to the identifier information of the first base station.
  • the server stores information such as the official IP address, subnet mask, and next hop route of all the base stations in all networks.
  • the first base station After the first base station obtains the official IP address, it can send an open request to the server using the official IP address.
  • the server will open the configuration parameters required by the base station (the different types of base stations need to be configured with different parameters, for example, the parameters such as the station name, the sector number, the location area, the routing area, and the cell type may be included. The present invention is not described in detail) and is sent to the base station, and the first base station can perform base station activation according to parameters sent by the server.
  • the base station may send an IP query request to the server via the router through the temporary IP address, to request the server to allocate a formal IP address to the base station, and after obtaining the official IP address, the base station may use the official IP address to send the server to the server through the router.
  • the request allocates relevant parameters for the base station to be opened, thereby improving the base station opening efficiency and saving the cost of the base station opening.
  • FIG. 4 is a signaling diagram of an embodiment of a base station activation system according to the present invention. As shown in FIG. 4, the method includes the following steps:
  • Step 4001 The router sends a first ARP request to the first base station.
  • the router sends an ARP request, and the first base station can learn the IP address and MAC address of the router according to the ARP request.
  • Step 4002 The first base station determines a network segment.
  • the first base station can learn the network segment where the first base station is located according to the IP address of the router.
  • Step 4003 The first base station sends a free ARP response to the router.
  • This step is used by the base station to register a MAC address with the router. Through this step, the router can learn The MAC address of the base station.
  • Step 4004 The first base station sends a second ARP request, and waits for a response.
  • This step is used by the first base station to determine whether the temporary IP address is being occupied by other base stations before occupying the temporary IP address. If the response to the second ARP request is received, it indicates that the temporary IP address is being occupied by another base station, and the first base station needs to wait for the base station that is occupying the temporary IP address to use the temporary IP address.
  • Step 4005 The first base station selects a temporary IP address. At this time, the first base station occupies the temporary IP address.
  • Step 4006 The first base station sends an IP query request to the server.
  • the step is used by the first base station to query the server for the official IP address of the first base station, and the IP query request carries a temporary IP address.
  • Step 4007 The second base station IP preempts
  • the ARP entry of the router is changed, and the ARP entry is changed from "the temporary IP address corresponding to the MAC address of the first base station" to "the temporary IP address.
  • the MAC address of the second base station is also in the process of being opened, and the second base station is IP preempted.
  • Step 4008 The server sends an IP query response.
  • the server After receiving the IP query request, the server sends an IP query response to the router.
  • the ARP entry of the router is changed, causing the router to send the IP query response to the second base station, and the first base station cannot receive the IP query response. Since the IP query response carries the official IP addresses of all unopened base stations, all second base stations are informed of the official IP address of the second base station.
  • Step 4009 The second base station sends a turn-on request, where the open request carries the official IP address of the second base station.
  • Step 4010 The server sends a turn-on response to the second base station to implement opening of the second base station.
  • Step 4011 The first base station sends a free ARP request to the router.
  • This step is used by the first base station to notify the router to update its ARP entry.
  • Step 4012 The router updates the ARP entry.
  • Step 4013 The first base station sends an IP query request to the server again.
  • Step 4014 The server sends an IP query request response to the first base station.
  • the first base station receives the IP query request response, and obtains the official IP address of the first base station according to the IP query request response.
  • Step 4015 The first base station sends an open request to the server, where the open request carries the official IP address of the first base station.
  • Step 4016 The server sends a turn-on response to the first base station, where the turn-on response carries configuration parameters required for the first base station to be turned on, so that the first base station is turned on.
  • step 4001-4003 corresponds to a mutual discovery process between the first base station and the router.
  • the first base station obtains a temporary IP address in step 4005.
  • the first base station determines, in step 4004, whether the temporary IP address is being occupied by another base station.
  • Step 4006 and step 4014 are processes in which the first base station acquires a formal IP address.
  • the temporary IP address is preempted by the second base station, as shown in step 4007, the second base station is opened in steps 4008-4010, and the first base station cannot obtain the official IP address, and the first base station needs to go through step 4011.
  • -4013 obtains the official IP address again, and then implements the opening of the base station through steps 4015-4016.
  • the base station may send an IP query request to the server via the router through the temporary IP address, to request the server to allocate a formal IP address to the base station, and after obtaining the official IP address, the base station may use the official IP address to send the server to the server through the router.
  • the request allocates relevant parameters for the base station to be opened, thereby improving the base station opening efficiency and saving the cost of the base station opening.
  • FIG. 5 is a schematic structural diagram of an embodiment of a base station according to the present disclosure.
  • the base station includes: a first sending module 501, configured to send an internet protocol IP query request to a router, so that the router sends an IP query request to the server, and the IP query is performed.
  • the request includes the identification information of the base station and the temporary IP address of the base station;
  • the first receiving module 502 is configured to receive, by the router, an IP query request response that is forwarded by the router to the base station according to the temporary IP, where the IP query request response carries a formal IP address allocated by the server according to the identity information of the base station to the base station;
  • the second sending module 503 is configured to send a turn-on request to the router, so that the router sends the open request to the server, where the open request carries the official IP address;
  • the second receiving module 504 is configured to receive a turn-on response forwarded by the router to the base station according to the formal IP, where the start-up response carries the base station startup parameter configured by the server for the base station.
  • the first receiving module is further configured to: before the first sending module sends an IP query request to the router, receive a first address resolution protocol ARP request sent by the router, where the first ARP request carries the IP address of the router and the media access control MAC address. Address: According to the IP address of the router, determine the network segment where the base station is located. Obtain the temporary IP address corresponding to the network segment according to the network segment where the network segment resides. Further, the first sending module is further configured to: after the first receiving module receives the first ARP request sent by the router, send a free ARP response to the router according to the IP address of the router, where the free ARP response carries the MAC address of the base station.
  • the IP query request response further includes: other base station identification information except the base station in the network segment where the base station is located, and a corresponding official IP address.
  • the first sending module sends an IP query request to the router
  • the first receiving module does not receive the IP query request response within the set time
  • the first sending module is further configured to: send a free ARP request to the router, So that the router updates the correspondence between the temporary IP address and the MAC address of the base station; sends an IP query request to the router again, so that the router sends an IP query request to the server.
  • the first sending module is further configured to: before sending an IP query request to the router, send a second ARP request, where the destination address of the second ARP request is a temporary IP address; if an ARP response to the ARP request is received, the interval is set After the first time, the ARP request is sent again until the first sending module does not receive the ARP response within the second set time.
  • the device in this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 1.
  • the principle and the technical effect are similar, and details are not described herein again.
  • FIG. 6 is a schematic structural diagram of an embodiment of a router according to the present invention.
  • the router includes: a first receiving module 601, configured to receive an Internet Protocol IP query request sent by a base station, and send an IP query request to a server, where the IP query is performed.
  • the request includes the identification information of the base station and the temporary IP address of the base station.
  • the first sending module 602 is configured to forward an IP query request response to the base station according to the temporary IP, where the IP query request response carries the official IP address allocated by the server according to the identity information of the base station.
  • the second receiving module 603 is configured to receive the opening request sent by the base station, and forward the opening request to the server, where the opening request carries the official IP address.
  • the second sending module 604 is configured to forward, according to the formal IP, a turn-on response to the base station, where the start-up response carries the base station startup parameter configured by the server for the base station.
  • the first sending module is further configured to: before the first receiving module receives the IP query request from the base station, send a first address resolution protocol ARP request to the base station, where the first ARP request carries the IP address of the router and the media access control MAC address.
  • the base station determines the network segment where the base station is located according to the IP address of the router, and obtains the temporary IP address corresponding to the network segment according to the network segment where the base station is located.
  • the first receiving module is further configured to: after the first sending module sends the first ARP request to the base station, receive the free ARP response sent by the base station according to the IP address of the router, where the free ARP response carries the MAC address of the base station.
  • the IP query request response further includes: other base station identification information except the base station in the network segment where the base station is located, and a corresponding official IP address.
  • the first receiving module receives the IP query request sent by the base station, if the base station does not receive the IP query request response within the set time, the first receiving module is further configured to receive the free ARP request sent by the base station, and Update the correspondence between the temporary IP address and the MAC address; receive the IP query request sent by the base station again, and send the IP query request to the server.
  • the device in this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 2, and the principle and the technical effect are similar, and details are not described herein again.
  • FIG. 7 is a schematic structural diagram of an embodiment of a server provided by the present invention.
  • the server includes: a first receiving module 701, configured to receive an Internet Protocol IP query request that is received by a router from a base station and forwarded to a server, where the IP query request includes a base station. Identification information and the temporary IP address of the base station.
  • the first sending module 702 is configured to send an IP query request response to the router, so that the router will
  • the IP query request response is forwarded to the base station, and the IP query request response carries the official IP address assigned by the server to the base station according to the identity information of the base station.
  • the second receiving module 703 is configured to receive a provisioning request that the router receives from the base station and forwards the packet to the server, where the opening request carries a formal IP address.
  • the second sending module 704 is configured to send a turn-on response to the router, so that the router forwards the turn-on response, and the turn-on response carries the base station startup parameter configured by the server for the base station.
  • the IP query request response further includes: second base station identification information of the network segment where the first base station is located, except the first base station, and a corresponding official IP address.
  • the device in this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 3, and the principle and the technical effect are similar, and details are not described herein again.
  • FIG. 8 is a schematic structural diagram of still another embodiment of a base station according to the present invention.
  • the base station 80 provided in this embodiment includes a processor 801 and a memory 802.
  • Base station 80 can also include a transmitter 803, a receiver 804.
  • Transmitter 803 and receiver 804 can be coupled to processor 801.
  • the transmitter 803 is configured to transmit data or information
  • the receiver 804 is configured to receive data or information
  • the memory 802 stores execution instructions.
  • the processor 801 calls an execution instruction in the memory 802, where the first base station sends an internet protocol IP query request to the router, so that the router sends an IP query request to the server, where the IP query request includes the first base station.
  • the first base station receives an IP query request response that the router forwards to the first base station according to the temporary IP address, and the IP query request response carries the official IP address allocated by the server according to the identifier information of the first base station to the first base station;
  • the first base station sends an open request to the router, so that the router sends the open request to the server, and the open request carries the official IP address;
  • the first base station receives a turn-on response forwarded by the router to the first base station according to the formal IP, and the turn-on response carries the base station startup parameter configured by the server for the first base station.
  • the method further includes:
  • the first base station receives the first address resolution protocol ARP request sent by the router, where the first ARP request carries the IP address of the router and the media access control MAC address;
  • the first base station determines, according to the IP address of the router, the network segment where the first base station is located;
  • the first base station acquires a temporary IP address corresponding to the network segment according to the network segment where the first base station is located.
  • the first base station further includes: the first base station sends a free ARP response to the router according to the IP address of the router, where the free ARP response carries the MAC address of the first base station.
  • the IP query request response further includes: second base station identification information of the network segment where the first base station is located, except the first base station, and a corresponding official IP address.
  • the method further includes:
  • the first base station sends a free ARP request to the router, so that the router updates the correspondence between the temporary IP address and the MAC address of the first base station;
  • the first base station again sends an IP query request to the router to cause the router to send an IP query request to the server.
  • the method further includes:
  • the first base station sends a second ARP request, and the destination address of the second ARP request is a temporary IP address; if the first base station receives the ARP response to the ARP request, the first base station interval is set to be the first The ARP request is sent again after the time until the first base station does not receive the ARP response within the set second time.
  • the base station of this embodiment may be used to implement the technical solution of the method for performing the base station according to the embodiment of the present invention.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 9 is a schematic structural diagram of still another embodiment of a router provided by the present invention.
  • the router 90 provided in this embodiment includes a processor 901 and a memory 902.
  • the processor 901 communicates with the memory 902, and the processor 901 calls the execution instruction in the memory 902 to perform the following operations:
  • the router receives the Internet Protocol IP query request sent by the first base station, and sends the IP query request to the server, where the IP query request includes the identifier information of the first base station and the temporary IP address of the first base station;
  • the router responds to the IP query request forwarded by the first base station according to the temporary IP address, and the IP query request response carries the official IP address allocated by the server according to the identification information of the first base station to the first base station; the router receives the activation request sent by the first base station, and Forwarding the opening request to the server, and the opening request carries the official IP address;
  • the router forwards the activation response to the first base station according to the formal IP, and the activation response carries the base station startup parameter configured by the server for the first base station.
  • the router before receiving the IP query request by the first base station, the router further includes: the router sends a first address resolution protocol ARP request to the first base station, where the first ARP request carries the IP address of the router and the media access control MAC address, so that The first base station determines the network segment where the first base station is located according to the IP address of the router, and obtains the temporary IP address corresponding to the network segment according to the network segment where the network station is located.
  • the method further includes: the router receiving the free ARP response sent by the first base station according to the IP address of the router, where the free ARP response carries the MAC address of the first base station.
  • the IP query request response further includes: second base station identification information of the network segment where the first base station is located, except the first base station, and a corresponding official IP address.
  • the method further includes:
  • the router receives the free ARP request sent by the first base station, and the temporary IP address and the MAC address The address correspondence is updated;
  • the router receives the IP query request sent by the first base station again, and sends an IP query request to the server.
  • the router in this embodiment may be used to perform the technical solution of the method for the base station to be opened according to any embodiment of the present invention.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 10 is a schematic structural diagram of still another embodiment of a server provided by the present invention.
  • the server 100 provided in this embodiment includes a processor 1001 and a memory 1002.
  • the processor 1001 communicates with the memory 1002, and the processor 1001 calls the execution instructions in the memory 1002 for performing the following operations:
  • the server receives an Internet Protocol IP query request received by the router from the first base station and forwarded to the server, where the IP query request includes the identifier information of the first base station and the temporary IP address of the first base station;
  • the server sends an IP query request response to the router, so that the router forwards the IP query request response to the first base station, and the IP query request response carries the official IP address allocated by the server according to the identifier information of the first base station to the first base station;
  • the server receives a provisioning request that the router receives from the first base station and forwards the packet to the server, and the opening request carries the official IP address;
  • the server sends a turn-on response to the router, so that the router forwards the turn-on response, and the turn-on response carries the base station startup parameters configured by the server for the first base station.
  • the IP query request response further includes: second base station identification information of the network segment where the first base station is located, except the first base station, and a corresponding official IP address.
  • the server of this embodiment may be used to perform the technical solution of the method for performing the base station according to the embodiment of the present invention.
  • the implementation principle and technical effects are similar, and details are not described herein again.

Landscapes

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

Abstract

本发明提供一种基站开通方法和基站开通***。本发明基站开通方法包括:第一基站向路由器发送 IP查询请求,以使路由器将 IP查询请求发送给服务器,IP查询请求包括第一基站的标识信息和第一基站的临时 IP地址;第一基站接收路由器根据临时IP向第一基站转发的IP查询请求响应,IP查询请求响应中携带服务器根据第一基站的标识信息为第一基站分配的正式IP地址;第一基站向路由器发送开通请求,以使路由器将开通请求发送给服务器,开通请求中携带正式IP地址;第一基站接收路由器根据正式IP向第一基站转发的开通响应,开通响应中携带服务器为第一基站配置的基站启动参数。本发明的方案可缩短了开站时间,提高了基站开通效率。

Description

基站开通方法和基站开通*** 技术领域
本发明涉及通信技术, 尤其涉及一种基站开通方法和基站开通***。 背景技术
随着运营商业务发展的需求, 基站的数量一直在增加, 日益增长的基站 开通的成本更是受到运营商的关注。 降低开站人员的技能, 并且使基站开通 加快是降低基站开通的成本重要因素。
现有技术中, 运营商开通基站时, 可使用动态主机设置协议 (Dynamic Host Configuration Protocol, DHCP) 的方式实现基站快速、低成本的开通。基 站先广播 DHCP请求, DHCP服务器在收到广播后对基站分配 IP地址。基站 获取 IP地址后即可自动连接到服务器, 并根据事先配置的任务, 自动完成基 站参数配置等工作。
然而, 由于开启 DHCP中继功能可能导致广播风暴, 从而导致基站开通 效率低下。 发明内容
本发明实施例提供一种基站开通方法和基站开通***, 用以提高基站 开通效率。
第一方面, 本发明实施例提供一种基站, 包括:
第一发送模块, 用于向路由器发送互联网协议 IP查询请求, 以使所述路 由器将所述 IP查询请求发送给服务器, 所述 IP查询请求包括所述基站的标 识信息和所述基站的临时 IP地址;
第一接收模块, 用于接收所述路由器根据所述临时 IP向所述基站转发的 IP查询请求响应,所述 IP查询请求响应中携带所述服务器根据所述基站的标 识信息为所述基站分配的正式 IP地址;
第二发送模块, 用于向所述路由器发送开通请求, 以使所述路由器将所 述开通请求发送给服务器, 所述开通请求中携带所述正式 IP地址; 第二接收模块, 用于接收所述路由器根据所述正式 IP向所述基站转发的 开通响应,所述开通响应中携带所述服务器为所述基站配置的基站启动参数。
结合第一方面, 在第一方面的第一种可能的实现方式中, 第一接收模 块还用于, 在第一发送模块向路由器发送 IP查询请求之前, 接收由所述路由 器发送的第一地址解析协议 ARP请求, 所述第一 ARP请求携带所述路由器 的 IP地址和媒体访问控制 MAC地址; 根据所述路由器的 IP地址, 确定所述 基站所在的网段; 根据所在的网段, 获取所述网段对应的所述临时 IP地址。
结合第一方面的第一种可能的实现方式, 在第一方面的第二种可能的 实现方式中, 第一发送模块还用于, 在第一接收模块接收由所述路由器发送 的第一 ARP请求之后, 根据所述路由器的 IP地址, 向所述路由器发送免费 ARP响应, 所述免费 ARP响应携带所述基站的 MAC地址。
结合第一方面、 第一方面的第一种或第二种可能的实现方式, 在第一 方面的第三种可能的实现方式中, 所述 IP查询请求响应中还包括: 所述基 站所在的网段中除所述基站之外的其他基站标识信息及其对应的正式 IP 地 址。
结合第一方面、 第一方面的第一种至第三种可能的实现方式, 在第一 方面的第四种可能的实现方式中, 在第一发送模块向路由器发送 IP查询请 求之后, 若第一接收模块在设定时间内没有收到所述 IP查询请求响应, 则第 一发送模块还用于: 向所述路由器发送免费 ARP请求, 以使所述路由器对所 述基站的所述临时 IP地址与 MAC地址对应关系进行更新; 再次向所述路由 器发送所述 IP查询请求, 以使所述路由器将所述 IP查询请求发送给所述服 务器。
结合第一方面、 第一方面的第一种至第四种可能的实现方式, 在第一 方面的第五种可能的实现方式中, 第一发送模块还用于: 向路由器发送 IP 查询请求之前, 发送第二 ARP请求, 所述第二 ARP请求的目的地址为所述 临时 IP地址; 如果收到对所述 ARP请求的 ARP响应, 则间隔设定第一时间 后再次发送所述 ARP请求直至所述第一发送模块在设定第二时时间内未收到 所述 ARP响应。
第二方面, 本发明实施例提供一种路由器, 包括:
第一接收模块, 用于接收由基站发送的互联网协议 IP查询请求, 并将所 述 IP查询请求发送给服务器, 所述 IP查询请求包括所述基站的标识信息和 所述基站的临时 IP地址;
第一发送模块, 用于根据所述临时 IP向所述基站转发 IP查询请求响应, 所述 IP查询请求响应中携带所述服务器根据所述基站的标识信息为所述基站 分配的正式 IP地址;
第二接收模块, 用于接收所述基站发送的开通请求, 并将所述开通请求 转发给所述服务器, 所述开通请求中携带所述正式 IP地址;
第二发送模块, 用于根据所述正式 IP向所述基站转发开通响应, 所述开 通响应中携带所述服务器为所述基站配置的基站启动参数。
结合第二方面, 在第二方面的第一种可能的实现方式中, 第一发送模 块还用于, 在第一接收模块接收所述基站发送 IP查询请求之前, 向所述基站 发送第一地址解析协议 ARP请求, 所述第一 ARP请求携带所述路由器的 IP 地址和媒体访问控制 MAC地址, 以使所述基站根据所述路由器的 IP地址, 确定所述基站所在的网段, 并根据所在的网段, 获取所述网段对应的所述临 时 IP地址。
结合第二方面, 在第二方面的第二种可能的实现方式中, 第一接收模 块还用于, 在第一发送模块向所述基站发送第一 ARP请求之后, 接收所述基 站根据所述路由器的 IP地址发送的免费 ARP响应, 所述免费 ARP响应携带 所述基站的 MAC地址。
结合第二方面、 第二方面的第一种或第二种可能的实现方式, 在第二 方面的第三种可能的实现方式中, 所述 IP查询请求响应中还包括: 所述基 站所在的网段中除所述基站之外的其他基站标识信息及其对应的正式 IP 地 址。
结合第二方面、 第二方面的第一种至第三种可能的实现方式, 在第二 方面的第四种可能的实现方式中, 在第一接收模块接收所述基站发送的 IP 查询请求之后, 若所述基站在设定时间内没有收到所述 IP查询请求响应, 则 第一接收模块还用于,接收所述基站发送的免费 ARP请求, 并对所述临时 IP 地址与 MAC地址对应关系进行更新; 接收所述基站再次发送的所述 IP查询 请求, 并将所述 IP查询请求发送给所述服务器。
第三方面, 本发明实施例提供一种服务器, 包括: 第一接收模块, 用于接收路由器从基站接收并转发至所述服务器的互联 网协议 IP查询请求, 所述 IP查询请求包括所述基站的标识信息和所述基站 的临时 IP地址;
第一发送模块, 用于向所述路由器发送 IP查询请求响应, 以使所述路由 器将所述 IP查询请求响应转发给所述基站, 所述 IP查询请求响应中携带所 述服务器根据所述基站的标识信息为所述基站分配的正式 IP地址;
第二接收模块, 用于接收路由器从所述基站接收并转发至所述服务器的 开通请求, 所述开通请求中携带所述正式 IP地址;
第二发送模块, 用于向所述路由器发送开通响应, 以使所述路由器转发 所述开通响应, 所述开通响应中携带所述服务器为所述基站配置的基站启动 参数。
结合第三方面, 在第三方面的第一种可能的实现方式中, 所述 IP查询 请求响应中还包括: 所述第一基站所在的网段中除所述第一基站之外的其他 第二基站标识信息及其对应的正式 IP地址。
第四方面, 本发明实施例提供一种基站开通方法, 包括:
第一基站向路由器发送互联网协议 IP查询请求, 以使所述路由器将所述 IP查询请求发送给服务器,所述 IP查询请求包括所述第一基站的标识信息和 所述第一基站的临时 IP地址;
所述第一基站接收所述路由器根据所述临时 IP向所述第一基站转发的 IP 查询请求响应, 所述 IP查询请求响应中携带所述服务器根据所述第一基站的 标识信息为所述第一基站分配的正式 IP地址;
所述第一基站向所述路由器发送开通请求, 以使所述路由器将所述开通 请求发送给服务器, 所述开通请求中携带所述正式 IP地址;
所述第一基站接收所述路由器根据所述正式 IP向所述第一基站转发的开 通响应, 所述开通响应中携带所述服务器为所述第一基站配置的基站启动参 数。
结合第四方面, 在第四方面的第一种可能的实现方式中, 所述第一基 站向路由器发送 IP查询请求之前, 还包括:
所述第一基站接收由所述路由器发送的第一地址解析协议 ARP请求,所 述第一 ARP请求携带所述路由器的 IP地址和媒体访问控制 MAC地址; 所述第一基站根据所述路由器的 IP地址,确定所述第一基站所在的网段; 所述第一基站根据所在的网段, 获取所述网段对应的所述临时 IP地址。 结合第四方面的第一种可能的实现方式, 在第四方面的第二种可能的 实现方式中,所述第一基站接收由所述路由器发送的第一 ARP请求之后,还 包括:
所述第一基站根据所述路由器的 IP地址, 向所述路由器发送免费 ARP 响应, 所述免费 ARP响应携带所述第一基站的 MAC地址。
结合第四方面、 第四方面的第一种或第二种可能的实现方式, 在第四 方面的第三种可能的实现方式中, 所述 IP查询请求响应中还包括: 所述第 一基站所在的网段中除所述第一基站之外的其他第二基站标识信息及其对应 的正式 IP地址。
结合第四方面、 第四方面的第一种至第三种可能的实现方式, 在第四 方面的第四种可能的实现方式中, 所述第一基站向路由器发送 IP查询请求 之后, 若所述第一基站在设定时间内没有收到所述 IP查询请求响应, 则所述 方法还包括:
所述第一基站向所述路由器发送免费 ARP请求, 以使所述路由器对所述 第一基站的所述临时 IP地址与 MAC地址对应关系进行更新;
所述第一基站再次向所述路由器发送所述 IP查询请求, 以使所述路由器 将所述 IP查询请求发送给所述服务器。
结合第四方面、 第四方面的第一种至第四种可能的实现方式, 在第四 方面的第五种可能的实现方式中, 所述第一基站向路由器发送 IP查询请求 之前, 还包括:
所述第一基站发送第二 ARP请求, 所述第二 ARP请求的目的地址为所 述临时 IP地址;
如果所述第一基站收到对所述 ARP请求的 ARP响应, 则所述第一基站 间隔设定第一时间后再次发送所述 ARP请求直至所述第一基站在设定第二时 时间内未收到所述 ARP响应。
第五方面, 本发明实施例提供一种基站开通方法, 包括:
路由器接收由第一基站发送的互联网协议 IP查询请求, 并将所述 IP查 询请求发送给服务器, 所述 IP查询请求包括所述第一基站的标识信息和所述 第一基站的临时 IP地址;
所述路由器根据所述临时 IP向所述第一基站转发的 IP查询请求响应, 所述 IP查询请求响应中携带所述服务器根据所述第一基站的标识信息为所述 第一基站分配的正式 IP地址;
所述路由器接收所述第一基站发送的开通请求, 并将所述开通请求转发 给所述服务器, 所述开通请求中携带所述正式 IP地址;
所述路由器根据所述正式 IP向所述第一基站转发开通响应, 所述开通响 应中携带所述服务器为所述第一基站配置的基站启动参数。
结合第五方面, 在第五方面的第一种可能的实现方式中, 所述路由器 接收所述第一基站发送 IP查询请求之前, 还包括:
所述路由器发送向所述第一基站发送第一地址解析协议 ARP请求,所述 第一 ARP请求携带所述路由器的 IP地址和媒体访问控制 MAC地址,以使所 述第一基站根据所述路由器的 IP地址, 确定所述第一基站所在的网段, 并根 据所在的网段, 获取所述网段对应的所述临时 IP地址。
结合第五方面, 在第五方面的第二种可能的实现方式中, 所述路由器 向所述第一基站发送第一 ARP请求之后, 还包括:
所述路由器接收所述第一基站根据所述路由器的 IP地址发送的免费 ARP 响应, 所述免费 ARP响应携带所述第一基站的 MAC地址。
结合第五方面、 第五方面的第一种或第二种可能的实现方式, 在第五 方面的第三种可能的实现方式中, 所述 IP查询请求响应中还包括: 所述第 一基站所在的网段中除所述第一基站之外的其他第二基站标识信息及其对应 的正式 IP地址。
结合第五方面、 第五方面的第一种至第三种可能的实现方式, 在第五 方面的第四种可能的实现方式中, 所述路由器接收所述第一基站发送的 IP 查询请求之后,若所述第一基站在设定时间内没有收到所述 IP查询请求响应, 则所述方法还包括:
所述路由器接收所述第一基站发送的免费 ARP请求, 并对所述临时 IP 地址与 MAC地址对应关系进行更新;
所述路由器接收所述第一基站再次发送的所述 IP查询请求,并将所述 IP 查询请求发送给所述服务器。 第六方面, 本发明实施例提供一种基站开通方法, 包括: 服务器接收路由器从第一基站接收并转发至所述服务器的互联网协议 IP 查询请求, 所述 IP查询请求包括所述第一基站的标识信息和所述第一基站的 临时 IP地址;
所述服务器向所述路由器发送 IP查询请求响应, 以使所述路由器将所述
IP查询请求响应转发给所述第一基站,所述 IP查询请求响应中携带所述服务 器根据所述第一基站的标识信息为所述第一基站分配的正式 IP地址;
所述服务器接收路由器从所述第一基站接收并转发至所述服务器的开通 请求, 所述开通请求中携带所述正式 IP地址;
所述服务器向所述路由器发送开通响应, 以使所述路由器转发所述开通 响应,所述开通响应中携带所述服务器为所述第一基站配置的基站启动参数。
结合第六方面, 在第六方面的第一种可能的实现方式中, 所述 IP查询 请求响应中还包括: 所述第一基站所在的网段中除所述第一基站之外的其他 第二基站标识信息及其对应的正式 IP地址。
第七方面, 本发明实施例提供一种基站, 包括:
包括: 处理器和存储器, 所述存储器存储执行指令, 当所述基站运行 时, 所述处理器与所述存储器之间通信, 所述处理器执行所述执行指令使 得所述基站执行如第一方面任一项所述的方法。
第八方面, 本发明实施例提供一种路由器, 包括: 处理器和存储器, 所述存储器存储执行指令, 当所述路由器运行时, 所述处理器与所述存储 器之间通信, 所述处理器执行所述执行指令使得所述基站执行如第二方面 任一项所述的方法。
第九方面, 本发明实施例提供一种服务器, 包括: 处理器和存储器, 所述存储器存储执行指令, 当所述服务器运行时, 所述处理器与所述存储 器之间通信, 所述处理器执行所述执行指令使得所述基站执行如第三方面 任一项所述的方法。
本申请提供的基站开通方法和基站开通***, 基站可以通过临时 IP 地址, 经由路由器向服务器发送 IP查询请求, 以请求服务器为基站分配 正式 IP地址, 基站获得正式 IP地址后, 可以通过正式 IP地址经由路由器 向服务器请求分配基站开通的相关参数, 从而提高了基站开通效率, 节约 了基站开通的成本。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图做一简单地介绍, 显而易见 地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员 来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的 附图。
图 1为本发明提供的基站开通方法一个实施例的流程图;
图 2为本发明提供的基站开通方法又一个实施例的流程图;
图 3为本发明提供的基站开通方法另一个实施例的流程图;
图 4为本发明提供的一个基站开通***实施例的信令图;
图 5为本发明提供的基站的一个实施例的结构示意图;
图 6为本发明提供的路由器的一个实施例的结构示意图;
图 7为本发明提供的服务器的一个实施例的结构示意图;
图 8为本发明提供的基站的又一个实施例的结构示意图;
图 9为本发明提供的路由器的又一个实施例的结构示意图;
图 10为本发明提供的服务器的又一个实施例的结构示意图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然,所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。
本文中描述的技术可用于各种通信***, 例如当前 2G, 3G通信***和 下一代通信***, 例如全球移动通信*** (GSM, Global System for Mobile communications ) , 码分多址 (CDMA, Code Division Multiple Access )***, 时分多址 (TDMA , Time Division Multiple Access ) ***, 宽带码分多址 (WCDMA, Wideband Code Division Multiple Access Wireless) , 频分多址 ( FDMA , Frequency Division Multiple Addressing ) ***, 正交频分多址 ( OFDM A , Orthogonal Frequency-Division Multiple Access ) ***, 单载波 FDMA (SC-FDMA)***, 通用分组无线业务(GPRS , General Packet Radio Service)***, 长期演进(LTE, Long Term Evolution )***, 以及其他此类 通信***。
本申请中涉及的基站 (例如, 接入点) 可以是 GSM或 CDMA中的基站 (BTS, Base Transceiver Station) , 也可以是 WCDMA中的基站(NodeB ) , 还可以是 LTE中的演进型基站 (eNB或 e-NodeB, evolved Node B ) , 本申 请并不限定。
图 1为本发明提供的基站开通方法一个实施例的流程图, 如图 1所示, 本实施例的方法可以包括:
步骤 101、 第一基站向路由器发送互联网协议 IP查询请求, 以使路由器 将 IP查询请求发送给服务器, IP查询请求包括第一基站的标识信息和第一基 站的临时 IP地址。
步骤 102、第一基站接收路由器根据临时 IP向第一基站转发的 IP查询请 求响应, IP查询请求响应中携带服务器根据第一基站的标识信息为第一基站 分配的正式 IP地址。
步骤 103、 第一基站向路由器发送开通请求, 以使路由器将开通请求发 送给服务器, 开通请求中携带正式 IP地址。
步骤 104、第一基站接收路由器根据正式 IP向第一基站转发的开通响应, 开通响应中携带服务器为第一基站配置的基站启动参数。
在本发明实施例中, 一台路由器可以连接多个基站, 一台服务器可以连 接多个路由器, 基站给服务器发送的信息需首先发送到路由器, 并由路由器 转发至服务器。 同样, 服务器给基站发送的信息需首先发送到路由器, 并由 路由器转发至基站。
本发明实施例涉及的第一基站, 可以是网络中的任意一个基站, 基站的 标识信息可以用于在网络中唯一标识基站, 例如: 可以是基站的电子序列号 (Electronic Serial Number, ESN) , 或者其他标志信息, 本发明不在此做限 制。
在一个网段内 (其中包括一个路由器, 以及该路由器连接的多个基站) 可以设置一个临时 IP地址或多个 IP地址,一般情况下,为节约 IP地址资源, 一个网段内可以设置一个临时 IP地址。 临时 IP地址可以存储在具有存储功 能的设备中, 例如 U盘等。 基站可以通过基站单板上的网口、 串口、 光纤接 口或其他通信接口与具有存储功能的设备连接并通信, 读取存储设备中存储 的所属网段内的临时 IP地址。 需要说明的是, 本发明中并不对临时 IP地址 如何存储以及基站如何获取进行具体限制。
服务器收到该第一基站发送的 IP查询请求后, 可以根据第一基站的标识 信息为基站分配并发送对应的正式 IP地址。 其中, 服务器存储所有网络中所 有基站的正式 IP地址、 子网掩码、 下一跳路由等信息。 该第一基站获取正式 IP地址后, 即可使用正式 IP地址向服务器发送开通请求。服务器收到该开通 请求后, 将开通该基站所需的配置参数 (不同类型基站的开通需要配置不同 的参数, 例如: 可以包括站名、 扇区号、 位置区、 路由区、 小区类型等参数, 本发明不再赘述) 下发至该基站, 第一基站可以根据服务器下发的参数进行 基站开通。
进一步的, 第一基站向路由器发送 IP查询请求之前, 还可以包括第一基 站发现路由器的过程, 具体的: 第一基站接收由路由器发送的第一地址解析 协议 ARP请求, 第一 ARP请求携带路由器的 IP地址和媒体访问控制 MAC 地址。 第一基站根据路由器的 IP地址, 确定第一基站所在的网段。 第一基站 可以根据所在的网段, 获取该网段对应的临时 IP地址。 由于不同网段可能规 划了不同的临时 IP地址, 依照上述步骤, 确保基站获取正确的临时 IP地址。
进一步的, 第一基站接收由路由器发送的第一 ARP请求之后, 还可以包 括路由器发现基站的过程, 具体的: 第一基站还可以根据路由器的 IP地址, 向路由器发送免费 ARP响应, 免费 ARP响应携带第一基站的 MAC地址。
通过以上步骤, 基站能够获知路由器的 IP地址、 MAC地址, 路由器也 能够获知基站的临时 IP地址、 MAC地址, 据此保证了路由器和基站间的正 通 。
进一步的, 由于路由器受到攻击导致 ARP表项错误, 或者由于网络设备 变更后路由器的 ARP表项尚未及时得到更新,导致服务器可能将所分配的正 式 IP地址发送至网络中除第一基站之外的其他第二基站,为了克服这个问题, IP查询请求响应中还可以包括第一基站所在的网段中除第一基站之外的其他 第二基站标识信息及其对应的正式 IP地址。 第一基站向路由器发送 IP查询 请求之后, 若第一基站在设定时间内没有收到 IP查询请求响应, 则第一基站 向路由器发送免费 ARP请求, 以使路由器对第一基站的临时 IP地址与 MAC 地址对应关系进行更新。 第一基站再次向路由器发送 IP查询请求, 以使路由 器将 IP查询请求发送给服务器。
如果上述涉及的第一基站是多个, gp, 多个基站同时开通的实施场景下, 则有可能会出现 " IP抢占" 的情况, 影响基站开通。 在本实施例中, 如果第 一基站、 第二基站同时开站, 路由器中的 ARP项被篡改, 该表项中, 临时 IP 地址对应第一基站的 MAC地址被篡改为临时 IP地址对应第二基站的 MAC 地址,则路由器会将从服务器收到的 IP查询请求响应转发给第二基站,这样, 第二基站收到 IP查询请求 (该 IP查询请求携带该网段内, 所有未开通基站 的正式 IP地址) 之后可以实现自动开站, 而第一基站无法收到 IP查询请求 响应。 此时, 第一基站可以发送免费 ARP请求, 该 ARP请求中携带的发送 端 IP地址和目标 IP地址都是第一基站的临时 IP地址, 源 MAC地址是第一 基站的 MAC地址, 目的 MAC地址是广播地址, 以此通知路由器更新 ARP 表项。 在路由器更新 ARP表项之后, 路由器即可把 IP查询请求响应转发给 第一基站。
可选的, 第一基站向路由器发送 IP查询请求之前, 可先判断临时 IP地 址是否正被其他基站占用。 具体的, 第一基站可以发送第二 ARP请求, 第二 ARP请求的目的地址为临时 IP地址。 如果第一基站收到对 ARP请求的 ARP 响应, 则说明临时 IP地址正被其他基站占用, 第一基站需要等待, 直到正在 占用临时 IP地址的其他基站释放该临时 IP地址后, 第一基站才可以占用该 临时 IP地址。 第一基站间隔设定第一时间后再次发送 ARP请求直至第一基 站在设定第二时时间内未收到 ARP 响应, 说明此时没有其他基站该临时 IP 地址, 第一基站进而可以占用该临时 IP地址。
本申请提供的基站开通方法, 基站可以通过临时 IP地址, 经由路由器向 服务器发送 IP查询请求, 以请求服务器为基站分配正式 IP地址, 基站获得 正式 IP地址后, 可以通过正式 IP地址经由路由器向服务器请求分配基站开 通的相关参数, 从而提高了基站开通效率, 节约了基站开通的成本。
图 2为本发明提供的基站开通方法又一个实施例的流程图,如图 2所示, 本实施例的方法可以包括:
步骤 201、 路由器接收由第一基站发送的互联网协议 IP查询请求, 并将 IP查询请求发送给服务器, IP查询请求包括第一基站的标识信息和第一基站 的临时 IP地址。
步骤 202、 路由器根据临时 IP 向第一基站转发的 IP查询请求响应, IP 查询请求响应中携带服务器根据第一基站的标识信息为第一基站分配的正式 IP地址。
步骤 203、 路由器接收第一基站发送的开通请求, 并将开通请求转发给 服务器, 开通请求中携带正式 IP地址。
步骤 204、 路由器根据正式 IP向第一基站转发开通响应, 开通响应中携 带服务器为第一基站配置的基站启动参数。
在本发明实施例中, 一台路由器可以连接多个基站, 一台服务器可以连 接多个路由器, 基站给服务器发送的信息需首先发送到路由器, 并由路由器 转发至服务器。 同样, 服务器给基站发送的信息需首先发送到路由器, 并由 路由器转发至基站。
本发明实施例涉及的第一基站, 可以是网络中的任意一个基站, 基站的 标识信息可以用于在网络中唯一标识基站, 例如: 可以是基站的电子序列号 (Electronic Serial Number, ESN) , 或者其他标志信息, 本发明不在此做限 制。
在一个网段内 (其中包括一个路由器, 以及该路由器连接的多个基站) 可以设置一个临时 IP地址或多个 IP地址,一般情况下,为节约 IP地址资源, 一个网段内可以设置一个临时 IP地址。 临时 IP地址可以存储在具有存储功 能的设备中, 例如 U盘等。 基站可以通过基站单板上的网口、 串口、 光纤接 口或其他通信接口与具有存储功能的设备连接并通信, 读取存储设备中存储 的所属网段内的临时 IP地址。 需要说明的是, 本发明中并不对临时 IP地址 如何存储以及基站如何获取进行具体限制。
服务器收到该第一基站发送的 IP查询请求后, 可以根据第一基站的标识 信息为基站分配并发送对应的正式 IP地址。 其中, 服务器存储所有网络中所 有基站的正式 IP地址、 子网掩码、 下一跳路由等信息。 该第一基站获取正式 IP地址后, 即可使用正式 IP地址向服务器发送开通请求。服务器收到该开通 请求后, 将开通该基站所需的配置参数 (不同类型基站的开通需要配置不同 的参数, 例如: 可以包括站名、 扇区号、 位置区、 路由区、 小区类型等参数, 本发明不再赘述) 下发至该基站, 第一基站可以根据服务器下发的参数进行 基站开通。
进一步的, 路由器接收第一基站发送 IP查询请求之前, 还可以包括第一 基站发现路由器的过程, 具体的: 路由器向第一基站发送第一地址解析协议 ARP请求, 第一 ARP请求携带路由器的 IP地址和媒体访问控制 MAC地址, 以使第一基站根据路由器的 IP地址, 确定第一基站所在的网段, 并根据所在 的网段, 获取网段对应的临时 IP地址。
进一步的, 路由器向第一基站发送第一 ARP请求之后, 还可以包括路由 器发现基站的过程, 具体的: 路由器接收第一基站根据路由器的 IP地址发送 的免费 ARP响应, 免费 ARP响应携带第一基站的 MAC地址。
通过以上步骤, 基站能够获知路由器的 IP地址、 MAC地址, 路由器也 能够获知基站的临时 IP地址、 MAC地址, 据此保证了路由器和基站间的正 常通行。
进一步的, 由于路由器受到攻击导致 ARP表项错误, 或者由于网络设备 变更后路由器的 ARP表项尚未及时得到更新,导致服务器可能将所分配的正 式 IP地址发送至网络中除第一基站之外的其他第二基站,为了克服这个问题, IP查询请求响应中还可以包括第一基站所在的网段中除第一基站之外的其他 第二基站标识信息及其对应的正式 IP地址。 第一基站向路由器发送 IP查询 请求之后, 若第一基站在设定时间内没有收到 IP查询请求响应, 则第一基站 向路由器发送免费 ARP请求, 以使路由器对第一基站的临时 IP地址与 MAC 地址对应关系进行更新。 第一基站再次向路由器发送 IP查询请求, 以使路由 器将 IP查询请求发送给服务器。
如果上述涉及的第一基站是多个, gP, 多个基站同时开通的实施场景下, 则有可能会出现 " IP抢占" 的情况, 影响基站开通。 在本实施例中, 如果第 一基站、 第二基站同时开站, 路由器中的 ARP项被篡改, 该表项中, 临时 IP 地址对应第一基站的 MAC地址被篡改为临时 IP地址对应第二基站的 MAC 地址,则路由器会将从服务器收到的 IP查询请求响应转发给第二基站,这样, 第二基站收到 IP查询请求 (该 IP查询请求携带该网段内, 所有未开通基站 的正式 IP地址) 之后可以实现自动开站, 而第一基站无法收到 IP查询请求 响应。 此时, 第一基站可以发送免费 ARP请求, 该 ARP请求中携带的发送 端 IP地址和目标 IP地址都是第一基站的临时 IP地址, 源 MAC地址是第一 基站的 MAC地址, 目的 MAC地址是广播地址, 以此通知路由器更新 ARP 表项。 在路由器更新 ARP表项之后, 路由器即可把 IP查询请求响应转发给 第一基站。
本申请提供的基站开通方法, 基站可以通过临时 IP地址, 经由路由器向 服务器发送 IP查询请求, 以请求服务器为基站分配正式 IP地址, 基站获得 正式 IP地址后, 可以通过正式 IP地址经由路由器向服务器请求分配基站开 通的相关参数, 从而提高了基站开通效率, 节约了基站开通的成本。
图 3为本发明提供的基站开通方法另一个实施例的流程图,如图 3所示, 本实施例的方法可以包括:
步骤 301、 服务器接收路由器从第一基站接收并转发至服务器的互联网 协议 IP查询请求, IP查询请求包括第一基站的标识信息和第一基站的临时 IP 地址。
步骤 302、服务器向路由器发送 IP查询请求响应, 以使路由器将 IP查询 请求响应转发给第一基站, IP查询请求响应中携带服务器根据第一基站的标 识信息为第一基站分配的正式 IP地址。
步骤 303、 服务器接收路由器从第一基站接收并转发至服务器的开通请 求, 开通请求中携带正式 IP地址。
步骤 304、 服务器向路由器发送开通响应, 以使路由器转发开通响应, 开通响应中携带服务器为第一基站配置的基站启动参数。
进一步的, IP查询请求响应中还携带第一基站所在的网段中除第一基站 之外的其他第二基站标识信息及其对应的正式 IP地址。
在本发明实施例中, 一台路由器可以连接多个基站, 一台服务器可以连 接多个路由器, 基站给服务器发送的信息需首先发送到路由器, 并由路由器 转发至服务器。 同样, 服务器给基站发送的信息需首先发送到路由器, 并由 路由器转发至基站。
本发明实施例涉及的第一基站, 可以是网络中的任意一个基站, 基站的 标识信息可以用于在网络中唯一标识基站, 例如: 可以是基站的电子序列号 (Electronic Serial Number, ESN) , 或者其他标志信息, 本发明不在此做限 制。
在一个网段内 (其中包括一个路由器, 以及该路由器连接的多个基站) 可以设置一个临时 IP地址或多个 IP地址,一般情况下,为节约 IP地址资源, 一个网段内可以设置一个临时 IP地址。 临时 IP地址可以存储在具有存储功 能的设备中, 例如 U盘等。 基站可以通过基站单板上的网口、 串口、 光纤接 口或其他通信接口与具有存储功能的设备连接并通信, 读取存储设备中存储 的所属网段内的临时 IP地址。 需要说明的是, 本发明中并不对临时 IP地址 如何存储以及基站如何获取进行具体限制。
服务器收到该第一基站发送的 IP查询请求后, 可以根据第一基站的标识 信息为基站分配并发送对应的正式 IP地址。 其中, 服务器存储所有网络中所 有基站的正式 IP地址、 子网掩码、 下一跳路由等信息。 该第一基站获取正式 IP地址后, 即可使用正式 IP地址向服务器发送开通请求。服务器收到该开通 请求后, 将开通该基站所需的配置参数 (不同类型基站的开通需要配置不同 的参数, 例如: 可以包括站名、 扇区号、 位置区、 路由区、 小区类型等参数, 本发明不再赘述) 下发至该基站, 第一基站可以根据服务器下发的参数进行 基站开通。
本申请提供的基站开通方法, 基站可以通过临时 IP地址, 经由路由器向 服务器发送 IP查询请求, 以请求服务器为基站分配正式 IP地址, 基站获得 正式 IP地址后, 可以通过正式 IP地址经由路由器向服务器请求分配基站开 通的相关参数, 从而提高了基站开通效率, 节约了基站开通的成本。
图 4为本发明提供的一个基站开通***实施例的信令图, 如图 4所示, 包括如下步骤:
步骤 4001、 路由器向第一基站发送第一 ARP请求;
路由器发送 ARP请求, 第一基站根据该 ARP请求即可获知路由器的 IP 地址和 MAC地址。
步骤 4002、 第一基站确定网段;
第一基站根据路由器的 IP地址, 即可获知该第一基站所在的网段。
步骤 4003、 第一基站向路由器发送免费 ARP响应;
该步骤用于基站在路由器注册 MAC地址, 通过该步骤, 路由器可获知 基站的 MAC地址。
步骤 4004、 第一基站发送第二 ARP请求, 并等待响应;
该步骤用于第一基站在占用临时 IP地址之前, 判断该临时 IP地址是否 正被其他基站占用。 如果收到对该第二 ARP请求的响应, 说明该临时 IP地 址正被其他基站占用, 此时第一基站需要等待正占用该临时 IP地址的基站使 用完毕后, 才能占用该临时 IP地址。
步骤 4005、 第一基站选择临时 IP地址; 此时, 第一基站占用该临时 IP 地址。
步骤 4006、 第一基站向服务器发送 IP查询请求;
该步骤用于第一基站向服务器查询该第一基站的正式 IP地址, 该 IP查 询请求携带临时 IP地址。
步骤 4007、 第二基站 IP抢占;
如果第二基站也正在开站, 并且第二基站发生 IP 抢占, 导致路由器的 ARP表项被更改, ARP表项由 "临时 IP地址对应第一基站的 MAC地址"被 更改为 "临时 IP地址对应第二基站的 MAC地址" 。
步骤 4008、 服务器发送 IP查询响应;
服务器收到 IP查询请求后, 向路由器发送 IP查询响应, 由于路由器的 ARP表项被更改, 导致路由器将该 IP查询响应发送到第二基站, 而第一基站 无法收到该 IP查询响应。 由于 IP查询响应携带所有未开通基站的正式 IP地 址, 所有第二基站获知该第二基站的正式 IP地址。
步骤 4009、 第二基站发送开通请求, 该开通请求携带第二基站的正式 IP 地址。
步骤 4010、 服务器向第二基站发送开通响应, 实现对第二基站的开通。 步骤 4011、 第一基站向路由器发送免费 ARP请求;
该步骤用于第一基站通知路由器更新其 ARP表项。
步骤 4012、 路由器更新 ARP表项;
步骤 4013、 第一基站再次向服务器发送 IP查询请求;
步骤 4014、 服务器向第一基站发送 IP查询请求响应;
由于路由器的 ARP表项得到更新, 因此, 第一基站收到该 IP查询请求 响应, 并根据该 IP查询请求响应获知第一基站的正式 IP地址。 步骤 4015、 第一基站向服务器发送开通请求, 该开通请求携带第一基站 的正式 IP地址。
步骤 4016、 服务器向第一基站发送开通响应, 该开通响应携带第一基站 开通所需的配置参数, 实现对第一基站的开通。
其中, 上述步骤 4001-4003对应第一基站与路由器的相互发现过程。 第 一基站在步骤 4005获取临时 IP地址。 可选的, 第一基站在步骤 4004确定临 时 IP地址是否正被其他基站占用。步骤 4006和步骤 4014是第一基站获取正 式 IP地址的过程。 可选的, 如果临时 IP地址被第二基站抢占, 如步骤 4007 所示, 则第二基站通过步骤 4008-4010开通, 而第一基站无法获取正式 IP地 址, 此时第一基站需通过步骤 4011-4013再次获取正式 IP地址, 进而通过步 骤 4015-4016实现基站的开通。
本申请提供的基站开通方法, 基站可以通过临时 IP地址, 经由路由器向 服务器发送 IP查询请求, 以请求服务器为基站分配正式 IP地址, 基站获得 正式 IP地址后, 可以通过正式 IP地址经由路由器向服务器请求分配基站开 通的相关参数, 从而提高了基站开通效率, 节约了基站开通的成本。
图 5为本发明提供的基站的一个实施例的结构示意图, 该基站包括: 第一发送模块 501, 用于向路由器发送互联网协议 IP查询请求, 以使路 由器将 IP查询请求发送给服务器, IP查询请求包括基站的标识信息和基站的 临时 IP地址;
第一接收模块 502,用于接收路由器根据临时 IP向基站转发的 IP查询请 求响应, IP查询请求响应中携带服务器根据基站的标识信息为基站分配的正 式 IP地址;
第二发送模块 503, 用于向路由器发送开通请求, 以使路由器将开通请 求发送给服务器, 开通请求中携带正式 IP地址;
第二接收模块 504,用于接收路由器根据正式 IP向基站转发的开通响应, 开通响应中携带服务器为基站配置的基站启动参数。
进一步的, 第一接收模块还用于, 第一发送模块向路由器发送 IP查询请 求之前, 接收由路由器发送的第一地址解析协议 ARP请求, 第一 ARP请求 携带路由器的 IP地址和媒体访问控制 MAC地址; 根据路由器的 IP地址, 确 定基站所在的网段; 根据所在的网段, 获取网段对应的临时 IP地址。 进一步的, 第一发送模块还用于, 在第一接收模块接收由路由器发送的 第一 ARP请求之后, 根据路由器的 IP地址, 向路由器发送免费 ARP响应, 免费 ARP响应携带基站的 MAC地址。
进一步的, IP查询请求响应中还包括: 基站所在的网段中除基站之外的 其他基站标识信息及其对应的正式 IP地址。
进一步的, 在第一发送模块向路由器发送 IP查询请求之后, 若第一接收 模块在设定时间内没有收到 IP查询请求响应, 则第一发送模块还用于: 向路 由器发送免费 ARP请求,以使路由器对基站的临时 IP地址与 MAC地址对应 关系进行更新; 再次向路由器发送 IP查询请求, 以使路由器将 IP查询请求 发送给服务器。
进一步的, 第一发送模块还用于: 向路由器发送 IP查询请求之前, 发送 第二 ARP请求, 第二 ARP请求的目的地址为临时 IP地址; 如果收到对 ARP 请求的 ARP响应, 则间隔设定第一时间后再次发送 ARP请求直至第一发送 模块在设定第二时时间内未收到 ARP响应。
本实施例的装置, 可以用于执行图 1所示方法实施例的技术方案, 其实 现原理和技术效果类似, 此处不再赘述。
图 6为本发明提供的路由器的一个实施例的结构示意图,该路由器包括: 第一接收模块 601, 用于接收由基站发送的互联网协议 IP查询请求, 并 将 IP查询请求发送给服务器, IP查询请求包括基站的标识信息和基站的临时 IP地址。
第一发送模块 602, 用于根据临时 IP 向基站转发 IP查询请求响应, IP 查询请求响应中携带服务器根据基站的标识信息为基站分配的正式 IP地址。
第二接收模块 603, 用于接收基站发送的开通请求, 并将开通请求转发 给服务器, 开通请求中携带正式 IP地址。
第二发送模块 604, 用于根据正式 IP向基站转发开通响应, 开通响应中 携带服务器为基站配置的基站启动参数。
进一步的, 第一发送模块还用于, 在第一接收模块接收基站发送 IP查询 请求之前, 向基站发送第一地址解析协议 ARP请求, 第一 ARP请求携带路 由器的 IP地址和媒体访问控制 MAC地址, 以使基站根据路由器的 IP地址, 确定基站所在的网段, 并根据所在的网段, 获取网段对应的临时 IP地址。 进一步的, 第一接收模块还用于, 在第一发送模块向基站发送第一 ARP 请求之后, 接收基站根据路由器的 IP地址发送的免费 ARP响应, 免费 ARP 响应携带基站的 MAC地址。
进一步的, IP查询请求响应中还包括: 基站所在的网段中除基站之外的 其他基站标识信息及其对应的正式 IP地址。
进一步的, 在第一接收模块接收基站发送的 IP查询请求之后, 若基站在 设定时间内没有收到 IP查询请求响应, 则第一接收模块还用于, 接收基站发 送的免费 ARP请求, 并对临时 IP地址与 MAC地址对应关系进行更新;接收 基站再次发送的 IP查询请求, 并将 IP查询请求发送给服务器。
本实施例的装置, 可以用于执行图 2所示方法实施例的技术方案, 其实 现原理和技术效果类似, 此处不再赘述。
图 7为本发明提供的服务器的一个实施例的结构示意图,该服务器包括: 第一接收模块 701, 用于接收路由器从基站接收并转发至服务器的互联 网协议 IP查询请求, IP查询请求包括基站的标识信息和基站的临时 IP地址。
第一发送模块 702, 用于向路由器发送 IP查询请求响应, 以使路由器将
IP查询请求响应转发给基站, IP查询请求响应中携带服务器根据基站的标识 信息为基站分配的正式 IP地址。
第二接收模块 703, 用于接收路由器从基站接收并转发至服务器的开通 请求, 开通请求中携带正式 IP地址。
第二发送模块 704, 用于向路由器发送开通响应, 以使路由器转发开通 响应, 开通响应中携带服务器为基站配置的基站启动参数。
进一步的, IP查询请求响应中还包括: 第一基站所在的网段中除第一基 站之外的其他第二基站标识信息及其对应的正式 IP地址。
本实施例的装置, 可以用于执行图 3所示方法实施例的技术方案, 其实 现原理和技术效果类似, 此处不再赘述。
图 8为本发明提供的基站的又一个实施例的结构示意图, 如图 8所示, 本实施例提供的基站 80包括处理器 801和存储器 802。 基站 80还可以包括 发射器 803、 接收器 804。 发射器 803和接收器 804可以和处理器 801相连。 其中, 发射器 803用于发送数据或信息, 接收器 804用于接收数据或信息, 存储器 802存储执行指令, 当基站 80运行时, 处理器 801与存储器 802之间 通信, 处理器 801调用存储器 802中的执行指令, 用于执行以下操作: 第一基站向路由器发送互联网协议 IP查询请求, 以使路由器将 IP查询 请求发送给服务器, IP查询请求包括第一基站的标识信息和第一基站的临时 IP地址;
第一基站接收路由器根据临时 IP向第一基站转发的 IP查询请求响应, IP 查询请求响应中携带服务器根据第一基站的标识信息为第一基站分配的正式 IP地址;
第一基站向路由器发送开通请求, 以使路由器将开通请求发送给服务器, 开通请求中携带正式 IP地址;
第一基站接收路由器根据正式 IP向第一基站转发的开通响应, 开通响应 中携带服务器为第一基站配置的基站启动参数。
进一步的, 第一基站向路由器发送 IP查询请求之前, 还包括:
第一基站接收由路由器发送的第一地址解析协议 ARP请求, 第一 ARP 请求携带路由器的 IP地址和媒体访问控制 MAC地址;
第一基站根据路由器的 IP地址, 确定第一基站所在的网段;
第一基站根据所在的网段, 获取网段对应的临时 IP地址。
进一步的, 第一基站接收由路由器发送的第一 ARP请求之后, 还包括: 第一基站根据路由器的 IP地址,向路由器发送免费 ARP响应,免费 ARP 响应携带第一基站的 MAC地址。
进一步的, IP查询请求响应中还包括: 第一基站所在的网段中除第一基 站之外的其他第二基站标识信息及其对应的正式 IP地址。
进一步的, 第一基站向路由器发送 IP查询请求之后, 若第一基站在设定 时间内没有收到 IP查询请求响应, 则方法还包括:
第一基站向路由器发送免费 ARP请求,以使路由器对第一基站的临时 IP 地址与 MAC地址对应关系进行更新;
第一基站再次向路由器发送 IP查询请求, 以使路由器将 IP查询请求发 送给服务器。
进一步的, 第一基站向路由器发送 IP查询请求之前, 还包括:
第一基站发送第二 ARP请求,第二 ARP请求的目的地址为临时 IP地址; 如果第一基站收到对 ARP请求的 ARP响应, 则第一基站间隔设定第一 时间后再次发送 ARP请求直至第一基站在设定第二时时间内未收到 ARP响 应。
本实施例的基站, 可以用于执行本发明任意实施例所提供的基站开通方 法的技术方案, 其实现原理和技术效果类似, 此处不再赘述。
图 9为本发明提供的路由器的又一个实施例的结构示意图,如图 9所示, 本实施例提供的路由器 90包括处理器 901和存储器 902。 当路由器 90运行 时, 处理器 901与存储器 902之间通信, 处理器 901调用存储器 902中的执 行指令, 用于执行以下操作:
路由器接收由第一基站发送的互联网协议 IP查询请求, 并将 IP查询请 求发送给服务器, IP查询请求包括第一基站的标识信息和第一基站的临时 IP 地址;
路由器根据临时 IP向第一基站转发的 IP查询请求响应, IP查询请求响 应中携带服务器根据第一基站的标识信息为第一基站分配的正式 IP地址; 路由器接收第一基站发送的开通请求, 并将开通请求转发给服务器, 开 通请求中携带正式 IP地址;
路由器根据正式 IP向第一基站转发开通响应, 开通响应中携带服务器为 第一基站配置的基站启动参数。
进一步的, 路由器接收第一基站发送 IP查询请求之前, 还包括: 路由器发送向第一基站发送第一地址解析协议 ARP请求, 第一 ARP请 求携带路由器的 IP地址和媒体访问控制 MAC地址, 以使第一基站根据路由 器的 IP地址, 确定第一基站所在的网段, 并根据所在的网段, 获取网段对应 的临时 IP地址。
进一步的, 路由器向第一基站发送第一 ARP请求之后, 还包括: 路由器接收第一基站根据路由器的 IP地址发送的免费 ARP响应, 免费 ARP响应携带第一基站的 MAC地址。
进一步的, IP查询请求响应中还包括: 第一基站所在的网段中除第一基 站之外的其他第二基站标识信息及其对应的正式 IP地址。
进一步的, 路由器接收第一基站发送的 IP查询请求之后, 若第一基站在 设定时间内没有收到 IP查询请求响应, 则方法还包括:
路由器接收第一基站发送的免费 ARP请求,并对临时 IP地址与 MAC地 址对应关系进行更新;
路由器接收第一基站再次发送的 IP查询请求, 并将 IP查询请求发送给 服务器。
本实施例的路由器, 可以用于执行本发明任意实施例所提供的基站开通 方法的技术方案, 其实现原理和技术效果类似, 此处不再赘述。
图 10为本发明提供的服务器的又一个实施例的结构示意图, 如图 10所 示, 本实施例提供的服务器 100包括处理器 1001和存储器 1002。 当服务器 100运行时, 处理器 1001与存储器 1002之间通信, 处理器 1001调用存储器 1002中的执行指令, 用于执行以下操作:
服务器接收路由器从第一基站接收并转发至服务器的互联网协议 IP查询 请求, IP查询请求包括第一基站的标识信息和第一基站的临时 IP地址;
服务器向路由器发送 IP查询请求响应, 以使路由器将 IP查询请求响应 转发给第一基站, IP查询请求响应中携带服务器根据第一基站的标识信息为 第一基站分配的正式 IP地址;
服务器接收路由器从第一基站接收并转发至服务器的开通请求, 开通请 求中携带正式 IP地址;
服务器向路由器发送开通响应, 以使路由器转发开通响应, 开通响应中 携带服务器为第一基站配置的基站启动参数。
进一步的, IP查询请求响应中还包括: 第一基站所在的网段中除第一基 站之外的其他第二基站标识信息及其对应的正式 IP地址。
本实施例的服务器, 可以用于执行本发明任意实施例所提供的基站开通 方法的技术方案, 其实现原理和技术效果类似, 此处不再赘述。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代码的介 质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims

权 利 要 求 书
1、 一种基站, 其特征在于, 包括:
第一发送模块, 用于向路由器发送互联网协议 IP查询请求, 以使所述路 由器将所述 IP查询请求发送给服务器, 所述 IP查询请求包括所述基站的标 识信息和所述基站的临时 IP地址;
第一接收模块, 用于接收所述路由器根据所述临时 IP向所述基站转发的 IP查询请求响应,所述 IP查询请求响应中携带所述服务器根据所述基站的标 识信息为所述基站分配的正式 IP地址;
第二发送模块, 用于向所述路由器发送开通请求, 以使所述路由器将所 述开通请求发送给服务器, 所述开通请求中携带所述正式 IP地址;
第二接收模块, 用于接收所述路由器根据所述正式 IP向所述基站转发的 开通响应,所述开通响应中携带所述服务器为所述基站配置的基站启动参数。
2、 根据权利要求 1所述的基站, 其特征在于, 第一接收模块还用于, 在 第一发送模块向路由器发送 IP查询请求之前, 接收由所述路由器发送的第一 地址解析协议 ARP请求, 所述第一 ARP请求携带所述路由器的 IP地址和媒 体访问控制 MAC地址; 根据所述路由器的 IP地址, 确定所述基站所在的网 段; 根据所在的网段, 获取所述网段对应的所述临时 IP地址。
3、 根据权利要求 3所述的基站, 其特征在于, 第一发送模块还用于, 在 第一接收模块接收由所述路由器发送的第一 ARP请求之后,根据所述路由器 的 IP地址, 向所述路由器发送免费 ARP响应, 所述免费 ARP响应携带所述 基站的 MAC地址。
4、 根据权利要求 1-3任一项所述的基站, 其特征在于, 所述 IP查询请 求响应中还包括: 所述基站所在的网段中除所述基站之外的其他基站标识信 息及其对应的正式 IP地址。
5、 根据权利要求 1-4任一项所述的基站, 其特征在于, 在第一发送模块 向路由器发送 IP查询请求之后, 若第一接收模块在设定时间内没有收到所述 IP查询请求响应,则第一发送模块还用于:向所述路由器发送免费 ARP请求, 以使所述路由器对所述基站的所述临时 IP地址与 MAC地址对应关系进行更 新; 再次向所述路由器发送所述 IP查询请求, 以使所述路由器将所述 IP查 询请求发送给所述服务器。
6、 根据权利要求 1-5任一项所述的基站, 其特征在于, 第一发送模块还 用于: 向路由器发送 IP查询请求之前, 发送第二 ARP请求, 所述第二 ARP 请求的目的地址为所述临时 IP地址;如果收到对所述 ARP请求的 ARP响应, 则间隔设定第一时间后再次发送所述 ARP请求直至所述第一发送模块在设定 第二时时间内未收到所述 ARP响应。
7、 一种路由器, 其特征在于, 包括:
第一接收模块, 用于接收由基站发送的互联网协议 IP查询请求, 并将所 述 IP查询请求发送给服务器, 所述 IP查询请求包括所述基站的标识信息和 所述基站的临时 IP地址;
第一发送模块, 用于根据所述临时 IP向所述基站转发 IP查询请求响应, 所述 IP查询请求响应中携带所述服务器根据所述基站的标识信息为所述基站 分配的正式 IP地址;
第二接收模块, 用于接收所述基站发送的开通请求, 并将所述开通请求 转发给所述服务器, 所述开通请求中携带所述正式 IP地址;
第二发送模块, 用于根据所述正式 IP向所述基站转发开通响应, 所述开 通响应中携带所述服务器为所述基站配置的基站启动参数。
8、 根据权利要求 7所述的路由器, 其特征在于, 第一发送模块还用于, 在第一接收模块接收所述基站发送 IP查询请求之前, 向所述基站发送第一地 址解析协议 ARP请求, 所述第一 ARP请求携带所述路由器的 IP地址和媒体 访问控制 MAC地址, 以使所述基站根据所述路由器的 IP地址, 确定所述基 站所在的网段, 并根据所在的网段, 获取所述网段对应的所述临时 IP地址。
9、 根据权利要求 8所述的路由器, 其特征在于, 第一接收模块还用于, 在第一发送模块向所述基站发送第一 ARP请求之后,接收所述基站根据所述 路由器的 IP地址发送的免费 ARP响应, 所述免费 ARP响应携带所述基站的 MAC地址。
10、 根据权利要求 7-9任一项所述的路由器, 其特征在于, 所述 IP查询 请求响应中还包括: 所述基站所在的网段中除所述基站之外的其他基站标识 信息及其对应的正式 IP地址。
11、 根据权利要求 7-10任一项所述的路由器, 其特征在于, 在第一接收 模块接收所述基站发送的 IP查询请求之后, 若所述基站在设定时间内没有收 到所述 IP查询请求响应, 则第一接收模块还用于, 接收所述基站发送的免费 ARP请求, 并对所述临时 IP地址与 MAC地址对应关系进行更新; 接收所述 基站再次发送的所述 IP查询请求, 并将所述 IP查询请求发送给所述服务器。
12、 一种服务器, 其特征在于, 包括:
第一接收模块, 用于接收路由器从基站接收并转发至所述服务器的互联 网协议 IP查询请求, 所述 IP查询请求包括所述基站的标识信息和所述基站 的临时 IP地址;
第一发送模块, 用于向所述路由器发送 IP查询请求响应, 以使所述路由 器将所述 IP查询请求响应转发给所述基站, 所述 IP查询请求响应中携带所 述服务器根据所述基站的标识信息为所述基站分配的正式 IP地址;
第二接收模块, 用于接收路由器从所述基站接收并转发至所述服务器的 开通请求, 所述开通请求中携带所述正式 IP地址;
第二发送模块, 用于向所述路由器发送开通响应, 以使所述路由器转发 所述开通响应, 所述开通响应中携带所述服务器为所述基站配置的基站启动 参数。
13、 根据权利要求 12所述的服务器, 其特征在于, 所述 IP查询请求响 应中还包括: 所述第一基站所在的网段中除所述第一基站之外的其他第二基 站标识信息及其对应的正式 IP地址。
14、 一种基站开通方法, 其特征在于, 包括:
第一基站向路由器发送互联网协议 IP查询请求, 以使所述路由器将所述
IP查询请求发送给服务器,所述 IP查询请求包括所述第一基站的标识信息和 所述第一基站的临时 IP地址;
所述第一基站接收所述路由器根据所述临时 IP向所述第一基站转发的 IP 查询请求响应, 所述 IP查询请求响应中携带所述服务器根据所述第一基站的 标识信息为所述第一基站分配的正式 IP地址;
所述第一基站向所述路由器发送开通请求, 以使所述路由器将所述开通 请求发送给所述服务器, 所述开通请求中携带所述正式 IP地址;
所述第一基站接收所述路由器根据所述正式 IP向所述第一基站转发的开 通响应, 所述开通响应中携带所述服务器为所述第一基站配置的基站启动参 数。
15、 根据权利要求 14所述的方法, 其特征在于, 所述第一基站向路由器 发送 IP查询请求之前, 还包括:
所述第一基站接收由所述路由器发送的第一地址解析协议 ARP请求,所 述第一 ARP请求携带所述路由器的 IP地址和媒体访问控制 MAC地址;
所述第一基站根据所述路由器的 IP地址,确定所述第一基站所在的网段; 所述第一基站根据所在的网段, 获取所述网段对应的所述临时 IP地址。
16、 根据权利要求 15所述的方法, 其特征在于, 所述第一基站接收由所 述路由器发送的第一 ARP请求之后, 还包括:
所述第一基站根据所述路由器的 IP地址, 向所述路由器发送免费 ARP 响应, 所述免费 ARP响应携带所述第一基站的 MAC地址。
17、 根据权利要求 14-16任一项所述的方法, 其特征在于, 所述 IP查询 请求响应中还包括: 所述第一基站所在的网段中除所述第一基站之外的其他 第二基站标识信息及其对应的正式 IP地址。
18、 根据权利要求 14-17任一项所述的方法, 其特征在于, 所述第一基 站向路由器发送 IP查询请求之后, 若所述第一基站在设定时间内没有收到所 述 IP查询请求响应, 则所述方法还包括:
所述第一基站向所述路由器发送免费 ARP请求, 以使所述路由器对所述 第一基站的所述临时 IP地址与 MAC地址对应关系进行更新;
所述第一基站再次向所述路由器发送所述 IP查询请求, 以使所述路由器 将所述 IP查询请求发送给所述服务器。
19、 根据权利要求 14-18任一项所述的方法, 其特征在于, 所述第一基 站向路由器发送 IP查询请求之前, 还包括:
所述第一基站发送第二 ARP请求, 所述第二 ARP请求的目的地址为所 述临时 IP地址;
如果所述第一基站收到对所述 ARP请求的 ARP响应, 则所述第一基站 间隔设定第一时间后再次发送所述 ARP请求直至所述第一基站在设定第二时 时间内未收到所述 ARP响应。
20、 一种基站开通方法, 其特征在于, 包括:
路由器接收由第一基站发送的互联网协议 IP查询请求, 并将所述 IP查 询请求发送给服务器, 所述 IP查询请求包括所述第一基站的标识信息和所述 第一基站的临时 IP地址;
所述路由器根据所述临时 IP向所述第一基站转发的 IP查询请求响应, 所述 IP查询请求响应中携带所述服务器根据所述第一基站的标识信息为所述 第一基站分配的正式 IP地址;
所述路由器接收所述第一基站发送的开通请求, 并将所述开通请求转发 给所述服务器, 所述开通请求中携带所述正式 IP地址;
所述路由器根据所述正式 IP向所述第一基站转发开通响应, 所述开通响 应中携带所述服务器为所述第一基站配置的基站启动参数。
21、 根据权利要求 20所述的方法, 其特征在于, 所述路由器接收所述第 一基站发送 IP查询请求之前, 还包括:
所述路由器发送向所述第一基站发送第一地址解析协议 ARP请求,所述 第一 ARP请求携带所述路由器的 IP地址和媒体访问控制 MAC地址,以使所 述第一基站根据所述路由器的 IP地址, 确定所述第一基站所在的网段, 并根 据所在的网段, 获取所述网段对应的所述临时 IP地址。
22、 根据权利要求 21所述的方法, 其特征在于, 所述路由器向所述第一 基站发送第一 ARP请求之后, 还包括:
所述路由器接收所述第一基站根据所述路由器的 IP地址发送的免费 ARP 响应, 所述免费 ARP响应携带所述第一基站的 MAC地址。
23、 根据权利要求 20-22任一项所述的方法, 其特征在于, 所述 IP查询 请求响应中还包括: 所述第一基站所在的网段中除所述第一基站之外的其他 第二基站标识信息及其对应的正式 IP地址。
24、 根据权利要求 20-23任一项所述的方法, 其特征在于, 所述路由器 接收所述第一基站发送的 IP查询请求之后, 若所述第一基站在设定时间内没 有收到所述 IP查询请求响应, 则所述方法还包括:
所述路由器接收所述第一基站发送的免费 ARP请求, 并对所述临时 IP 地址与 MAC地址对应关系进行更新;
所述路由器接收所述第一基站再次发送的所述 IP查询请求,并将所述 IP 查询请求发送给所述服务器。
25、 一种基站开通方法, 其特征在于, 包括:
服务器接收路由器从第一基站接收并转发至所述服务器的互联网协议 IP 查询请求, 所述 IP查询请求包括所述第一基站的标识信息和所述第一基站的 临时 IP地址;
所述服务器向所述路由器发送 IP查询请求响应, 以使所述路由器将所述 IP查询请求响应转发给所述第一基站,所述 IP查询请求响应中携带所述服务 器根据所述第一基站的标识信息为所述第一基站分配的正式 IP地址;
所述服务器接收路由器从所述第一基站接收并转发至所述服务器的开通 请求, 所述开通请求中携带所述正式 IP地址;
所述服务器向所述路由器发送开通响应, 以使所述路由器转发所述开通 响应,所述开通响应中携带所述服务器为所述第一基站配置的基站启动参数。
26、 根据权利要求 25所述的方法, 其特征在于, 所述 IP查询请求响应 中还包括: 所述第一基站所在的网段中除所述第一基站之外的其他第二基站 标识信息及其对应的正式 IP地址。
27、 一种基站, 其特征在于, 包括: 处理器和存储器, 所述存储器存 储执行指令, 当所述基站运行时, 所述处理器与所述存储器之间通信, 所 述处理器执行所述执行指令使得所述基站执行如权利要求 14至 19任一项 所述的方法。
28、 一种路由器, 其特征在于, 包括: 处理器和存储器, 所述存储器 存储执行指令,当所述路由器运行时,所述处理器与所述存储器之间通信, 所述处理器执行所述执行指令使得所述基站执行如权利要求 20至 24任一 项所述的方法。
29、 一种服务器, 其特征在于, 包括: 处理器和存储器, 所述存储器 存储执行指令,当所述服务器运行时,所述处理器与所述存储器之间通信, 所述处理器执行所述执行指令使得所述基站执行如权利要求 25或 26所述 的方法。
PCT/CN2013/086836 2013-11-11 2013-11-11 基站开通方法和基站开通*** WO2015066912A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201380004031.8A CN103959747B (zh) 2013-11-11 2013-11-11 基站开通方法和基站开通***
PCT/CN2013/086836 WO2015066912A1 (zh) 2013-11-11 2013-11-11 基站开通方法和基站开通***
EP13897162.7A EP3070993B1 (en) 2013-11-11 2013-11-11 Base station activation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/086836 WO2015066912A1 (zh) 2013-11-11 2013-11-11 基站开通方法和基站开通***

Publications (1)

Publication Number Publication Date
WO2015066912A1 true WO2015066912A1 (zh) 2015-05-14

Family

ID=51334888

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/086836 WO2015066912A1 (zh) 2013-11-11 2013-11-11 基站开通方法和基站开通***

Country Status (3)

Country Link
EP (1) EP3070993B1 (zh)
CN (1) CN103959747B (zh)
WO (1) WO2015066912A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11968169B1 (en) 2023-06-14 2024-04-23 International Business Machines Corporation Domain name based deployment

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658554A (zh) * 2015-11-03 2017-05-10 中兴通讯股份有限公司 一种开通基站的方法及装置
FR3067555A1 (fr) * 2017-06-20 2018-12-14 Orange Gestion de l'unicite des identifiants de modules de communication dans un reseau de communication
CN109195141B (zh) * 2018-07-25 2021-09-10 京信网络***股份有限公司 基站开站方法、装置、计算机存储介质及设备
CN110875826A (zh) * 2018-08-31 2020-03-10 上海华为技术有限公司 一种获取开站数据的方法及装置
CN109561382B (zh) * 2018-12-13 2021-11-12 京信网络***股份有限公司 家庭基站参数自配置方法、***、存储介质及设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7158533B2 (en) * 2002-01-15 2007-01-02 Ericsson Inc. Self-configuring wireless mobile data base stations and configuration operations and computer program products for same
CN101047639A (zh) * 2006-06-16 2007-10-03 华为技术有限公司 一种基站自动配置的方法和***
CN101188519A (zh) * 2007-12-04 2008-05-28 上海华为技术有限公司 基站资源的自动管理方法、***、资源管理中心和基站
CN101466105B (zh) * 2008-12-30 2011-09-21 上海无线通信研究中心 蜂窝***中基站的自动配置方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7103040B2 (en) * 2001-11-19 2006-09-05 Telefonaktieboaget Lm Ericsson (Publ) Method and apparatus for identifying a node for data communications using its geographical location
CN101136946A (zh) * 2006-08-31 2008-03-05 华为技术有限公司 基站ip地址分配***及方法、基站、接入服务网络网关
CN102209363B (zh) * 2011-05-18 2015-05-20 中兴通讯股份有限公司 一种在操作维护中心配置到基站路由的实现方法及***
CN102711106B (zh) * 2012-05-21 2018-08-10 中兴通讯股份有限公司 建立IPSec隧道的方法及***

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7158533B2 (en) * 2002-01-15 2007-01-02 Ericsson Inc. Self-configuring wireless mobile data base stations and configuration operations and computer program products for same
CN101047639A (zh) * 2006-06-16 2007-10-03 华为技术有限公司 一种基站自动配置的方法和***
CN101188519A (zh) * 2007-12-04 2008-05-28 上海华为技术有限公司 基站资源的自动管理方法、***、资源管理中心和基站
CN101466105B (zh) * 2008-12-30 2011-09-21 上海无线通信研究中心 蜂窝***中基站的自动配置方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11968169B1 (en) 2023-06-14 2024-04-23 International Business Machines Corporation Domain name based deployment

Also Published As

Publication number Publication date
EP3070993B1 (en) 2017-08-16
CN103959747B (zh) 2017-02-15
EP3070993A1 (en) 2016-09-21
EP3070993A4 (en) 2016-11-02
CN103959747A (zh) 2014-07-30

Similar Documents

Publication Publication Date Title
ES2774668T3 (es) Método de migración de máquina virtual, conmutador y sistema de máquina virtual
JP4737400B2 (ja) ネットワーク内の移動局との通信を制御する方法
WO2015066912A1 (zh) 基站开通方法和基站开通***
US9712383B2 (en) Device abstraction in autonomous wireless local area networks
US9258699B2 (en) Method for route transmission based on single IPv6 address prefix, and wireless device
EP2879419B1 (en) Ipv6 address stateless auto-configuration system, data card, and implementation method thereof
WO2019185062A1 (zh) 一种通信方法及装置
US20140237125A1 (en) Method, apparatus, and system for establishing device-to-device connection
WO2014146474A1 (zh) 终端注册方法、终端发现方法、终端及装置
CN102984295B (zh) 一种移动终端及其地址分配方法
WO2014040564A1 (en) System and method for a multiple ip interface control protocol
JP2010530723A (ja) 通信システム中の基地局の隣接発見のための方法および装置
WO2011009347A1 (zh) 支持切换的处理方法、通信装置及通信***
WO2007052913A1 (en) Method of generating and managing connection identifiers for supporting multicast for each group in ipv6-based wireless network and network interface using the method
KR20170139544A (ko) 데이터 링크 인터페이스 인터넷 프로토콜(ip) 어드레스 생성
WO2012119390A1 (zh) 虚拟机迁移通知方法和***
CN107769939B (zh) 数据通信网中网元管理方法、网管、网关网元及***
US20090073990A1 (en) Method of replacing a router in a layer 3 network
WO2011032455A1 (zh) 切换管理及切换时用户数据管理的方法、***和agr
JP2023521621A (ja) エッジネットワーク管理サーバの発見のための方法、装置、及びシステム
CN114385314A (zh) 物联网设备数据迁移***、方法、装置及存储介质
WO2012100685A1 (zh) Ip地址配置方法、装置及***
WO2009120525A1 (en) Unique prefix assignment with automatic address configuration
US10050932B2 (en) Method, user node and remote access server for releasing address
WO2014177019A1 (zh) 一种接入制式的配置方法、设备及***

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

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2013897162

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2013897162

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE