CN115396805A - Registration method, device and system of network device - Google Patents

Registration method, device and system of network device Download PDF

Info

Publication number
CN115396805A
CN115396805A CN202110507850.0A CN202110507850A CN115396805A CN 115396805 A CN115396805 A CN 115396805A CN 202110507850 A CN202110507850 A CN 202110507850A CN 115396805 A CN115396805 A CN 115396805A
Authority
CN
China
Prior art keywords
network device
coordinate information
network
station
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110507850.0A
Other languages
Chinese (zh)
Inventor
张镇伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110507850.0A priority Critical patent/CN115396805A/en
Priority to PCT/CN2021/141811 priority patent/WO2022237191A1/en
Publication of CN115396805A publication Critical patent/CN115396805A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration

Abstract

The application discloses a registration method, equipment and a system of network equipment, relates to the technical field of communication, and solves the problem of low registration efficiency of the network equipment. The specific scheme is as follows: firstly, a network controller acquires a first site matched with first coordinate information according to the first coordinate information indicating the geographical position of network equipment, wherein the first site corresponds to configuration information of the network equipment; then, the network controller sends configuration information of the network device to the network device, and the network device registers according to the configuration information.

Description

Registration method, device and system of network device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, a device, and a system for registering a network device.
Background
With the rising of cloud technologies and software-defined networking (SDN) technologies, in small and medium network scenes such as retail stores and chain hotels, customers of this kind often choose to rent a network management service (i.e., a network controller) deployed in the cloud, so as to obtain a better network service at a lower cost.
Network devices local to a user (for example, access Points (APs) and switch devices in a network architecture scene illustrated in fig. 1 a) need to register on a network controller side, so that the network devices obtain configuration information of a site configured at a location where the network devices are located, and the network devices configure their own network according to the configuration information to complete registration, so that the network devices access the network controller as the site to obtain a network service.
At present, before network equipment is registered, a serial number of the network equipment is often manually input on a network controller side in advance to serve as site information, then when the network equipment is registered, a registration application carrying the serial number is automatically initiated to the network controller, the network controller verifies the serial number after receiving the registration application, and if the serial number is successfully verified, configuration information corresponding to the serial number is issued to the network equipment, so that the network equipment completes registration according to the received configuration information.
However, the number of network devices is large, the serial numbers of the network devices are manually entered into the network controller one by one, the operation is complicated, errors are easy to occur, and the efficiency is low, so that the registration efficiency of the network devices is low.
Disclosure of Invention
The embodiment of the application provides a registration method, equipment and a system of network equipment, and solves the problem of low registration efficiency of the network equipment.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, a registration method for a network device is provided, where the method is applied to a network controller, and the method may include: the method comprises the steps that a network controller receives first coordinate information which is sent by network equipment and indicates the geographical position of the network equipment; and finally, the network controller sends configuration information of the network equipment to the network equipment, wherein the configuration information indicates that the network equipment is registered as the site. The first site corresponds to configuration information of the network device.
According to the registration method of the network equipment, the network controller verifies the network equipment through the first coordinate information of the network equipment and then sends the configuration information for registration to the network equipment, the coordinate information of the station can be pre-configured in the network controller, the first coordinate information of the network equipment can be obtained by the network equipment in real time before registration, and compared with the conventional method that the serial number of the network equipment is manually input into the network controller one by one to verify the network equipment, the serial number of the network equipment does not need to be manually input into the network controller, so that the registration efficiency of the network equipment is improved.
In one possible design, the matching of the coordinate information may include: the error between the first coordinate information and the coordinate information of the first station is less than or equal to a first threshold value; or the distance between the geographic position indicated by the first coordinate information and the geographic position indicated by the coordinate information of the first station is smaller than or equal to a second threshold value; or the first station is located in a first area, and the first area comprises the geographic position indicated by the first coordinate information. And the first station matched with the first coordinate information is obtained according to the coordinate information matching, the coordinate information does not need to be strictly matched, the position error is comprehensively considered, and the realizability of the scheme is improved.
In one possible design, the method may further include: and the network controller receives and stores the coordinate information of the first site and the configuration information corresponding to the first site. Through the implementation mode, the coordinate information of the first station and the configuration information corresponding to the first station managed by the network controller are stored in the network controller in advance, so that the network equipment can conveniently register according to the scheme provided by the application by adopting the first coordinate information.
In one possible design, the method may further include: the network controller receives a serial number of the network equipment sent by the network equipment; the first site is associated with the sequence number. It is convenient to manage the network device as a station by the serial number.
In one possible design, the method may further include: the network controller sends verification passing prompt information to the network equipment, so that a user of the network equipment can visually know that verification is completed and can register according to the received configuration information.
In another possible implementation manner, the verification-passing prompt message may include configuration information corresponding to the first station.
In a second aspect, another registration method for a network device is provided, which is applied to a first network device, and the method may include: the method comprises the steps that first network equipment acquires first coordinate information indicating the geographic position of the first network equipment; the first network equipment sends the first coordinate information to a network controller; the method comprises the steps that first network equipment receives configuration information, sent by a network controller, of the first network equipment corresponding to a first site, and the first coordinate information is matched with coordinate information of the first site; and the first network equipment registers the first network equipment as a site according to the received configuration information.
According to the registration method of the network equipment, the first network equipment acquires the first coordinate information indicating the geographical position of the first network equipment and then sends the first coordinate information to the network controller, and receives the configuration information of the first network equipment, which is sent by the network controller and corresponds to the first site matched with the first coordinate information, the first coordinate information of the first network equipment can be acquired by the network equipment in real time before registration because the coordinate information of the first site can be pre-configured in the network controller, and compared with the conventional method that the network equipment is verified by manually inputting the serial number of the network equipment one by one in the network controller, the serial number of the network equipment does not need to be manually input in the network controller, so that the registration efficiency of the network equipment is improved.
In one possible design, the obtaining, by the first network device, first coordinate information indicating a geographical location of the network device may include: the method comprises the steps that first network equipment receives first coordinate information sent by second network equipment, the second network equipment is connected with the first network equipment, and the first coordinate information is coordinate information of the current geographic position of the second network equipment. The first network equipment acquires the first coordinate information of the geographic position through the second network equipment, and the cost brought by the positioning of the first network equipment is avoided.
In one possible design, the second network device may be a network device with location technology.
For example, 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, so as to improve the scalability of the solution.
In one possible design, the second network device may be a network device that may connect with a network device having location technology.
In one possible design, the receiving, by the first network device, the first coordinate information sent by the mobile terminal may include: and the first network equipment receives an extended protocol message sent by the second network equipment through an extended protocol, wherein the extended protocol message comprises the first coordinate information.
In one possible design, the second network device may be a wireless access device or a mobile terminal.
In one possible design, the first network device supports wireless communication, the second network device is a mobile terminal, and the mobile terminal may connect to a Service Set Identifier (SSID) of the network device and connect to the network device.
For example, the first network device supports wireless communication, the second network device is a mobile terminal, and the extension protocol may include: hypertext transfer protocol (HTTP), hypertext transfer security protocol over secure file layer (HTTPs), or Secure File Transfer Protocol (SFTP).
For example, the first network device is a switch, the second network device is a wireless access device, and the extension protocol may be a Link Layer Discovery Protocol (LLDP).
In one possible design, the matching of the coordinate information may include: the error between the first coordinate information and the coordinate information of the first station is less than or equal to a first threshold value; or the distance between the geographic position indicated by the first coordinate information and the geographic position indicated by the coordinate information of the first station is smaller than or equal to a second threshold value; alternatively, the first station is located within a first area, the first area including the geographic location indicated by the first coordinate information. The first station matched with the coordinate information does not need to strictly match the coordinate information, the position error is comprehensively considered, and the realizability of the scheme is improved.
In one possible design, the first network device obtains an Internet Protocol (IP) address for communicating with the network controller, where the IP address is an address of the first network device, and the first network device may also carry the IP address when sending the coordinate information to the network controller.
In a possible implementation manner, the first network device may obtain an IP address for communicating with the network controller through a Dynamic Host Configuration Protocol (DHCP), or the first network device may obtain an IP address for communicating with the network controller, which is input by a user, through a human-computer interaction interface.
In one possible implementation, the first network device sends, to the network controller, first coordinate information indicating a geographical location of the first network device through a domain name of the network controller.
In one possible design, the method may further include: the first network device sends a serial number of the first network device to the network controller. And sending the serial number of the first network equipment to the network controller, so that the network controller associates the first station with the serial number, and the first network equipment as the station is managed through the serial number.
In a third aspect, a further method for registering a network device is provided, where the method is applied to a mobile terminal, and the method may include: the mobile terminal receives a registration request of a user; responding to a registration request, and acquiring first coordinate information of a current geographical position by the mobile terminal; in response to the registration request, the mobile terminal transmits the acquired first coordinate information to the network device, the first coordinate information indicating that the network device is registered as a station.
According to the registration method of the network equipment, the first coordinate information of the geographic position of the mobile terminal is used as the coordinate information of the network equipment, so that the network equipment is verified through the first coordinate information without manually inputting the serial number of the network equipment into the network controller, and the registration efficiency of the network equipment is improved.
In one possible design, the mobile terminal connects to a default SSID of the network device.
In one possible design, the sending, by the mobile terminal, the first coordinate information to the network device may include: the mobile terminal sends an extension protocol message to the network equipment, wherein the extension protocol message comprises first coordinate information. The extension protocol may include extended http, https, SFTP, or LLDP.
In a fourth aspect, a network controller is provided, where the network controller is configured to perform the registration method of the network device provided in the first aspect. The present application may perform the division of the functional modules for the network controller according to the method provided by the first aspect. For example, the functional blocks may be divided for the respective functions, or two or more functions may be integrated into one processing block. Illustratively, the network controller can be divided 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 above description of possible technical solutions and beneficial effects executed by each divided functional module may refer to the technical solutions provided by the first aspect or the corresponding possible designs thereof, and will not be described herein again.
In one possible design, the network controller includes: a memory and one or more processors, the memory and processors coupled. The memory is for storing computer instructions, and the processor is for invoking the computer instructions to perform any of the methods as provided by the first aspect and any of its possible designs.
In a fifth aspect, a first network device is provided, where the first network device is configured to perform the registration method of the network device provided in the second aspect. The present application may perform the division of the functional modules for the first network device according to the method provided by the second aspect. For example, each functional module may be divided in accordance with each function, or two or more functions may be integrated into one processing module. For example, the first network device may be divided into an acquisition unit, a sending unit, a registration unit, and the like according to functions. The description of the possible technical solutions and the advantageous effects executed by the divided functional modules may refer to the technical solutions provided by the second aspect or the corresponding possible designs thereof, and details are not described herein again.
In one possible design, the first network device includes: a memory and one or more processors, the memory and processors coupled. The memory is for storing computer instructions, and the processor is for invoking the computer instructions to perform any of the methods as provided by the second aspect and any of its possible designs.
In a sixth aspect, a mobile terminal is provided, where the mobile terminal is configured to execute the registration method of the network device provided in the third aspect. The present application may perform the division of the functional modules for the mobile terminal according to the method provided by the third aspect. For example, each functional module may be divided in accordance with each function, or two or more functions may be integrated into one processing module. Illustratively, the mobile terminal can be divided into a receiving unit, an acquiring unit, a sending unit and the like according to functions. The above description of possible technical solutions and beneficial effects executed by each divided functional module may refer to the technical solution provided by the third aspect or the corresponding possible design thereof, and details are not described herein again.
In one possible design, the mobile terminal includes: a memory and one or more processors, the memory and processors coupled. The memory is adapted to store computer instructions that the processor is adapted to invoke in order to perform any of the methods as provided in the third aspect and any of its possible designs.
In a seventh aspect, a registration system for a network device is provided, where the system may include: network equipment, network controller.
Wherein:
the network device is used for sending first coordinate information indicating the geographic position of the network device to the network controller.
And the network controller is used for acquiring a first site matched with the first coordinate information, wherein the first site corresponds to the configuration information of the network equipment and sends the configuration information of the network equipment to the network equipment.
And the network equipment is also used for receiving the configuration information of the network equipment sent by the network controller and registering the network equipment as a site according to the received configuration information.
In one possible design, the system may further include a mobile terminal, the mobile terminal being connected to the network device; the mobile terminal is used for receiving a registration request of a user; and responding to the registration request, acquiring first coordinate information of the geographical position of the mobile terminal, and sending the first coordinate information to the network equipment.
In an eighth aspect, a registration system for a network device is provided, which 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 by the first aspect, the second communication device is configured to execute the method provided by the second aspect, and the third communication device is configured to execute the method provided by the third aspect.
A ninth aspect provides a computer storage medium storing a computer program that, when run on a computer, causes any one of the methods provided by any one of the possible implementations of any one of the aspects to be performed.
In a tenth aspect, the present application provides a computer program product which, when run on a computer, causes any one of the methods provided by any one of the possible implementations of any one of the above aspects to be performed.
Drawings
FIG. 1a is a schematic diagram of a network architecture;
fig. 1b is a schematic diagram illustrating a registration system architecture of a network device according to the present application;
FIG. 1c is a block diagram of another embodiment of a registration system architecture for a network device;
fig. 1d is a flowchart illustrating a registration operation of a network device according to the present application;
fig. 2 is a schematic diagram illustrating a network controller according to an embodiment of the present application;
fig. 3 is a schematic composition diagram of a mobile terminal according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a registration method of a network device according to an embodiment of the present application;
fig. 5 is a schematic hardware structure diagram of an AP device according to an embodiment of the present application;
fig. 6 is a schematic hardware structure diagram of a switch device according to an embodiment of the present application;
fig. 7 is a flowchart illustrating a registration method of another network device according to an embodiment of the present application;
fig. 8 is a flowchart illustrating a registration method of a network device according to an embodiment of the present application;
fig. 9 is a schematic diagram of a main menu interface of an exemplary mobile terminal according to an embodiment of the present disclosure;
fig. 10a is a schematic diagram of an exemplary registration request interface of a mobile terminal according to an embodiment of the present application;
fig. 10b is a schematic diagram of an exemplary verification passing interface of a mobile terminal according to an embodiment of the present application;
fig. 11a is a schematic structural diagram of a network controller according to an embodiment of the present application;
fig. 11b is a schematic structural diagram of another network controller according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a first network device according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The terms "first," "second," and "third," etc. in the description and claims of this application and the above-described drawings are used for distinguishing between different objects and not for limiting a particular order.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present relevant concepts in a concrete fashion for ease of understanding.
In the description of the present application, "/" indicates a relationship in which the objects linked before and after are "or", for example, a/B may indicate a or B; in the present application, "and/or" is only an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. Also, in the description of the present application, "a plurality" means two or more than two unless otherwise specified. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
In the embodiments of the present application, at least one may also be described as one or more, and a plurality may be two, three, four or more, which is not limited in the present application.
Before describing embodiments of the present application, the terms referred to in the present application will be explained.
A site refers to a device deployed on a user side in a network and providing services to users. A site is a description of a role or function that is essentially a network device. For example, a station may be an AP device or a switch device as illustrated in fig. 1 a.
The registration of the network device refers to a process that the network device acquires configuration information of the network device as a site from a network controller through application, and then performs online serving as the site according to the acquired configuration information.
As described above, before the network device is registered, it is often necessary to manually enter the serial number of the network device into the corresponding site on the network controller side in advance, and then the network device automatically initiates a registration application to the network controller when registering, the network controller verifies the serial number after receiving the registration application, and if the serial number is successfully verified, the configuration information corresponding to the serial number is issued to the network device, so that the network device registers according to the configuration information. However, the number of network devices is large, the serial numbers of the network devices are manually entered into the network controller one by one, the operation is complicated, errors are easy to occur, and the efficiency is low, so that the registration efficiency of the network devices is low.
There is also a technical solution of no serial number entry, for example, in a DHCP server (usually served by an egress gateway device), the proprietary information of a station is written into a DHCP Option, and the proprietary information is generated by a network controller and represents the uniqueness of the station. Therefore, the network equipment can acquire the exclusive information of the station to which the network equipment belongs while automatically acquiring the IP of the network equipment on the DHCP server. When the network equipment is registered, the acquired exclusive information of the site to which the network equipment belongs is reported to the controller, the controller automatically belongs the network equipment to the corresponding site according to the exclusive information, and then configuration information of the site is issued to the network equipment for the network equipment registration. However, by configuring the exclusive information of the station for network device acquisition in the DHCP Option, there is a scenario limitation depending on the configurability of the DHCP server.
In view of this, the present application provides a method for registering a network device, which has the following basic principles: the network equipment initiates registration to a network controller based on first coordinate information indicating the geographical position of the network equipment, the network controller verifies the network equipment according to the received first coordinate information and stored coordinate information of the sites, acquires the first sites matched with the received first coordinate information, and then sends configuration information of the network equipment corresponding to the first sites to the network equipment. Because the coordinate information of the first station can be preconfigured in the network controller, and the first coordinate information of the network device can be obtained by the network device in real time before registration, the network device registration can be realized without manually inputting the serial number of the network device in the network controller one by one, and the registration efficiency of the network device is improved.
Embodiments of the present application will be described in detail below with reference to fig. 1b and 1 c.
The scheme provided by the embodiment of the application can be applied to the registration system 20 of the network device shown in fig. 1 b. As shown in fig. 1b, the registration system 20 of the network device may include: a network controller 11 and at least one network device 12.
Wherein, the network device 12 requests the network controller 11 for its configuration information as a site through a registration procedure. The network controller 11 verifies the network device 12 in the registration process, and after the verification passes, issues configuration information corresponding to a site deployed at the location where the network device 12 is located to the network device. After the network device 12 acquires the configuration information, the network device 12 is configured according to the acquired configuration information, so that the network device 12 serves as a site to provide network services to a user.
Further, as shown in fig. 1c, the registration system 20 of the network device may further 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 coordinate information of the geographic position through the satellite positioning system 14. The mobile terminal 13 may connect to the network device 12, and provide the acquired coordinate information to the network device 12, and since the geographic locations of the mobile terminal 13 and the network device 12 are close, the coordinate information of the mobile terminal 13 may 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 scheme provided by the present application based on the coordinate information provided by the mobile terminal 13.
The mobile terminal 13 may be a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and so on. As an embodiment, the mobile terminal 13 included in the network architecture of the present application may be a smart phone.
Illustratively, fig. 1d illustrates a registration procedure initiated by the network device 12 with the network controller 11.
1. The network controller 11 receives the coordinate information of the station and the configuration information corresponding to the station, which are transmitted by the administrator of the network controller.
The network controller 11 may store the coordinate information of each station and the configuration information corresponding to each station in a corresponding manner.
Specifically, the network controller 11 may store the coordinate information of each site and the configuration information corresponding to each site locally, or may store the coordinate information of each site and the configuration information corresponding to each site in another device (for example, an external storage device, a cloud storage device, or another device).
2. A field installer installs and powers on a particular network device 12.
3. The field installer operates the mobile terminal 13 to connect the network device 12.
The mobile terminal 13 may connect to the network device 12 through a default SSID opened by the network device 12, or the mobile terminal 13 may connect to the network device 12 through a short-distance communication technology such as bluetooth.
4. The field installer operates the mobile terminal 13 to initiate a registration request for the network device 12.
5. The mobile terminal 13 obtains the coordinate information of the current geographical position by positioning.
The mobile terminal 13 may acquire the coordinate information of the current geographic location thereof through a satellite positioning technology or a mobile base station positioning technology.
6. The mobile terminal 13 sends the coordinate information of the current geographical location acquired by the mobile terminal to the network device 12.
The mobile terminal 13 may send the coordinate information of the current geographical location acquired by the mobile terminal to the network device 12 through a short-distance communication technology such as bluetooth and a wireless network.
7. Network device 12 sends coordinate information to network controller 11 to initiate registration.
The network device 12 and the network controller 11 may specifically communicate through a wired network, and after receiving the coordinate information of the current geographical location of the mobile terminal 13, the network device 12 acquires an IP address of the network device 12, and then sends the coordinate information indicating the geographical location of the network device to the network controller 11 through the IP address, where the coordinate information is the coordinate information of the current geographical location acquired by the mobile terminal 13.
8. The network controller 11 authenticates the network device 12 based on the coordinate information.
9. After the network controller 11 verifies that the network device 12 passes the verification, it issues the configuration information corresponding to the site matched with the coordinates of the network device 12, and responds that the online is successful.
Fig. 2 is a schematic composition diagram of a communication device according to an embodiment of the present disclosure, where the communication device may be a network controller or a network device. As shown in fig. 2, the communication device may include at least one processor 21, memory 22, communication interface 23, communication bus 24.
The following describes each constituent component of the communication apparatus in detail with reference to fig. 2:
the processor 21 is a control center of the communication device, and may be a single processor or a collective term for a plurality of processing elements. For example, the processor 21 is a Central Processing Unit (CPU), and may be an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as: one or more microprocessors (digital signal processors, DSPs), or one or more Field Programmable Gate Arrays (FPGAs).
The processor 21 may perform various functions of the communication device as a network controller or network device by running or executing software programs stored in the memory 22 and calling up data stored in the memory 22.
In a particular implementation, processor 21 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 2, for example, as an embodiment.
In a specific implementation, the communication device may include a plurality of processors, and each of the processors may be a single-Core Processor (CPU) or a multi-Core Processor (CPU). A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
The memory 22 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 22 may be self-contained and coupled to the processor 21 via a communication bus 24. The memory 22 may also be integrated with the processor 21.
The memory 22 is used for storing software programs for executing the scheme of the application, and is controlled by the processor 21 to execute.
The communication interface 23 is any device, such as a transceiver, for communicating with other devices or communication networks, such as ethernet, radio Access Network (RAN), wireless Local Area Networks (WLAN), etc. The communication interface 23 may include a receiving unit implementing a receiving function and a transmitting unit implementing a transmitting function.
The communication bus 24 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 2, but it is not intended that there be only one bus or one type of bus.
The device architecture shown in fig. 2 does not constitute a limitation of the network controller and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
Fig. 3 is a schematic diagram of a mobile terminal according to an embodiment of the present disclosure, and as shown in fig. 3, the mobile terminal may include at least one processor 31, a memory 32, a display 33, and a transceiver 34.
The following describes each component of the mobile terminal in detail with reference to fig. 3:
the processor 31 is a control center of the terminal, and may be a processor or a collective term for multiple processing elements. For example, the processor 31 is a CPU, or may be an ASIC, or one or more integrated circuits configured to implement the embodiments of the present application, such as: one or more DSPs, or one or more FPGAs. The processor 31 may perform various functions of the terminal by running or executing software programs stored in the memory 32 and calling data stored in the memory 32, among others.
In a particular implementation, processor 31 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 3, as one embodiment.
In one embodiment, the mobile terminal may include a plurality of processors, and each of the 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 that process data (e.g., computer program instructions).
Memory 32 may be, but is not limited to, ROM or other type of static storage device that can store static information and instructions, RAM or other type of dynamic storage device that can store information and instructions, EEPROM, CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 32 may be self-contained and coupled to the processor 31 via a communication bus 34. The memory 32 may also be integrated with the processor 31. The memory 32 is used for storing software programs for executing the scheme of the 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 as well as various menus of the terminal. The display 33 may include a display panel, and the display panel may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The transceiver 34, using any transceiver or like device, is used to communicate with other devices or communication networks, such as ethernet, RAN, WLAN, etc. The transceiver 34 may include a receiving unit to implement the receiving function and a transmitting unit to implement the transmitting function.
The mobile terminal structure shown in fig. 3 is not intended to be limiting of the mobile terminal and may include more or fewer components than shown, or some of the components may be combined, or a different arrangement of components. Although not shown, the mobile terminal may further include a battery, a camera, a bluetooth module, a Global Positioning System (GPS) module, and the like, which are not described in detail herein.
When a network is deployed, an administrator of a network controller can configure the coordinate information of each station and the configuration information corresponding to each station, which are controlled by the network controller, and provide the coordinate information to the network controller, the network controller receives the coordinate information of each station and the configuration information corresponding to each station, which are input by the administrator, and stores the coordinate information and the configuration information corresponding to each station, and when a network device requests registration, the network controller executes the scheme provided by the application according to the stored coordinate information of each station and the configuration information corresponding to each station, so that the registration of the network device is completed.
The network controller may store the coordinate information of a station in correspondence with the configuration information corresponding to the station.
It should be noted that, in the embodiment of the present application, specific locations where the network controller stores the coordinate information of each station and the configuration information corresponding to each station are not limited, and the network controller may only be required to obtain the coordinate information.
The coordinate information of the station may specifically be a central position of the network area to be installed, or an installation position of the network device in the network area to be installed, and for example, the coordinate information may specifically be a coordinate position of a gateway, a position of a wireless route, a position of a switch, and the like in the network area to be installed, which is not specifically limited in the embodiment of the present invention. The configuration information corresponding to the station may specifically be: SSID name, radio frequency IP, IP address of a network gateway, host name of a server, whether a network is configured, whether an IP forwarding function is started, device name of the gateway, port number, service name, network protocol, and other information.
For example, an administrator of the network controller may create sites based on a Geographic Information System (GIS) map on the network controller to generate coordinate information of each site, and input configuration information corresponding to each site in the network controller. The embodiment of the present application does not have any limitation and details on the process of creating a site.
After the network deployment is successful, the user takes the local network equipment, powers on the network equipment and registers the network equipment, and after the registration is successful, the local network equipment of the user is used as a site of the position, and better network service is provided for the user through the network controller.
The embodiment of the application provides a registration method of network equipment, which can be applied to the process of registering the network equipment to a network controller. The embodiment of the present application takes the interaction between a network device and a network controller as an example, and details the scheme provided by the present application.
As shown in fig. 4, the registration method of a network device provided by the present application may include:
401. the network device obtains first coordinate information indicating a geographic location of the network device.
In this embodiment, the network device may specifically be an AP, a switch, a gateway, and other network devices.
The first coordinate information indicates a geographic location, and the first coordinate information may be a longitude and latitude coordinate, or a coordinate form, or other information indicating a coordinate, which is not limited in this embodiment of the present application.
Alternatively, the network device may obtain the first coordinate information indicating the geographic location of the network device in various ways, and several ways of obtaining the first coordinate information indicating the geographic location of the network device are provided below, but are not limited in particular.
In a possible implementation manner, 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 the network device. The second network device is connected to the network device in a short distance, and the geographical locations of the second network device and the network device can be considered to be the same.
For example, the second network device may be a mobile terminal with a positioning function, the mobile terminal performs positioning to acquire first coordinate information indicating a geographic location of the mobile terminal and sends the first coordinate information to a network device connected to the mobile terminal, and the network device receives the first coordinate information sent by the mobile terminal and uses the first coordinate information as the first coordinate information indicating the geographic location of the network device, which may be implemented with reference to the process illustrated in subsequent fig. 8 and is not described herein again.
For example, the second network device may be a device connected to a location-enabled device. For example, the second network device is a wireless access device. And the second network equipment receives the first coordinate information acquired by positioning the equipment connected with the second network equipment and sends the first coordinate information to the network equipment. The process of the second network device obtaining the first coordinate information through the positioning device connected thereto may also refer to the process illustrated in fig. 8, and is not described herein again.
In another possible implementation manner, the network device has a positioning function, and in 401, the network device may obtain, by using a positioning technology, first coordinate information indicating a geographical location of the network device.
402. The network device sends first coordinate information indicating a geographical location of the network device to the network controller.
Specifically, at 402, the network device may send first coordinate information indicating a geographical location of the network device to the network controller according to a domain name of the network controller. The domain name may be built into the network device.
The network device may further obtain an IP address uniquely pointing to the network device, and when first coordinate information indicating the geographical location of the network device is sent to the network controller after the IP address of the network device is obtained, the network device may carry the IP address, so that the network controller may feed back configuration information to the network controller.
In a possible implementation manner, the network device has a network device IP address built therein.
In a possible implementation manner, the network device may dynamically acquire the IP address of the network device through a connected DHCP server. Alternatively, the network device may obtain the IP address of the network device input by the user in its interactive interface, or in the interactive interface of the mobile terminal connected thereto.
Further, the network device may send first coordinate information indicating a geographical location of the network device to the network controller through a connection port with the network controller.
As an embodiment, the network device is an AP device illustrated in fig. 1a, and a hardware structure of the AP device may be as shown in fig. 5, and mainly includes a CPU, a RAM, a wired network port, and a radio frequency chip. After the radio frequency chip receives data sent by the mobile terminal from the air interface side, the CPU processes and analyzes the received data to obtain first coordinate information of the current geographic position of the mobile terminal, the first coordinate information is packaged into a registration message, and the registration message carrying the first coordinate information can be sent to the network controller through the wired network port.
As an embodiment, the network device is the switch device illustrated in fig. 1a, and a hardware structure of the switch device may be as shown in fig. 6, and mainly includes a CPU, a RAM, a wired network port, and a network forwarding chip. After receiving the message from the network forwarding chip, the switch analyzes TLV (type length value) through the CPU to obtain first coordinate information, and encapsulates the first coordinate information into a registration message, and the registration message carrying the first coordinate information may be sent to the network controller through the wired network port.
403. The network controller receives first coordinate information which is sent by the network equipment and indicates the geographic position of the network equipment.
404. The network controller acquires a first site matched with the received first coordinate information.
The first site corresponds to configuration information of the network device.
It should be understood that, when the coordinate information of the first site is matched with the first coordinate information of the network device, the network device may be considered to be located at the geographic location of the deployed first site, and may be registered according to the configuration information corresponding to the first site, so as to serve as the first site to provide the network service to the user.
The coordinate information matching indicates a coordinate error to be considered when the network device is verified, and the error range comprehensively considers the error of the positioning technology and the factors of the site area. For example, if the satellite positioning error is 10 meters (meter, M) and the site area is 10m × 10m, the network controller side may allow the coordinate information error to reach 20 meters.
In a possible implementation manner, the matching of the coordinate information may be: an error of the first coordinate information from the coordinate information of the first station is less than or equal to a first threshold.
In another possible implementation manner, the matching of the coordinate information may be: the distance between the geographic position indicated by the first coordinate information and the geographic position indicated by the coordinate information of the first station is smaller than or equal to a second threshold value.
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. For example, the first threshold and the second threshold may be determined according to the error of the positioning technology itself and the site area, and the larger the error of the positioning technology and the site area is, the larger the setting of the first threshold and the second threshold is required to be; conversely, the smaller the error of the positioning technique and the site area, the smaller the setting of the first threshold and the second threshold is required.
In another possible implementation manner, the matching of the coordinate information may be: the first station is located in a first area, and the first area comprises the geographic position indicated by the first coordinate information.
For example, the first region may be a regular region or an irregular region centered on the geographic location of the network device to allow for error radiation.
For example, the first area may be an area to be covered that contains the geographic location of the network device.
For example, in a network scene of a certain supermarket, a site B is set in an area a where the supermarket is located, the area a where the supermarket is located is an area to be covered, and if a certain network device is located at a point C in the area a, first coordinate information of the point C of the network device is matched with coordinate information of the site B.
405. The network controller sends configuration information of the network device to the network device.
Specifically, the network controller in 405 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 (for example, IP address) of the network device.
406. The network device receives the configuration information of the network device sent by the network controller.
407. And the network equipment registers the network equipment as a site according to the received configuration information.
For this embodiment, the network device may perform network configuration according to the configuration information, and then register the network device as a website, so that other mobile devices may connect to the internet through the website.
It should be noted that, the steps included in the method provided in the embodiment of the present application may be configured in an execution order according to actual requirements, and the drawing only illustrates one possible execution order, and does not constitute a limitation on the execution order of each step.
According to the registration method of the network device, the network controller verifies the network device through the first coordinate information of the network device, and then sends the configuration information for registration to the network device, and since the coordinate information of the station can be preconfigured in the network controller, the first coordinate information of the network device can be obtained by the network device in real time before registration.
Optionally, as shown in fig. 7, after 404, the method provided in the embodiment of the present application may further include 408.
408. And the network controller sends verification passing prompt information to the network equipment.
In an embodiment provided by the present invention, if the network controller acquires the first site matched with the first coordinate information, it indicates that the network device is successfully registered, and sends a verification passing prompt message to the network device, so as to improve user experience.
409. The network equipment receives the prompt message that the verification is passed.
Optionally, if the network device is the first coordinate information acquired by the mobile terminal, 409 then the network device forwards the verification-passing prompt information to the mobile terminal, so that the mobile terminal displays the verification-passing prompt information to the user through the human-computer interaction interface.
Further optionally, after 403, as shown in fig. 7, the method provided in the embodiment of the present application may further include 410.
410. The network controller judges whether a site with coordinate information matched with the first coordinate information of the network equipment exists.
In 410, if there is a first site whose coordinate information matches the first coordinate information of the network device, execute 404; if there is no site whose coordinate information matches the first coordinate information of the network device, go to 411.
411. The network controller sends authentication failure information to the network device.
And verifying the failure information to prompt the user that the registration fails, and after the user can adjust the operation, restarting the registration process.
Further, to facilitate management and maintenance of each station configured in the network controller, the method provided in this embodiment may further include 412.
412. The network device sends the network controller a serial number of the network device.
413. The network controller receives the serial number of the network device sent by the network device.
Wherein the serial number of the network device is used to uniquely identify the network device,
414. the network controller associates the first station with a serial number of the network device.
In one implementation, the network controller in 413 may store the serial number of the network device as information of the first station, so as to associate the first station with the serial number of the network device.
It should be noted that, in the embodiments of the present application, the location where the network controller stores the serial number of the network device is not limited.
Further optionally, the scheme provided by the embodiment of the present application may be applied to an operation scenario.
For example, a site to which the network device belongs is set in advance on the network controller side, and the network controller may determine whether the location of the network device conforms to the plan according to the first coordinate information sent by the network device.
For example, after acquiring the first station whose coordinate information matches the first coordinate information of the network device in 404, the network controller determines whether the first station is a preset station to which the network device belongs. If the first station is a preset station to which the network device belongs, 405 is executed. If the first site is not the preset site to which the network equipment belongs, an error prompt is sent, and an administrator of the network controller modifies the site to which the network equipment belongs in the network controller, or adjusts the geographical position of the network equipment.
Specifically, the identity of the network device can be distinguished through the serial number, so that the network device in the network controller can be managed and maintained conveniently.
Fig. 8 is a flowchart of another registration method for a network device according to an embodiment of the present application, and as shown in fig. 8, the method may include:
801. the mobile terminal receives a registration request of a user.
Specifically, the mobile terminal may be a mobile terminal used by a person who opens a station of the network device, or may be a mobile terminal installed with an application having a registration authority of the network device, or another mobile terminal.
The mobile terminal is connected with the network equipment to be registered, and the mobile terminal can be connected with the network equipment to be registered through short-distance communication technologies such as wireless network and Bluetooth.
For example, the network device has a wireless function, and after being powered on, the network device sends a default SSID name, where the format of the default SSID name may be: fixed prefix + MAC. For example, ssid-xxx-default-MAC, where xxx may be abbreviated as the equipment manufacturer name. The network device may provide the mobile terminal with IP address assignment, basic network services such as HTTPS, and login configuration of the mobile terminal based on the default SSID. The mobile terminal can be connected with the network equipment in a wireless network mode through the default SSID of the network equipment.
Optionally, when the network device is successfully registered, the default SSID may be automatically turned off or hidden.
The user can receive the registration request of the user through an application program installed in the mobile terminal, the registration request can be started through a button function one key in the application program, the registration request of the user can be input through a voice function voice set in the application program, and the registration request can be triggered through a key set in the mobile terminal.
For example, as shown in fig. 9, in order to implement a main menu interface in the mobile terminal, a user may click on an icon 90 of a first application program to input an open instruction for the first application program. After the mobile terminal receives an opening instruction of the first application program from the user, the mobile terminal presents a main interface of the first application program to the user in response to the opening instruction of the first application program, as shown in fig. 10 a. Then, the mobile terminal may receive a registration request 1001 of the user for the first application, the mobile terminal responds to the registration request, the mobile terminal obtains first coordinate information of a current geographic location, and the mobile terminal sends the first coordinate information to the network device, where the first coordinate information indicates that the network device is registered as a site.
802. And responding to the registration request, the mobile terminal acquires the first coordinate information of the current geographical position and sends the first coordinate information of the current geographical position to the network equipment.
Optionally, the technologies adopted by the mobile terminal to acquire the coordinate information include, but are not limited to: satellite positioning technology (e.g., GPS, beidou, galileo, etc.), mobile base station positioning technology, or others.
Specifically, the mobile terminal may carry the first coordinate information in an extension protocol packet through an extension protocol in communication with the network device, and send the extension protocol packet.
Optionally, the extension protocol used for the mobile terminal and the network device to transmit the coordinate information may be diversified. For example, HTTPS protocol may be used to carry coordinate information of the geographical location of the network device in a Uniform Resource Locator (URL). For example, the SFTP protocol may also be used, and the coordinate information is written into a configuration file, and the configuration file is transferred to the network device through the SFTP protocol.
It should be noted that, if the mobile terminal detects multiple default SSIDs, the mobile terminal may sequentially connect to each SSID in a polling manner, thereby transmitting the first coordinate information to each network device.
For example, if the mobile terminal detects 2 default SSIDs, which are SSID1 and SSID2, respectively, the mobile terminal may first connect to SSID1, send the first coordinate information of the current geographical location acquired by the mobile terminal to the network device 1 corresponding to SSID1, feed back information to the mobile terminal after the network device 1 successfully receives the first coordinate information sent by the mobile terminal, the mobile terminal responds to the feedback information, then connect to SSID2, and send the first coordinate information of the current geographical location acquired by the mobile terminal to the network device 2 corresponding to SSID 2.
The feedback information may specifically include information whether the first coordinate information is successfully received, if the first coordinate information is unsuccessfully received after the first coordinate information is sent to the network device 1 corresponding to the SSID1, the content in the feedback information is that the first coordinate information is unsuccessfully received, the first coordinate information is sent again to the network device 1 corresponding to the SSID1 after the first coordinate information is sent to the network device 2 corresponding to the SSID2, that is, the SSIDs are sequentially connected in a polling manner, and the first coordinate information of the current geographical position of the mobile terminal is sent until all the network devices successfully receive the first coordinate information of the current geographical position of the mobile terminal.
Here, the present application does not specifically limit the sequence of SSID connection, that is, in the present embodiment, SSID signal strengths may be connected in the order from high to low, or SSID names may be connected in the order.
803. The network device determines the received first coordinate information as coordinate information indicating a geographical location of the network device.
The network device may then perform the methods illustrated in fig. 4 or fig. 7 to effect registration of the network device.
Further, corresponding to the foregoing step 409, after receiving the prompt message of passing the verification sent by the network controller, the network device may also send the prompt message of passing the verification to the mobile terminal, and the mobile terminal may display the prompt message of passing the verification. For example, the mobile terminal may present the user with an interface as shown in fig. 10b, including the verification-pass prompt 1002.
Further, for a network device that does not have a function of communicating with a device having a positioning function, as described above, the network device may acquire the first coordinate information through a second network device that has a function of communicating with the device having a positioning function. For example, the second network device may acquire the first coordinate information through the processes 801 to 803 and then transmit the acquired first coordinate information to a network device that does not have a communication function with a device having a positioning function, and the network device uses the received first coordinate information as coordinate information indicating a geographical location of the network device.
For example, in a complete medium-small campus network, network devices supporting wireless communication technology may all obtain first coordinate information indicating a geographic location of the network device through a mobile terminal, and for network devices without wireless communication technology capability (e.g., an exchange), after obtaining the first coordinate information through the mobile terminal, the network device with wireless communication technology capability (e.g., an AP device) may transmit the obtained first coordinate information to the network device without wireless communication technology capability through an extended protocol. Similarly, the switch may also transfer the received first coordinate information to other network devices through the extension protocol.
The extended protocol for the AP device to communicate the first coordinate information to the switch may adopt an LLDP protocol, in which a TLV field is extended, as shown in table 1 below, where TLV Type is used to indicate longitude or latitude in the first coordinate information, such as indicating longitude by 001, latitude by 002, TLV Length represents a data Length of the longitude or latitude, and TLV Value represents a specific Value of the longitude or latitude.
TABLE 1
Figure BDA0003059123050000131
The above-mentioned scheme provided by the embodiment of the present application is introduced mainly from the perspective of interaction between network elements. It is understood that each network element, such as a server and a terminal, includes hardware structures and/or software modules for performing the functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the server and the terminal may be divided into the functional modules according to the above method examples, 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 integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and another division manner may be available in actual implementation.
In the case of dividing each functional module by corresponding functions, fig. 11a shows a schematic diagram of a possible composition of the network controller mentioned above and in the embodiment, as shown in fig. 11a, the network controller may include: a first receiving unit 71, an acquiring unit 72, and a transmitting unit 73.
Wherein, the first receiving unit 71 is configured to support the network controller to execute step 403 in the registration method of the network device shown in fig. 4 or fig. 7.
An obtaining unit 72, configured to support the network controller to execute step 404 in the registration method of the network device shown in fig. 4 or fig. 7.
A sending unit 73, configured to enable the network controller to execute step 405 in the registration method of the network device shown in fig. 4 or fig. 7.
In the embodiment of the present application, further, as shown in fig. 11b, 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 the coordinate information of the first station and the configuration information corresponding to the first station.
The storage unit 75 is configured to store the coordinate information of the first station and the configuration information corresponding to the first station.
Optionally, the first receiving unit 71 is further configured to receive a serial number of the network device sent by the network device;
the network controller further comprises a processing unit 76 for associating the first site with the sequence number received by the first receiving unit 71.
Optionally, the sending unit 73 is further configured to send verification passing prompt information to the network device.
It should be noted that all relevant contents of each step related to the method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The network controller provided by the embodiment of the application is used for executing the registration method of the network device, so that the same effect as the registration of the network device can be achieved.
In case of an integrated unit, fig. 12 shows a possible composition diagram of the first network device involved in the above embodiment. As shown in fig. 12, the first network device includes: acquisition section 81, transmission section 82, reception section 83, and registration section 84.
The obtaining unit 81 is configured to support the network device to perform step 401 in the registration method of the network device shown in fig. 4 or fig. 7.
A sending unit 82, configured to support the network device to perform step 402 in the registration method of the network device shown in fig. 4 or fig. 7.
A receiving unit 83, configured to support the network device to perform step 406 in the registration method of the network device shown in fig. 4 or fig. 7.
A registering unit 84, configured to support the network device to perform step 407 in the registering method of the network device shown in fig. 4 or fig. 7.
Optionally, the obtaining unit 81 is specifically configured to receive the first coordinate information sent by a second network device, where the second network device is connected to the first network device, and the first coordinate information is coordinate information of a current geographic location of the second network device.
Optionally, the obtaining unit 81 is specifically configured to receive an extension protocol packet sent by the second network device through an extension protocol, where the extension protocol packet includes the first coordinate information, and the extension protocol includes extended http, https, SFTP, or LLDP.
Optionally, the sending unit 82 is further configured to send the serial number of the first network device to the network controller.
In the case of dividing the functional modules by corresponding functions, fig. 13 shows a possible composition diagram of the mobile terminal mentioned above and in the embodiment, as shown in fig. 13, the mobile terminal may include: a receiving unit 91, an acquiring unit 92, and a transmitting unit 93.
Wherein, the receiving unit 91 is configured to support the mobile terminal to execute step 801 in the registration method of the network device shown in fig. 8.
An obtaining unit 92, configured to support the mobile terminal to perform step 802 in the registration method of the network device shown in fig. 8.
A sending unit 93, configured to support the mobile terminal to execute step 803 in the registration method of the network device shown in fig. 8.
Optionally, the sending unit 93 is specifically configured to send an extension protocol packet to the network device, where the extension protocol packet includes the first coordinate information, and the extension protocol includes extended http, https, SFTP, or LLDP.
Through the description of the above embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above functions may be distributed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application, or portions of the technical solutions that substantially contribute to the prior art, or all or portions of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (31)

