CN107968725A - Home gateway haplotype terminal equipment configuration information returns and collocation method, equipment - Google Patents

Home gateway haplotype terminal equipment configuration information returns and collocation method, equipment Download PDF

Info

Publication number
CN107968725A
CN107968725A CN201711160936.0A CN201711160936A CN107968725A CN 107968725 A CN107968725 A CN 107968725A CN 201711160936 A CN201711160936 A CN 201711160936A CN 107968725 A CN107968725 A CN 107968725A
Authority
CN
China
Prior art keywords
hgu
type terminal
terminal devices
tftp
configuration file
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.)
Granted
Application number
CN201711160936.0A
Other languages
Chinese (zh)
Other versions
CN107968725B (en
Inventor
张井军
杜赟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology 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 Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201711160936.0A priority Critical patent/CN107968725B/en
Publication of CN107968725A publication Critical patent/CN107968725A/en
Application granted granted Critical
Publication of CN107968725B publication Critical patent/CN107968725B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of return of home gateway haplotype terminal equipment configuration information and collocation method, equipment, including:On family's gateway unit type terminal device message is found to Web broadcast dynamic host configuration protocol;Receive the dynamic host configuration protocol that Dynamic Host Configuration Protocol server returns and response message is provided, the response message includes can be used for the selection information of automatic deployment in the Dynamic Host Configuration Protocol server belonging network, selects information to include one in following option information:Universal resource locator, user name and the password of TR069, Simple File Transfer Protocol IP address, the generic configuration file of terminal device;The terminal device is configured according to the selection information on the terminal device.Using the present invention, management and the configuration distributing of terminal device can be also completed in the case of terminal device zero configuration, so as to be conducive to the automatic deployment of numerous terminal devices.

Description

Home gateway haplotype terminal equipment configuration information returns and collocation method, equipment
Technical field
The present invention relates to computer network communication technology field, more particularly to a kind of home gateway haplotype terminal device is matched somebody with somebody Confidence breath returns and collocation method, equipment.
Background technology
HGU (Home Gateway Unit, home gateway unit) type terminal device is mainly used for independent domestic consumer, tool There are home gateway functionalities, online, IPTV (Internet Protocol Television, network protocol television) etc. can be provided Function, supports TRO69 remote managements, and TR069 agreements are the network management protocols for the terminaloriented equipment that Broadband Forum is formulated, Referred to as CWMP (CPE Wan Management Protocol, subscriber terminal equipment wide area network management agreement).
The configuration of current HGU type terminal devices is to carry out issuing configuration by TR069 to complete to dispose mostly, but it is not Foot is:It can not achieve the automatic deployment of HGU type terminal devices under the program.
The content of the invention
Returned the present invention provides a kind of home gateway haplotype terminal equipment configuration information and collocation method, computer are set Standby, computer-readable recording medium, to solve the deployment issue of HGU type terminal devices.
A kind of configuration information return method of HGU types terminal device is provided in the embodiment of the present invention, including:
HGU types terminal device is received on Dynamic Host Configuration Protocol server DHCP server to the dynamic of Web broadcast State host configuration finds DHCP Discover messages, wherein, in messages request return one in following option or Its information combined:Universal resource locator, user name and the password of TR069, TFTP IP address, HGU type terminal devices Generic configuration file;
Dynamic host configuration protocol is returned to the HGU types terminal device, and DHCP offer response messages, the response are provided Message include in the DHCP server belonging networks can be used for automatic deployment selection information, it is described selection information include with One in lower information or a combination thereof:Universal resource locator, user name and the password of TR069, TFTP IP address, HGU The generic configuration file of type terminal device.
In implementation, the TFTP IP address that the DHCP server are provided is TFTP addresss of service;
The TFTP services are used to provide special configuration file and/or generic configuration file, wherein, special configuration file is For the configuration file of the performance of certain kinds terminal device, generic configuration file requires performance to meet that terminal device is opened substantially Configuration file.
A kind of collocation method of HGU types terminal device is provided in the embodiment of the present invention, including:
To Web broadcast DHCP Discover messages on HGU type terminal devices, wherein, in messages request return with One in lower option or a combination thereof information:Universal resource locator, user name and the password of TR069, TFTP IP Location, the generic configuration file of HGU type terminal devices;
The DHCP offer response messages that DHCP server are returned are received, which includes the DHCP server It can be used for the selection information of automatic deployment in belonging network, the selection information includes one or its group in following information Close:Universal resource locator, user name and the password of TR069, TFTP IP address, the generic configuration text of HGU type terminal devices Part;
The HGU type terminal devices are configured according to the selection information on HGU type terminal devices.
In implementation, the HGU type terminal devices are configured according to the selection information on HGU type terminal devices, are The HGU type terminals are set by TR069 platforms, TFTP server or by WAN mouthfuls of remote access according to the selection information It is standby to be configured.
In implementation, set on HGU type terminal devices according to a pair HGU type terminals of the selection information in the following manner It is standby to be configured:
When the selection information includes the universal resource locator, user name and password of TR069, according to the selection Information configures the HGU type terminal devices by TR069 platforms;Or,
When the selection information includes TFTP IP address, according to the selection information by TFTP server to this HGU type terminal devices are configured;Or,
When the selection information includes the generic configuration file of HGU type terminal devices, passed through according to the selection information TFTP server configure the HGU type terminal devices;Or,
Include universal resource locator, user name and the password of invalid TR069 in the selection information, it is invalid TFTP IP address, and during the generic configuration file of invalid HGU type terminal devices, pass through WAN mouthfuls according to the selection information Remote access the HGU type terminal devices are configured.
In implementation, the selection information includes:Universal resource locator, user name and the password of TR069;
The HGU type terminal devices are matched somebody with somebody by TR069 platforms according to the selection information on HGU type terminal devices Put, including:
The universal resource locator, user name and password of TR069 are added to the corresponding URL of HGU type terminal devices, use In name in an account book and password;
DHCP REQUEST request messages are sent to DHCP server, wherein, the unified of TR069 is carried in messages to be provided Source finger URL, user name and password;
It is terminal by DHCP protocol after the DHCP ACK messages progress validation of information that DHCP server are returned is received Equipment distributes IP address;
After HGU types terminal device and TR069 platforms are realized and communicated, by TR069 platforms to the HGU types terminal device into Row configuration.
In implementation, further comprise:
All information in the selection information are carried in DHCP REQUEST request messages.
In implementation, further comprise:
When HGU types terminal device cannot be realized with TR069 platforms and communicated, by the selection information with including TFTP IP The HGU type terminal devices are configured by TFTP server during location.
In implementation, when HGU types terminal device and TR069 platforms reach preset times in failed communication number, HGU is determined Type terminal device cannot be realized with TR069 platforms and communicated.
In implementation, the selection information includes:TFTP IP address;
The HGU types terminal device is carried out by TFTP server according to the selection information on HGU type terminal devices Configuration, including:
The request of GET special configuration files is initiated to TFTP server according to TFTP IP address;
When TFTP server can provide special configuration file, according to the special configuration file pair of TFTP server offers The HGU type terminal devices are configured.
In implementation, further comprise:
When TFTP server cannot provide special configuration file, include HGU type terminal devices by the selection information During generic configuration file, the HGU type terminal devices are configured by TFTP server.
In implementation, determine that TFTP server can provide special configuration file, be that HGU type terminal devices are determined to setting When the special configuration file issued by TFTP server is received in the fixed stand-by period, determine that TFTP server can be provided specially Use configuration file.
In implementation, the selection information includes:The generic configuration file of HGU type terminal devices;
The HGU types terminal device is carried out by TFTP server according to the selection information on HGU type terminal devices Configuration, including:
To DHCP server send DHCP REQUEST request messages, wherein, in messages carry TFTP IP address with And the generic configuration file of HGU type terminal devices;
It is terminal by DHCP protocol after the DHCP ACK messages progress validation of information that DHCP server are returned is received Equipment distributes IP address;
The request of GET generic configuration files is initiated to TFTP server;
When TFTP server can provide generic configuration file, according to the special configuration file pair of TFTP server offers The HGU type terminal devices are configured.
In implementation, TFTP server are that the TFTP IP address in the selection information determines.
In implementation, further comprise:
When TFTP server cannot provide generic configuration file, the system of invalid TR069 is included by the selection information One Resource Locator, user name and password, invalid TFTP IP address, and general the matching somebody with somebody of invalid HGU type terminal devices When putting file, the HGU type terminal devices are configured by WAN mouthfuls of remote accesses.
A kind of computer equipment is provided in the embodiment of the present invention, including memory, processor and storage are on a memory And the computer program that can be run on a processor, the processor realize that HGU type terminals are set when performing the computer program Standby configuration information return method.
A kind of computer-readable recording medium, the computer-readable recording medium storage are provided in the embodiment of the present invention There is the computer program for the configuration information return method for performing HGU type terminal devices.
A kind of computer equipment is provided in the embodiment of the present invention, including memory, processor and storage are on a memory And the computer program that can be run on a processor, the processor realize that HGU type terminals are set when performing the computer program Standby collocation method.
A kind of computer-readable recording medium, the computer-readable recording medium storage are provided in the embodiment of the present invention There is the computer program for the collocation method for performing HGU type terminal devices.
The present invention has the beneficial effect that:
In technical solution provided in an embodiment of the present invention, DHCP can be broadcasted after networking due to HGU types terminal device Discover messages, and corresponding DHCP server can will can be used for the unification for being related to TR069 of automatic deployment in belonging network Resource Locator, user name and password, TFTP IP address, the selection information of the generic configuration file of HGU type terminal devices are returned Return HGU type terminal devices, HGU types terminal device also thus can be according to one or more of information information from corresponding canal Road is configured, so as to complete the deployment of itself.
Further, in the process, since selection information is provided from network side, during deployment and it is not required to HGU type terminal device producers are wanted to make different operators pre-configured, even in the situation of HGU type terminal device zero configurations Under can also complete management and the configuration distributing of HGU type terminal devices, solve the customization that different HGU is needed under different environment The problem of version, so as to be conducive to the automatic deployment of numerous HGU types terminal devices.
Brief description of the drawings
Attached drawing described herein is used for providing a further understanding of the present invention, forms the part of the present invention, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the configuration information return method implementation process diagram of HGU type terminal devices in the embodiment of the present invention;
Fig. 2 is the collocation method implementation process diagram of HGU type terminal devices in the embodiment of the present invention;
Fig. 3 is that HGU types terminal device disposes implementation process diagram in the embodiment of the present invention.
Embodiment
Inventor notices during invention:
Since the configuration of current HGU types terminal device is issue configuring by TR069 disposing and completion mostly, because And it is pre-configured to need HGU type terminal device producers to make different operators, it is whole that this also results in different local HGU types End equipment has different software versions.Further, if when HGU type terminal devices need to carry out automatic deployment, due to not Know the configuration information facilities of local side, thus be also just difficult to complete automatic deployment.
Based on this, the side for carrying out automatic deployment under zero configuration to HGU types terminal device is provided in the embodiment of the present invention Case, realizes and HGU type terminal devices is automatically configured.The embodiment of the present invention is illustrated below in conjunction with the accompanying drawings.
In declarative procedure, it will illustrate from network and the implementation of HGU type terminal equipment sides, then will also provide respectively The implementation for the scheme that the example that the two cooperation is implemented is provided with more fully understanding in the embodiment of the present invention.Such explanation mode is simultaneously Do not mean that the two must coordinate implementation or must individually implement, in fact, when network and HGU type terminal devices separate in fact Shi Shi, it also each solves the problems, such as network, HGU type terminal equipment sides, and during the two combined use, superior technique can be obtained Effect.
Fig. 1 is the configuration information return method implementation process diagram of HGU type terminal devices, as shown in the figure, including:
Step 101, in DHCP server (Dynamic Host Configuration Protocol server;DHCP:Dynamic Host Configuration Protocol, dynamic host configuration protocol) on receive DHCP Discover message of the HGU types terminal device to Web broadcast, its In, in messages request return one in following option or a combination thereof information:The universal resource locator of TR069, use Name in an account book and password, TFTP IP address, the generic configuration file of HGU type terminal devices;
Step 102, to the HGU types terminal device return to DHCP offer response messages, which includes this It can be used for the selection information of automatic deployment in DHCP server belonging networks, the selection information includes one in following information A or a combination thereof:Universal resource locator, user name and the password of TR069, TFTP IP address, HGU type terminal devices Generic configuration file.
Specifically, HGU types terminal device asks for information listed in option, DHCP to DHCP server applications Server then returns to one or more in the information of corresponding option.In specific implementation, the information of return can be invalid Information, but the information still corresponds to respective selection.
In implementation, the TFTP IP address that the DHCP server are provided is TFTP addresss of service;
TFTP (Trivial File Transfer Protocol, the Simple File Transfer Protocol) service is used to provide Special configuration file and/or generic configuration file, wherein, special configuration file is matched somebody with somebody for the performance for certain kinds terminal device File is put, generic configuration file is to meet that terminal device opens the configuration file for requiring performance substantially.
Specifically, TFTP IP address can be arranged to pre-set TFTP addresss of service, serviced in the TFTP Special configuration file and generic configuration file are disposed above, and wherein special configuration file can be with generic configuration file with different Predetermined title is distinguished, for example, MAC.cfg of the name form of special configuration file for the wan interface of HGU type terminal devices Form, generic configuration file name are:default.cfg;Two class configuration files are deployed in the predetermined directories of TFTP respectively.
The specifically used implementation and example that will also be with reference to HGU type terminal equipment sides of the setting illustrates.
Fig. 2 is the collocation method implementation process diagram of HGU type terminal devices, as shown in the figure, including:
Step 201, on HGU type terminal devices to Web broadcast DHCP Discover messages, wherein, in messages please Ask return in following option one or a combination thereof information:Universal resource locator, user name and the password of TR069, TFTP IP address, the generic configuration file of HGU type terminal devices;
Step 202, receive the DHCP offer response messages that DHCP server are returned, which includes this It can be used for the selection information of automatic deployment in DHCP server belonging networks, the selection information includes one in following information A or a combination thereof:Universal resource locator, user name and the password of TR069, TFTP IP address, HGU type terminal devices Generic configuration file;
Step 203, configure the HGU type terminal devices according to the selection information on HGU type terminal devices.
In implementation, the HGU type terminal devices are configured according to the selection information on HGU type terminal devices, are The HGU type terminals are set by TR069 platforms, TFTP server or by WAN mouthfuls of remote access according to the selection information It is standby to be configured.
In implementation, set on HGU type terminal devices according to a pair HGU type terminals of the selection information in the following manner It is standby to be configured:
When the selection information includes the universal resource locator, user name and password of TR069, according to the selection Information configures the HGU type terminal devices by TR069 platforms;Or,
When the selection information includes TFTP IP address, according to the selection information by TFTP server to this HGU type terminal devices are configured;Or,
When the selection information includes the generic configuration file of HGU type terminal devices, passed through according to the selection information TFTP server configure the HGU type terminal devices;Or,
Include universal resource locator, user name and the password of invalid TR069 in the selection information, it is invalid TFTP IP address, and during the generic configuration file of invalid HGU type terminal devices, by WAN mouthfuls of remote access to this HGU type terminal devices are configured.
Specific implementation can be as follows:
1st, the selection information includes:Universal resource locator, user name and the password of TR069;
The HGU type terminal devices are matched somebody with somebody by TR069 platforms according to the selection information on HGU type terminal devices Put, including:
The universal resource locator, user name and password of TR069 are added to the corresponding URL of HGU type terminal devices, use In name in an account book and password;
DHCP REQUEST request messages are sent to DHCP server, wherein, the unified of TR069 is carried in messages to be provided Source finger URL, user name and password;
It is terminal by DHCP protocol after the DHCP ACK messages progress validation of information that DHCP server are returned is received Equipment distributes IP address;
After HGU types terminal device and TR069 platforms are realized and communicated, by TR069 platforms to the HGU types terminal device into Row configuration.
In specific implementation, it can further include:
All information in the selection information are carried in DHCP REQUEST request messages.
In specific implementation, it can further include:
When HGU types terminal device cannot be realized with TR069 platforms and communicated, by the selection information with including TFTP IP The HGU type terminal devices are configured by TFTP server during location.
In specific implementation, when HGU types terminal device and TR069 platforms reach preset times in failed communication number, really Determining HGU types terminal device cannot communicate with the realization of TR069 platforms.
2nd, the selection information includes:TFTP IP address;
The HGU types terminal device is carried out by TFTP server according to the selection information on HGU type terminal devices Configuration, including:
The request of GET special configuration files is initiated to TFTP server according to TFTP IP address;
When TFTP server can provide special configuration file, according to the special configuration file pair of TFTP server offers The HGU type terminal devices are configured.
In specific implementation, it can further include:
When TFTP server cannot provide special configuration file, include HGU type terminal devices by the selection information During generic configuration file, the HGU type terminal devices are configured by TFTP server.
In specific implementation, determine that TFTP server can provide special configuration file, be that HGU type terminal devices are determined to When the special configuration file issued by TFTP server is received within the stand-by period of setting, determine that TFTP server can be carried For special configuration file.
3rd, the selection information includes:The generic configuration file of HGU type terminal devices;
The HGU types terminal device is carried out by TFTP server according to the selection information on HGU type terminal devices Configuration, including:
To DHCP server send DHCP REQUEST request messages, wherein, in messages carry TFTP IP address with And the generic configuration file of HGU type terminal devices;
It is terminal by DHCP protocol after the DHCP ACK messages progress validation of information that DHCP server are returned is received Equipment distributes IP address;
The request of GET generic configuration files is initiated to TFTP server;
When TFTP server can provide generic configuration file, according to the special configuration file pair of TFTP server offers The HGU type terminal devices are configured.
In specific implementation, TFTP server are that the TFTP IP address in the selection information determines.
In specific implementation, it can further include:
When TFTP server cannot provide generic configuration file, the system of invalid TR069 is included by the selection information One Resource Locator, user name and password, invalid TFTP IP address, and general the matching somebody with somebody of invalid HGU type terminal devices When putting file, the HGU type terminal devices are configured by WAN mouthfuls of remote accesses.
4th, the selection information includes universal resource locator, user name and the password of invalid TR069, invalid TFTP IP address, and during the generic configuration file of invalid HGU type terminal devices, pass through WAN mouthfuls according to the selection information Remote access the HGU type terminal devices are configured.
A kind of embodiment combined below to above-mentioned 4 kinds of modes is illustrated, it is necessary to illustrate, with reference to side Formula not only only has example, and this is a kind of, can be combined as needed in concrete practice, as long as automatic deployment can be realized i.e. Can.
One DHCP server (Dynamic Host Configuration is set in network side local side in advance Protocol server, Dynamic Host Configuration Protocol server), and DHCP server are set according to the actual conditions of networking One or more in 43,66,67 information of option (option) field of middle DHCP message, option (option) field 43, 66th, 67 information are the selection information available for automatic deployment, wherein, 43 field informations of option are:The unified resource of TR069 Finger URL+user name+password (URL+username+password);66 field informations of option are:TFTP IP address (TFTP IP address;TFTP:Trivial File Transfer Protocol, Simple File Transfer Protocol);option 67 Field information is:The generic configuration file of HGU type terminal devices.It is because existing by taking 43,66,67 information of field as an example in example Some agreements can carry these information in these fields, be relatively easy to implement, still, can be according to reality in specific implementation Need to determine to carry universal resource locator, user name and the password of TR069, TFTP IP address, HGU type terminal devices The information such as generic configuration file concrete mode, or even new field is all possible to carry, build new message to carry, As long as these information can be identified, field 43,66,67 is only used for how teaching those skilled in the art specifically implement this hair It is bright, but it is not intended that be only capable of using field 43, a kind of 66,67 modes, can combine practice in implementation process needs to determine accordingly Mode.
TFTP IP address it is possible to further be carried using option66 are pre-set TFTP services ground Location, deployment special configuration file and generic configuration file, wherein special configuration file can match somebody with somebody with general on TFTP services Put file to be distinguished with different predetermined titles, for example, the name form of special configuration file is HGU type terminal devices The MAC.cfg forms of wan interface, generic configuration file name are:default.cfg;Two class configuration files are deployed in respectively In the predetermined directories of TFTP;Special configuration file is the configuration file for all properties of certain kinds terminal device;It is and general Configuration file is to meet that terminal device opens the configuration file for requiring performance substantially, is suitably matched somebody with somebody at the initial stage of commissioning without special Automatic deployment when putting file for terminal device.
Fig. 3 disposes implementation process diagram for HGU types terminal device, as shown in the figure, the HGU types of deployment configuration ought not carried out Terminal device performs following steps after the power is turned on:
Step 300:WAN (Wide Area Network, the wide area network) connections that HGU types terminal device is configured by itself DHCP Discover (DHCP discoveries) message is broadcasted into network, wherein, which not only includes general Network parameter, further include option 43, option 66 and option 67, at this time, each option value can be empty or invalid value.
Step 301:After DHCP server receive the DHCP Discover messages, judge local automatic in the presence of can be used for During the selection information of deployment, DHCP offer (DHCP offers) response message is sent to terminal device, which includes Local pre-set all selection information available for automatic deployment.
In this step, the selection information available for automatic deployment is the information of pre-set option 43,66,67 In one or more;Selection information entrained by DHCP offer response messages can include the local all choosings configured Information is selected, specifically, if being only configured with option43, the information of option 43 is carried, if being configured with option66 With 67, then the information of option66 and 67 is carried, if option43, option66 and option67 are preconfigured, then Carry option43, the information of option66 and 67;Wherein:
Wherein, 43 fields of option are:The URL+username+password of TR069;
66 fields of option are:TFTP IP address;
67 fields of option are:The generic configuration file of HGU type terminal devices;
Step 302:Terminal device receives the DHCP offer response messages of DHCP server transmissions, if it is determined that Option43 performs step 303, if effective information is not present in option43, but option66 exists there are effective information Effective information, performs step 307, if effective information is not present in option43 and option66, performs step 313;
Step 303:Terminal device is by the URL+ of the information TR069 in option43 fields in DHCP offer response messages Username+password is respectively added to the corresponding URL of HGU type terminal devices (Uniform Resoure Locator, system One Resource Locator), in username and password;Subsequently complete and DHCP is sent to DHCP server by terminal device REQUEST (DHCP request) message, wherein DHCP REQUEST request messages include general network parameter and including Option43 option informations;And receive DHCP ACK (DHCP confirmations) message that DHCP server are issued and carry out validation of information, and Complete the process for terminal device distribution IP address by DHCP protocol;
In implementation, in this step, terminal device to DHCP server send DHCP REQUEST request messages when can be with Comprising according to DHCP OFFER response messages it is obtained it is all available for automatic deployment selection information (option43, Option66 or option67), in order to when using information automatic deployment failure entrained by option43 and using other letters Need not be repeatedly with DHCP server into validation of information such as row addresses when ceasing automatic deployment.That is, can be in DHCP All information in the selection information are carried in REQUEST request messages.
Step 304:Terminal device judges whether to realize the communication with TR069 platforms, if so, step 305 is performed, Issuing for management to HGU type terminal devices and configuration is then realized by TR069 platforms;If it is not, then show HGU type terminals It is impassable between equipment and TR069 platforms, perform step 306;
In this step, judge whether to realize that the communication of terminal device and TR069 platforms can be in the following manner: Fail if terminal device initiates repeatedly (for example, 3 times) to interact with TR069 platforms, then it is assumed that cannot lead between the two OK, otherwise it is assumed that can be with normal pass.That is, reach pre- in failed communication number with TR069 platforms in HGU types terminal device If during number, determine that HGU types terminal device cannot be realized with TR069 platforms and communicate.
Step 305:The configuration message that TR069 platforms issue HGU type terminal devices is received, terminal device is realized automatic Configuration.
Step 306:Terminal device judges that option66 whether there is effective information in DHCP offer response messages, if It is to send DHCP REQUEST request messages to DHCP server, wherein DHCP REQUEST request messages include general net Network parameter and option66 and option67 option informations;And receive the DHCP ACK messages that DHCP server are issued and carry out letter Breath confirms, thus completes to distribute the process of IP address for terminal device by DHCP protocol;Then step 307 is performed, is otherwise held Row step 313;
Step 307:Information in terminal device acquisition DHCP offer response messages in option66 fields, and according to 66 field information TFTP IP address of option initiate GET (acquisition) special configuration file from trend TFTP server Request;
Step 308:Terminal device judges whether to receive what is issued by TFTP server within the first stand-by period of setting Special configuration file, if so, show to perform step 309 there are matched special configuration file on TFTP server, otherwise, Show to perform step 306 without matched configuration file on TFTP server;
In this step, there are matched special configuration file on TFTP server to be handed down to terminal by this document Equipment, and while only store the file of pre-set filename on the specific location of TFTP server can consider presence Matched special configuration file, specifically can be as follows:
TFTP server judge TFTP's when receiving the request of the GET special configuration files of HGU types terminal device transmission With the presence or absence of the file of setting title in predetermined directories, for example, being ordered with the MAC.cfg forms of the wan interface of HGU type terminal devices The file of name, if the matching special configuration file for then showing to have corresponding to application, which is issued to HGU type terminal devices;Otherwise it is assumed that it is not present.
Step 309:HGU types terminal device automatically configures HGU type terminal devices according to the dedicated configuration file.
Step 310:HGU types terminal device obtains the information in option67 fields in DHCP offer response messages, and Asking for GET generic configuration files is initiated from trend TFTP server according to 66 field information TFTP IP address of option Ask;
Step 311:HGU type terminal devices judge whether to receive by TFTP server within the second stand-by period of setting The generic configuration file issued, if so, show on TFTP server there are matched generic configuration file perform step 312, Otherwise, show to perform step 313 without matched generic configuration file on TFTP server;
In this step, when there are this document can be handed down to HGU types during matched generic configuration file on TFTP server Terminal device, and it is believed that presence when store the file of pre-set filename on the specific location of TFTP server Matched generic configuration file, specifically can be as follows:
TFTP server judge TFTP's when receiving the request of the GET generic configuration files of HGU types terminal device transmission It whether there is the file of setting title in predetermined directories, for example, the file of default.cfg forms name, if then showing In the presence of the matching generic configuration file corresponding to application, which is issued to HGU type terminal devices;Otherwise, recognize For without matched generic configuration file.
Step 312:HGU types terminal device automatically configures HGU type terminal devices according to the general configuration file.
Step 313:HGU type terminal devices allow the function by the WAN mouthfuls of WEB pages for remotely accessing this terminal device, The management of HGU type terminal devices is loaded by WEB modes.
In this step, how can be common using this area by the WAN mouthfuls of WEB pages for remotely accessing this terminal device Any mode known to technical staff is realized, is not limited herein.
Thus, configuration process when can complete through the above scheme to HGU type terminal device automatic deployments, without In the utilizable configuration means of local side apparatus known to terminal equipment side so that situ configuration process is more prone to, and alleviates existing The workload that equipment is opened and safeguarded in net;Also solve at the same time needs to customize difference to terminal device under different existing network environments Limitation of the version to coordinate automatic deployment and upgrade.
Based on same inventive concept, a kind of computer equipment, computer-readable storage are additionally provided in the embodiment of the present invention Medium, due to the principle that these equipment solve the problems, such as and a kind of return of home gateway haplotype terminal equipment configuration information and configuration Method is similar, therefore the implementation of these equipment may refer to the implementation of method, and overlaps will not be repeated.
A kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor Computer program, the processor realize following method when performing the computer program:
DHCP Discover message of the HGU types terminal device to Web broadcast is received on DHCP server, wherein, In message request return one in following option or a combination thereof information:The universal resource locator of TR069, user name with And password, TFTP IP address, the generic configuration file of HGU type terminal devices;
DHCP offer response messages are returned to the HGU types terminal device, which includes the DHCP In server belonging networks can be used for automatic deployment selection information, it is described selection information include following information in one or It is combined:Universal resource locator, user name and the password of TR069, TFTP IP address, general the matching somebody with somebody of HGU type terminal devices Put file.
A kind of computer-readable recording medium, the computer-readable recording medium storage, which has, performs methods described below Computer program:
DHCP Discover message of the HGU types terminal device to Web broadcast is received on DHCP server, wherein, In message request return one in following option or a combination thereof information:The universal resource locator of TR069, user name with And password, TFTP IP address, the generic configuration file of HGU type terminal devices;
DHCP offer response messages are returned to the HGU types terminal device, which includes the DHCP In server belonging networks can be used for automatic deployment selection information, it is described selection information include following information in one or It is combined:Universal resource locator, user name and the password of TR069, TFTP IP address, general the matching somebody with somebody of HGU type terminal devices Put file.
A kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor Computer program, the processor realize methods described below when performing the computer program.
A kind of collocation method of HGU types terminal device is provided in the embodiment of the present invention, including:
To Web broadcast DHCP Discover messages on HGU type terminal devices, wherein, in messages request return with One in lower option or a combination thereof information:Universal resource locator, user name and the password of TR069, TFTP IP Location, the generic configuration file of HGU type terminal devices;
The DHCP offer response messages that DHCP server are returned are received, which includes the DHCP server It can be used for the selection information of automatic deployment in belonging network, the selection information includes one or its group in following information Close:Universal resource locator, user name and the password of TR069, TFTP IP address, the generic configuration text of HGU type terminal devices Part;
The HGU type terminal devices are configured according to the selection information on HGU type terminal devices.
A kind of computer-readable recording medium, the computer-readable recording medium storage, which has, performs methods described below Computer program:
To Web broadcast DHCP Discover messages on HGU type terminal devices, wherein, in messages request return with One in lower option or a combination thereof information:Universal resource locator, user name and the password of TR069, TFTP IP Location, the generic configuration file of HGU type terminal devices;
The DHCP offer response messages that DHCP server are returned are received, which includes the DHCP server It can be used for the selection information of automatic deployment in belonging network, the selection information includes one or its group in following information Close:Universal resource locator, user name and the password of TR069, TFTP IP address, the generic configuration text of HGU type terminal devices Part;
The HGU type terminal devices are configured according to the selection information on HGU type terminal devices.
In conclusion in technical solution provided in an embodiment of the present invention, it can complete HGU's for the zero configuration of HGU Management and configuration distributing, solve the problems, such as to need the customized version of different HGU under different environment;
After scheme, either in which kind of environment, the configuration distributing of HGU can be realized, so as to mitigate maintenance With the workload opened;
Further, the condition of provisional commissioning can be met by carrying general configuration information by option67, be made Terminal device completes preliminary deployment.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The shape for the computer program product that usable storage medium is implemented on (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or square frame in journey and/or square frame and flowchart and/or the block diagram.These computer programs can be provided The processors of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices, which produces, to be used in fact The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided and is used for realization in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a square frame or multiple square frames.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and scope.In this way, if these modifications and changes of the present invention belongs to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these modification and variations.

Claims (19)

  1. A kind of 1. configuration information return method of home gateway unit HGU type terminal devices, it is characterised in that including:
    Dynamic master of the HGU types terminal device to Web broadcast is received on Dynamic Host Configuration Protocol server DHCP server Machine configuration protocol finds DHCP Discover messages, wherein, request in messages returns to one or its group in following option The information of conjunction:Universal resource locator, user name and the password of TR069, Simple File Transfer Protocol TFTP IP address, HGU The generic configuration file of type terminal device;
    Dynamic host configuration protocol is returned to the HGU types terminal device, and DHCP offer response messages, the response message are provided Include can be used for the selection information of automatic deployment in the DHCP server belonging networks, the selection information includes following letter One in breath or a combination thereof:Universal resource locator, user name and the password of TR069, TFTP IP address, HGU types are whole The generic configuration file of end equipment.
  2. 2. the method as described in claim 1, it is characterised in that the TFTP IP address that the DHCP server are provided is TFTP Address of service;
    TFTP service is used to provide special configuration file and/or generic configuration file, wherein, special configuration file be for The configuration file of the performance of certain kinds terminal device, generic configuration file are to meet that terminal device is opened substantially to require matching somebody with somebody for performance Put file.
  3. A kind of 3. collocation method of HGU types terminal device, it is characterised in that including:
    To Web broadcast DHCP Discover messages on HGU type terminal devices, wherein, request in messages returns to following choosing In one or a combination thereof information:Universal resource locator, user name and the password of TR069, TFTP IP address, The generic configuration file of HGU type terminal devices;
    The DHCP offer response messages that DHCP server are returned are received, which is included belonging to the DHCP server It can be used for the selection information of automatic deployment in network, the selection information includes one in following information: Universal resource locator, user name and the password of TR069, TFTP IP address, the generic configuration file of HGU type terminal devices;
    The HGU type terminal devices are configured according to the selection information on HGU type terminal devices.
  4. 4. method as claimed in claim 3, it is characterised in that according to the selection information to this on HGU type terminal devices HGU type terminal devices are configured, and are by TR069 platforms, TFTP server or by WAN mouthfuls according to the selection information Remote access the HGU type terminal devices are configured.
  5. 5. method as claimed in claim 4, it is characterised in that on HGU type terminal devices according to it is described selection information press with A pair of under type HGU type terminal devices are configured:
    When the selection information includes the universal resource locator, user name and password of TR069, according to the unification of TR069 Resource Locator, user name and password configure the HGU type terminal devices by TR069 platforms;Or,
    It is whole to the HGU types by TFTP server according to TFTP IP address when the selection information includes TFTP IP address End equipment is configured;Or,
    When the selection information includes the generic configuration file of HGU type terminal devices, according to general the matching somebody with somebody of HGU type terminal devices File is put to configure the HGU type terminal devices by TFTP server;Or,
    Include universal resource locator, user name and the password of invalid TR069, invalid TFTP in the selection information IP address, and during the generic configuration file of invalid HGU type terminal devices, it is whole to the HGU types by WAN mouthfuls of remote accesses End equipment is configured.
  6. 6. method as claimed in claim 5, it is characterised in that the selection information includes:The unified resource positioning of TR069 Symbol, user name and password;
    The HGU type terminal devices are configured by TR069 platforms according to the selection information on HGU type terminal devices, Including:
    The universal resource locator, user name and password of TR069 are added to the corresponding URL of HGU type terminal devices, user name In password;
    Dhcp request DHCP REQUEST messages are sent to DHCP server, wherein, carry in messages Universal resource locator, user name and the password of TR069;
    After the dynamic host configuration protocol confirmation DHCP ACK message progress validation of information that DHCP server are returned is received, lead to Cross DHCP protocol and distribute IP address for terminal device;
    After HGU types terminal device communicates with the realization of TR069 platforms, the HGU type terminal devices are matched somebody with somebody by TR069 platforms Put.
  7. 7. method as claimed in claim 6, it is characterised in that further comprise:
    All information in the selection information are carried in DHCP REQUEST request messages.
  8. 8. method as claimed in claim 6, it is characterised in that further comprise:
    When HGU types terminal device cannot be realized with TR069 platforms and communicated, when including TFTP IP address by the selection information The HGU type terminal devices are configured by TFTP server.
  9. 9. the method for claim 7, it is characterised in that in HGU types terminal device and TR069 platforms in failed communication time When number reaches preset times, determine that HGU types terminal device cannot be realized with TR069 platforms and communicate.
  10. 10. the method as described in claim 5 or 8, it is characterised in that the selection information includes:TFTP IP address;
    The HGU type terminal devices are matched somebody with somebody by TFTP server according to the selection information on HGU type terminal devices Put, including:
    The request of GET special configuration files is initiated to TFTP server according to TFTP IP address;
    When TFTP server can provide special configuration file, the special configuration file provided according to TFTP server is to this HGU type terminal devices are configured.
  11. 11. method as claimed in claim 10, it is characterised in that further comprise:
    When TFTP server cannot provide special configuration file, include the general of HGU type terminal devices by the selection information During configuration file, the HGU type terminal devices are configured by TFTP server.
  12. 12. method as claimed in claim 11, it is characterised in that determine that TFTP server can provide special configuration file, be HGU type terminal devices are determined to receive the special configuration file issued by TFTP server within the stand-by period of setting When, determine that TFTP server can provide special configuration file.
  13. 13. the method as described in claim 5 or 11, it is characterised in that the selection information includes:HGU type terminal devices Generic configuration file;
    The HGU type terminal devices are matched somebody with somebody by TFTP server according to the selection information on HGU type terminal devices Put, including:
    DHCP REQUEST request messages are sent to DHCP server, wherein, TFTP IP address and HGU are carried in messages The generic configuration file of type terminal device;
    It is terminal device by DHCP protocol after the DHCP ACK messages progress validation of information that DHCP server are returned is received Distribute IP address;
    Initiate to obtain the request of GET generic configuration files to TFTP server;
    When TFTP server can provide generic configuration file, the special configuration file provided according to TFTP server is to this HGU type terminal devices are configured.
  14. 14. method as claimed in claim 13, it is characterised in that TFTP server are according in the selection information TFTP IP address determines.
  15. 15. method as claimed in claim 13, it is characterised in that further comprise:
    When TFTP server cannot provide generic configuration file, include the unified of invalid TR069 by the selection information and provide The generic configuration text of source finger URL, user name and password, invalid TFTP IP address, and invalid HGU type terminal devices During part, the HGU type terminal devices are configured by WAN mouthfuls of remote accesses.
  16. 16. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that the processor realizes any side of claim 1 to 2 when performing the computer program Method.
  17. 17. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage has perform claim It is required that the computer program of 1 to 2 any the method.
  18. 18. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that the processor realizes any side of claim 3 to 15 when performing the computer program Method.
  19. 19. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage has perform claim It is required that the computer program of 3 to 15 any the methods.
CN201711160936.0A 2017-11-20 2017-11-20 Method and device for returning and configuring configuration information of home gateway unit type terminal device Active CN107968725B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711160936.0A CN107968725B (en) 2017-11-20 2017-11-20 Method and device for returning and configuring configuration information of home gateway unit type terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711160936.0A CN107968725B (en) 2017-11-20 2017-11-20 Method and device for returning and configuring configuration information of home gateway unit type terminal device

Publications (2)

Publication Number Publication Date
CN107968725A true CN107968725A (en) 2018-04-27
CN107968725B CN107968725B (en) 2021-02-26

Family

ID=62001271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711160936.0A Active CN107968725B (en) 2017-11-20 2017-11-20 Method and device for returning and configuring configuration information of home gateway unit type terminal device

Country Status (1)

Country Link
CN (1) CN107968725B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361554A (en) * 2018-11-30 2019-02-19 深圳市普威技术有限公司 The method and apparatus of the customized management page and default configuration
CN113014406A (en) * 2019-12-19 2021-06-22 阿里巴巴集团控股有限公司 Equipment deployment method, device, server and storage medium
CN115296960A (en) * 2022-08-04 2022-11-04 上海市共进通信技术有限公司 Method for realizing remote management of home gateway based on DHCP protocol

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127631A (en) * 2006-08-15 2008-02-20 华为技术有限公司 Method and system for managing configuration of network devices
CN101296203A (en) * 2007-04-23 2008-10-29 华为技术有限公司 Device, system and method for automatically configuring application terminal in family network
CN103188107A (en) * 2011-12-31 2013-07-03 北京大唐高鸿数据网络技术有限公司 Automatic finding and configured deployment system and method of terminal devices
CN104461697A (en) * 2014-12-25 2015-03-25 中国科学院信息工程研究所 Automatic setting system and method for batched online IP addresses of virtual machine
CN106888117A (en) * 2017-02-15 2017-06-23 金钱猫科技股份有限公司 A kind of method and system for obtaining network element IP

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127631A (en) * 2006-08-15 2008-02-20 华为技术有限公司 Method and system for managing configuration of network devices
CN101296203A (en) * 2007-04-23 2008-10-29 华为技术有限公司 Device, system and method for automatically configuring application terminal in family network
CN103188107A (en) * 2011-12-31 2013-07-03 北京大唐高鸿数据网络技术有限公司 Automatic finding and configured deployment system and method of terminal devices
CN104461697A (en) * 2014-12-25 2015-03-25 中国科学院信息工程研究所 Automatic setting system and method for batched online IP addresses of virtual machine
CN106888117A (en) * 2017-02-15 2017-06-23 金钱猫科技股份有限公司 A kind of method and system for obtaining network element IP

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361554A (en) * 2018-11-30 2019-02-19 深圳市普威技术有限公司 The method and apparatus of the customized management page and default configuration
CN113014406A (en) * 2019-12-19 2021-06-22 阿里巴巴集团控股有限公司 Equipment deployment method, device, server and storage medium
CN113014406B (en) * 2019-12-19 2023-10-24 阿里巴巴集团控股有限公司 Equipment deployment method, device, server and storage medium
CN115296960A (en) * 2022-08-04 2022-11-04 上海市共进通信技术有限公司 Method for realizing remote management of home gateway based on DHCP protocol

Also Published As

Publication number Publication date
CN107968725B (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN100527080C (en) Method for software program synchronization
CN101141422B (en) Method and system to access family gateway and family gateway
CN102802059B (en) The method of configuration machine top box, Apparatus and system
CN102752137B (en) The apparatus and method of virtual machine network parameter are initiatively set
CN104767649A (en) Bare metal server deployment method and device
CN101727449A (en) System and method for processing local file by utilizing remote application
CN105122931A (en) Electronic device and method of registering personal cloud apparatus in user portal server thereof
JP6374870B2 (en) Solutions for lifecycle management of distributed applications
CN107968725A (en) Home gateway haplotype terminal equipment configuration information returns and collocation method, equipment
CN103973474A (en) Network terminal update configuration method
CN103179467A (en) Terminal and information gathering method
CN104821891B (en) method and system for remote device management
EP2693691B1 (en) Method and apparatus for initializing gateway in device management system
CN102790675B (en) Authentication method of network connection, network device and network authentication system thereof
CN115514667A (en) Access service processing method, system, device, electronic equipment and storage medium
CN105071965A (en) Management system of network equipment
CN111130865B (en) Network equipment firmware batch upgrading method and system based on two-layer switching
CN100471159C (en) Automatic configuration method for devices based on technique of towing beam
TW200304741A (en) Apparatus and method for managing cable modem based on Web
CN106230783A (en) A kind of portal authentication method and device
US20050125492A1 (en) Integrated network element management system and method
KR20120066395A (en) System and method for supporting of network service
CN105721397A (en) CM registration method and device
CN111181904B (en) Network access method, device and medium
CN103873284A (en) Equipment management system and method

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
CB02 Change of applicant information

Address after: 100094 First to Fifth Floors of Building 11, East Yard, No. 10 Wangdong Road, Northwest Haidian District, Beijing

Applicant after: Raisecom Technology Inc.

Address before: 100085 No. 2 Building, No. 28 Shangdi Sixth Street, Haidian District, Beijing

Applicant before: Raisecom Technology Inc.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant