CN104852813B - The on-demand loading method and system of TR069 Parameter nodes in family gateway equipment - Google Patents

The on-demand loading method and system of TR069 Parameter nodes in family gateway equipment Download PDF

Info

Publication number
CN104852813B
CN104852813B CN201510161629.9A CN201510161629A CN104852813B CN 104852813 B CN104852813 B CN 104852813B CN 201510161629 A CN201510161629 A CN 201510161629A CN 104852813 B CN104852813 B CN 104852813B
Authority
CN
China
Prior art keywords
object node
parameter
information
node
configuration files
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.)
Active
Application number
CN201510161629.9A
Other languages
Chinese (zh)
Other versions
CN104852813A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201510161629.9A priority Critical patent/CN104852813B/en
Publication of CN104852813A publication Critical patent/CN104852813A/en
Application granted granted Critical
Publication of CN104852813B publication Critical patent/CN104852813B/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
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0826Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for reduction of network costs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2834Switching of information between an external network and a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of on-demand loading method and system of TR069 Parameter nodes in family gateway equipment, are related to home gateway service configuration management field.This method comprises the following steps:TR069 parameter configurations in the family gateway equipment needed to use are formed into TR069 parameter configuration files, TR069 parameter configuration files are loaded onto internal memory;Configuration parameter cuts file, is cut according to parameter and carries out Object node cutting handling process;Configuration parameter load document, Object node loading processing flow is carried out according to parameter load document;It will cut and amended TR069 parameter configuration files stored to Flash file;Memory object tree is initialized according to TR069 parameter configuration files, is terminated.The flexibility of the present invention is stronger, and configuration parameter is less, in the absence of substantial amounts of information redundancy, is not only easily serviced, and can ensure the normal toggle speed and the speed of service of family gateway equipment, is easy to people to use.

Description

