CN109361554A - The method and apparatus of the customized management page and default configuration - Google Patents
The method and apparatus of the customized management page and default configuration Download PDFInfo
- Publication number
- CN109361554A CN109361554A CN201811462271.3A CN201811462271A CN109361554A CN 109361554 A CN109361554 A CN 109361554A CN 201811462271 A CN201811462271 A CN 201811462271A CN 109361554 A CN109361554 A CN 109361554A
- Authority
- CN
- China
- Prior art keywords
- file
- default configuration
- updated
- page
- network equipment
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
- H04L41/0253—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using browsers or web-pages for accessing management information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
- H04L63/0846—Network architectures or network communication protocols for network security for authentication of entities using passwords using time-dependent-passwords, e.g. periodically changing passwords
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of customized management page and the methods and apparatus of default configuration, the described method includes: when receiving the DHCP request of the network equipment to be updated, distribution IP address simultaneously sends the data for carrying DHCP Option66 field to the network equipment to be updated, so that the network equipment to be updated updates administration page and configuration request by the way that the data return for carrying DHCP Option66 field described in parsing is corresponding;When receiving the update administration page and configuration request, administration page file and default configuration file are obtained from specified directory;The administration page file and the default configuration file are sent to the network equipment to be updated, so that the network equipment to be updated is completed to update according to the page file and the default configuration file.The present invention can be realized the administration page and default configuration of customized network equipment, at low cost.
Description
Technical field
The present invention relates to a kind of method of route technology field more particularly to customized management page and default configuration and set
It is standby.
Background technique
The existing network equipment, such as router often encounter such case in production: visitor of many clients to equipment
Inhibition and generation demand is less, generally only needs to modify the Logo and style of administration page, the content of the page and the default configuration of factory
?;But each client is few to the demand of equipment, and the production inventory if one type of each customer care is simultaneously independent
A production line is opened, then will affect production efficiency, increases the cost of production and maintenance;On the other hand, the equipment of shipment also has
The case where batch upgrade firmware and configuration.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that providing the side of a kind of customized management page and default configuration
Method and equipment can be realized the network equipment produced and is managed the page and default configuration customization, at low cost.
In order to solve the above technical problems, on the one hand the embodiment of the present invention provides a kind of customized management page and default configuration
Method, be suitable for computer, the computer connects the end LAN of the network equipment to be updated by interchanger;The method
Include:
When receiving the DHCP request of the network equipment to be updated, distributes IP address and transmission carries DHCP
The data of Option66 field are to the network equipment to be updated, so that the network equipment to be updated passes through described in parsing
The data for carrying DHCP Option66 field return to corresponding update administration page and configuration request;
Wherein, the network equipment to be updated is triggered when accessing the interchanger sends DHCP request;The carrying
The data for having DHCP Option66 field include administration page information and configuration information to be updated;
When receiving the update administration page and configuration request, administration page file is obtained from specified directory
And default configuration file;
The administration page file and the default configuration file are sent to the network equipment to be updated, so that institute
The network equipment to be updated is stated to complete to update according to the page file and the default configuration file.
Further, the network equipment to be updated is by the administration page file received and the default configuration
File is stored in predetermined FLASH subregion;Wherein, the data being stored in the predetermined FLASH subregion can not be powered down or restore
Default setting is changed.
Further, the method also includes:
The configuration needs of user are received, in advance to modify to current configuring information of network appliance;
Modified configuring information of network appliance is exported, the administration page file and default configuration text are obtained
Part;
The administration page file and the default configuration file are stored in the specified directory.
Further, the default configuration file includes SSID name and SSID password;It include the in the SSID name
One character string includes the second character string in the SSID password;
Then the network equipment to be updated is by following steps according to the page file and the default configuration file
It completes to update:
When recognizing the SSID name in the default configuration file includes first character string, by described
One character string replaces with the character of designated position in the MAC Address of the network equipment to be updated;
When recognizing the SSID password in the default configuration file includes second character string, by described
Two character strings replace with the PIN code of the network equipment to be updated;
It is updated according to replaced SSID name and replaced SSID password.
Further, the default configuration file includes generic configuration file and file is separately configured;The method passes through
File is separately configured described in following steps are pre-generated:
Obtain the MAC Address of several network equipments to be updated;
It obtains that each MAC Address is corresponding to be separately configured information, and is separately configured according to each MAC Address is corresponding
File is separately configured described in generating in information;Wherein, each name that file is separately configured includes the word of corresponding MAC Address
Symbol;The information that is separately configured includes WAN connection type, in the user's name of PPPoE and its password, SSID name and its password
At least one information;
It is then described when receiving the update administration page and configuration request, management page is obtained from specified directory
Face file and default configuration file, specifically include:
When receiving the update administration page and configuration request, the management is obtained from the specified directory
What the MAC Address of page file, generic configuration file and file name and the network equipment to be updated matched individually matches
Set file.
In order to solve the above technical problems, the embodiment of the present invention on the other hand provides a kind of customized management page and default is matched
The method set, suitable for the network equipment to be updated, the end LAN of the network equipment to be updated is connected by interchanger to be calculated
Machine;The described method includes:
When response accesses the interchanger, triggering sends DHCP request, to obtain IP address and carrying from the computer
There are the data of DHCP Option66 field;Wherein, the data for carrying DHCP Option66 field include to be updated
Administration page information and configuration information;
The data for carrying DHCP Option66 field are parsed, and return to corresponding update administration page
With configuration request to the computer, to obtain administration page file and default configuration file from the computer;Wherein,
The administration page file and the default configuration file are receiving the update administration page and configuration by the computer
From the middle acquisition of specified directory when information request;
It completes to update according to the administration page file got and the default configuration file.
Further, the method also includes:
The administration page file that will acquire and the default configuration file are stored in predetermined FLASH subregion;Wherein,
The data being stored in the predetermined FLASH subregion can not be powered down or factory reset is changed;The administration page text
Part and the default configuration file are saved using cipher mode.
Further, the default configuration file includes SSID name and SSID password;It include the in the SSID name
One character string includes the second character string in the SSID password;
The administration page file and the default configuration file that then the basis is got are completed to update, specific to wrap
It includes:
When recognizing the SSID name in the default configuration file includes first character string, by described
One character string replaces with the character of designated position in the MAC Address of the network equipment to be updated;
When recognizing the SSID password in the default configuration file includes second character string, by described
Two character strings replace with the PIN code of the network equipment to be updated;
It is updated according to replaced SSID name and replaced SSID password.
Further, the default configuration file includes generic configuration file and file is separately configured;The computer is logical
Cross that following steps are pre-generated described to be separately configured file:
The MAC Address of several network equipments to be updated is obtained,
It obtains that each MAC Address is corresponding to be separately configured information, and is separately configured according to each MAC Address is corresponding
File is separately configured described in generating in information;Wherein, each name that file is separately configured includes the word of corresponding MAC Address
Symbol;The information that is separately configured includes WAN connection type, in the user's name of PPPoE and its password, SSID name and its password
At least one information;
Then the computer is logical obtains the administration page file and the default configuration file from the specified directory
It specifically includes:
Obtained from the specified directory administration page file, generic configuration file and file name and it is described to
What the MAC Address of more new network device matched is separately configured file.
Accordingly, on the one hand the embodiment of the present invention also provides the equipment of a kind of customized management page and default configuration, including place
It manages device, memory and storage in the memory and is configured as the computer program executed by the processor, it is described
The described in any item customized management pages in one side face and default configuration are realized when processor executes the computer program
Method.
Accordingly, on the other hand the embodiment of the present invention also provides the equipment of a kind of customized management page and default configuration, including
Processor, memory and storage in the memory and are configured as the computer program executed by the processor, institute
It states and realizes that the described in any item customized management pages of above-mentioned another aspect and default are matched when processor executes the computer program
The method set.
Compared with prior art, the embodiment of the invention provides a kind of method of customized management page and default configuration and set
It is standby, it can be realized the network equipment produced and be managed the page and default configuration customization, and is at low cost.
Detailed description of the invention
Fig. 1 is computer and net in the method for a kind of customized management page that the embodiment of the present invention 1 provides and default configuration
The connection exemplary diagram of network equipment;
Fig. 2 is the step flow chart of the method for a kind of customized management page that the embodiment of the present invention 1 provides and default configuration;
Fig. 3 is computer and net in the method for a kind of customized management page that the embodiment of the present invention 1 provides and default configuration
The interaction diagrams of network equipment;
Fig. 4 is the step flow chart of the method for a kind of customized management page that the embodiment of the present invention 2 provides and default configuration.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In order to solve the above technical problems, on the one hand the embodiment of the present invention provides a kind of customized management page and default configuration
Method, be suitable for computer, the computer connects the end LAN of the network equipment to be updated by interchanger;Referring to Fig. 1 institute
Show, be the exemplary diagram that the network equipment is connected with computer, includes 3 network equipments, respectively Device1, Device2 in Fig. 1
And Device3, the LAN interface of 3 network equipments pass through connection interchanger Switch and are connected to computer PC.In the present embodiment
In, the network equipment configured is powered on.
Shown in Figure 2, Fig. 2 is the step flow chart of the present embodiment, shown in Figure 3, and Fig. 3 is to calculate in the present embodiment
The method of the data interaction figure of machine PC and the network equipment, a kind of customized management page provided in this embodiment and default configuration includes
Step S11 to step S13:
S11, when receiving the DHCP request of the network equipment to be updated, distribute IP address and send carry
The data of DHCP Option66 field are to the network equipment to be updated, so that the network equipment to be updated passes through solution
The data that DHCP Option66 field is carried described in analysis return to corresponding update administration page and configuration request;
Wherein, the network equipment to be updated is triggered when accessing the interchanger sends DHCP request;The carrying
The data for having DHCP Option66 field include administration page information and configuration information to be updated;
S12, when receiving the update administration page and configuration request, administration page is obtained from specified directory
File and default configuration file;
S13, the administration page file and the default configuration file are sent to the network equipment to be updated, with
The network equipment to be updated is set to complete to update according to the page file and the default configuration file.
It is to be understood that DHCP, agreement (English: Dynamic Host Configuration is arranged in dynamic computer check
Protocol, DHCP) be a local area network network protocol, worked using udp protocol, main there are two purposes: for inside
Net or Internet service provider's automatic IP address allocation;It is used as to user for intranet administrator and center is made to all computers
The means of management.DHCP option is the additional function of DHCP, and different additional functions is distinguished with number, DHCP
Option66 is specified TFTP (simple file transfer protocol) server address.
Specifically, the computer can be the end computer PC, this method operation on computer PC, provide DHCP, DNS and
HTTP service, and interface is provided and is modified for user according to self-demand;The network equipment can be router, the network
Equipment is added to Option66 functional module from software, and the operation of all update default configurations and firmware updating is in network
It is completed in equipment end.
The above method is suitable for being customization administration page and default configuration, for example meets operator to administration page
The customized demand of Logo and style, then manufacturer/subsidiary etc. can be by above method realization pair before routing device factory
Routing device it is mass customized.
Further, the network equipment is then no longer re-requesting new page file after above-described embodiment updates once
And default configuration file, improve safety when updating.
Further, after step S13 completes configuration update, the network equipment can be restarted automatically, and restarting rear operator can
It is updated with being powered off and being replaced next equipment to be updated.
Further, the administration page file and default configuration file are sent in step S13 described to be updated
When the network equipment, the network equipment to be updated protects the administration page file received and the default configuration file
It is stored in predetermined FLASH subregion;Wherein, the data being stored in the predetermined FLASH subregion can not be powered down or restore factory and set
It sets and is changed.
Administration page file and default configuration file are stored in predetermined FLASH subregion, administration page text had both been avoided
The repetition of part and default configuration file configures, and predetermined FLASH subregion guarantees that data are not lost when power-off and factory reset
It loses, the maloperation for avoiding user brings expendable consequence.
Further, the preservation of administration page file and default configuration file in predetermined FLASH subregion is all made of encryption
It saves, to improve the safety of customization.
Further, the method also includes:
The configuration needs of user are received, in advance to modify to current configuring information of network appliance;
Modified configuring information of network appliance is exported, the administration page file and default configuration text are obtained
Part;
The administration page file and the default configuration file are stored in the specified directory.
In above-mentioned steps, computer connects a network equipment in advance, and user is on computers by matching the network
Confidence breath is modified, the configuration met customer need, and then export obtains administration page text to be allotted
The page file and default configuration file are stored in the specified directory by part and default configuration file.It obtains with postponing, it can
The network equipment that this is connected in advance disconnects, and connects the network equipment to be updated, to execute next net to be updated
The configuration flow of network equipment.
Further, the default configuration file includes SSID name and SSID password;It include the in the SSID name
One character string includes the second character string in the SSID password;
Then the network equipment to be updated is by following steps according to the page file and the default configuration file
It completes to update:
When recognizing the SSID name in the default configuration file includes first character string, by described
One character string replaces with the character of designated position in the MAC Address of the network equipment to be updated;
When recognizing the SSID password in the default configuration file includes second character string, by described
Two character strings replace with the PIN code of the network equipment to be updated;
It is updated according to replaced SSID name and replaced SSID password.
For example, the SSID name issued is such as " TPLINK_XXXX " or " TPLINK_XXXX_2 ", can pass through
Option66 module can be changed to " XXXX " latter 4 of MAC Address, similarly if it is " TPLINK_XXXXXX " when can replace after 6
Position.The SSID password issued be "? undefined? " when, use PIN code in the network equipment as SSID password.
By above-mentioned function, corresponding SSID name and SSID password can be matched for each network equipment, avoid institute
There are SSID name and the SSID password of the equipment of network just the same.
Further, the default configuration file includes generic configuration file and file is separately configured;The method passes through
File is separately configured described in following steps are pre-generated:
Obtain the MAC Address of several network equipments to be updated;
It obtains that each MAC Address is corresponding to be separately configured information, and is separately configured according to each MAC Address is corresponding
File is separately configured described in generating in information;Wherein, each name that file is separately configured includes the word of corresponding MAC Address
Symbol;The information that is separately configured includes WAN connection type, in the user's name of PPPoE and its password, SSID name and its password
At least one information;
It is then described when receiving the update administration page and configuration request, management page is obtained from specified directory
Face file and default configuration file, specifically include:
When receiving the update administration page and configuration request, the management is obtained from the specified directory
What the MAC Address of page file, generic configuration file and file name and the network equipment to be updated matched individually matches
Set file.
Such as client wish a certain batch facility the end WAN connection type be PPPoE, and each PPPoE user name and
Password is inconsistent, then client can use the above method generate the special configuration file of a batch (referred to as mac.bin file,
Global configuration file originally is known as global.bin), this document is named with the MAC Address of equipment, such as
07af2d66c301.bin, 07af2d66c303.bin etc..File content are as follows:
07af2d66c301.bin
07af2d66c303.bin
The rest may be inferred.Finally all mac.bin and global.bin are put under specified directory, so that it may realize all
The end the default WAN connection type of equipment is PPPoE and user name password is specified.
Above-mentioned setting can pass through the response mechanism of default configuration and the MAC Address of the network equipment, it is ensured that every sets
The uniqueness of standby default configuration.
When it is implemented, the network equipment when being connected to computer by interchanger, sends DHCP request to computer, remove
Triggering computer to network equipment distribution IP address outside, while also the transmission of triggering computer carries DHCP Option66 word
The data of section obtain management to be updated so that the network equipment carries the data of DHCP Option66 field by parsing this
Page info and configuration information, and then feed back the corresponding request for updating administration page and configuration information;Then, computer will manage
Reason page file and default configuration file are sent to the network equipment to be updated, so that the network equipment to be updated is according to the page
Face file and default configuration file are completed to update.
The present embodiment have it is following the utility model has the advantages that
1, it using the automatic interaction of DHCP and scalability (flexibly customized Option), prevents IP from conflicting, reaches quick
The purpose of the customized management page and default configuration;
2, by dhcp process as the end LAN, rather than the network equipment, by automatically configuring on public network, safety is more
It is high;
3, production efficiency is improved, manufacturing cost is reduced;
4, equipment, which need to only power on and access LAN mouthfuls, can be automatically performed update, quick and convenient;
5, low to production hardware requirement, it is only necessary to a PC and interchanger;
6, applied widely, all available the method for the network equipment for being related to the customized management page and default configuration;
7, administration page and default configuration are stored in specific flash subarea, configure without repeating, while guaranteeing power-off or extensive
Multiple default setting will not be lost;
8, the response mechanism of administration page default configuration and MAC Address: it can guarantee the unique of the default configuration of every equipment
Property;
9, administration page and the equal encrypting storing of default configuration: the safety of customization is improved.
Corresponding to embodiment 1, the embodiment of the present invention 2 provides a kind of method of the customized management page and default configuration, is applicable in
Computer is connected by interchanger in the end LAN of the network equipment to be updated, the network equipment to be updated;The network equipment and
The connection type of computer can equally refer to Fig. 1, and the interaction flow of the network equipment and computer can refer to Fig. 3.
Referring to fig. 4, the method for a kind of customized management page that the present embodiment 2 provides and default configuration include step S21 extremely
Step S23:
S21, response access the interchanger when, triggering send DHCP request, with from the computer obtain IP address and
Carry the data of DHCP Option66 field;Wherein, the data for carrying DHCP Option66 field include to more
New administration page information and configuration information;
S22, the data for carrying DHCP Option66 field are parsed, and returns to corresponding more new management
The page and configuration request are to the computer, to obtain administration page file and default configuration file from the computer;
Wherein, the administration page file and the default configuration file by the computer receive the update administration page and
From the middle acquisition of specified directory when configuration request;
S23, it completes to update according to the administration page file and the default configuration file that get.
Specifically, the computer can be the end computer PC, this method operation on computer PC, provide DHCP, DNS and
HTTP service, and interface is provided and is modified for user according to self-demand;The network equipment can be router, the network
Equipment is added to Option66 functional module from software, and the operation of all update default configurations and firmware updating is in network
It is completed in equipment end.
The above method is suitable for being customization administration page and default configuration, for example meets operator to administration page
The customized demand of Logo and style, then manufacturer/subsidiary etc. can be by above method realization pair before routing device factory
Routing device it is mass customized.
Further, the network equipment is in (i.e. completion administration page file and default after above-described embodiment 2 updates once
After the preservation and update of configuration file), then new page file and default configuration file are no longer re-requested, is improved when updating
Safety.
Further, completing the updated network equipment of configuration can be restarted automatically, and restarting rear operator can be broken
Electricity is simultaneously replaced next equipment to be updated and is updated.
Further, the method also includes step S24:
S24, the administration page file that will acquire and the default configuration file are stored in predetermined FLASH subregion;
Wherein, the data being stored in the predetermined FLASH subregion can not be powered down or factory reset is changed;The management page
Face file and the default configuration file are saved using cipher mode.
Administration page file and default configuration file are stored in predetermined FLASH subregion, administration page text had both been avoided
The repetition of part and default configuration file configures, and predetermined FLASH subregion guarantees that data are not lost when power-off and factory reset
It loses, the maloperation for avoiding user brings expendable consequence.
Further, the preservation of administration page file and default configuration file in predetermined FLASH subregion is all made of encryption
It saves, to improve the safety of customization.
It should be noted that step S24 is not to be limited to after step S23 could execute, step S24 is only limited ought be from
After obtaining administration page file and default configuration file in computer, to the preservation side of administration page file and default configuration file
Formula.
Further, the default configuration file includes SSID name and SSID password;It include the in the SSID name
One character string includes the second character string in the SSID password;
The administration page file and the default configuration file that then the basis is got are completed to update, specific to wrap
It includes:
When recognizing the SSID name in the default configuration file includes first character string, by described
One character string replaces with the character of designated position in the MAC Address of the network equipment to be updated;
When recognizing the SSID password in the default configuration file includes second character string, by described
Two character strings replace with the PIN code of the network equipment to be updated;
It is updated according to replaced SSID name and replaced SSID password.
For example, the SSID name issued is such as " TPLINK_XXXX " or " TPLINK_XXXX_2 ", can pass through
Option66 module can be changed to " XXXX " latter 4 of MAC Address, similarly if it is " TPLINK_XXXXXX " when can replace after 6
Position.The SSID password issued be "? undefined? " when, use PIN code in the network equipment as SSID password.
By above-mentioned function, corresponding SSID name and SSID password can be matched for each network equipment, avoid institute
There are SSID name and the SSID password of the equipment of network just the same.
Further, the default configuration file includes generic configuration file and file is separately configured;The computer is logical
Cross that following steps are pre-generated described to be separately configured file:
The MAC Address of several network equipments to be updated is obtained,
It obtains that each MAC Address is corresponding to be separately configured information, and is separately configured according to each MAC Address is corresponding
File is separately configured described in generating in information;Wherein, each name that file is separately configured includes the word of corresponding MAC Address
Symbol;The information that is separately configured includes WAN connection type, in the user's name of PPPoE and its password, SSID name and its password
At least one information;
Then the computer is logical obtains the administration page file and the default configuration file from the specified directory
It specifically includes:
Obtained from the specified directory administration page file, generic configuration file and file name and it is described to
What the MAC Address of more new network device matched is separately configured file.
Such as client wish a certain batch facility the end WAN connection type be PPPoE, and each PPPoE user name and
Password is inconsistent, then client can use the above method generate the special configuration file of a batch (referred to as mac.bin file,
Global configuration file originally is known as global.bin), this document is named with the MAC Address of equipment, such as
07af2d66c301.bin, 07af2d66c303.bin etc..File content are as follows:
07af2d66c301.bin
07af2d66c303.bin
The rest may be inferred.Finally all mac.bin and global.bin are put under specified directory, so that it may realize all
The end the default WAN connection type of equipment is PPPoE and user name password is specified.
Above-mentioned setting can pass through the response mechanism of default configuration and the MAC Address of the network equipment, it is ensured that every sets
The uniqueness of standby default configuration.
The corresponding explanation that place is referred to embodiment 1 is not described in detail, details are not described herein again in the method for the present embodiment.
Accordingly, the embodiment of the present invention 3 also provides the equipment of a kind of customized management page and default configuration, including processor,
Memory and storage in the memory and are configured as the computer program executed by the processor, the processor
A kind of method of the customized management page and default configuration that provide as in example 1 above is provided when executing the computer program
A variety of implementable solutions.The customized management page of the present embodiment 3 and the equipment of default configuration can be computer or be computer
Included in an equipment, computer may include desktop computer and notebook.
The processor realizes a kind of customized management as provided by the embodiment of the present invention 1 when executing the computer program
The equipment of the page and default configuration;Such as step shown in Fig. 2.
Illustratively, the computer program can be divided into one or more module/units, one or more
A module/unit is stored in the memory, and is executed by the processor, to complete the present invention.It is one or more
A module/unit can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing institute
State implementation procedure of the computer program in the exchange chip.For example, the computer program can be divided into such as lower die
Block:
DHCP request unit 11 is responded, when receiving the DHCP request of the network equipment to be updated, distribution IP
Location simultaneously sends the data for carrying DHCP Option66 field to the network equipment to be updated, so that described to be updated
The network equipment returns to corresponding update administration page and configuration by carrying the data of DHCP Option66 field described in parsing
Information request;
Wherein, the network equipment to be updated is triggered when accessing the interchanger sends DHCP request;The carrying
The data for having DHCP Option66 field include administration page information and configuration information to be updated;
Configuration unit 12 is obtained, for when receiving the update administration page and configuration request, from specified mesh
Administration page file and default configuration file are obtained in record;
Configuration unit 13 is issued, it is described to more for the administration page file and the default configuration file to be sent to
The new network equipment, so that the network equipment to be updated is completed more according to the page file and the default configuration file
Newly.
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng the processor is the control centre of the equipment of the customized management page and default configuration, utilizes various interfaces and route
Connect the various pieces of entire exchange chip.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes
Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization
The various functions of exchange chip.The memory can mainly include storing program area and storage data area, wherein storing program area
It can application program (such as sound-playing function, image player function etc.) needed for storage program area, at least one function etc..
Wherein, if module/unit of the customized management page and the integration of equipments of default configuration is with software function list
Member form realize and when sold or used as an independent product, can store in a computer-readable storage medium
In.Based on this understanding, the present invention realizes all or part of the process in above-described embodiment method, can also pass through computer
Program is completed to instruct relevant hardware, and the computer program can be stored in a computer readable storage medium, should
Computer program is when being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program
Including computer program code, the computer program code can be source code form, object identification code form, executable file
Or certain intermediate forms etc..The computer-readable medium may include: can carry the computer program code any
Entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-
Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and
Software distribution medium etc..It should be noted that the content that the computer-readable medium includes can be according in jurisdiction
Legislation and the requirement of patent practice carry out increase and decrease appropriate, such as in certain jurisdictions, according to legislation and patent practice, meter
Calculation machine readable medium does not include electric carrier signal and telecommunication signal.
Accordingly, the embodiment of the present invention 4 also provides the equipment of a kind of customized management page and default configuration, including processor,
Memory and storage in the memory and are configured as the computer program executed by the processor, the processor
A kind of method such as the customized management page and default configuration that provide in above-described embodiment 2 is realized when executing the computer program
A variety of implementable solutions.The customized management page of the present embodiment 4 and the equipment of default configuration can be the network equipment or be network
The equipment that equipment is included.
The tool of the method for the realization embodiment 2 of the equipment of the customized management page and default configuration provided by the present embodiment 4
Body embodiment is referred to the explanation that above-described embodiment 3 realizes the method for embodiment 1, and details are not described herein again.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention
In embodiment attached drawing, the connection relationship between module indicate between them have communication connection, specifically can be implemented as one or
A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can understand
And implement.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (11)
1. a kind of method of customized management page and default configuration, which is characterized in that be suitable for computer, the computer passes through
Interchanger connects the end LAN of the network equipment to be updated;The described method includes:
When receiving the DHCP request of the network equipment to be updated, distributes IP address and transmission carries DHCP
The data of Option66 field are to the network equipment to be updated, so that the network equipment to be updated passes through described in parsing
The data for carrying DHCP Option66 field return to corresponding update administration page and configuration request;
Wherein, the network equipment to be updated is triggered when accessing the interchanger sends DHCP request;It is described to carry
The data of DHCP Option66 field include administration page information and configuration information to be updated;
When receiving the update administration page and configuration request, administration page file is obtained from specified directory and is write from memory
Recognize configuration file;
The administration page file and the default configuration file are sent to the network equipment to be updated so that it is described to
The network equipment of update is completed to update according to the page file and the default configuration file.
2. the method for the customized management page as described in claim 1 and default configuration, which is characterized in that the net to be updated
The administration page file received and the default configuration file are stored in predetermined FLASH subregion by network equipment;Wherein, it protects
The data being stored in the predetermined FLASH subregion can not be powered down or factory reset is changed.
3. the method for the customized management page as described in claim 1 and default configuration, which is characterized in that the method is also wrapped
It includes:
The configuration needs of user are received, in advance to modify to current configuring information of network appliance;
Modified configuring information of network appliance is exported, the administration page file and the default configuration file are obtained;
The administration page file and the default configuration file are stored in the specified directory.
4. the method for the customized management page as described in claim 1 and default configuration, which is characterized in that the default configuration text
Part includes SSID name and SSID password;Include the first character string in the SSID name, includes second in the SSID password
Character string;
Then the network equipment to be updated is completed by following steps according to the page file and the default configuration file
It updates:
When recognizing the SSID name in the default configuration file includes first character string, by first word
Symbol string replaces with the character of designated position in the MAC Address of the network equipment to be updated;
When recognizing the SSID password in the default configuration file includes second character string, by second word
Symbol string replaces with the PIN code of the network equipment to be updated;
It is updated according to replaced SSID name and replaced SSID password.
5. the method for the customized management page as described in claim 1 and default configuration, which is characterized in that the default configuration text
Part includes generic configuration file and file is separately configured;Text is separately configured by the way that following steps are pre-generated described in the method
Part:
Obtain the MAC Address of several network equipments to be updated;
It obtains that each MAC Address is corresponding to be separately configured information, and information is separately configured according to each MAC Address is corresponding
File is separately configured described in generation;Wherein, each name that file is separately configured includes the character of corresponding MAC Address;
The information that is separately configured includes WAN connection type, in the user's name of PPPoE and its password, SSID name and its password
At least one information;
It is then described when receiving the update administration page and configuration request, administration page text is obtained from specified directory
Part and default configuration file, specifically include:
When receiving the update administration page and configuration request, the administration page is obtained from the specified directory
What the MAC Address of file, generic configuration file and file name and the network equipment to be updated matched is separately configured text
Part.
6. a kind of method of customized management page and default configuration, which is characterized in that described suitable for the network equipment to be updated
The end LAN of the network equipment to be updated connects computer by interchanger;The described method includes:
When response accesses the interchanger, triggering sends DHCP request, to obtain IP address from the computer and carry
The data of DHCP Option66 field;Wherein, the data for carrying DHCP Option66 field include pipe to be updated
Manage page info and configuration information;
The data for carrying DHCP Option66 field are parsed, and returns to corresponding update administration page and matches
Information request is set to the computer, to obtain administration page file and default configuration file from the computer;Wherein, described
Administration page file and the default configuration file are receiving the update administration page and configuration information by the computer
From the middle acquisition of specified directory when request;
It completes to update according to the administration page file got and the default configuration file.
7. the method for the customized management page as claimed in claim 6 and default configuration, which is characterized in that the method is also wrapped
It includes:
The administration page file that will acquire and the default configuration file are stored in predetermined FLASH subregion;Wherein, it saves
Data in the predetermined FLASH subregion can not be powered down or factory reset is changed;The administration page file and
The default configuration file is saved using cipher mode.
8. the method for the customized management page as claimed in claim 6 and default configuration, which is characterized in that the default configuration text
Part includes SSID name and SSID password;Include the first character string in the SSID name, includes second in the SSID password
Character string;
The administration page file and the default configuration file that then the basis is got are completed to update, and specifically include:
When recognizing the SSID name in the default configuration file includes first character string, by first word
Symbol string replaces with the character of designated position in the MAC Address of the network equipment to be updated;
When recognizing the SSID password in the default configuration file includes second character string, by second word
Symbol string replaces with the PIN code of the network equipment to be updated;
It is updated according to replaced SSID name and replaced SSID password.
9. the method for the customized management page as claimed in claim 6 and default configuration, which is characterized in that the default configuration text
Part includes generic configuration file and file is separately configured;Text is separately configured by the way that following steps are pre-generated described in the computer
Part:
The MAC Address of several network equipments to be updated is obtained,
It obtains that each MAC Address is corresponding to be separately configured information, and information is separately configured according to each MAC Address is corresponding
File is separately configured described in generation;Wherein, each name that file is separately configured includes the character of corresponding MAC Address;
The information that is separately configured includes WAN connection type, in the user's name of PPPoE and its password, SSID name and its password
At least one information;
Then the computer is logical obtains the administration page file and the default configuration file is specific from the specified directory
Include:
Obtained from the specified directory administration page file, generic configuration file and file name with it is described to be updated
What the MAC Address of the network equipment matched is separately configured file.
10. the equipment of a kind of customized management page and default configuration, which is characterized in that including processor, memory and storage
In the memory and it is configured as the computer program executed by the processor, the processor executes the computer
The method of the customized management page as described in any one of claims 1 to 5 and default configuration is realized when program.
11. the equipment of a kind of customized management page and default configuration, which is characterized in that including processor, memory and storage
In the memory and it is configured as the computer program executed by the processor, the processor executes the computer
The method of the customized management page as described in any one of claim 6 to 9 and default configuration is realized when program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811462271.3A CN109361554A (en) | 2018-11-30 | 2018-11-30 | The method and apparatus of the customized management page and default configuration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811462271.3A CN109361554A (en) | 2018-11-30 | 2018-11-30 | The method and apparatus of the customized management page and default configuration |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109361554A true CN109361554A (en) | 2019-02-19 |
Family
ID=65330712
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811462271.3A Pending CN109361554A (en) | 2018-11-30 | 2018-11-30 | The method and apparatus of the customized management page and default configuration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109361554A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113179185A (en) * | 2021-05-07 | 2021-07-27 | 深圳市网是科技有限公司 | Method and device for self-service batch customization of router equipment clients and storage medium |
CN117270956A (en) * | 2023-11-20 | 2023-12-22 | 深圳鼎信通达股份有限公司 | Configuration method of hardware equipment, client, hardware equipment network management system and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101621406A (en) * | 2009-07-28 | 2010-01-06 | 中兴通讯股份有限公司 | Method for configuring domestic gateways in batch, configuring equipment and domestic gateways |
CN103051469A (en) * | 2012-09-13 | 2013-04-17 | 曙光信息产业(北京)有限公司 | Centralized configuration management method under cloud environment |
CN103188107A (en) * | 2011-12-31 | 2013-07-03 | 北京大唐高鸿数据网络技术有限公司 | Automatic finding and configured deployment system and method of terminal devices |
CN104301917A (en) * | 2014-09-15 | 2015-01-21 | 浙江生辉照明有限公司 | Network anomaly self-healing method and system based on illumination devices |
CN107968725A (en) * | 2017-11-20 | 2018-04-27 | 瑞斯康达科技发展股份有限公司 | Home gateway haplotype terminal equipment configuration information returns and collocation method, equipment |
US20180191748A1 (en) * | 2017-01-05 | 2018-07-05 | Cisco Technology, Inc. | Associating a user identifier detected from web traffic with a client address |
-
2018
- 2018-11-30 CN CN201811462271.3A patent/CN109361554A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101621406A (en) * | 2009-07-28 | 2010-01-06 | 中兴通讯股份有限公司 | Method for configuring domestic gateways in batch, configuring equipment and domestic gateways |
CN103188107A (en) * | 2011-12-31 | 2013-07-03 | 北京大唐高鸿数据网络技术有限公司 | Automatic finding and configured deployment system and method of terminal devices |
CN103051469A (en) * | 2012-09-13 | 2013-04-17 | 曙光信息产业(北京)有限公司 | Centralized configuration management method under cloud environment |
CN104301917A (en) * | 2014-09-15 | 2015-01-21 | 浙江生辉照明有限公司 | Network anomaly self-healing method and system based on illumination devices |
US20180191748A1 (en) * | 2017-01-05 | 2018-07-05 | Cisco Technology, Inc. | Associating a user identifier detected from web traffic with a client address |
CN107968725A (en) * | 2017-11-20 | 2018-04-27 | 瑞斯康达科技发展股份有限公司 | Home gateway haplotype terminal equipment configuration information returns and collocation method, equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113179185A (en) * | 2021-05-07 | 2021-07-27 | 深圳市网是科技有限公司 | Method and device for self-service batch customization of router equipment clients and storage medium |
CN117270956A (en) * | 2023-11-20 | 2023-12-22 | 深圳鼎信通达股份有限公司 | Configuration method of hardware equipment, client, hardware equipment network management system and medium |
CN117270956B (en) * | 2023-11-20 | 2024-03-15 | 深圳鼎信通达股份有限公司 | Configuration method of hardware equipment, client, hardware equipment network management system and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105391568B (en) | A kind of implementation method, the device and system of software defined network SDN | |
EP3382942B1 (en) | Network service configuration method and network management device | |
US11575592B2 (en) | Message processing method and apparatus, control-plane device, and computer storage medium | |
JP2016220531A (en) | Systems and methods for configuring power distribution unit | |
JP2019514297A (en) | Device configuration method and apparatus based on network configuration protocol | |
CN105049502B (en) | The method and apparatus that device software updates in a kind of cloud network management system | |
CN106657444B (en) | A kind of method and device for the IP address configuring BMC | |
CN110198229B (en) | Network configuration method and device, storage medium and electronic device | |
CN106713493A (en) | System and method for constructing distributed file system in cluster environment | |
EP4307615A1 (en) | Method and apparatus for deploying network device, and device, system and storage medium | |
US10282346B1 (en) | Scalable network device self-configuration in large networks | |
CN111464622A (en) | Volume mapping processing method and device in distributed storage system | |
CN110572365A (en) | multi-protocol server management method, system, terminal device and storage medium | |
CN109361554A (en) | The method and apparatus of the customized management page and default configuration | |
CN112087327A (en) | Information state acquisition method and apparatus, storage medium, and electronic apparatus | |
CN110278092A (en) | Router long-range control method and system based on MQTT agreement | |
CN106686117B (en) | Data storage processing system and method of distributed computing cluster | |
US10924454B2 (en) | Computing device and method for generating a fabric-wide IPV6 address | |
CN113114511B (en) | Method and device for generating port description information of network equipment | |
US10873500B2 (en) | Computing device and method for generating a link IPV6 address | |
CN110912725A (en) | Configuration method and configuration device of OpenFlow virtual switch | |
CN109120641A (en) | The automatic method for uploading of report, device, computer equipment and storage medium | |
CN105281944B (en) | Method for setting network protocol address and service management system | |
KR20060012285A (en) | System and method for programmatically changing the network location of a network component | |
CN114615285A (en) | Physical machine deployment method and device, electronic equipment and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190219 |
|
RJ01 | Rejection of invention patent application after publication |