1. A registration method of a network device, wherein the method is applied to a network controller, and the method comprises the following steps:
receiving first coordinate information which is sent by network equipment and indicates the geographical position of the network equipment;
acquiring a first site matched with the first coordinate information, wherein the first site corresponds to the configuration information of the network equipment;
sending configuration information of the network device to the network device, wherein the configuration information indicates that the network device is registered as a site.
2. The method of claim 1, wherein the matching of coordinate information comprises:
the error between the first coordinate information and the coordinate information of the first station is less than or equal to a first threshold value;
alternatively, the first and second electrodes may be,
the distance between the geographic position indicated by the first coordinate information and the geographic position indicated by the coordinate information of the first station is smaller than or equal to a second threshold value;
alternatively, the first and second electrodes may be,
the first station is located within a first area that includes a geographic location indicated by the first coordinate information.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and receiving and storing the coordinate information of the first station and the configuration information corresponding to the first station.
4. The method according to any one of claims 1-3, further comprising:
receiving a serial number of the network equipment sent by the network equipment;
associating the first station with the sequence number.
5. The method according to any one of claims 1-4, further comprising:
and sending verification passing prompt information to the network equipment.
6. A registration method of a network device, the method being applied to a first network device, the method comprising:
acquiring first coordinate information indicating the geographical position of the first network equipment;
sending the first coordinate information to a network controller;
receiving configuration information of the first network device corresponding to a first site sent by the network controller, wherein the first coordinate information is matched with the coordinate information of the first site;
and registering the first network equipment as a site according to the configuration information.
7. The method of claim 6, wherein obtaining first coordinate information indicative of the geographic location of the first network device comprises:
and receiving the first coordinate information sent by a second network device, wherein the second network device is connected with the first network device, and the first coordinate information is the coordinate information of the current geographic position of the second network device.
8. The method of claim 7, wherein the receiving the first coordinate information sent by the second network device comprises:
receiving an extension protocol message sent by the second network equipment, wherein the extension protocol message comprises the first coordinate information;
the extended protocol comprises an extended hypertext transfer protocol http, a hypertext transfer security protocol https, a secure file transfer protocol SFTP or a link layer discovery protocol LLDP.
9. The method according to claim 7 or 8, wherein the second network device is a wireless access device or a mobile terminal.
10. The method according to any one of claims 6-9, wherein the matching of coordinate information comprises:
the error between the first coordinate information and the coordinate information of the first station is less than or equal to a first threshold value;
alternatively, the first and second electrodes may be,
the distance between the geographic position indicated by the first coordinate information and the geographic position indicated by the coordinate information of the first station is smaller than or equal to a second threshold value;
alternatively, the first and second liquid crystal display panels may be,
the first station is located within a first area that includes a geographic location indicated by the coordinate information.
11. The method according to any one of claims 6-10, further comprising:
sending a sequence number of the first network device to the network controller.
12. A registration method of a network device is applied to a mobile terminal, and the method comprises the following steps:
receiving a registration request of a user;
responding to the registration request, and acquiring first coordinate information of the current geographical position by the mobile terminal;
and responding to the registration request, and sending the first coordinate information to network equipment by the mobile terminal, wherein the first coordinate information indicates that the network equipment is registered as a station.
13. The method according to claim 12, wherein the mobile terminal sends the first coordinate information to a network device, and wherein the sending comprises: the mobile terminal sends an extended protocol message to the network equipment, wherein the extended protocol message comprises the first coordinate information;
the extended protocol comprises an extended hypertext transfer protocol http, a hypertext transfer security protocol https, a secure file transfer protocol SFTP or a link layer discovery protocol LLDP.
14. A network controller, characterized in that the network controller comprises:
the first receiving unit is used for receiving first coordinate information which is sent by network equipment and indicates the geographical position of the network equipment;
an obtaining unit, configured to obtain a first site matched with the first coordinate information, where the first site corresponds to configuration information of the network device;
a sending unit, configured to send configuration information of the network device to the network device, where the configuration information indicates that the network device is registered as a site.
15. The network controller of claim 14, wherein the matching of the coordinate information comprises:
the error between the first coordinate information and the coordinate information of the first station is less than or equal to a first threshold value;
alternatively, the first and second electrodes may be,
the distance between the geographic position indicated by the first coordinate information and the geographic position indicated by the coordinate information of the first station is smaller than or equal to a second threshold value;
alternatively, the first and second liquid crystal display panels may be,
the first station is located within a first area that includes a geographic location indicated by the first coordinate information.
16. The network controller according to claim 14 or 15, wherein the network controller further comprises:
a second receiving unit, configured to receive coordinate information of the first station and configuration information corresponding to the first station;
and the storage unit is used for storing the coordinate information of the first station and the configuration information corresponding to the first station.
17. The network controller according to any of claims 14-16,
the first receiving unit is further configured to receive a serial number of the network device sent by the network device;
the network controller further comprises a processing unit for associating the first station with the serial number.
18. The network controller according to any of claims 14-17, wherein the sending unit is further configured to send a verification-passed prompt message to the network device.
19. A first network device, wherein the first network device comprises:
an obtaining unit, configured to obtain first coordinate information indicating a geographical location of the first network device;
a sending unit, configured to send the first coordinate information to a network controller;
a receiving unit, configured to receive configuration information of the first network device corresponding to a first site sent by the network controller; the coordinate information is matched with the coordinate information of the first station;
and the registering unit is used for registering the first network equipment as a site according to the configuration information.
20. The first network device of claim 19, wherein the obtaining unit is specifically configured to: and receiving the first coordinate information sent by a second network device, wherein the second network device is connected with the first network device, and the first coordinate information is the coordinate information of the current geographic position of the second network device.
21. The first network device of claim 20, wherein the obtaining unit is specifically configured to: and receiving an extension protocol message sent by the second network device through an extension protocol, wherein the extension protocol message comprises the first coordinate information, and the extension protocol comprises a hypertext transfer protocol http, a hypertext transfer security protocol https, a secure file transfer protocol SFTP or a link layer discovery protocol LLDP.
22. The first network device of claim 20 or 21, wherein the second network device is a wireless access device or a mobile terminal.
23. The first network device of any of claims 19-22, wherein the matching of coordinate information comprises:
the error between the first coordinate information and the coordinate information of the first station is less than or equal to a first threshold value;
alternatively, the first and second electrodes may be,
the distance between the geographic position indicated by the first coordinate information and the geographic position indicated by the coordinate information of the first station is smaller than or equal to a second threshold value;
alternatively, the first and second electrodes may be,
the first station is located within a first area that includes a geographic location indicated by the coordinate information.
24. The first network device according to any of claims 18-23, wherein the sending unit is further configured to send a sequence number of the first network device to the network controller.
25. A mobile terminal, characterized in that the mobile terminal comprises:
a receiving unit, configured to receive a registration request of a user;
the acquisition unit is used for responding to the registration request and acquiring first coordinate information of the current geographic position;
a sending unit, configured to send, in response to the registration request, the first coordinate information to a network device, where the first coordinate information indicates that the network device is registered as a station.
26. The mobile terminal of claim 25,
the sending unit is specifically configured to send an extension protocol packet to the network device, where the extension protocol packet includes the first coordinate information, and the extension protocol includes an extended hypertext transfer protocol http, a hypertext transfer security protocol https, a secure file transfer protocol SFTP, or a link layer discovery protocol LLDP.
27. A communication device, comprising: a memory for storing a computer program and a processor for invoking the computer program to perform the method of any of claims 1-13.
28. A registration system for a network device, the system comprising: a network device, a network controller;
the network device is used for sending first coordinate information indicating the geographical position of the network device to the network controller;
the network controller is configured to acquire a first site matched with the first coordinate information, where 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 further configured to receive configuration information of the network device sent by the network controller, and register the network device as a site according to the configuration information.
29. The system of claim 28, further comprising a mobile terminal, the mobile terminal being connected to the network device; the mobile terminal receives a registration request of a user; and responding to the registration request, acquiring first coordinate information of the geographical position of the mobile terminal, and sending the first coordinate information to the network equipment.
30. A computer-readable storage medium, in which a computer program is stored which, when run on a computer, causes the computer to carry out the method of any one of claims 1 to 13.
31. A computer program product, wherein the computer program product comprises computer instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1-13.
CN202110507850.0A 2021-05-10 2021-05-10 Registration method, device and system of network device Pending CN115396805A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110507850.0A CN115396805A (en) 2021-05-10 2021-05-10 Registration method, device and system of network device
PCT/CN2021/141811 WO2022237191A1 (en) 2021-05-10 2021-12-27 Method, device and system for registering network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110507850.0A CN115396805A (en) 2021-05-10 2021-05-10 Registration method, device and system of network device