The on-demand loading method and system of TR069 Parameter nodes in family gateway equipment
Technical field
The present invention relates to home gateway service configuration management field, and in particular to TR069 joins in a kind of family gateway equipment The on-demand loading method and system of several sections of points.
Background technology
With the fast development of Internet technology, the demand of home broadband business is constantly soaring.At present, domestic major communication Run commercial city accelerating deployment and building broadband services resource, and then different types of home gateway (such as GPON family occur Front yard gateway, EPON home gateways, VDSL home gateways etc.).In addition, different bandwidth operator (such as China Telecom, middle League of Nations Logical, China Mobile etc.) different technical specification and test specification are formulated family gateway equipment.
In order to reduce the development cost of different home gateway device, shorten the construction cycle, different types of home gateways equipment Manufacturer attempt on different types of home gateway run identical version software, realize uniform traffic configuration management successively. Home gateway service configuration data follows BBF TR069 (CPE wide area network management agreements, there is provided to family in next generation network The network equipment is managed the general framework and agreement of configuration, for from network side to the gateway in home network, router, machine The equipment such as top box carry out remote centralized management) the extension requirement of international standard and domestic broadband operator, different types of family Gateway is different from the Parameter nodes that device type is closely related.
At the same time, the self-defined business configuration module of home gateway of domestic different bandwidth operator, in family Under the background of gateway software hardware and software platform, home gateway manufacturer is for certain types of home gateway, it is necessary to solve problems with: Realize while the TR069 Parameter nodes that on-demand loading equipment correlation is related to operator, cut other uncorrelated TR069 ginsengs Several nodes.
In order to solve problem above, being generally straightforward the multi-configuration file implementation method being easily achieved is:By all families TR069 configuration parameters information one XML (extensible markup language) type of formation of different operators in the gateway device of front yard TR069 configuration files, according to device type and operator identifier when gateway device starts, TR069 parameters are matched somebody with somebody corresponding to loading Put file.
But existing multi-configuration file implementation method is insufficient to have at following 2 points:
(1) information redundancy:Because each operator of each family gateway equipment can produce a TR069 configuration text Part, therefore the quantity of TR069 configuration files is more (such as it is necessary to generating NM in the case of M operator of N kinds equipment TR069 parameter configuration files), and then so that the basic function of home gateway and the configuration parameter of public function are more, exist big The information redundancy of amount.
(2) maintainability is poor:During family's gateway software exploitation and safeguarding, if going wrong, need for being somebody's turn to do Problem is modified, and modification number is identical with the quantity of TR069 configuration files;For reusable public function in gateway device For TR069 Parameter nodes, not only modification amount is larger, and is possible to introduce the problem of new because of modification carelessness.
In summary, existing multi-configuration file implementation method can not only have substantial amounts of information redundancy, and operate Journey is relatively difficult, it is difficult to meets the quick exploitation of software platform and requirement easy to maintain, is not easy to people's use.
The content of the invention
For defect present in prior art, it is an object of the invention to provide TR069 in a kind of family gateway equipment The on-demand loading method and system of Parameter nodes, flexibility is stronger, and configuration parameter is less, in the absence of substantial amounts of information redundancy, no Normal toggle speed and the speed of service more convenient, and that family gateway equipment can be ensured are only maintained, is easy to people to use.
To achieve the above objectives, the present invention provides a kind of on-demand loading side of TR069 Parameter nodes in family gateway equipment Method, comprise the following steps:
S1:TR069 parameter configurations in the family gateway equipment needed to use are formed into TR069 parameter configurations text Part, TR069 parameter configuration files are loaded onto internal memory, go to step S2;
S2:Configuration parameter cuts file, and the Object node complete trails information in file is cut according to parameter, defines successively every Start-stop position of the level Object node in TR069 parameter configuration files, the start stop bit are set to original position and end position;It is right When subordinate's Object node start-stop position is bound, in the range of higher level's Object node start-stop position, when being defined to subordinate's object During the start-stop position of the afterbody Object node of node, the information between the start-stop position of afterbody Object node is cutting Information;Current cutting information is cut and preserved to power down and does not lose Flash file;Parameter cuts the object in file Node complete trails information all after processing, goes to step S3;
S3:Configuration parameter load document, the Object node complete trails information in parameter load document, define successively every Start-stop position of the level Object node in TR069 parameter configuration files;When being bound to subordinate's Object node start-stop position, In the range of higher level's Object node start-stop position, when not being defined to the start-stop position of subordinate's Object node, higher level's object it is last The start-stop section of one-level Object node is loading section;Object node corresponding with current loading section is searched in Flash file After load information, TR069 parameter configuration files are loaded onto;Object node complete trails information in parameter load document is all handled Afterwards, step S4 is gone to;
S4:It will cut and amended TR069 parameter configuration files stored to Flash file, go to step S5;
S5:Memory object tree is initialized according to TR069 parameter configuration files, is terminated.
On the basis of above-mentioned technical proposal, step S2 specifically includes following steps:
S201:The information of the first Object node for needing to cut of file reading is cut from parameter, goes to step S202;
S202:Check that existing object node whether there is in TR069 parameter configuration files, if so, step S203 is gone to, Otherwise step S206 is gone to;
S203:According to the information of existing object node, rising for existing object node is defined in TR069 parameter configuration files Stop bit is put, and the information between the start-stop position of existing object node is the cutting information of existing object node, goes to step S204;
S204:The cutting information of existing object node is preserved to Flash file, goes to step S205;
S205:The cutting information of existing object node is cut in TR069 parameter configuration files, goes to step S206;
S206:Read in parameter cuts file it is next need the Object node information that cuts, judge to read whether into Work(, if so, re-executing step S202, otherwise step S2 terminates.
On the basis of above-mentioned technical proposal, step S3 specifically includes following steps:
S301:The first information for needing to load Object node is read from parameter load document, goes to step S302;
S302:Check that existing object node whether there is in TR069 parameter configuration files, if so, step S306 is gone to, Otherwise step S303 is gone to;
S303:According to the information of existing object node, the upper of existing object node is searched in TR069 parameter configuration files The start-stop position of level node, the start-stop section of superior node is the loading section of existing object node, goes to step S304;
S304:Object node load information corresponding with current loading section is read in Flash file, goes to step S305;
S305:Existing object node load information is added to TR069 parameter configuration files, using existing object node as The afterbody Object node of its superior node, goes to step S306;
S306:The information of next Object node for needing to load is read from parameter load document, whether judges reading Success, if so, re-executing step S302, otherwise step S3 terminates.
On the basis of above-mentioned technical proposal, step S5 specifically includes following steps:
S501:A node is found, parses and initializes TR069 parameter configuration files corresponding with present node, go to Step S502;
S502:The information type of present node is determined, if present node is Object node, step S503 is gone to, if currently Node is Parameter nodes, goes to step S504;
S503:Existing object node is parsed and initialized, goes to step S505;
S504;Parameter current node is parsed and initialized, goes to step S505;
S505:Judge whether TR069 parameter configuration files are parsed corresponding to all nodes, if so, step S5 terminates, Otherwise step S501 is re-executed.
On the basis of above-mentioned technical proposal, step S503 specifically includes following steps:According to the gateway data knot of definition Structure, the association attributes of existing object node is parsed and initialized.
On the basis of above-mentioned technical proposal, step S504 specifically includes following steps:According to the gateway data knot of definition Structure, the association attributes of parameter current node is parsed and initialized.
On the basis of above-mentioned technical proposal, TR069 parameter configuration files described in step S1 follow the BBF TR069 worlds Standard and Domestic Carriers extension require, it then follows XML syntax rules, TR069 parameter configuration files include TR069 objects and TR069 parameters.
On the basis of above-mentioned technical proposal, parameter described in step S2, which cuts file, to be included needing the Object node cut Complete trails information and corresponding cutting information back-up file.
On the basis of above-mentioned technical proposal, parameter load document described in step S3 includes needing the Object node loaded Complete trails information and corresponding load information backup file.
The on-demand loading system of TR069 Parameter nodes in the family gateway equipment provided by the invention for realizing the above method, Module, Object node load-on module, TR069 parameter configuration update modules are cut including file configuration load-on module, Object node With object tree initialization module;
File configuration load-on module is used for:By the TR069 parameter configuration shapes in the family gateway equipment needed to use Into TR069 parameter configuration files, TR069 parameter configuration files are loaded onto internal memory, module sending object is cut to Object node Node cuts signal;
Object node cuts module and is used for:After receiving Object node cutting signal, configuration parameter cuts file, according to parameter The Object node complete trails information in file is cut, defines every grade of Object node rising in TR069 parameter configuration files successively Stop bit is put, and the start stop bit is set to original position and end position;When being bound to subordinate's Object node start-stop position, upper In the range of level Object node start-stop position, when being defined to the start-stop position of afterbody Object node of subordinate's Object node, Information between the start-stop position of afterbody Object node is cutting information;Current cutting information is cut and preserved Flash file is not lost to power down;After the Object node complete trails information that parameter is cut in file is all handled, to Object node Load-on module sending object node loads signal;
Object node cuts module and is specifically used for:
S201:The information of the first Object node for needing to cut of file reading is cut from parameter, goes to step S202;
S202:Check that existing object node whether there is in TR069 parameter configuration files, if so, step S203 is gone to, Otherwise step S206 is gone to;
S203:According to the information of existing object node, rising for existing object node is defined in TR069 parameter configuration files Stop bit is put, and the information between the start-stop position of existing object node is the cutting information of existing object node, goes to step S204;
S204:The cutting information of existing object node is preserved to Flash file, goes to step S205;
S205:The cutting information of existing object node is cut in TR069 parameter configuration files, goes to step S206;
S206:Read in parameter cuts file it is next need the Object node information that cuts, judge to read whether into Work(, if so, re-execute step S202, otherwise end-of-job;
Object node load-on module is used for:After receiving Object node loading signal, configuration parameter load document, according to parameter Object node complete trails information in load document, every grade of Object node rising in TR069 parameter configuration files is defined successively Stop bit is put;When being bound to subordinate's Object node start-stop position, in the range of higher level's Object node start-stop position, when not defining To subordinate's Object node start-stop position when, the start-stop section of the afterbody Object node of higher level's object is loading section; After Flash file searches Object node load information corresponding with current loading section, TR069 parameter configuration files are loaded onto; After Object node complete trails information in parameter load document is all handled, TR069 is sent to TR069 parameter configurations update module Parameter configuration more new signal;
Object node load-on module is specifically used for:
S301:The first information for needing to load Object node is read from parameter load document, goes to step S302;
S302:Check that existing object node whether there is in TR069 parameter configuration files, if so, step S306 is gone to, Otherwise step S303 is gone to;
S303:According to the information of existing object node, the upper of existing object node is searched in TR069 parameter configuration files The start-stop position of level node, the start-stop section of superior node is the loading section of existing object node, goes to step S304;
S304:Object node load information corresponding with current loading section is read in Flash file, goes to step S305;
S305:Existing object node load information is added to TR069 parameter configuration files, using existing object node as The afterbody Object node of its superior node, goes to step S306;
S306:The information of next Object node for needing to load is read from parameter load document, whether judges reading Success, if so, re-execute step S302, otherwise end-of-job;
TR069 parameter configuration update modules are used for:After receiving TR069 parameter configurations more new signal, after cutting and modification TR069 parameter configuration files store to Flash file, to object tree initialization module sending object tree initialization signal;
Object tree initialization module is used for:It is initial according to TR069 parameter configuration files after receiving object tree initializing signal Change memory object tree, terminate.
Compared with prior art, the advantage of the invention is that:
(1) present invention can according to the combination of device type and operator, the different parameter of flexible configuration cut file and Parameter load document, and then compatible distinct device type and the TR069 parameter configuration files of operator needs can be formed, TR069 parameter configuration files can show different memory object trees.Match somebody with somebody with configuring a fairly large number of TR069 in the prior art Put file to compare, TR069 parameter configuration files of the invention can adapt to different device types and operator, not only flexibility It is relatively strong, and configuration parameter is less, in the absence of substantial amounts of information redundancy, is easy to people to use.
(2) compared with changing more single cent parts in the prior art, TR069 parameter configuration files of the invention can be compatible different Device type and operator needs;When needing modification, the TR069 parameter configuration files files of XML format can be concentrated Modification, the stationary problem caused by the general character modification to more parts of XML files is avoided, is easily serviced.
(3) Flash file of the invention stores amended TR069 parameter configuration files, therefore disclosure satisfy that specific The requirement of type equipment and particular operator, afterwards during the use of family gateway equipment, it is not necessary to cut again With loading Object node information, and then the normal toggle speed and the speed of service of family gateway equipment ensure that.
Brief description of the drawings
Fig. 1 is the flow chart of the on-demand loading method of TR069 Parameter nodes in family gateway equipment in the embodiment of the present invention;
Fig. 2 is the flow chart of step S2 in the embodiment of the present invention;
Fig. 3 is the flow chart of step S3 in the embodiment of the present invention;
Fig. 4 is the flow chart of step S5 in the embodiment of the present invention.
Embodiment
The present invention is described in further detail below in conjunction with drawings and Examples.
It is shown in Figure 1, in the embodiment of the present invention in family gateway equipment TR069 Parameter nodes on-demand loading method, Comprise the following steps:
S1:The TR069 that TR069 parameter configurations in the family gateway equipment needed to use are formed to XML format joins TR069 parameter configuration files are loaded onto internal memory, go to step S2 by number configuration file.
TR069 parameter configuration files in step S1 follow BBF TR069 international standards and Domestic Carriers extension requires, XML syntax rules are followed, TR069 parameter configuration files include TR069 objects and TR069 parameters.
S2:Configuration parameter cuts file, and parameter, which cuts file, includes needing the Object node complete trails information that cuts and right The cutting information back-up file answered.
Object node complete trails information in file is cut according to parameter, every grade of Object node is defined successively and joins in TR069 Start-stop position (original position and end position) in number configuration file.When being bound to subordinate's Object node start-stop position, In the range of higher level's Object node start-stop position, judge whether to be defined to rising for the afterbody Object node of subordinate's Object node Stop bit is put, and the information between the start-stop position of afterbody Object node is to cut information;If so, the current information that cuts is entered Row cuts and preserved to Flash file (file is not lost in power down), otherwise illustrates that TR069 parameter configuration files are not cut out currently Cut information.After the Object node complete trails information that parameter is cut in file is all handled, step S3 is gone to.
S3:Configuration parameter load document, parameter load document include needing the Object node complete trails information that loads and right The load information backup file answered.
Object node complete trails information in parameter load document, every grade of Object node is defined successively and is joined in TR069 Start-stop position in number configuration file.When being bound to subordinate's Object node start-stop position, in higher level's Object node start stop bit In the range of putting, judge whether to be defined to the start-stop position of subordinate's Object node;If so, then TR069 parameter configuration files include working as The information in preceding loading section, without loading, otherwise the information in the start-stop section of the afterbody Object node of higher level's object is Section is loaded, after Flash file searches Object node load information corresponding with current loading section, is loaded onto TR069 ginsengs Number configuration file.After Object node complete trails information in parameter load document is all handled, step S4 is gone to.
S4:TR069 parameter configuration files after changing (after cutting and loading) are stored to Flash file, go to step S5。
S5:Memory object tree is initialized according to TR069 parameter configuration files, is terminated.
Shown in Figure 2, step S2 specifically includes following steps:
S201:The information of the first Object node for needing to cut of file reading is cut from parameter, goes to step S202.
S202:Check that existing object node whether there is in TR069 parameter configuration files, if so, step S203 is gone to, Otherwise step S206 is gone to.
S203:According to the information of existing object node, rising for existing object node is defined in TR069 parameter configuration files Stop bit is put, and the information between the start-stop position of existing object node is the cutting information of existing object node, goes to step S204。
S204:The cutting information of existing object node is preserved to Flash file, goes to step S205.
S205:The cutting information of existing object node is cut in TR069 parameter configuration files, goes to step S206.
S206:Read in parameter cuts file it is next need the Object node information that cuts, judge to read whether into Work(, if so, re-executing step S202, otherwise step S2 terminates.
Shown in Figure 3, step S3 specifically includes following steps:
S301:The first information for needing to load Object node is read from parameter load document, goes to step S302.
S302:Check that existing object node whether there is in TR069 parameter configuration files, if so, step S306 is gone to, Otherwise step S303 is gone to.
S303:According to the information of existing object node, the upper of existing object node is searched in TR069 parameter configuration files The start-stop position of level node, the start-stop section of superior node is the loading section of existing object node, goes to step S304.
S304:Object node load information corresponding with current loading section is read in Flash file, goes to step S305。
S305:Existing object node load information is added to TR069 parameter configuration files, using existing object node as The afterbody Object node of its superior node, goes to step S306.
S306:The information of next Object node for needing to load is read from parameter load document, whether judges reading Success, if so, re-executing step S302, otherwise step S3 terminates.
Shown in Figure 4, step S5 specifically includes following steps:
S501:A node is found, according to XML syntax rules, parses and initializes TR069 ginsengs corresponding with present node Number configuration file, goes to step S502.
S502:The information type of present node is determined, if present node is Object node, step S503 is gone to, if currently Node is Parameter nodes, goes to step S504.
S503:Existing object node is parsed and initialized:According to the gateway data structure of definition, by existing object The association attributes of node is parsed and initialized, and goes to step S505.
S504;Parameter current node is parsed and initialized:According to the gateway data structure of definition, by parameter current The association attributes of node is parsed and initialized, and goes to step S505.
S505:Judge whether TR069 parameter configuration files are parsed corresponding to all nodes, if so, step S5 terminates, Otherwise step S501 is re-executed.
The operation principle of the on-demand loading method of TR069 Parameter nodes is such as in family gateway equipment in the embodiment of the present invention Under:
Because the Flash file of the present invention stores amended TR069 parameter configuration files, therefore disclosure satisfy that specific The requirement of type equipment and particular operator, afterwards during the use of family gateway equipment, it is not necessary to cut again With loading Object node information, and then the normal toggle speed and the speed of service of family gateway equipment ensure that.
The TR069 parameter configuration files of the present invention are XML format, and this document follows XML syntax rules, and has to node Particular/special requirement, i.e., first effective node are object types, and Object node is given a definition fraternal Object node, subobject node, right As the Parameter nodes under node, it is necessary to be defined on before other Object nodes under the Object node.Above rule is followed, After completing TR069 memory parameters tree initialization flows, an orderly tree structure can be constructed, improves the effect of retrieval and renewal Rate.
The on-demand loading system of TR069 Parameter nodes in the family gateway equipment for realizing the above method in the embodiment of the present invention System, including file configuration load-on module, Object node cut module, Object node load-on module, TR069 parameter configurations renewal mould Block and object tree initialization module.
File configuration load-on module is used for:By the TR069 parameter configuration shapes in the family gateway equipment needed to use Into TR069 parameter configuration files, TR069 parameter configuration files are loaded onto internal memory, module sending object is cut to Object node Node cuts signal.
Object node cuts module and is used for:After receiving Object node cutting signal, configuration parameter cuts file, according to parameter The Object node complete trails information in file is cut, defines every grade of Object node rising in TR069 parameter configuration files successively Stop bit is put, and the start stop bit is set to original position and end position;When being bound to subordinate's Object node start-stop position, upper In the range of level Object node start-stop position, when being defined to the start-stop position of afterbody Object node of subordinate's Object node, Information between the start-stop position of afterbody Object node is cutting information;Current cutting information is cut and preserved Flash file is not lost to power down;After the Object node complete trails information that parameter is cut in file is all handled, to Object node Load-on module sending object node loads signal.
Object node load-on module is used for:After receiving Object node loading signal, configuration parameter load document, according to parameter Object node complete trails information in load document, every grade of Object node rising in TR069 parameter configuration files is defined successively Stop bit is put;When being bound to subordinate's Object node start-stop position, in the range of higher level's Object node start-stop position, when not defining To subordinate's Object node start-stop position when, the start-stop section of the afterbody Object node of higher level's object is loading section; After Flash file searches Object node load information corresponding with current loading section, TR069 parameter configuration files are loaded onto; After Object node complete trails information in parameter load document is all handled, TR069 is sent to TR069 parameter configurations update module Parameter configuration more new signal.
TR069 parameter configuration update modules are used for:After receiving TR069 parameter configurations more new signal, after cutting and modification TR069 parameter configuration files store to Flash file, to object tree initialization module sending object tree initialization signal.
Object tree initialization module is used for:It is initial according to TR069 parameter configuration files after receiving object tree initializing signal Change memory object tree, terminate.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from On the premise of the principle of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as the protection of the present invention Within the scope of.The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.

Claims (8)

1. a kind of on-demand loading method of TR069 Parameter nodes in family gateway equipment, it is characterised in that comprise the following steps:
S1:TR069 parameter configurations in the family gateway equipment needed to use are formed into TR069 parameter configuration files, will TR069 parameter configuration files are loaded onto internal memory, go to step S2;
S2:Configuration parameter cut file, according to parameter cut file in Object node complete trails information, define successively every grade it is right As start-stop position of the node in TR069 parameter configuration files, the start stop bit is set to original position and end position;To subordinate When Object node start-stop position is bound, in the range of higher level's Object node start-stop position, when being defined to subordinate's Object node Afterbody Object node start-stop position when, the information between the start-stop position of afterbody Object node is believed to cut Breath;Current cutting information is cut and preserved to power down and does not lose Flash file;Parameter cuts the object section in file Point complete trails information all after processing, goes to step S3;
Step S2 specifically includes following steps:
S201:The information of the first Object node for needing to cut of file reading is cut from parameter, goes to step S202;
S202:Check that existing object node whether there is in TR069 parameter configuration files, if so, going to step S203, otherwise Go to step S206;
S203:According to the information of existing object node, the start stop bit of existing object node is defined in TR069 parameter configuration files Put, the information between the start-stop position of existing object node is the cutting information of existing object node, goes to step S204;
S204:The cutting information of existing object node is preserved to Flash file, goes to step S205;
S205:The cutting information of existing object node is cut in TR069 parameter configuration files, goes to step S206;
S206:Next Object node information for needing to cut is read in parameter cuts file, judges whether reading succeeds, if It is to re-execute step S202, otherwise step S2 terminates, and goes to step S3;
S3:Configuration parameter load document, the Object node complete trails information in parameter load document, define successively every grade it is right As start-stop position of the node in TR069 parameter configuration files;When being bound to subordinate's Object node start-stop position, in higher level In the range of Object node start-stop position, when not being defined to the start-stop position of subordinate's Object node, the afterbody of higher level's object The start-stop section of Object node is loading section;Object node corresponding with current loading section is searched in Flash file to load After information, TR069 parameter configuration files are loaded onto;After Object node complete trails information in parameter load document is all handled, Go to step S4;
Step S3 specifically includes following steps:
S301:The first information for needing to load Object node is read from parameter load document, goes to step S302;
S302:Check that existing object node whether there is in TR069 parameter configuration files, if so, going to step S306, otherwise Go to step S303;
S303:According to the information of existing object node, higher level's section that existing object node is searched in TR069 parameter configuration files The start-stop position of point, the start-stop section of superior node is the loading section of existing object node, goes to step S304;
S304:Object node load information corresponding with current loading section is read in Flash file, goes to step S305;
S305:Existing object node load information is added to TR069 parameter configuration files, using existing object node as thereon The afterbody Object node of level node, goes to step S306;
S306:The information of next Object node for needing to load is read from parameter load document, judges whether reading succeeds, If so, re-executing step S302, otherwise step S3 terminates, and goes to step S4;
S4:It will cut and amended TR069 parameter configuration files stored to Flash file, go to step S5;
S5:Memory object tree is initialized according to TR069 parameter configuration files, is terminated.
2. the on-demand loading method of TR069 Parameter nodes in family gateway equipment as claimed in claim 1, it is characterised in that Step S5 specifically includes following steps:
S501:A node is found, parses and initializes TR069 parameter configuration files corresponding with present node, go to step S502;
S502:The information type of present node is determined, if present node is Object node, step S503 is gone to, if present node For Parameter nodes, step S504 is gone to;
S503:Existing object node is parsed and initialized, goes to step S505;
S504;Parameter current node is parsed and initialized, goes to step S505;
S505:Judge whether TR069 parameter configuration files are parsed corresponding to all nodes, if so, step S5 terminates, otherwise Re-execute step S501.
3. the on-demand loading method of TR069 Parameter nodes in family gateway equipment as claimed in claim 2, it is characterised in that Step S503 specifically includes following steps:According to the gateway data structure of definition, the association attributes of existing object node is carried out Parsing and initialization.
4. the on-demand loading method of TR069 Parameter nodes in family gateway equipment as claimed in claim 2, it is characterised in that Step S504 specifically includes following steps:According to the gateway data structure of definition, the association attributes of parameter current node is carried out Parsing and initialization.
5. the on-demand loading method of TR069 Parameter nodes in the family gateway equipment as described in any one of Claims 1-4, its It is characterised by:TR069 parameter configuration files described in step S1 follow BBF TR069 international standards and Domestic Carriers extension will Ask, it then follows XML syntax rules, TR069 parameter configuration files include TR069 objects and TR069 parameters.
6. the on-demand loading method of TR069 Parameter nodes in the family gateway equipment as described in any one of Claims 1-4, its It is characterised by:Parameter described in step S2, which cuts file, includes Object node complete trails information and the corresponding cutting that needs are cut Information back-up file.
7. the on-demand loading method of TR069 Parameter nodes in the family gateway equipment as described in any one of Claims 1-4, its It is characterised by:Parameter load document described in step S3 includes Object node complete trails information and the corresponding loading that needs load Information back-up file.
8. TR069 Parameter nodes adds on demand in a kind of family gateway equipment for realizing any one of claim 1 to 7 methods described Loading system, it is characterised in that:Including file configuration load-on module, Object node cut module, Object node load-on module, TR069 parameter configurations update module and object tree initialization module;
File configuration load-on module is used for:TR069 parameter configurations in the family gateway equipment needed to use are formed TR069 parameter configuration files, TR069 parameter configuration files are loaded onto internal memory, module sending object section is cut to Object node Point cuts signal;
Object node cuts module and is used for:After receiving Object node cutting signal, configuration parameter cuts file, is cut according to parameter Object node complete trails information in file, defines start stop bit of the every grade of Object node in TR069 parameter configuration files successively Put, the start stop bit is set to original position and end position;When being bound to subordinate's Object node start-stop position, in higher level couple In the range of node start-stop position, when being defined to the start-stop position of afterbody Object node of subordinate's Object node, finally Information between the start-stop position of one-level Object node is cutting information;Information current will be cut to be cut and preserved to falling Electricity does not lose Flash file;After the Object node complete trails information that parameter is cut in file is all handled, loaded to Object node Module sending object node loads signal;
Object node cuts module and is specifically used for:
S201:The information of the first Object node for needing to cut of file reading is cut from parameter, goes to step S202;
S202:Check that existing object node whether there is in TR069 parameter configuration files, if so, going to step S203, otherwise Go to step S206;
S203:According to the information of existing object node, the start stop bit of existing object node is defined in TR069 parameter configuration files Put, the information between the start-stop position of existing object node is the cutting information of existing object node, goes to step S204;
S204:The cutting information of existing object node is preserved to Flash file, goes to step S205;
S205:The cutting information of existing object node is cut in TR069 parameter configuration files, goes to step S206;
S206:Next Object node information for needing to cut is read in parameter cuts file, judges whether reading succeeds, if It is to re-execute step S202, otherwise end-of-job;
Object node load-on module is used for:After receiving Object node loading signal, configuration parameter load document, loaded according to parameter Object node complete trails information in file, defines start stop bit of the every grade of Object node in TR069 parameter configuration files successively Put;When being bound to subordinate's Object node start-stop position, in the range of higher level's Object node start-stop position, when not being defined to down During the start-stop position of level Object node, the start-stop section of the afterbody Object node of higher level's object is loading section;In Flash After ff Object node load information corresponding with current loading section, TR069 parameter configuration files are loaded onto;Parameter adds After Object node complete trails information in published article part is all handled, send TR069 parameters to TR069 parameter configurations update module and match somebody with somebody Put more new signal;
Object node load-on module is specifically used for:
S301:The first information for needing to load Object node is read from parameter load document, goes to step S302;
S302:Check that existing object node whether there is in TR069 parameter configuration files, if so, going to step S306, otherwise Go to step S303;
S303:According to the information of existing object node, higher level's section that existing object node is searched in TR069 parameter configuration files The start-stop position of point, the start-stop section of superior node is the loading section of existing object node, goes to step S304;
S304:Object node load information corresponding with current loading section is read in Flash file, goes to step S305;
S305:Existing object node load information is added to TR069 parameter configuration files, using existing object node as thereon The afterbody Object node of level node, goes to step S306;
S306:The information of next Object node for needing to load is read from parameter load document, judges whether reading succeeds, If so, re-execute step S302, otherwise end-of-job;
TR069 parameter configuration update modules are used for:After receiving TR069 parameter configurations more new signal, it will cut and amended TR069 parameter configuration files are stored to Flash file, to object tree initialization module sending object tree initialization signal;
Object tree initialization module is used for:After receiving object tree initializing signal, according in the initialization of TR069 parameter configuration files Object tree is deposited, is terminated.
CN201510161629.9A 2015-04-08 2015-04-08 The on-demand loading method and system of TR069 Parameter nodes in family gateway equipment Active CN104852813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510161629.9A CN104852813B (en) 2015-04-08 2015-04-08 The on-demand loading method and system of TR069 Parameter nodes in family gateway equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510161629.9A CN104852813B (en) 2015-04-08 2015-04-08 The on-demand loading method and system of TR069 Parameter nodes in family gateway equipment

Publications (2)

Publication Number Publication Date
CN104852813A CN104852813A (en) 2015-08-19
CN104852813B true CN104852813B (en) 2018-02-13

Family

ID=53852180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510161629.9A Active CN104852813B (en) 2015-04-08 2015-04-08 The on-demand loading method and system of TR069 Parameter nodes in family gateway equipment

Country Status (1)

Country Link
CN (1) CN104852813B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130799B (en) * 2016-08-29 2019-05-28 烽火通信科技股份有限公司 Family gateway equipment and its switching method with multi-operator handoff functionality
CN108683740A (en) * 2018-05-18 2018-10-19 烽火通信科技股份有限公司 A kind of method and system of the promotion configuration access speed based on UCI
CN108984622B (en) * 2018-06-14 2020-06-16 烽火通信科技股份有限公司 Storage access method and system for quick access of configuration data by home gateway
CN110018866B (en) * 2018-11-06 2022-03-15 蔚来(安徽)控股有限公司 User interface theme updating method, device and system, vehicle machine and vehicle
CN110217269B (en) * 2019-05-31 2021-08-17 北京交大思诺科技股份有限公司 LKJ control parameter configuration method
CN112583639B (en) * 2020-11-30 2022-05-27 新华三大数据技术有限公司 Configuration method and device of network equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753564A (en) * 2008-12-02 2010-06-23 阿尔卡特朗讯公司 A module and associated method for TR-069 object management
CN103491058A (en) * 2012-06-12 2014-01-01 深圳市共进电子股份有限公司 TR069 and UPnP protocol conversion method and home network terminal management method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753564A (en) * 2008-12-02 2010-06-23 阿尔卡特朗讯公司 A module and associated method for TR-069 object management
CN103491058A (en) * 2012-06-12 2014-01-01 深圳市共进电子股份有限公司 TR069 and UPnP protocol conversion method and home network terminal management method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
基于TR069协议实现家庭网关的远程管理;何硕;《网络与信息工程》;20140228;全文 *
基于TR069协议的运营商终端管理;乔倩;《中国优秀硕士学位论文全文数据库》;20101231;全文 *
基于TR-069协议的配置管理功能研究与应用;付超;《电视技术》;20121231;第36卷(第23期);全文 *

Also Published As

Publication number Publication date
CN104852813A (en) 2015-08-19

Similar Documents

Publication Publication Date Title
CN104852813B (en) The on-demand loading method and system of TR069 Parameter nodes in family gateway equipment
CN106656801B (en) Reorientation method, device and the Business Stream repeater system of the forward-path of Business Stream
CN104253767B (en) A kind of implementation method of virtual burst network and a kind of interchanger
CN104012063A (en) Controller for flexible and extensible flow processing in software-defined networks
CN107222347B (en) Configuration reverse-brushing method based on PTN equipment
CN110351286A (en) Link flood attack detects response mechanism in a kind of software defined network
CN101360001A (en) Apparatus and method for processing alarm by network manager at upper layer
CN104579977A (en) Bandwidth constraint multipath routing method and system for SDN controller
CN106257868A (en) Configuration data push method and device
CN107193917A (en) Whole station CONFIG.SYS lossless data update method based on IID
CN107870982A (en) Data processing method, system and computer-readable recording medium
CN103229463B (en) A kind of method, the network equipment and Virtual Cluster determining management domain
EP3637690A1 (en) Service configuration-driven flow table method and device
CN101145940A (en) A method for searching network element device and establishing topology connection in network management system
CN104796340A (en) Multicast data transmission method and device
CN112751752B (en) Route convergence method, device, communication equipment and storage medium
CN103179036B (en) The method realizing the Linktrace of MPLS-TP OAM based on FPGA
CN101867484A (en) Method and system for upgrading equipment
CN106612207B (en) The management-control method and device of ethernet device RSTP information
CN106254534A (en) Distributed type assemblies monitoring agent based on mixed architecture and method
CN109687985B (en) Automatic configuration method and system for process level network of transformer substation
CN105634831B (en) A kind of intelligent translation system and method for locating source in communication equipment
CN109412856A (en) A kind of network equipment brand indifference management method and system
CN101695028B (en) Method and device for configuring simple network management protocol
CN104717380B (en) Interchanger, speech ciphering equipment, IP telephony system and speech ciphering equipment dispositions method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant