WO2022237191A1 - 网络设备的注册方法、设备及系统 - Google Patents
网络设备的注册方法、设备及系统 Download PDFInfo
- Publication number
- WO2022237191A1 WO2022237191A1 PCT/CN2021/141811 CN2021141811W WO2022237191A1 WO 2022237191 A1 WO2022237191 A1 WO 2022237191A1 CN 2021141811 W CN2021141811 W CN 2021141811W WO 2022237191 A1 WO2022237191 A1 WO 2022237191A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network device
- coordinate information
- site
- network
- geographic location
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 103
- 238000004891 communication Methods 0.000 claims abstract description 36
- 238000012795 verification Methods 0.000 claims description 24
- 238000012545 processing Methods 0.000 claims description 16
- 238000012546 transfer Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 12
- 230000004044 response Effects 0.000 claims description 9
- 230000006870 function Effects 0.000 description 42
- 238000013461 design Methods 0.000 description 28
- 238000005516 engineering process Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 19
- 230000008569 process Effects 0.000 description 12
- 230000003287 optical effect Effects 0.000 description 7
- 230000003993 interaction Effects 0.000 description 4
- 230000003068 static effect Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 3
- 235000019800 disodium phosphate Nutrition 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000010348 incorporation Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W60/00—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
Definitions
- the present application relates to the technical field of communications, and in particular to a method, device and system for registering network devices.
- the user's local network device (such as the access point (AP) and switch device in the network architecture scenario shown in Figure 1a) needs to be registered on the network controller side, so that the network device can obtain the site configured at its location
- the network device configures its own network according to the configuration information to complete the registration, so that the network device can access the network controller as a station and obtain network services.
- the network device Before network device registration, it is often necessary to manually enter the serial number of the network device on the network controller side as site information, and then when the network device is registered, it automatically initiates a registration application with its serial number to the network controller. After receiving the registration application, the serial number is verified. If the verification of the serial number is successful, the configuration information corresponding to the serial number is sent to the network device, so that the network device completes the registration according to the received configuration information.
- Embodiments of the present application provide a network device registration method, device, and system, which solve the problem of low network device registration efficiency.
- a network device registration method is provided, which is applied to a network controller, and the method may include: the network controller receives first coordinate information indicating the geographical location of the network device sent by the network device; A first site whose coordinate information matches. Finally, the network controller sends configuration information of the network device to the network device, and the configuration information indicates that the network device is registered as a site. Wherein, the first site corresponds to the configuration information of the network device.
- the network controller verifies the network device through the first coordinate information of the network device, and then sends configuration information for registration to the network device, since the coordinate information of the site can be stored in the network controller Pre-configured in the network device, the first coordinate information of the network device can be obtained by the network device in real time before registration.
- the controller records the serial number of the network device, thereby improving the registration efficiency of the network device.
- the matching of the above coordinate information may include: the error between the first coordinate information and the coordinate information of the first site is less than or equal to the first threshold; or, the geographic location indicated by the first coordinate information and the first site The distance of the geographic location indicated by the coordinate information is less than or equal to the second threshold; or, the first station is located in a first area, and the first area includes the geographic location indicated by the first coordinate information. Acquiring the first station that matches the first coordinate information according to the above coordinate information matching does not need to strictly match the coordinate information, comprehensively considers the position error, and improves the feasibility of the solution.
- the method may further include: the network controller receiving and storing coordinate information of the first site and configuration information corresponding to the first site.
- the coordinate information of the first site managed by the network controller and the configuration information corresponding to the first site are stored in advance in the network controller, so that the network device uses the first coordinate information to register according to the solution provided in this application.
- the method may further include: the network controller receiving the serial number of the network device sent by the network device; associating the first station with the serial number. It is convenient to manage the network device as a station through the serial number.
- the method may further include: the network controller sending verification passing prompt information to the network device, so that the user of the network device can intuitively know that the verification has been completed, and can register according to the received configuration information.
- the prompt information for passing the verification may include configuration information corresponding to the first site.
- another network device registration method is provided, which is applied to a first network device, and the method may include: the first network device acquires first coordinate information indicating the geographic location of the first network device; The controller sends the first coordinate information; the first network device receives the configuration information of the first network device corresponding to the first site sent by the network controller, and the first coordinate information matches the coordinate information of the first site; the first network device Register the first network device as a site according to the received configuration information.
- the first network device obtains the first coordinate information indicating its geographic location and sends it to the network controller, and receives the first site that matches the first coordinate information sent by the network controller Corresponding to the configuration information of the first network device, since the coordinate information of the first site can be pre-configured in the network controller, the first coordinate information of the first network device can be obtained by the network device in real time before registration, which is different from the current manual Compared with the network controller entering the serial numbers of the network devices one by one to verify the network devices, there is no need to manually enter the serial numbers of the network devices in the network controller, thereby improving the registration efficiency of the network devices.
- the acquisition of the first coordinate information indicating the geographic location of the network device by the first network device may include: the first network device receives the first coordinate information sent by the second network device, and the second network device connects to the first coordinate information A network device, the first coordinate information is the coordinate information of the current geographic location of the second network device. The first network device obtains the first coordinate information of the geographic location through the second network device, so as to avoid the cost caused by the first network device's own positioning.
- the second network device may be a network device with positioning technology.
- the second network device may be a mobile terminal, and the mobile terminal may be connected to the network device in a wireless or wired manner to improve the scalability of the solution.
- the second network device may be a network device that can be connected to a network device with positioning technology.
- the first network device receiving the first coordinate information sent by the mobile terminal may include: the first network device receiving an extended protocol message sent by the second network device through an extended protocol, the extended protocol message includes The first coordinate information.
- the second network device may be a wireless access device or a mobile terminal.
- the first network device supports wireless communication
- the second network device is a mobile terminal
- the mobile terminal can connect to the network device with a default service set identifier (SSID) of the network device.
- SSID service set identifier
- the first network device supports wireless communication
- the second network device is a mobile terminal.
- the extended protocol may include: hypertext transfer protocol (hypertext transfer protocol, HTTP), hypertext transfer protocol over securesocket layer, HTTPS), or Secure File Transfer Protocol (SFTP).
- HTTP hypertext transfer protocol
- HTTPS hypertext transfer protocol over securesocket layer
- SFTP Secure File Transfer Protocol
- the first network device is a switch
- the second network device is a wireless access device
- the extended protocol may be a link layer discovery protocol (link layer discovery protocol, LLDP).
- the matching of the above coordinate information may include: the error between the first coordinate information and the coordinate information of the first site is less than or equal to the first threshold; or, the geographic location indicated by the first coordinate information and the first site The distance of the geographic location indicated by the coordinate information is less than or equal to the second threshold; or, the first station is located in a first area, and the first area includes the geographic location indicated by the first coordinate information.
- the first station that matches the above coordinate information does not need to strictly match the coordinate information, and comprehensively considers the position error, which improves the feasibility of the scheme.
- the first network device obtains an Internet protocol (internet protocol, IP) address for communicating with the network controller, where the IP address is the address of the first network device, and the first network device sends the coordinates to the network controller When sending information, the IP address can also be carried.
- IP Internet protocol
- the first network device can obtain an IP address for communicating with the network controller through a dynamic host configuration protocol (DHCP), or the first network device can use a human-computer interaction interface, Obtains the IP address entered by the user to communicate with the network controller.
- DHCP dynamic host configuration protocol
- the first network device sends the first coordinate information indicating the geographic location of the first network device to the network controller by using the domain name of the network controller.
- the method may further include: the first network device sending the serial number of the first network device to the network controller.
- the serial number of the first network device is sent to the network controller, so that the network controller associates the first station with the serial number, so as to manage the first network device as a station through the serial number.
- another network device registration method which is applied to a mobile terminal, and the method may include: the mobile terminal receives a user's registration request; in response to the registration request, the mobile terminal obtains the first coordinate information of the current geographic location ; In response to the registration request, the mobile terminal sends the acquired first coordinate information to the network device, where the first coordinate information indicates that the network device is registered as a site.
- the first coordinate information of the geographic location where the mobile terminal is located is used as the coordinate information of the network device, so that the network device can be verified through the first coordinate information without manual control on the network
- the serial number of the network device can be entered into the device, thereby improving the registration efficiency of the network device.
- the mobile terminal is connected to the default SSID of the network device.
- the mobile terminal sending the first coordinate information to the network device may include: the mobile terminal sending an extended protocol message to the network device, where the extended protocol message includes the first coordinate information.
- This extended protocol can include extended http, https, SFTP or LLDP.
- a network controller is provided, and the network controller is configured to execute the method for registering a network device provided in the first aspect.
- the present application may divide the network controller into functional modules according to the method provided in the first aspect above. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
- the present application may divide the network controller into a first receiving unit, an acquiring unit and a sending unit, a second receiving unit, a processing unit, and the like according to functions.
- the network controller includes: a memory and one or more processors, and the memory is coupled to the processor.
- the memory is used to store computer instructions
- the processor is used to invoke the computer instructions to execute any method provided in the first aspect and any possible design manner thereof.
- a first network device is provided, and the first network device is configured to execute the method for registering a network device provided in the second aspect above.
- the present application may divide the first network device into functional modules according to the method provided in the second aspect above. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
- the present application may divide the first network device into an acquiring unit, a sending unit, a registering unit, and the like according to functions.
- the first network device includes: a memory and one or more processors, and the memory is coupled to the processor.
- the memory is used to store computer instructions
- the processor is used to call the computer instructions to execute any method as provided in the second aspect and any possible design manner thereof.
- a mobile terminal is provided, and the mobile terminal is configured to execute the method for registering a network device provided in the above third aspect.
- the present application may divide the mobile terminal into functional modules according to the method provided in the third aspect above.
- each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
- the present application may divide the mobile terminal into a receiving unit, an acquiring unit, and a sending unit according to functions.
- the mobile terminal includes: a memory and one or more processors, and the memory is coupled to the processor.
- the memory is used to store computer instructions
- the processor is used to call the computer instructions to execute any method as provided in the third aspect and any possible design manner thereof.
- a network device registration system may include: a network device and a network controller. in:
- the network device is configured to send the first coordinate information indicating the geographic location of the network device to the network controller.
- the network controller is configured to acquire a first site matching the first coordinate information, the first site corresponds to configuration information of the network device, and send the configuration information of the network device to the network device.
- the network device is also used to receive configuration information of the network device sent by the network controller, and register the network device as a station according to the received configuration information.
- the system may further include a mobile terminal, where the mobile terminal is connected to a network device; the mobile terminal is configured to receive a user's registration request; and in response to the registration request, obtain the first location of the mobile terminal coordinate information, and send the first coordinate information to the network device.
- a network device registration system may include: a first communication device, a second communication device, and a third communication device.
- the first communication device is configured to execute the method provided in the first aspect above
- the second communication device is configured to execute the method provided in the second aspect above
- the third communication device is configured to execute the method provided in the third aspect above.
- a ninth aspect provides a computer storage medium for storing a computer program, and when the computer program is run on a computer, any method provided by any possible implementation manner in any of the above-mentioned aspects is executed.
- the present application provides a computer program product, which, when running on a computer, causes any method provided in any possible implementation manner of any of the above-mentioned aspects to be executed.
- Figure 1a is a schematic diagram of a network architecture
- FIG. 1b is a schematic diagram of a network device registration system architecture provided by the present application.
- FIG. 1c is a schematic diagram of another network device registration system architecture provided by the present application.
- Figure 1d is a flow chart of the registration operation of a network device provided by the present application.
- FIG. 2 is a schematic diagram of the composition of the network controller provided by the embodiment of the present application.
- FIG. 3 is a schematic composition diagram of a mobile terminal provided by an embodiment of the present application.
- FIG. 4 is a schematic flowchart of a method for registering a network device provided in an embodiment of the present application
- FIG. 5 is a schematic diagram of a hardware structure of an AP device provided in an embodiment of the present application.
- FIG. 6 is a schematic diagram of a hardware structure of a switch device provided in an embodiment of the present application.
- FIG. 7 is a schematic flowchart of another network device registration method provided by the embodiment of the present application.
- FIG. 8 is a schematic flowchart of another method for registering a network device provided by an embodiment of the present application.
- FIG. 9 is a schematic diagram of an exemplary main menu interface of a mobile terminal provided in an embodiment of the present application.
- FIG. 10a is a schematic diagram of an exemplary registration request interface of a mobile terminal provided by an embodiment of the present application.
- FIG. 10b is a schematic diagram of an exemplary verification interface of a mobile terminal provided in an embodiment of the present application.
- Fig. 11a is a schematic structural diagram of a network controller provided by an embodiment of the present application.
- Fig. 11b is a schematic structural diagram of another network controller provided by the embodiment of the present application.
- FIG. 12 is a schematic structural diagram of a first network device provided in an embodiment of the present application.
- FIG. 13 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present application.
- words such as “exemplary” or “for example” are used as examples, illustrations or illustrations. Any embodiment or design scheme described as “exemplary” or “for example” in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as “exemplary” or “such as” is intended to present related concepts in a concrete manner for easy understanding.
- At least one item (piece) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple .
- At least one can also be described as one or more, and multiple can be two, three, four or more, which is not limited in this application.
- a site refers to a device deployed on the user side in a network to provide services to users.
- a site is a description of a role or function, and its essence is a network device.
- a station may be an AP device or a switch device shown in FIG. 1a.
- the registration of a network device refers to the process in which a network device obtains its configuration information as a site from the network controller through an application, and then goes online as a site according to the obtained configuration information.
- the network device Before network device registration, it is often necessary to manually enter the serial number of the network device on the network controller side to the corresponding site, and then the network device automatically initiates a registration application to the network controller when registering, and the network controller After receiving the registration application, the serial number is verified. If the verification of the serial number is successful, the configuration information corresponding to the serial number is sent to the network device, so that the network device registers according to the configuration information.
- the number of network devices is huge, and manually entering the serial numbers of network devices one by one in the network controller is cumbersome, error-prone and inefficient, resulting in low efficiency of network device registration.
- the exclusive information of the site is written into the DHCP Option.
- This exclusive information is generated by the network controller and represents the uniqueness of the site. .
- the network device automatically obtains its own IP from the DHCP server, it can also obtain the exclusive information of the site to which it belongs.
- the controller automatically assigns the network device to the corresponding site according to the exclusive information, and then sends the configuration information of the site to the network Device, for network device registration.
- configuring the site-specific information in the DHCP Option for network device acquisition depends on the configurability of the DHCP server, and there are scenario limitations.
- the present application provides a network device registration method, the basic principle of which is: the network device initiates registration to the network controller based on the first coordinate information indicating its geographic location, and the network controller based on the received first coordinate information and stored
- the coordinate information of the site is verified by the network device, and the first site matching the received first coordinate information is acquired, and then the configuration information of the network device corresponding to the first site is sent to the network device. Since the coordinate information of the first site can be pre-configured in the network controller, the first coordinate information of the network device can be obtained by the network device in real time before registration, so that there is no need to manually enter the serial number of the network device in the network controller one by one.
- the network device registration can be realized, thereby improving the registration efficiency of the network device.
- the network device registration system may include: a network controller 11 and at least one network device 12 .
- the network device 12 requests the configuration information of the network device 11 as a site from the network controller 11 through a registration process.
- the network controller 11 verifies the network device 12, and sends configuration information corresponding to the site where the network device 12 is deployed after passing the verification.
- the network device 12 configures the network device 12 according to the obtained configuration information, so that the network device 12 serves as a site to provide network services to users.
- the registration system of the network device may also include a mobile terminal 13 and a satellite positioning system 14 .
- the mobile terminal 13 may have a positioning function, and the mobile terminal 13 may obtain the coordinate information of the geographical location through the satellite positioning system 14 .
- the mobile terminal 13 can connect to the network device 12, and provide the acquired coordinate information to the network device 12. Since the mobile terminal 13 is very close to the network device 12, the coordinate information of the mobile terminal 13 can be used as the coordinate information of the network device 12.
- the network device 12 may apply for registration with the network controller 11 according to the coordinate information provided by the mobile terminal 13 and according to the scheme provided in this application.
- the mobile terminal 13 may be a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (uitra-mobile personal computer, UMPC), a netbook, a personal digital assistant (personal digital assistant, PDA) and the like.
- the mobile terminal 13 included in the network architecture of the present application may be a smart phone.
- FIG. 1d shows a registration process initiated by the network device 12 to the network controller 11 .
- the network controller 11 receives the coordinate information of the site and the configuration information corresponding to the site sent by the administrator of the network controller.
- the network controller 11 may respectively store the coordinate information of each station and the corresponding configuration information of each station.
- the network controller 11 may store the coordinate information of each site and the configuration information corresponding to each site locally, or store the coordinate information of each site and the configuration information corresponding to each site in other devices (for example, external storage devices, cloud storage devices, or others).
- devices For example, external storage devices, cloud storage devices, or others.
- the mobile terminal 13 can connect to the network device 12 through the default SSID enabled by the network device 12 , or, the mobile terminal 13 can connect to the network device 12 through a short distance communication technology such as Bluetooth.
- the on-site installer operates the mobile terminal 13 to initiate a registration request of the network device 12 .
- the mobile terminal 13 may obtain the coordinate information of its current geographic location through satellite positioning technology or mobile base station positioning technology.
- the network device 12 sends coordinate information to the network controller 11 to initiate registration.
- the network device 12 and the network controller 11 can specifically communicate through a wired network, and the network device 12 obtains the IP address of the network device 12 after receiving the coordinate information of the current geographic location of the mobile terminal 13, and then passes the The IP address sends coordinate information indicating the geographic location of the network device to the network controller 11 , and the coordinate information is the coordinate information of the current geographic location acquired by the mobile terminal 13 .
- the network controller 11 After verifying that the network device 12 has passed, the network controller 11 issues configuration information corresponding to the site that matches the coordinates of the network device 12, and responds that the online is successful.
- FIG. 2 is a schematic diagram of a communication device provided by an embodiment of the present application.
- the communication device may be a network controller or a network device.
- the communication device may include at least one processor 21 , a memory 22 , a communication interface 23 , and a communication bus 24 .
- the processor 21 is the control center of the communication device, and may be one processor, or may be a general term for multiple processing elements.
- the processor 21 is a central processing unit (central processing unit, CPU), may also be a specific integrated circuit (application specific integrated circuit, ASIC), or is configured to implement one or more integrated circuits of the embodiments of the present application , for example: one or more microprocessors (digital signal processor, DSP), or, one or more field programmable gate arrays (field programmable gate array, FPGA).
- the processor 21 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 2 .
- the communication device may include multiple processors, and each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU).
- a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
- Memory 22 may be read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM) or other types that can store information and instructions It can also be an electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be programmed by a computer Any other medium accessed, but not limited to.
- the memory 22 may exist independently, and is connected with the processor 21 through the communication bus 24 .
- the memory 22 can also be integrated with the processor 21 .
- Communication interface 23 using any device such as a transceiver, for communicating with other devices or communication networks, such as Ethernet, radio access network (radio access network, RAN), wireless local area networks (wireless local area networks, WLAN), etc. .
- the communication interface 23 may include a receiving unit to implement a receiving function, and a sending unit to implement a sending function.
- the device structure shown in FIG. 2 is not limited to the network controller, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
- FIG. 3 is a schematic composition diagram of a mobile terminal provided by an embodiment of the present application.
- the mobile terminal may include at least one processor 31 , memory 32 , display 33 , and transceiver 34 .
- the processor 31 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 3 .
- the mobile terminal may include multiple processors, and each of these processors may be a single-CPU processor or a multi-CPU processor.
- a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
- Memory 32 can be ROM or other types of static storage devices that can store static information and instructions, RAM or other types of dynamic storage devices that can store information and instructions, and can also be EEPROM, CD-ROM or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be programmed by a computer Any other medium accessed, but not limited to.
- the memory 32 may exist independently, and is connected with the processor 31 through the communication bus 34 .
- the memory 32 can also be integrated with the processor 31 . Wherein, the memory 32 is used to store a software program for executing the solution of the present application, and is controlled by the processor 31 to execute.
- the display 33 may be used to display information input by or provided to the user and various menus of the terminal.
- the display 33 may include a display panel.
- the display panel may be configured in the form of a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (organic light-emitting diode, OLED), or the like.
- Transceiver 34 using any device such as a transceiver, is used to communicate with other devices or communication networks, such as Ethernet, RAN, WLAN and so on.
- the transceiver 34 may include a receiving unit to implement a receiving function, and a transmitting unit to implement a transmitting function.
- the structure of the mobile terminal shown in FIG. 3 is not limited to the mobile terminal, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
- the mobile terminal may also include a battery, a camera, a Bluetooth module, a global positioning system (global positioning system, GPS) module, etc., and details will not be described here.
- the administrator of the network controller can configure the coordinate information of each site controlled by the network controller and the configuration information corresponding to each site, and provide them to the network controller.
- the coordinate information of each site and the configuration information corresponding to each site are stored by the network controller.
- the network controller executes the solution provided by this application according to the stored coordinate information of each site and the configuration information corresponding to each site. , to complete the registration of the network device.
- the embodiment of the present application does not limit the specific location where the network controller stores the coordinate information of each site and the configuration information corresponding to each site, and it only needs to be available to the network controller.
- the coordinate information of the site can specifically be the center position of the network area to be installed, or the location where the network equipment is installed in the network area to be installed, such as the coordinate information can specifically be the coordinate position of the gateway in the network area to be installed, the wireless The location where the route is located, the location where the switch is located, etc. are not specifically limited in this embodiment of the present invention.
- the specific configuration information corresponding to the site can be: SSID name, radio frequency IP, IP address of the network gateway, host name of the server, whether the network is configured, whether to enable the IP forwarding function, device name of the gateway, port number and service name, network protocol and other information, which are not specifically limited in this embodiment of the present invention.
- the administrator of the network controller can create a site based on a geographic information system (geographic information system, GIS) map on the network controller, to generate coordinate information of each site, and input each site in the network controller Configuration information corresponding to the site.
- GIS geographic information system
- the embodiment of the present application does not limit and repeat the process of creating a site.
- An embodiment of the present application provides a method for registering a network device, and the method may be applied in a process of registering a network device with a network controller.
- the embodiment of the present application takes the interaction between the network device and the network controller as an example to describe the solution provided in the present application in detail.
- the registration method of the network device provided by the present application may include:
- the network device acquires first coordinate information indicating the geographic location of the network device.
- the network device may specifically be a network device such as an AP, a switch, and a gateway.
- the first coordinate information indicates the geographic location
- the first coordinate information may be latitude and longitude coordinates, or in the form of coordinates, or other information indicating coordinates, which is not limited in this embodiment of the present application.
- a network device may obtain the first coordinate information indicating the geographical location of the network device in various ways. The following provides several ways to obtain the first coordinate information indicating the geographical location of the network device, but it does not constitute a specific limited.
- the network device itself does not have a positioning function, and the network device obtains the first coordinate information through a second network device connected to it.
- the second network device is closely connected to the network device, and it can be considered that the two have the same geographical location.
- the second network device may be a mobile terminal with a positioning function.
- the mobile terminal locates and obtains the first coordinate information indicating the geographic location of the mobile terminal and sends it to the network device connected to it.
- the network device receives the first coordinate information sent by the mobile terminal.
- the coordinate information as the first coordinate information indicating the geographic location of the network device, can be implemented with reference to the subsequent process shown in FIG. 8 , which will not be repeated here.
- the second network device may be a device connected to a device with a positioning function.
- the second network device is a wireless access device.
- the second network device receives the first coordinate information obtained by positioning the device connected to it, and sends the first coordinate information to the above-mentioned network device.
- the process of obtaining the first coordinate information by the second network device through the positioning device connected to it may also refer to the process shown in FIG. 8 , which will not be repeated here.
- the network device itself has a positioning function, and in 401, the network device may acquire first coordinate information indicating the geographic location of the network device through a positioning technology.
- the network device sends first coordinate information indicating the geographic location of the network device to the network controller.
- the network device may send the first coordinate information indicating the geographic location of the network device to the network controller according to the domain name of the network controller.
- the domain name can be built into the network device.
- the network device may also obtain an IP address uniquely pointing to the network device, and after obtaining the IP address of the network device, when sending the first coordinate information indicating the geographical location of the network device to the network controller, the IP address may be carried. In order to facilitate the network controller to feed back configuration information to it.
- the network device has a built-in IP address of the network device.
- the network device may dynamically obtain the IP address of the network device through a connected DHCP server.
- the network device may acquire the IP address of the network device input by the user on its interactive interface, or on the interactive interface of the mobile terminal connected to it.
- the network device may send the first coordinate information indicating the geographic location of the network device to the network controller through a connection port with the network controller.
- the network device is the AP device shown in FIG. 1 a .
- the hardware structure of the AP device may be shown in FIG. 5 , which mainly includes a CPU, RAM, a wired network port, and a radio frequency chip.
- the radio frequency chip receives the data sent by the mobile terminal from the air interface side, the CPU processes and analyzes the received data to obtain the first coordinate information of the current geographic location of the mobile terminal, and encapsulates the first coordinate information into the registration report
- the registration message carrying the first coordinate information can be sent to the network controller through the wired network port.
- the network device is the switch device shown in FIG. 1a, and the hardware structure of the switch device may be shown in FIG. 6, which mainly includes a CPU, RAM, a wired network port, and a network forwarding chip.
- the switch After the switch receives the message from the network forwarding chip, it parses the TLV (type length value) through the CPU to obtain the first coordinate information, and encapsulates the first coordinate information into the registration message, carrying the first coordinate
- the information registration message can be sent to the network controller through the wired network port.
- the network controller receives first coordinate information indicating the geographic location of the network device sent by the network device.
- the network controller obtains a first site that matches the received first coordinate information.
- the first site corresponds to the configuration information of the network device.
- the coordinate information of the first site matches the first coordinate information of the network device, and it can be considered that the network device is located at the geographical location of the deployed first site, and can be registered according to the configuration information corresponding to the first site, and then used as the first site Provide network services to users.
- the above coordinate information matching indicates the coordinate error considered when verifying the network device, and the error range comprehensively considers the error of the positioning technology itself and the factor of the site area. For example, if the satellite positioning error is 10 meters (meter, M), and the site area is 10M*10M, then the network controller side can allow the coordinate information error to reach 20 meters.
- the above coordinate information matching may be: an error between the first coordinate information and the coordinate information of the first site is less than or equal to a first threshold.
- the above coordinate information matching may be: the distance between the geographic location indicated by the first coordinate information and the geographic location indicated by the coordinate information of the first site is less than or equal to the second threshold.
- the first threshold and the second threshold may be configured according to actual requirements, which is not limited in this embodiment of the present application.
- the first threshold and the second threshold can be determined according to the error of the positioning technology itself and the site area. The larger the error of the positioning technology and the site area, the larger the setting of the first threshold and the second threshold is required; on the contrary, the positioning technology The smaller the error and site area, the smaller the first threshold and the second threshold are required to be set.
- the coordinate information matching may be: the first site is located in a first area, and the first area includes the geographic location indicated by the first coordinate information.
- the first area may be a regular area or an irregular area centered on the geographic location of the network device to allow errors to radiate outward.
- the first area may be an area to be covered including the geographic location of the network device.
- the network controller sends configuration information of the network device to the network device.
- the network controller sends the stored configuration information corresponding to the first site as the configuration information of the network device to the network device according to the address of the network device (eg, IP address).
- the address of the network device eg, IP address
- the network device receives configuration information of the network device sent by the network controller.
- the network device registers the network device as a site according to the received configuration information.
- the network device can perform network configuration according to the configuration information, and then register the network device as a site, so that other mobile devices can connect to the Internet through the site.
- the network controller verifies the network device through the first coordinate information of the network device, and then sends configuration information for registration to the network device. Since the coordinate information of the site can be used in the network control Pre-configured in the controller, the first coordinate information of the network device can be obtained by the network device in real time before registration. Compared with the current verification of the network device by manually entering the serial number of the network device one by one in the network controller, there is no need for manual verification.
- the network controller records the serial number of the network equipment, thereby improving the registration efficiency of the network equipment.
- the method provided in this embodiment of the present application may further include 408 .
- the network controller sends a verification passing prompt message to the network device.
- the network controller acquires the first site that matches the first coordinate information, it means that the network device is registered successfully, and a verification passing prompt message is sent to the network device to improve user experience.
- the network device receives a prompt message of passing the verification.
- the network device forwards the verification passing prompt information to the mobile terminal, so that the mobile terminal displays a verification passing prompt to the user through the human-computer interaction interface information.
- the method provided in this embodiment of the present application may further include 410.
- the network controller determines whether there is a site whose coordinate information matches the first coordinate information of the network device.
- Verification failure information to prompt the user that the registration failed.
- the user can adjust the operation and re-initiate the registration process.
- the method provided in the embodiment of the present application may further include 412 .
- the network controller receives the serial number of the network device sent by the network device.
- the serial number of the network device is used to uniquely identify the network device
- the network controller associates the first station with the serial number of the network device.
- the site to which the network device belongs is pre-set on the network controller side, and the network controller can judge whether the location of the network device conforms to the plan according to the first coordinate information sent by the network device.
- the network controller determines whether the first site is a preset site to which the network device belongs. If the first site is the preset site to which the network device belongs, go to step 405 . If the first site is not the pre-set site to which the network device belongs, an error reminder is sent, and the network controller administrator modifies the site to which the network device belongs in the network controller, or the administrator of the network device adjusts The geographic location of the network device.
- the identity of the network device can be distinguished through the serial number, thereby facilitating management and maintenance of the network device in the network controller.
- the mobile terminal receives a registration request from a user.
- the mobile terminal may be a mobile terminal used by a network device developer, or a mobile terminal installed with an application with network device registration authority, or other mobile terminals. This application does not limit the type of mobile terminal.
- the mobile terminal is connected to the network device to be registered, and the mobile terminal can connect to the network device to be registered through short-distance communication technologies such as wireless network and bluetooth.
- the network device has a wireless function, and the network device sends a default SSID name after being powered on, and its format may be: fixed prefix+MAC.
- a default SSID name For example, ssid-xxx-default-MAC, where xxx can be the abbreviation of the name of the device manufacturer.
- the network device can provide the mobile terminal with IP address allocation, basic network services such as HTTPS, and login configuration of the mobile terminal.
- the mobile terminal can connect to the network device in a wireless network through the default SSID of the network device.
- the default SSID can be automatically closed or hidden.
- the user can receive the user's registration request through the application program installed in the mobile terminal.
- the registration request can be opened by one button through the button function in the application program, or the user's registration request can be input by voice through the voice function set in the application program.
- the registration request is triggered by setting the key set on the mobile terminal.
- FIG. 9 it is a main menu interface in the mobile terminal, and the user can click the icon 90 of the first application program to input an instruction to open the first application program.
- the mobile terminal After the mobile terminal receives the user's instruction to open the first application, the mobile terminal responds to the instruction to open the first application, and presents the main interface of the first application to the user, as shown in FIG. 10a.
- the mobile terminal may receive the user's registration request 1001 for the first application program, the mobile terminal responds to the registration request, the mobile terminal obtains the first coordinate information of the current geographic location, the mobile terminal sends the first coordinate information to the network device, and the second A coordinate information indicates to register the network device as a station.
- the mobile terminal acquires first coordinate information of the current geographic location, and sends the first coordinate information of the current geographic location to the network device.
- the technology used by the mobile terminal to obtain coordinate information includes but is not limited to: satellite positioning technology (such as GPS, Beidou, Galileo, etc.), mobile base station positioning technology, or others.
- satellite positioning technology such as GPS, Beidou, Galileo, etc.
- mobile base station positioning technology or others.
- the mobile terminal may send the first coordinate information in an extended protocol message through an extended protocol communicated with the network device.
- the extension protocol adopted by the mobile terminal and the network device to transmit the coordinate information may be diversified.
- the HTTPS protocol may be used to carry the coordinate information of the geographic location of the network device in a uniform resource locator (URL).
- the SFTP protocol can also be used to write the coordinate information into the configuration file, and the configuration file is transmitted to the network device through the SFTP protocol.
- the mobile terminal may sequentially connect to each SSID in a polling manner, thereby transmitting the first coordinate information to each network device.
- the mobile terminal can connect to SSID1 first, and send the first coordinate information of the current geographic location obtained by the mobile terminal to the network device 1 corresponding to SSID1.
- the network device 1 After successfully receiving the first coordinate information sent by the mobile terminal, the network device 1 feeds back information to the mobile terminal, and the mobile terminal responds to the feedback information, and then connects to SSID2, and sends the first coordinate information of the current geographic location acquired by the mobile terminal to Then send it to the network device 2 corresponding to SSID2.
- the feedback information may specifically include information on whether the first coordinate information is received successfully. If the first coordinate information is sent to the network device 1 corresponding to SSID1, and the content in the feedback information is that the first coordinate information is not received successfully, then the first coordinate information is sent to SSID2 After the corresponding network device 2 sends the first coordinate information, it resends the first coordinate information to the network device 1 corresponding to SSID1, that is, uses polling to connect to each SSID in turn, and sends the first coordinate of the current geographic location of the mobile terminal information until all network devices successfully receive the first coordinate information of the current geographical location of the mobile terminal.
- this application does not specifically limit the order of connecting SSIDs, that is, this embodiment can perform connections according to the order of SSID signal strength from high to low, or according to the order of SSID names.
- the network device determines the received first coordinate information as coordinate information indicating the geographic location of the network device.
- the network device can execute the method shown in FIG. 4 or FIG. 7 to realize the registration of the network device.
- the network device may also send the verification passing prompt information to the mobile terminal, and the mobile terminal may display the verification passing prompt information.
- the mobile terminal may present an interface as shown in FIG. 10 b to the user, and the interface includes verification passing prompt information 1002 .
- the network device may obtain the first coordinate information through a second network device capable of communicating with a device capable of positioning.
- the second network device can obtain the first coordinate information through the process of 801 to 803, and then send it to a network device that does not have the ability to communicate with a device with a positioning function, and the network device will receive the first coordinate information as Coordinate information indicating the geographic location of the network device.
- network devices that support wireless communication technology can obtain the first coordinate information indicating the geographic location of the network device through a mobile terminal, while network devices that do not have wireless communication technology capabilities (such as switches) ), a network device (such as an AP device) with wireless communication technology capability may obtain the first coordinate information through a mobile terminal, and then pass the obtained first coordinate information to a network device without wireless communication technology capability through an extended protocol. Similarly, the switch may also transmit the received first coordinate information to other network devices through the extended protocol.
- a network device such as an AP device with wireless communication technology capability may obtain the first coordinate information through a mobile terminal, and then pass the obtained first coordinate information to a network device without wireless communication technology capability through an extended protocol.
- the switch may also transmit the received first coordinate information to other network devices through the extended protocol.
- the extended protocol for the AP device to transmit the first coordinate information to the switch can adopt the LLDP protocol, in which the TLV field is extended, as shown in Table 1 below, and the TLV Type is used to indicate the longitude or latitude in the first coordinate information, such as 001 represents longitude, 002 represents latitude, TLV Length represents the data length of longitude or latitude, and TLV Value represents the specific value of longitude or latitude.
- each network element such as a server and a terminal, includes a corresponding hardware structure and/or software module for performing each function.
- the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
- the embodiment of the present application can divide the functional modules of the server and the terminal according to the above method examples.
- each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module.
- the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
- FIG. 11a shows a possible composition diagram of the network controller involved in the above and embodiments.
- the network controller may include: A receiving unit 71 , an acquiring unit 72 , and a sending unit 73 .
- the first receiving unit 71 is configured to support the network controller to execute step 403 in the network device registration method shown in FIG. 4 or FIG. 7 .
- the acquiring unit 72 is configured to support the network controller to execute step 404 in the method for registering a network device shown in FIG. 4 or FIG. 7 .
- the sending unit 73 is configured to support the network controller to execute step 405 in the method for registering a network device shown in FIG. 4 or FIG. 7 .
- the network controller may further include a second receiving unit 74 and a storage unit 75 .
- the second receiving unit 74 is configured to receive coordinate information of the first site and configuration information corresponding to the first site.
- the storage unit 75 is configured to store coordinate information of the first site and configuration information corresponding to the first site.
- the first receiving unit 71 is also configured to receive the serial number of the network device sent by the network device;
- the network controller also includes a processing unit 76 for associating the first station with the serial number received by the first receiving unit 71 .
- the sending unit 73 is further configured to send verification passing prompt information to the network device.
- the network controller provided in the embodiment of the present application is used to execute the registration method of the above network device, so the same effect as the registration of the above network device can be achieved.
- FIG. 12 shows a possible composition diagram of the first network device involved in the above embodiment.
- the first network device includes: an acquiring unit 81 , a sending unit 82 , a receiving unit 83 , and a registering unit 84 .
- the obtaining unit 81 is configured to support the network device to execute step 401 in the registration method of the network device shown in FIG. 4 or FIG. 7 .
- the sending unit 82 is configured to support the network device to execute step 402 in the network device registration method shown in FIG. 4 or FIG. 7 .
- the receiving unit 83 is configured to support the network device to execute step 406 in the network device registration method shown in FIG. 4 or FIG. 7 .
- the registration unit 84 is configured to support the network device to execute step 407 in the method for registering the network device shown in FIG. 4 or FIG. 7 .
- the acquiring unit 81 is specifically configured to receive the first coordinate information sent by the second network device, the second network device is connected to the first network device, and the first coordinate information is the Coordinate information of the current geographic location of the second network device.
- the obtaining unit 81 is specifically configured to receive an extended protocol message sent by the second network device through an extended protocol, the extended protocol message includes the first coordinate information, and the extended protocol includes an extended http, https, sftp or lldp.
- the sending unit 82 is further configured to send the serial number of the first network device to the network controller.
- FIG. 13 shows a possible composition diagram of the mobile terminal involved in the above and embodiments.
- the mobile terminal may include: a receiving unit 91 , an acquisition unit 92 , and a sending unit 93 .
- the receiving unit 91 is configured to support the mobile terminal to execute step 801 in the network device registration method shown in FIG. 8 .
- the acquiring unit 92 is configured to support the mobile terminal to execute step 802 in the network device registration method shown in FIG. 8 .
- the sending unit 93 is configured to support the mobile terminal to execute step 803 in the network device registration method shown in FIG. 8 .
- the disclosed devices and methods may be implemented in other ways.
- the device embodiments described above are only illustrative.
- the division of modules or units is only a logical function division, and there may be other division methods in actual implementation.
- multiple units or components can be Incorporation or may be integrated into another device, or some features may be omitted, or not implemented.
- the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
- the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places . Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
- the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请公开了一种网络设备的注册方法、设备及系统,涉及通信技术领域,解决了网络设备注册效率低的问题。具体方案为:首先网络控制器根据指示网络设备地理位置的第一坐标信息,获取与该第一坐标信息匹配的第一站点,第一站点对应该网络设备的配置信息;然后,网络控制器向网络设备发送网络设备的配置信息,由网络设备按照该配置信息进行注册。
Description
本申请要求于2021年5月10日提交国家知识产权局、申请号为202110507850.0、申请名称为“网络设备的注册方法、设备及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及通信技术领域,尤其涉及一种网络设备的注册方法、设备及系统。
随着云技术以及软件定义网络(software-defined networking,SDN)技术的兴起,在零售门店,连锁酒店等中小型网络场景中,通常这类客户会选择租用部署在云端的网络管理服务(即网络控制器),以更低的成本获取到更好的网络服务。
用户本地的网络设备(例如图1a示意的网络架构场景中的访问接入点(access point,AP)、交换机设备)需在网络控制器侧进行注册,以使得网络设备获取其所在位置配置的站点的配置信息,网络设备根据该配置信息配置自身的网络完成注册,以实现网络设备作为站点访问网络控制器,获取网络服务。
目前,网络设备注册前,往往需要人工在网络控制器侧先行录入网络设备的序列号作为站点信息,然后网络设备注册时,自动向网络控制器发起携带其序列号的注册申请,网络控制器在接收到该注册申请后对序列号进行校验,若对该序列号校验成功,则下发与该序列号对应的配置信息给网络设备,使得网络设备根据接收到的配置信息完成注册。
但是,网络设备数量庞大,人工在网络控制器逐台录入网络设备的序列号,操作繁琐易出错且效率较低,从而导致网络设备注册效率低。
发明内容
本申请实施例提供一种网络设备的注册方法、设备及系统,解决了网络设备注册效率低的问题。
为达到上述目的,本申请实施例采用如下技术方案:
第一方面,提供一种网络设备的注册方法,应用于网络控制器,该方法可以包括:网络控制器接收网络设备发送的指示该网络设备地理位置的第一坐标信息;网络控制器获取与第一坐标信息匹配的第一站点,最后,网络控制器向网络设备发送网络设备的配置信息,该配置信息指示将该网络设备注册作为站点。其中,第一站点对应网络设备的配置信息。
通过本申请提供的网络设备的注册方法,网络控制器通过网络设备的第一坐标信息对网络设备进行验证,进而向网络设备发送用于注册的配置信息,由于站点的坐标信息可以在网络控制器中预先配置,网络设备的第一坐标信息可以由网络设备在注册前实时获取,与目前通过人工在网络控制器逐台录入网络设备的序列号对网络设备进 行验证相比,就无需人工在网络控制器录入网络设备的序列号,从而提高了网络设备的注册效率。
在一种可能的设计中,上述坐标信息匹配可以包括:第一坐标信息与第一站点的坐标信息的误差小于或等于第一阈值;或者,第一坐标信息指示的地理位置与第一站点的坐标信息指示的地理位置的距离小于或等于第二阈值;或者,第一站点位于第一区域内,第一区域包括第一坐标信息指示的地理位置。根据上述坐标信息匹配获取与第一坐标信息匹配的第一站点,无需严格匹配坐标信息,综合考虑了位置误差,提高了方案的可实现性。
在一种可能的设计中,该方法还可以包括:网络控制器接收并存储第一站点的坐标信息及第一站点对应的配置信息。通过该实现方式,预先在网络控制器中存储其管理的第一站点的坐标信息及第一站点对应的配置信息,以便于网络设备采用第一坐标信息,按照本申请提供的方案进行注册。
在一种可能的设计中,该方法还可以包括:网络控制器接收网络设备发送的该网络设备的序列号;关联第一站点与该序列号。便于通过该序列号,管理作为站点的该网络设备。
在一种可能的设计中,该方法还可以包括:网络控制器向网络设备发送验证通过提示信息,以便于网络设备的用户直观获知已完成验证,可以按照接收的配置信息进行注册。
在另一种可能的实现方式中,上述验证通过提示信息可以包含上述第一站点对应的配置信息。
第二方面,提供另一种网络设备的注册方法,应用于第一网络设备,该方法可以包括:第一网络设备获取指示第一网络设备地理位置的第一坐标信息;第一网络设备向网络控制器发送该第一坐标信息;第一网络设备接收网络控制器发送的第一站点对应的第一网络设备的配置信息,该第一坐标信息与第一站点的坐标信息匹配;第一网络设备根据接收到的配置信息,将第一网络设备注册作为站点。
通过本申请提供的网络设备的注册方法,第一网络设备获取指示其地理位置的第一坐标信息后发送给网络控制器,并接收网络控制器发送的与该第一坐标信息匹配的第一站点对应的第一网络设备的配置信息,由于第一站点的坐标信息可以在网络控制器中预先配置,第一网络设备的第一坐标信息可以由网络设备在注册前实时获取,与目前通过人工在网络控制器逐台录入网络设备的序列号对网络设备进行验证相比,就无需通过人工在网络控制器录入网络设备的序列号,从而提高了网络设备的注册效率。
在一种可能的设计中,第一网络设备获取指示网络设备地理位置的第一坐标信息,可以包括:第一网络设备接收第二网络设备发送的第一坐标信息,该第二网络设备连接第一网络设备,该第一坐标信息为第二网络设备当前所处地理位置的坐标信息。第一网络设备通过第二网络设备获取地理位置的第一坐标信息,避免第一网络设备自己定位带来的成本。
在一种可能的设计中,第二网络设备可以为具有定位技术的网络设备。
例如,第二网络设备可以为移动终端,移动终端可以通过无线、或者有线的方式 与网络设备连接,提高方案的可扩展性。
在一种可能的设计中,第二网络设备可以为可以与具有定位技术的网络设备连接的网络设备。
在一种可能的设计中,第一网络设备接收移动终端发送的第一坐标信息,可以包括:第一网络设备接收第二网络设备通过扩展协议发送的扩展协议报文,该扩展协议报文包括该第一坐标信息。
在一种可能的设计中,第二网络设备可以为无线接入设备或移动终端。
在一种可能的设计中,第一网络设备支持无线通信,第二网络设备为移动终端,移动终端可以连接网络设备的默认服务集标识(service set identifier,SSID),连接网络设备。
例如,第一网络设备支持无线通信,第二网络设备为移动终端,该扩展协议可以包括:超文本传输协议(hypertext transfer protocol,HTTP),超文本传输安全协议(hyper text transfer protocol over securesocket layer,HTTPS),或者,安全文件传送协议(secure file transfer protocol,SFTP)。
例如,第一网络设备为交换机,第二网络设备为无线接入设备,该扩展协议可以为链路层发现协议(link layer discovery protocol,LLDP)。
在一种可能的设计中,上述坐标信息匹配可以包括:第一坐标信息与第一站点的坐标信息的误差小于或等于第一阈值;或者,第一坐标信息指示的地理位置与第一站点的坐标信息指示的地理位置的距离小于或等于第二阈值;或者,第一站点位于第一区域内,第一区域包括第一坐标信息指示的地理位置。与上述坐标信息匹配的第一站点,无需严格匹配坐标信息,综合考虑了位置误差,提高了方案的可实现性。
在一种可能的设计中,第一网络设备获取与网络控制器通信的网络协议(internet protocol,IP)地址,该IP地址为第一网络设备的地址,第一网络设备向网络控制器发送坐标信息时,还可以携带该IP地址。
在一种可能的实现方式中,第一网络设备可以通过动态主机配置协议(dynamic host configuration protocol,DHCP)获取与网络控制器通信的IP地址,或者,第一网络设备可以通过人机交互界面,获取用户输入的与网络控制器通信的IP地址。
在一种可能的实现方式中,第一网络设备通过网络控制器的域名,向网络控制器发送指示第一网络设备地理位置的第一坐标信息。
在一种可能的设计中,该方法还可以包括:第一网络设备向网络控制器发送第一网络设备的序列号。将第一网络设备的序列号发送给网络控制器,使得网络控制器关联第一站点与所述序列号,以便于通过该序列号,管理作为站点的该第一网络设备。
第三方面,提供再一种网络设备的注册方法,应用于移动终端,该方法可以包括:移动终端接收用户的注册请求;响应于注册请求,移动终端获取当前所处地理位置的第一坐标信息;响应于注册请求,移动终端向网络设备发送获取的第一坐标信息,该第一坐标信息指示将网络设备注册作为站点。
通过本申请提供的网络设备的注册方法,以移动终端所处的地理位置的第一坐标信息作为网络设备的坐标信息,使得网络设备通过该第一坐标信息进行验证,而无需通过人工在网络控制器录入网络设备的序列号,从而提高了网络设备的注册效率。
在一种可能的设计中,移动终端连接网络设备的默认SSID。
在一种可能的设计中,移动终端向网络设备发送第一坐标信息,可以包括:移动终端向网络设备发送扩展协议报文,该扩展协议报文包括第一坐标信息。该扩展协议可以包括扩展的http,https,SFTP或LLDP。
第四方面,提供一种网络控制器,该网络控制器用于执行上述第一方面提供的一种网络设备的注册方法。本申请可以根据上述第一方面提供的方法,对该网络控制器进行功能模块的划分。例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。示例性的,本申请可以按照功能将该网络控制器划分为第一接收单元、获取单元和发送单元、第二接收单元、处理单元等。上述划分的各个功能模块执行的可能的技术方案和有益效果的描述均可以参考上述第一方面或其相应的可能的设计提供的技术方案,此处不再赘述。
在一种可能的设计中,该网络控制器包括:存储器和一个或多个处理器,该存储器和处理器耦合。该存储器用于存储计算机指令,该处理器用于调用该计算机指令,以执行如第一方面及其任一种可能的设计方式提供的任一种方法。
第五方面,提供一种第一网络设备,该第一网络设备用于执行上述第二方面提供的一种网络设备的注册方法。本申请可以根据上述第二方面提供的方法,对该第一网络设备进行功能模块的划分。例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。示例性的,本申请可以按照功能将该第一网络设备划分为获取单元、发送单元和注册单元等。上述划分的各个功能模块执行的可能的技术方案和有益效果的描述均可以参考上述第二方面或其相应的可能的设计提供的技术方案,此处不再赘述。
在一种可能的设计中,该第一网络设备包括:存储器和一个或多个处理器,该存储器和处理器耦合。该存储器用于存储计算机指令,该处理器用于调用该计算机指令,以执行如第二方面及其任一种可能的设计方式提供的任一种方法。
第六方面,提供一种移动终端,该移动终端用于执行上述第三方面提供的一种网络设备的注册方法。本申请可以根据上述第三方面提供的方法,对该移动终端进行功能模块的划分。例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。示例性的,本申请可以按照功能将该移动终端划分为接收单元、获取单元和发送单元等。上述划分的各个功能模块执行的可能的技术方案和有益效果的描述均可以参考上述第三方面或其相应的可能的设计提供的技术方案,此处不再赘述。
在一种可能的设计中,该移动终端包括:存储器和一个或多个处理器,该存储器和处理器耦合。该存储器用于存储计算机指令,该处理器用于调用该计算机指令,以执行如第三方面及其任一种可能的设计方式提供的任一种方法。
第七方面,提供一种网络设备的注册系统,该系统可以包括:网络设备、网络控制器。其中:
网络设备,用于向网络控制器发送指示网络设备地理位置的第一坐标信息。
网络控制器,用于获取与第一坐标信息匹配的第一站点,该第一站点对应网络设备的配置信息,向网络设备发送网络设备的配置信息。
网络设备,还用于接收网络控制器发送的网络设备的配置信息,根据接收的配置信息,将网络设备注册作为站点。
在一种可能的设计中,该系统还可以包括移动终端,该移动终端连接网络设备;移动终端用于,接收用户的注册请求;响应于该注册请求,获取移动终端所处地理位置的第一坐标信息,并向网络设备发送所述第一坐标信息。
第八方面,提供一种网络设备的注册系统,该系统可以包括:第一通信设备、第二通信设备以及第三通信设备。其中,第一通信设备用于执行上述第一方面提供的方法,第二通信设备用于执行上述第二方面提供的方法,第三通信设备用于执行上述第三方面提供的方法。
第九方面,提供一种计算机存储介质,用于存储计算机程序,当该计算机程序在计算机上运行时,使得上述任一方面中的任一种可能的实现方式提供的任一种方法被执行。
第十方面,本申请提供了一种计算机程序产品,当其在计算机上运行时,使得上述任一方面中的任一种可能的实现方式提供的任一种方法被执行。
图1a为一种的网络架构示意图;
图1b为本申请提供的一种网络设备的注册系统架构示意图;
图1c为本申请提供的另一种网络设备的注册系统架构示意图;
图1d为本申请提供的一种网络设备的注册运作流程图;
图2为本申请实施例提供的网络控制器的组成示意图;
图3为本申请实施例提供的一种移动终端的组成示意图;
图4为本申请实施例提供的一种网络设备的注册方法的流程示意图;
图5为本申请实施例提供的AP设备的硬件结构示意图;
图6为本申请实施例提供的交换机设备的硬件结构示意图;
图7为本申请实施例提供的另一网络设备的注册方法的流程示意图;
图8为本申请实施例提供的又一网络设备的注册方法的流程示意图;
图9为本申请实施例提供的一种示例性的移动终端的主菜单界面的示意图;
图10a为本申请实施例提供的一种示例性的移动终端的注册请求界面的示意图;
图10b为本申请实施例提供的一种示例性的移动终端的验证通过界面的示意图;
图11a为本申请实施例提供的一种网络控制器的结构示意图;
图11b为本申请实施例提供的另一种网络控制器的结构示意图;
图12为本申请实施例提供的一种第一网络设备的结构示意图;
图13为本申请实施例提供的一种移动终端的结构示意图。
本申请说明书和权利要求书及上述附图中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而不是用于限定特定顺序。
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的” 或者“例如”等词旨在以具体方式呈现相关概念,便于理解。
在本申请的描述中,除非另有说明,“/”表示前后关联的对象是一种“或”的关系,例如,A/B可以表示A或B;本申请中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,其中A,B可以是单数或者复数。并且,在本申请的描述中,除非另有说明,“多个”是指两个或多于两个。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。
在本申请实施例中,至少一个还可以描述为一个或多个,多个可以是两个、三个、四个或者更多个,本申请不做限制。
在描述本申请实施例方案之前,此处先对本申请涉及的名词进行解释。
站点,是指一个网络中部署于用户侧,向用户提供服务的设备。站点是一种角色或者功能上的描述,其本质是网络设备。例如,站点可以是图1a中示意的AP设备或者交换机设备。
网络设备的注册,是指网络设备通过申请,从网络控制器获取其作为站点的配置信息,进而按照获取的配置信息进行上线作为站点的过程。
如前所述,网络设备注册前,往往需要人工在网络控制器侧先行录入网络设备的序列号到对应的站点,然后网络设备在进行注册时,自动向网络控制器发起注册申请,网络控制器在接收到该注册申请后对序列号进行校验,若对该序列号校验成功,则下发该序列号对应的配置信息给网络设备,使得网络设备根据配置信息进行注册。但是,网络设备数量庞大,人工在网络控制器逐台录入网络设备的序列号,操作繁琐易出错且效率较低,从而导致网络设备注册效率低。
现也有免序列号录入的技术方案,比如在DHCP服务器(通常由出口网关设备担任)上,将站点的专属信息写入到DHCP Option中,此专属信息由网络控制器生成,代表站点的唯一性。这样,网络设备在DHCP服务器上自动获取自己IP的同时,就可以获取到自己所属的站点的专属信息。网络设备在进行注册时,将获取到的自己所属的站点的专属信息上报到控制器,控制器根据此专属信息自动将该网络设备归属到对应站点,然后将该站点的配置信息下发给网络设备,用于网络设备注册。但是,通过在DHCP Option中配置站点的专属信息用于网络设备获取,依赖于DHCP服务器的可配置性,存在场景限定。
鉴于此,本申请提供一种网络设备的注册方法,其基本原理是:网络设备基于指示其地理位置的第一坐标信息向网络控制器发起注册,网络控制器根据接收的第一坐标信息及存储的站点的坐标信息,对网络设备进行验证,获取与接收到的第一坐标信息匹配的第一站点,然后向网络设备发送第一站点对应的该网络设备的配置信息。由于第一站点的坐标信息可以在网络控制器中预先配置,网络设备的第一坐标信息可以由网络设备在注册前实时获取,这样,无需人工在网络控制器逐台录入网络设备的序列号就可以实现网络设备注册,从而提高了网络设备的注册效率。
下面将结合附图1b和图1c对本申请实施例的实施方式进行详细描述。
本申请实施例提供的方案可以应用于图1b所示的网络设备的注册系统中。如图1b所示,该网络设备的注册系统可以包括:网络控制器11和至少一个网络设备12。
其中,网络设备12通过注册流程,向网络控制器11请求其作为站点的配置信息。网络控制器11在注册流程中,对网络设备12进行验证,在其验证通过后,向其下发网络设备12所处位置部署的站点对应的配置信息。网络设备12在获取到配置信息后,按照获取的配置信息配置网络设备12,使网络设备12作为站点向用户提供网络服务。
进一步的,如图1c所示,该网络设备的注册系统还可以包括移动终端13和卫星定位系统14。
其中,移动终端13可以具有定位功能,移动终端13可以通过卫星定位系统14获取所处地理位置的坐标信息。移动终端13可以连接网络设备12,将获取的坐标信息提供给网络设备12,由于移动终端13与网络设备12的地理位置很近,可以将移动终端13的坐标信息作为网络设备12的坐标信息。网络设备12可以根据移动终端13提供的坐标信息,按照本申请提供的方案,向网络控制器11申请注册。
其中,该移动终端13可以手机、平板电脑、笔记本电脑、超级移动个人计算机(uitra-mobie personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等等。作为一种实施例,本申请的网络架构包括的移动终端13可以为智能手机。
示例性的,图1d示意了网络设备12向网络控制器11发起的注册流程。
1.网络控制器11接收网络控制器的管理员发送的站点的坐标信息及站点对应的配置信息。
网络控制器11可以分别将每个站点的坐标信息及每个站点对应的配置信息对应存储。
具体的,网络控制器11可将每个站点的坐标信息及每个站点对应的配置信息对应存储到本地,也可以将每个站点的坐标信息及每个站点对应的配置信息存储到其他设备(例如,外部存储设备、云端存储设备或者其他)。
2.现场安装人员对某一网络设备12进行安装并上电。
3.现场安装人员操作移动终端13连接网络设备12。
其中,移动终端13可以通过网络设备12开启的默认SSID连接网络设备12,或者,移动终端13可以通过蓝牙等近距离通讯技术连接网络设备12。
4.现场安装人员操作移动终端13发起该网络设备12的注册请求。
5.移动终端13通过定位获取其当前所处地理位置的坐标信息。
其中,移动终端13可以通过卫星定位技术或移动基站定位等技术,获取其当前所处地理位置的坐标信息。
6.移动终端13将其获取的当前所处地理位置的坐标信息发送给网络设备12。
移动终端13可以通过蓝牙、无线网等近距离通讯技术,将其获取的当前所处地理位置的坐标信息发送给网络设备12。
7.网络设备12向网络控制器11发送坐标信息以发起注册。
其中,网络设备12与网络控制器11之间具体可以通过有线网进行通讯,网络设备12在接收到移动终端13当前所处地理位置的坐标信息之后,获取网络设备12的 IP地址,然后通过该IP地址向网络控制器11发送指示网络设备地理位置的坐标信息,该坐标信息即通过移动终端13获取的当前所处地理位置的坐标信息。
8.网络控制器11根据该坐标信息对网络设备12进行验证。
9.网络控制器11验证网络设备12通过后,下发与网络设备12的坐标匹配的站点对应的配置信息,并回应上线成功。
图2为本申请实施例提供的一种通信设备的组成示意图,该通信设备可以为网络控制器或网络设备。如图2所示,该通信设备可以包括至少一个处理器21,存储器22、通信接口23、通信总线24。
下面结合图2对通信设备的各个构成部件进行具体的介绍:
处理器21是通信设备的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器21是一个中央处理器(central processing unit,CPU),也可以是特定集成电路(application specific integrated circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA)。
其中,处理器21可以通过运行或执行存储在存储器22内的软件程序,以及调用存储在存储器22内的数据,执行通信设备作为网络控制器或者网络设备的各种功能。
在具体的实现中,作为一种实施例,处理器21可以包括一个或多个CPU,例如图2中所示的CPU0和CPU1。
在具体实现中,作为一种实施例,通信设备可以包括多个处理器,这些处理器中的每一个可以是一个单核处理器(single-CPU),也可以是一个多核处理器(multi-CPU)。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
存储器22可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器22可以是独立存在,通过通信总线24与处理器21相连接。存储器22也可以和处理器21集成在一起。
其中,所述存储器22用于存储执行本申请方案的软件程序,并由处理器21来控制执行。
通信接口23,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。通信接口23可以包括接收单元实现接收功能,以及发送单元实现发送功能。
通信总线24,可以是工业标准体系结构(industry standard architecture,ISA) 总线、外部设备互连(peripheral component,PCI)总线或扩展工业标准体系结构(extended industry standard architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图2中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
图2中示出的设备结构并不构成对网络控制器的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
图3为本申请实施例提供的一种移动终端的组成示意图,如图3所示,移动终端可以包括至少一个处理器31、存储器32、显示器33、收发器34。
下面结合图3对移动终端的各个构成部件进行具体的介绍:
处理器31是终端的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器31是一个CPU,也可以是ASIC,或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个DSP,或,一个或者多个FPGA。其中,处理器31可以通过运行或执行存储在存储器32内的软件程序,以及调用存储在存储器32内的数据,执行终端的各种功能。
在具体的实现中,作为一种实施例,处理器31可以包括一个或多个CPU,例如图3中所示的CPU0和CPU1。
在具体实现中,作为一种实施例,移动终端可以包括多个处理器,这些处理器中的每一个可以是一个single-CPU处理器,也可以是一个multi-CPU处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
存储器32可以是ROM或可存储静态信息和指令的其他类型的静态存储设备,RAM或者可存储信息和指令的其他类型的动态存储设备,也可以是EEPROM、CD-ROM或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器32可以是独立存在,通过通信总线34与处理器31相连接。存储器32也可以和处理器31集成在一起。其中,所述存储器32用于存储执行本申请方案的软件程序,并由处理器31来控制执行。
显示器33可用于显示由用户输入的信息或提供给用户的信息以及终端的各种菜单。显示器33可包括显示面板,可选的,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板。
收发器34,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,RAN,WLAN等。收发器34可以包括接收单元实现接收功能,以及发送单元实现发送功能。
图3中示出的移动终端结构并不构成对移动终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。尽管未示出,移动终端还可以包括电池、摄像头、蓝牙模块、全球定位系统(global positioning system,GPS)模块等,在此不再赘述。
在网络进行部署时,网络控制器的管理员可以配置该网络控制器控制的各个站点的坐标信息以及各个站点对应的配置信息,并提供给网络控制器,网络控制器接收到管理员输入的各个站点的坐标信息以及各个站点对应的配置信息,由网络控制器存储,在网络设备请求注册时,网络控制器根据存储的各个站点的坐标信息以及各个站点对应的配置信息,执行本申请提供的方案,完成网络设备的注册。
其中,网络控制器可以将一个站点的坐标信息与该站点对应的配置信息对应存储。
需要说明的是,本申请实施例对于网络控制器存储各个站点的坐标信息以及各个站点对应的配置信息的具体位置不予限定,只需实现网络控制器可获取即可。
其中,站点的坐标信息具体可以是待安装网络区域的中心位置、或者是待安装网络区域内网络设备所安装的位置,如该坐标信息具体可为待安装网络区域内网关所在的坐标位置、无线路由所在的位置、交换机所在的位置等,本发明实施例不做具体限定。站点对应的配置信息具体可以为:SSID名称、射频IP、网络网关的IP地址、服务器的主机名、网络是否被配置、是否开启IP转发功能、网关的设备名、端口号和服务名称、网络协议等信息,本发明实施例不做具体限定。
示例性的,网络控制器的管理员可以在网络控制器上,基于地理信息系统(geographic information system,GIS)地图创建站点,以生成每个站点的坐标信息,并在网络控制器中输入每个站点对应的配置信息。本申请实施例对于创建站点的过程不予限定以及赘述。
在网络部署成功后,用户拿到本地的网络设备后,上电并进行注册,在注册成功后,在用户本地的网络设备作为该位置的站点,通过网络控制器向用户提供更好的网络服务。
本申请实施例提供一种网络设备的注册方法,该方法可以应用于网络设备向网络控制器注册的过程中。本申请实施例以网络设备与网络控制器的交互为例,对本申请提供的方案进行详细说明。
如图4所示,本申请提供的网络设备的注册方法可以包括:
401、网络设备获取指示网络设备地理位置的第一坐标信息。
在本实施例中,网络设备具体可以为AP、交换机以及网关等网络设备。
其中,第一坐标信息指示地理位置,该第一坐标信息可以为经纬度坐标,或者坐标形式,或者其他指示坐标的信息,本申请实施例对此不予限定。
可选的,网络设备可以通过多种方式获取指示该网络设备的地理位置的第一坐标信息,下面提供几种获取指示该网络设备的地理位置的第一坐标信息的方式,但并不构成具体限定。
一种可能的实现方式中,网络设备本身不具备定位功能,网络设备通过与其连接的第二网络设备获取该第一坐标信息。其中,该第二网络设备与该网络设备近距离连接,可以认为两者地理位置相同。
例如,第二网络设备可以为具备定位功能的移动终端,由移动终端定位获取指示该移动终端的地理位置的第一坐标信息并发送给与其连接的网络设备,网络设备接收移动终端发送的第一坐标信息,作为指示网络设备地理位置的第一坐标信息,其具体实现可以参照后续图8示意的过程,此处不再赘述。
例如,第二网络设备可以为与具备定位功能的设备连接的设备。比如,第二网络设备为无线接入设备。第二网络设备接收与其连接的设备定位获取到的第一坐标信息,将该第一坐标信息发送给上述网络设备。第二网络设备通过与其连接的定位设备获取第一坐标信息的过程,也可以参照图8示意的过程,此处不再赘述。
另一种可能的实现方式中,网络设备自己具备定位功能,401中网络设备可以通过定位技术获取指示网络设备地理位置的第一坐标信息。
402、网络设备向网络控制器发送指示网络设备地理位置的第一坐标信息。
具体的,在402中,网络设备可以按照网络控制器的域名,向网络控制器发送指示网络设备地理位置的第一坐标信息。该域名可以内置于网络设备中。
其中,网络设备还可以获取用于唯一指向该网络设备IP地址,在获取到网络设备的IP地址之后,向网络控制器发送指示网络设备地理位置的第一坐标信息时,可以携带该IP地址,以便于网络控制器向其反馈配置信息。
一种可能的实现方式中,网络设备内部内置了网络设备IP地址。
一种可能的实现方式中,网络设备可通过连接的DHCP服务器动态获取该网络设备的IP地址。或者,网络设备可以获取用户在其交互界面,或者,在与其连接的移动终端的交互界面中输入的该网络设备的IP地址。
进一步的,网络设备可以通过与网络控制器的连接端口,向网络控制器发送指示网络设备地理位置的第一坐标信息。
作为一种实施例,网络设备为图1a中示意的AP设备,该AP设备的硬件结构可以如图5所示,主要包括CPU,RAM,有线网口,射频芯片。射频芯片可以从空口侧收到移动终端发送的数据后,由CPU对接收到的数据进行处理解析得到移动终端当前所处地理位置的第一坐标信息,并将该第一坐标信息封装到注册报文中,携带第一坐标信息的注册报文可通过有线网口发送到网络控制器。
作为一种实施例,网络设备为图1a中示意的交换机设备,交换机设备的硬件结构可以如图6所示,主要包括CPU,RAM,有线网口,网络转发芯片。交换机从网络转发芯片收到报文后,通过CPU解析TLV(type lenght value,类型长度值),得出第一坐标信息,并将该第一坐标信息封装到注册报文中,携带第一坐标信息的注册报文可通过有线网口发送到网络控制器。
403、网络控制器接收网络设备发送的指示网络设备地理位置的第一坐标信息。
404、网络控制器获取与接收到的第一坐标信息匹配的第一站点。
其中,第一站点对应该网络设备的配置信息。
应理解,第一站点的坐标信息与网络设备的第一坐标信息匹配,可以认为该网络设备位于部署的第一站点的地理位置,可以按照第一站点对应的配置信息注册,进而作为第一站点向用户提供网络服务。
上述坐标信息匹配指示对网络设备验证时考虑的坐标误差,此误差范围综合考虑定位技术本身的误差以及站点面积的因素。例如,卫星定位误差10米(meter,M),站点面积为10M*10M,则网络控制器侧可允许坐标信息误差达到20米。
一种可能的实现方式中,上述坐标信息匹配可以为:第一坐标信息与第一站点的坐标信息的误差小于或等于第一阈值。
另一种可能的实现方式中,上述坐标信息匹配可以为:第一坐标信息指示的地理位置与第一站点的坐标信息指示的地理位置的距离小于或等于第二阈值。
其中,第一阈值和第二阈值可以根据实际需求配置,本申请实施例对此不予限定。示例性的,第一阈值和第二阈值可以根据定位技术本身的误差以及站点面积确定,定位技术的误差和站点面积越大,要求第一阈值和第二阈值设置的越大;相反,定位技术的误差和站点面积越小,要求第一阈值和第二阈值设置的也就越小。
再一种可能的实现方式中,上述坐标信息匹配可以为:第一站点位于第一区域内,第一区域包括上述第一坐标信息指示的地理位置。
例如,第一区域可以为以网络设备的地理位置为中心,以允许误差向外辐射的规则区域或者非规则区域。
例如,第一区域可以为包含网络设备的地理位置的待覆盖区域。
例如,对某个大型超市的网络场景中,该大型超市所在的区域A内设置了站点B,该大型超市所在的区域A为待覆盖区域,假设某一网络设备位于区域A中的C点,则该网络设备C点的第一坐标信息与站点B的坐标信息匹配。
405、网络控制器向网络设备发送网络设备的配置信息。
具体的,405中网络控制器将存储的第一站点对应的配置信息,作为该网络设备的配置信息,按照网络设备的地址(例如IP地址),发送给网络设备。
406、网络设备接收网络控制器发送的该网络设备的配置信息。
407、网络设备根据接收的配置信息,将网络设备注册作为站点。
对于本实施例,网络设备可以根据该配置信息进行网络配置,进而将网络设备注册作为站点,从而实现其他移动设备可通过该站点连接互联网。
需要说明的是,本申请实施例提供的方法包括的步骤,可以根据实际需求配置其执行顺序,附图中仅示意了一种可行的执行顺序,并不构成各个步骤执行顺序的限定。
本申请实施例提供的网络设备的注册方法,网络控制器通过网络设备的第一坐标信息对网络设备进行验证,进而向网络设备发送用于注册的配置信息,由于站点的坐标信息可以在网络控制器中预先配置,网络设备的第一坐标信息可以由网络设备在注册前实时获取,与目前通过人工在网络控制器逐台录入网络设备的序列号对网络设备进行验证相比,就无需人工在网络控制器录入网络设备的序列号,从而提高了网络设备的注册效率。
可选的,如图7所示,在404之后,本申请实施例提供的方法还可以包括408。
408、网络控制器向网络设备发送验证通过提示信息。
在本发明提供的一个实施例中,若网络控制器获取到与第一坐标信息匹配的第一站点,则说明该网络设备注册成功,向网络设备发送验证通过提示信息,以提高用户体验。
409、网络设备接收验证通过提示信息。
可选的,若该网络设备是通过移动终端获取的第一坐标信息,409之后,网络设备向该移动终端转发该验证通过提示信息,以使得移动终端通过人机交互界面向用户显 示验证通过提示信息。
进一步可选的,在403之后,如图7所示,本申请实施例提供的方法还可以包括410。
410、网络控制器判断是否存在坐标信息与网络设备的第一坐标信息匹配的站点。
在410中,若存在坐标信息与网络设备的第一坐标信息匹配的第一站点,执行404;若不存在坐标信息与网络设备的第一坐标信息匹配的站点,执行411。
411、网络控制器向网络设备发送验证失败信息。
验证失败信息以提示用户注册失败,用户可调整操作后,重新发起注册流程。
进一步的,为了方便管理维护网络控制器中配置的各站点,本申请实施例提供的方法还可以包括412。
412、网络设备向网络控制器发送该网络设备的序列号。
413、网络控制器接收网络设备发送的网络设备的序列号。
其中,网络设备的序列号用于唯一标识该网络设备,
414、网络控制器关联第一站点与网络设备的序列号。
一种可实现方式,413中网络控制器可将网络设备的序列号作为第一站点的信息存储,以实现关联第一站点与网络设备的序列号。
需要说明的是,本申请实施例对于网络控制器存储网络设备的序列号的位置不予限定。
进一步可选的,本申请实施例提供的方案可以应用于运营场景。
比如,预先在网络控制器侧设定好网络设备归属的站点,网络控制器可以根据网络设备发送的第一坐标信息,判断网络设备的位置是否符合规划。
例如,网络控制器在404中获取坐标信息与网络设备的第一坐标信息匹配的第一站点之后,判断第一站点是否为预先设定好的该网络设备归属的站点。若第一站点为预先设定好的该网络设备归属的站点,则执行405。若第一站点不是预先设定好的该网络设备归属的站点,则发送错误提醒,由网络控制器的管理员修改网络控制器中该网络设备归属的站点,或者,由网络设备的管理员调整该网络设备地理位置。
具体的,通过该序列号可区分网络设备的身份,从而方便管理维护网络控制器中的网络设备。
图8为本申请实施例提供的另一种网络设备的注册方法的流程图,如图8所示,该方法可以包括:
801、移动终端接收用户的注册请求。
具体的,该移动终端可以为网络设备的开站人员使用的移动终端,也可以为安装了具有网络设备注册权限应用的移动终端,或者其他移动终端,本申请对于移动终端的类型不予限定。
该移动终端连接了待注册的网络设备,该移动终端可以通过无线网、蓝牙等近距 离通信技术,连接该待注册的网络设备。
示例性的,该网络设备具备无线功能,网络设备上电后发送默认SSID名称,其格式可以为:固定前缀+MAC。例如,ssid-xxx-default-MAC,其中xxx可以为设备厂家名称缩写。网络设备基于该默认SSID,可为移动终端提供IP地址分配,和HTTPS等基础网络服务,以及移动终端的登录配置。移动终端可以通过网络设备的默认SSID,以无线网的方式连接网络设备。
可选的,当网络设备注册成功后,默认SSID可以自动关闭或隐藏。
用户可通过移动终端中安装的应用程序接收用户的注册请求,该注册请求可通过应用程序中的按钮功能一键开启,也可以通过应用程序中设置的语音功能语音输入用户的注册请求,还可以通过设置在移动终端设置的按键触发注册请求。
示例性的,如图9所示,为移动终端中主菜单界面,用户可以点击第一应用程序的图标90,以输入对第一应用程序的打开指令。移动终端接收到用户对第一应用程序的打开指令后,移动终端响应对第一应用程序的打开指令,向用户呈现第一应用程序的主界面如图10a所示。然后,移动终端可以接收用户对第一应用程序的注册请求1001,移动终端响应该注册请求,移动终端获取当前所处地理位置的第一坐标信息,移动终端向网络设备发送第一坐标信息,第一坐标信息指示将网络设备注册作为站点。
802、响应于注册请求,移动终端获取当前所处地理位置的第一坐标信息,并将当前所处地理位置的第一坐标信息发送给网络设备。
可选的,移动终端获取坐标信息采用技术包括但不限于:卫星定位技术(如GPS,北斗,伽利略等),移动基站定位技术,或者其他。
具体的,移动终端可以通过与网络设备通信的扩展协议,将第一坐标信息携带在扩展协议报文中发送。
可选的,移动终端和网络设备传递坐标信息采用的扩展协议可以多样化。例如,可采用HTTPS协议,在统一资源定位系统(uniform resource locator,URL)中携带网络设备地理位置的坐标信息。例如,还可以采用SFTP协议,将坐标信息写入到配置文件中,将配置文件通过SFTP协议传递给网络设备。
需要说明的是,若移动终端检测到多个默认SSID时,移动终端可采用轮询的方式依次连接各个SSID,由此将第一坐标信息传递给各个网络设备。
例如,移动终端检测到2个默认SSID,分别为SSID1和SSID2,则移动终端可以先连接SSID1,将移动终端获取的当前所处地理位置的第一坐标信息发送给SSID1对应的网络设备1,在网络设备1成功接收到移动终端发送的第一坐标信息后,向移动终端反馈信息,移动终端对该反馈信息进行响应,然后连接SSID2,将移动终端获取的当前所处地理位置的第一坐标信息再发送给SSID2对应的网络设备2。
其中,反馈信息中具体可包含第一坐标信息是否接收成功信息,如果向SSID1对应的网络设备1发送第一坐标信息后,反馈信息中的内容是第一坐标信息未接收成功,则在向SSID2对应的网络设备2发送第一坐标信息后,再向SSID1对应的网络设备1重新发送第一坐标信息,即采用轮询的方式依次连接各个SSID,发送移动终端当前所处地理位置的第一坐标信息,直至所有的网络设备成功接收到移动终端当前所处地理位置的第一坐标信息为止。
这里需要说明的是,本申请不对连接SSID的顺序进行具体限定,即本实施例可以根据SSID的信号强度由高到低的顺序进行连接,也可以根据SSID名称排列的顺序进行连接。
803、网络设备将接收的第一坐标信息确定为指示该网络设备地理位置的坐标信息。
然后,网络设备即可以执行图4或图7示意的方法,以实现网络设备的注册。
进一步的,对应于前述步骤409,网络设备在接收到网络控制器发送的验证通过提示信息后,还可以向移动终端发送该验证通过提示信息,移动终端可以显示该验证通过提示信息。例如,移动终端可以向用户呈现如图10b所示的界面,该界面中包括验证通过提示信息1002。
进一步的,对于不具备与具有定位功能的设备进行通信的网络设备,如前述,该网络设备可以通过具备与具有定位功能的设备进行通信的第二网络设备,获取第一坐标信息。例如,第二网络设备可以通过801至803的过程获取到第一坐标信息,然后发送给不具备与具有定位功能的设备进行通信的网络设备,该网络设备将接收到的第一坐标信息,作为指示该网络设备的地理位置的坐标信息。
例如,在一个完整的中小型园区网络中,支持无线通信技术的网络设备均可通过移动终端获取指示网络设备地理位置的第一坐标信息,而对于不具备无线通信技术能力的网络设备(如交换机),可以由具备无线通信技术能力的网络设备(例如AP设备)通过移动终端获取第一坐标信息后,通过扩展协议将获取的第一坐标信息,传递给不具备无线通信技术能力的网络设备。同理,交换机也可通过扩展协议将接收的第一坐标信息传递给其他网络设备。
其中,AP设备将第一坐标信息传递给交换机的扩展协议可以采用LLDP协议,在该协议中扩展TLV字段,如下表1所示,TLV Type用于表示第一坐标信息中的经度或纬度,如通过001表示经度,002表示纬度,TLV Length代表经度或纬度的数据长度,TLV Value代表经度或纬度的具体数值。
表1
上述主要从各个网元之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,各个网元,例如服务器、终端为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对服务器、终端进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图11a示出了上述和实施例中 涉及的网络控制器的一种可能的组成示意图,如图11a所示,该网络控制器可以包括:第一接收单元71、获取单元72、发送单元73。
其中,第一接收单元71,用于支持网络控制器执行图4或图7所示的网络设备的注册方法中的步骤403。
获取单元72,用于支持网络控制器执行图4或图7所示的网络设备的注册方法中的步骤404。
发送单元73,用于支持网络控制器执行图4或图7所示的网络设备的注册方法中的步骤405。
在本申请实施例中,进一步的,如图11b所示,该网络控制器还可以包括第二接收单元74和存储单元75。
第二接收单元74,用于接收第一站点的坐标信息及第一站点对应的配置信息。
存储单元75,用于存储第一站点的坐标信息及第一站点对应的配置信息。
可选的,所述第一接收单元71,还用于接收网络设备发送的网络设备的序列号;
该网络控制器还包括处理单元76,用于关联第一站点与第一接收单元71接收的序列号。
可选的,所述发送单元73,还用于向所述网络设备发送验证通过提示信息。
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
本申请实施例提供的网络控制器,用于执行上述网络设备的注册方法,因此可以达到与上述网络设备的注册相同的效果。
在采用集成的单元的情况下,图12示出了上述实施例中所涉及的第一网络设备的一种可能的组成示意图。如图12所示,该第一网络设备包括:获取单元81、发送单元82、接收单元83、注册单元84。
其中,获取单元81,用于支持网络设备执行图4或图7所示的网络设备的注册方法中的步骤401。
发送单元82,用于支持网络设备执行图4或图7所示的网络设备的注册方法中的步骤402。
接收单元83,用于支持网络设备执行图4或图7所示的网络设备的注册方法中的步骤406。
注册单元84,用于支持网络设备执行图4或图7所示的网络设备的注册方法中的步骤407。
可选的,所述获取单元81,具体用于接收第二网络设备发送的所述第一坐标信息,所述第二网络设备连接所述第一网络设备,所述第一坐标信息为所述第二网络设备当前所处地理位置的坐标信息。
可选的,所述获取单元81,具体用于接收所述第二网络设备通过扩展协议发送的扩展协议报文,所述扩展协议报文包括所述第一坐标信息,所述扩展协议包括扩展的http,https,SFTP或LLDP。
可选的,发送单元82,还用于向所述网络控制器发送所述第一网络设备的序列号。
在采用对应各个功能划分各个功能模块的情况下,图13示出了上述和实施例中涉 及的移动终端的一种可能的组成示意图,如图13所示,该移动终端可以包括:接收单元91、获取单元92、发送单元93。
其中,接收单元91,用于支持移动终端执行图8所示的网络设备的注册方法中的步骤801。
获取单元92,用于支持移动终端执行图8所示的网络设备的注册方法中的步骤802。
发送单元93,用于支持移动终端执行图8所示的网络设备的注册方法中的步骤803。
可选的,发送单元93,具体用于所述移动终端向所述网络设备发送扩展协议报文,所述扩展协议报文包括所述第一坐标信息,所述扩展协议包括扩展的http,https,SFTP或LLDP。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个设备,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。
Claims (31)
- 一种网络设备的注册方法,其特征在于,所述方法应用于网络控制器,所述方法包括:接收网络设备发送的指示所述网络设备地理位置的第一坐标信息;获取与所述第一坐标信息匹配的第一站点,所述第一站点对应所述网络设备的配置信息;向所述网络设备发送所述网络设备的配置信息,所述配置信息指示将所述网络设备注册作为站点。
- 根据权利要求1所述的方法,其特征在于,所述坐标信息匹配包括:所述第一坐标信息与所述第一站点的坐标信息的误差小于或等于第一阈值;或者,所述第一坐标信息指示的地理位置与所述第一站点的坐标信息指示的地理位置的距离小于或等于第二阈值;或者,所述第一站点位于第一区域内,所述第一区域包括所述第一坐标信息指示的地理位置。
- 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:接收并存储所述第一站点的坐标信息及所述第一站点对应的配置信息。
- 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:接收所述网络设备发送的所述网络设备的序列号;关联所述第一站点与所述序列号。
- 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:向所述网络设备发送验证通过提示信息。
- 一种网络设备的注册方法,其特征在于,所述方法应用于第一网络设备,所述方法包括:获取指示所述第一网络设备地理位置的第一坐标信息;向网络控制器发送所述第一坐标信息;接收所述网络控制器发送的第一站点对应的所述第一网络设备的配置信息,所述第一坐标信息与所述第一站点的坐标信息匹配;根据所述配置信息,将所述第一网络设备注册作为站点。
- 根据权利要求6所述的方法,其特征在于,所述获取指示所述第一网络设备地理位置的第一坐标信息,包括:接收第二网络设备发送的所述第一坐标信息,所述第二网络设备连接所述第一网络设备,所述第一坐标信息为所述第二网络设备当前所处地理位置的坐标信息。
- 根据权利要求7所述的方法,其特征在于,所述接收第二网络设备发送的所述第一坐标信息,包括:接收所述第二网络设备发送的扩展协议报文,所述扩展协议报文包括所述第一坐标信息;所述扩展协议包括扩展的超文本传输协议http,超文本传输安全协议https,安 全文件传送协议SFTP或链路层发现协议LLDP。
- 根据权利要求7或8所述的方法,其特征在于,所述第二网络设备为无线接入设备或移动终端。
- 根据权利要求6-9任一项所述的方法,其特征在于,所述坐标信息匹配包括:所述第一坐标信息与所述第一站点的坐标信息的误差小于或等于第一阈值;或者,所述第一坐标信息指示的地理位置与所述第一站点的坐标信息指示的地理位置的距离小于或等于第二阈值;或者,所述第一站点位于第一区域内,所述第一区域包括所述坐标信息指示的地理位置。
- 根据权利要求6-10任一项所述的方法,其特征在于,所述方法还包括:向所述网络控制器发送所述第一网络设备的序列号。
- 一种网络设备的注册方法,其特征在于,应用于移动终端,所述方法包括:接收用户的注册请求;响应于所述注册请求,所述移动终端获取当前所处地理位置的第一坐标信息;响应于所述注册请求,所述移动终端向网络设备发送所述第一坐标信息,所述第一坐标信息指示将所述网络设备注册作为站点。
- 根据权利要求12所述的方法,其特征在于,所述移动终端向网络设备发送所述第一坐标信息,包括:所述移动终端向所述网络设备发送扩展协议报文,所述扩展协议报文包括所述第一坐标信息;所述扩展协议包括扩展的超文本传输协议http,超文本传输安全协议https,安全文件传送协议SFTP或链路层发现协议LLDP。
- 一种网络控制器,其特征在于,所述网络控制器包括:第一接收单元,用于接收网络设备发送的指示所述网络设备地理位置的第一坐标信息;获取单元,用于获取与所述第一坐标信息匹配的第一站点,所述第一站点对应所述网络设备的配置信息;发送单元,用于向所述网络设备发送所述网络设备的配置信息,所述配置信息指示将所述网络设备注册作为站点。
- 根据权利要求14所述的网络控制器,其特征在于,所述坐标信息匹配包括:所述第一坐标信息与所述第一站点的坐标信息的误差小于或等于第一阈值;或者,所述第一坐标信息指示的地理位置与所述第一站点的坐标信息指示的地理位置的距离小于或等于第二阈值;或者,所述第一站点位于第一区域内,所述第一区域包括所述第一坐标信息指示的地理位置。
- 根据权利要求14或15所述的网络控制器,其特征在于,所述网络控制器还包括:第二接收单元,用于接收所述第一站点的坐标信息及所述第一站点对应的配置信息;存储单元,用于存储所述第一站点的坐标信息及所述第一站点对应的配置信息。
- 根据权利要求14-16任一项所述的网络控制器,其特征在于,所述第一接收单元,还用于接收所述网络设备发送的所述网络设备的序列号;所述网络控制器还包括处理单元,用于关联所述第一站点与所述序列号。
- 根据权利要求14-17任一项所述的网络控制器,其特征在于,所述发送单元,还用于向所述网络设备发送验证通过提示信息。
- 一种第一网络设备,其特征在于,所述第一网络设备包括:获取单元,用于获取指示所述第一网络设备地理位置的第一坐标信息;发送单元,用于向网络控制器发送所述第一坐标信息;接收单元,用于接收所述网络控制器发送第一站点对应的所述第一网络设备的配置信息;所述坐标信息与所述第一站点的坐标信息匹配;注册单元,用于根据所述配置信息,将所述第一网络设备注册作为站点。
- 根据权利要求19所述的第一网络设备,其特征在于,所述获取单元,具体用于:接收第二网络设备发送的所述第一坐标信息,所述第二网络设备连接所述第一网络设备,所述第一坐标信息为所述第二网络设备当前所处地理位置的坐标信息。
- 根据权利要求20所述的第一网络设备,其特征在于,所述获取单元,具体用于:接收所述第二网络设备通过扩展协议发送的扩展协议报文,所述扩展协议报文包括所述第一坐标信息,所述扩展协议包括超文本传输协议http,超文本传输安全协议https,安全文件传送协议SFTP或链路层发现协议LLDP。
- 根据权利要求20或21所述的第一网络设备,其特征在于,所述第二网络设备为无线接入设备或移动终端。
- 根据权利要求19-22任一项所述的第一网络设备,其特征在于,所述坐标信息匹配包括:所述第一坐标信息与所述第一站点的坐标信息的误差小于或等于第一阈值;或者,所述第一坐标信息指示的地理位置与所述第一站点的坐标信息指示的地理位置的距离小于或等于第二阈值;或者,所述第一站点位于第一区域内,所述第一区域包括所述坐标信息指示的地理位置。
- 根据权利要求19-23任一项所述的第一网络设备,其特征在于,所述发送单元,还用于向所述网络控制器发送所述第一网络设备的序列号。
- 一种移动终端,其特征在于,所述移动终端包括:接收单元,用于接收用户的注册请求;获取单元,用于响应于所述注册请求,获取当前所处地理位置的第一坐标信息;发送单元,用于响应于所述注册请求,向网络设备发送所述第一坐标信息,所述第一坐标信息指示将所述网络设备注册作为站点。
- 根据权利要求25所述的移动终端,其特征在于,所述发送单元,具体用于向所述网络设备发送扩展协议报文,所述扩展协议报文包括所述第一坐标信息,所述扩展协议包括扩展的超文本传输协议http,超文本传输安全协议https,安全文件传送协议SFTP或链路层发现协议LLDP。
- 一种通信设备,其特征在于,包括:存储器和处理器,所述存储器用于存储计算机程序,所述处理器用于调用所述计算机程序,以执行权利要求1-13任一项所述的方法。
- 一种网络设备的注册系统,其特征在于,所述系统包括:网络设备、网络控制器;所述网络设备,用于向所述网络控制器发送指示所述网络设备地理位置的第一坐标信息;所述网络控制器,用于获取与所述第一坐标信息匹配的第一站点,所述第一站点对应所述网络设备的配置信息,向所述网络设备发送所述网络设备的配置信息;所述网络设备,还用于接收所述网络控制器发送的所述网络设备的配置信息,根据所述配置信息,将所述网络设备注册作为站点。
- 根据权利要求28所述的系统,其特征在于,所述系统还包括移动终端,所述移动终端连接所述网络设备;所述移动终端,接收用户的注册请求;响应于所述注册请求,获取所述移动终端所处地理位置的第一坐标信息,并向所述网络设备发送所述第一坐标信息。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行权利要求1-13任一项所述的方法。
- 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行如权利要求1-13任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110507850.0A CN115396805A (zh) | 2021-05-10 | 2021-05-10 | 网络设备的注册方法、设备及系统 |
CN202110507850.0 | 2021-05-10 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022237191A1 true WO2022237191A1 (zh) | 2022-11-17 |
Family
ID=84029302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/141811 WO2022237191A1 (zh) | 2021-05-10 | 2021-12-27 | 网络设备的注册方法、设备及系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115396805A (zh) |
WO (1) | WO2022237191A1 (zh) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090275332A1 (en) * | 2004-12-08 | 2009-11-05 | Hakan Niska | Method and system for improved handover of mobile stations to unlicensed mobile access networks |
CN104704774A (zh) * | 2012-12-11 | 2015-06-10 | 汤姆逊许可公司 | 网络设备的自动重新配置 |
CN105430618A (zh) * | 2016-01-14 | 2016-03-23 | 广东欧珀移动通信有限公司 | 一种网络注册方法和装置 |
CN105554697A (zh) * | 2015-09-29 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | 一种网络接入方法及终端 |
CN106028279A (zh) * | 2016-05-03 | 2016-10-12 | 广东欧珀移动通信有限公司 | 一种网络注册方法及装置 |
-
2021
- 2021-05-10 CN CN202110507850.0A patent/CN115396805A/zh active Pending
- 2021-12-27 WO PCT/CN2021/141811 patent/WO2022237191A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090275332A1 (en) * | 2004-12-08 | 2009-11-05 | Hakan Niska | Method and system for improved handover of mobile stations to unlicensed mobile access networks |
CN104704774A (zh) * | 2012-12-11 | 2015-06-10 | 汤姆逊许可公司 | 网络设备的自动重新配置 |
CN105554697A (zh) * | 2015-09-29 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | 一种网络接入方法及终端 |
CN105430618A (zh) * | 2016-01-14 | 2016-03-23 | 广东欧珀移动通信有限公司 | 一种网络注册方法和装置 |
CN106028279A (zh) * | 2016-05-03 | 2016-10-12 | 广东欧珀移动通信有限公司 | 一种网络注册方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN115396805A (zh) | 2022-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10965473B2 (en) | Smart object identification in the digital home | |
US20210029172A1 (en) | Methods and systems for enhancing cyber security in networks | |
US9912662B2 (en) | Indoor location server provision and discovery | |
US20210297410A1 (en) | Mec platform deployment method and apparatus | |
EP3576379B1 (en) | Service layer interworking using mqtt protocol | |
ES2934600T3 (es) | Método de conexión de red, terminal de punto de acceso y terminal de gestión | |
US20180049033A1 (en) | Centralized access point provisioning system and methods of operation thereof | |
EP2757738B1 (en) | Communication control system, communication system, communication method, and carrier means storing comunication control program | |
WO2017148308A1 (zh) | 一种物联网设备接入网络的方法、装置及系统 | |
CN106464729A (zh) | 代理推送 | |
EP3061273B1 (en) | Service coverage management system and method | |
CN106664515B (zh) | 通过服务控制装置链路在终端之间发送内容的方法 | |
EP3298806A1 (en) | Methods and apparatus for analyzing and grouping service layer subscriptions and notifications for enhanced efficiency | |
AU2017428472A1 (en) | Wi-Fi hotspot connection method and terminal | |
US11638138B2 (en) | Device-to-device content providing method | |
JP2018514162A (ja) | M2mサービスを追加するためのデバイスおよび方法 | |
WO2021043095A1 (zh) | 密钥生成以及终端配网方法、装置、设备 | |
WO2016101780A1 (zh) | 一种虚拟化网络中业务部署的方法和装置 | |
CN105827463B (zh) | 一种客户端业务的配置方法、装置及系统 | |
CN113840292A (zh) | 一种基于微服务的基站开通系统、方法、装置及设备 | |
US20220141309A1 (en) | Efficient resource representation exchange between service layers | |
WO2015139401A1 (zh) | 无线网络的建立方法、系统及无线路由装置 | |
KR20170053708A (ko) | Soa(service-oriented architecture)에 기초하는 스케일러블 과금 시스템 | |
WO2022237191A1 (zh) | 网络设备的注册方法、设备及系统 | |
US20220329566A1 (en) | Access Control Method, Apparatus, and System |
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: 21941753 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21941753 Country of ref document: EP Kind code of ref document: A1 |