Publications (1)

Publication Number Publication Date
CN115396805A true CN115396805A (en) 2022-11-25

Family

ID=84029302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110507850.0A Pending CN115396805A (en) 2021-05-10 2021-05-10 Registration method, device and system of network device

Country Status (2)

Country Link
CN (1) CN115396805A (en)
WO (1) WO2022237191A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101077028A (en) * 2004-12-08 2007-11-21 艾利森电话股份有限公司 Method and system for improved handover of mobile stations to unlicensed mobile access networks
EP2744150A1 (en) * 2012-12-11 2014-06-18 Thomson Licensing Automatic reconfiguration of network devices
CN105554697A (en) * 2015-09-29 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Network access method and terminal
CN105430618B (en) * 2016-01-14 2019-02-12 Oppo广东移动通信有限公司 A kind of network registering method and device
CN106028279B (en) * 2016-05-03 2020-01-14 Oppo广东移动通信有限公司 Network registration method and device

Also Published As

Publication number Publication date
WO2022237191A1 (en) 2022-11-17

Similar Documents

Publication Publication Date Title
US9912662B2 (en) Indoor location server provision and discovery
US9031050B2 (en) Using a mobile device to enable another device to connect to a wireless network
EP3151628B1 (en) Method, device and system for accessing a wireless network
CN102100111B (en) Methods and apparatuses for providing temporal information
CN108496380B (en) Server and storage medium
EP3410156A1 (en) Positioning information verification
EP2854084A1 (en) Information processing method, server and logistics terminal
EP2757738A2 (en) Communication management system, relay device, communication control system, communication system, communication method, and carrier means storing comunication control program
KR101640209B1 (en) Apparatus and method for supporting portable mobile VPN service
CN103974376A (en) Network connection assisting system and method
US11683404B2 (en) Communication network system and method for network communication
JP2007005892A (en) Information distribution system, information distribution method, wireless lan terminal, information acquisition method of wireless lan terminal, and access point
CN113840292A (en) Base station opening system, method, device and equipment based on micro-service
US20110158172A1 (en) Method and device for enforcing internet users' geographical positioning traceability
WO2021227866A1 (en) Network authentication method and apparatus, and system
JP2003101545A (en) Method for controlling access to lan from wireless lan terminal, wireless lan base station apparatus and wireless lan terminal apparatus
KR20060102181A (en) Method, server and system for providing ap-centered zone based service
JP2008131429A (en) Wireless lan communication system setting method and wireless lan access point
CN115396805A (en) Registration method, device and system of network device
JP2010074481A (en) Lan system, terminal device, utilization application device, and user account acquiring method
JP6459491B2 (en) Display device, display system, and program
CN107895436A (en) One kind is shared with screen device management system and its control method
CN110392076B (en) Method, device and storage medium for vehicle-to-any V2X communication
WO2016061981A1 (en) Wlan sharing method and system, and wlan sharing registration server
CN114978556A (en) Slice authentication method, device and system

Legal Events

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