CN110351132A - A kind of home gateway configuration recovery method and system - Google Patents
A kind of home gateway configuration recovery method and system Download PDFInfo
- Publication number
- CN110351132A CN110351132A CN201910572775.9A CN201910572775A CN110351132A CN 110351132 A CN110351132 A CN 110351132A CN 201910572775 A CN201910572775 A CN 201910572775A CN 110351132 A CN110351132 A CN 110351132A
- Authority
- CN
- China
- Prior art keywords
- recovery
- attribute
- data
- parameter
- restore
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of home gateway configuration recovery method and systems, are related to computer communication field, and this method includes establishing data model, and the data model includes at least one object, and each object includes at least one parameter.Restore attribute for the object and/or parameter setting, it is described to restore the recovery condition that attribute includes the object and/or parameter corresponding data.Home gateway carries out configuration recovery to the data for meeting recovery condition according to the matching relationship for restoring instruction with restoring attribute.The present invention can quickly and easily realize different recovery instructions and easy to maintain, extension under different scenes.
Description
Technical field
The present invention relates to computer communication fields, and in particular to a kind of home gateway configuration recovery method and system.
Background technique
Household electrical appliances various in family and equipment are networked, are by network by access device of the home gateway as home broadband
People provide various abundant, diversifications, personalized, conveniently, comfortably, safely and efficiently service.With answering extensively for object networking
With, it will more service content are brought, the access of Internet is not only, home gateway can provide more intelligent to family
Service.As the business that home gateway is supported increases, the configuration saved on home gateway is also more and more.
However consequent is that configuration recovery function also becomes to become increasingly complex, and configures increasing for the mode of recovery, such as
Short-press reset key restores, long-pressing reset key restores, remote management platform restores etc., these reset modes are applied to different
Scene, and the reset mode of different operators is also different.Meanwhile home gateway configuration parameter is more, therefore this make to configure it is extensive
Become again very complicated.Being currently configured the way restored has following two:
1, first method is restored by configuration management module, and different reset modes are handled using different functions,
This mode makes the code of recovery configuring huge, difficult in maintenance, and scalability is poor, if place need to be increased newly by increasing a kind of reset mode newly
Manage function;
2, the second way is to be sent to each business mould in form of a message by the mode that configuration management module will restore
Block, such case can reduce the workload of configuration module, but if the process of certain business module do not start will appear configuration leakage it is extensive
Multiple situation, and scalability is also poor, it is every to increase a kind of configuration reset mode or reset mode has that configuration management is modified when change
Module and corresponding business module.
Therefore how to solve the problem of that configuring the complication for restoring to realize in different scenes is our present urgent need to resolve.
Summary of the invention
In view of the deficiencies in the prior art, the purpose of the present invention is to provide a kind of home gateway configuration recovery methods
And system, different recovery policies and easy to maintain, extension can be quickly and easily realized under different scenes.
To achieve the above objectives, in a first aspect, the embodiment of the present invention provides a kind of home gateway configuration recovery method, packet
It includes
Data model is established, the data model includes at least one object, and each object includes at least one parameter;
Restore attribute for the object and/or parameter setting, the recovery attribute includes that the object and/or parameter correspond to number
According to recovery condition;
Home gateway configures the data for meeting recovery condition according to the matching relationship for restoring instruction with restoring attribute
Restore.
As a preferred embodiment, each object includes multiple parameters;
If all Parameter reconstruction conditions are identical under an object, it is arranged for the object and restores attribute, and the object
Restore attribute to match with recovery condition;
If all Parameter reconstruction conditions are different under an object, the recovery category of the parameter under the object is set one by one
Property.
As a preferred embodiment, the recovery attribute is n bit position, and whether each representative carries out
A kind of reset mode, the n are the integer greater than 0.
As a preferred embodiment, the recovery condition include it is long touch the button, short-press button and remote operation.
As a preferred embodiment, the recovery attribute is triad numerical digit:
When carrying out any recovery operation, restore the data that attribute is 0 without restoring;
When recovery condition is short-press preset button, restores the data that attribute is 1 and restored;
When recovery condition is long-pressing preset button, restores the data that attribute is 2 and restored;
When recovery condition is short/long-pressing preset button, restores the data that attribute is 3 and restored;
When recovery condition is remote recovery, restores the data that attribute is 4 and restored;
When recovery condition is the preset button of short-press and remote recovery, restores the data that attribute is 5 and restored;
When recovery condition is the preset button of long-pressing and remote recovery, restores the data that attribute is 6 and restored;
Recovery condition is when requiring recovery configuring under any recovery operation, and the data that recovery attribute is 7 carry out extensive
It is multiple.
Second aspect, the embodiment of the present invention also provide a kind of home gateway configuration recovery system comprising:
Modeling module, for establishing data model, the data model includes at least one object, and each object includes extremely
A few parameter;
Configuration module, for restoring attribute for the object and/or parameter setting, the recovery attribute includes the object
And/or the recovery condition of parameter corresponding data;
Recovery module, for according to the matching relationship for restoring instruction with restoring attribute, to meet the data of recovery condition into
Row configuration restores.
As a preferred embodiment, the configuration module is also used to: when the data model includes at least one
Object, when each object includes multiple parameters;
If all data recovery condition is identical under an object, it is arranged for the object and restores attribute, and the object
Restore attribute to match with recovery condition;
If all data restore condition difference under an object, the recovery category of the parameter under the object is set one by one
Property.
As a preferred embodiment, the recovery attribute is n bit position, and whether each representative carries out
A kind of reset mode, the n are the integer greater than 0.
It further include respective modules as a preferred embodiment, the respective modules are for being arranged recovery operation
Attribute is corresponding with restoring, the recovery operation include grow touch the button, short-press button and remote operation, and according to recovery operation into
The corresponding reset mode of row.
As a preferred embodiment, the recovery module is used for:
When carrying out any recovery operation, without restoring;
When recovery condition is short-press preset button, restore to the data that attribute is 1 are restored;
When recovery condition is long-pressing preset button, restore to the data that attribute is 2 are restored;
When recovery condition is short/long-pressing preset button, restore to the data that attribute is 3 are restored;
When recovery condition is remote recovery, restore to the data that attribute is 4 are restored;
When recovery condition is the preset button of short-press and remote recovery, restore to the data that attribute is 5 are restored;
When recovery condition is the preset button of long-pressing and remote recovery, restore to the data that attribute is 6 are restored;
Recovery condition is to carry out when requiring recovery configuring under any recovery operation to the data that attribute is 7 are restored
Restore.
Compared with the prior art, the advantages of the present invention are as follows:
A kind of home gateway configuration recovery method of the present invention and system establish data model, and are each object, parameter
Configuration restores attribute, identifies the required reset mode of parameter under corresponding objects by restoring attribute.Further, of the invention
Recovery the instruction corresponding different restoration scenario and reset mode configured by home gateway, user, manufacturer only need to carry out
The corresponding recovery operation for restoring instruction, it can the recovery of a full set of home gateway configuration parameter is completed, it is very convenient and quick.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, a letter is made to the corresponding attached drawing of embodiment below
Singly introduce, it should be apparent that, drawings in the following description are some embodiments of the invention, for ordinary skill people
For member, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of step flow chart of home gateway configuration recovery method embodiment of the present invention;
Fig. 2 is a kind of recovery attribute schematic diagram of home gateway configuration recovery method embodiment of the present invention;
Fig. 3 is a kind of step flow chart of another embodiment of home gateway configuration recovery method of the present invention;
Fig. 4 is the structural schematic diagram that a kind of home gateway of the present invention configures recovery system embodiment.
Specific embodiment
The embodiment of the present invention is described in further detail below in conjunction with attached drawing.
Shown in Figure 1, the embodiment of the present invention provides a kind of home gateway configuration recovery method and system, passes through foundation
Data model, and be correspondingly arranged and restore attribute and restore condition, parameter can be carried out one by one according to the recovery condition of selection
The recovery of setting can be restored one by one, simultaneously for each parameter, it is only necessary to corresponding recovery instruction is issued,
Simplify gateway and configures reset mode, it is very convenient and quick.
To reach above-mentioned technical effect, the general thought of the application is as follows:
Data model is established, the data model includes at least one object, and each object includes at least one parameter;
Restore attribute for the object and/or parameter setting, the recovery attribute includes that the object and/or parameter correspond to number
According to recovery condition;
Home gateway configures the data for meeting recovery condition according to the matching relationship for restoring instruction with restoring attribute
Restore.
In conclusion the logical relation of parameters is showed by way of data model, facilitate to unified
Type or the parameter for being related to identical things are attributed to an object, while recovery attribute is arranged, and make each ginseng in home gateway
The targeted things of number is interrelated, visualizes simultaneously.Object and parameter setting restore attribute, such needle in data model
To different recovery conditions, different recovery attributes can be configured in corresponding object or parameter, carries out different parameters
Reset mode, the Parameter reconstruction scheme that complicated needs are confirmed one by one, in such a way that parameter is corresponding with recovery attribute or
Person's object is corresponding to restore attribute, and the mode that attribute corresponds to parameter again connects, and different recovery conditions, instruction is being arranged, complete
At the corresponding relationship of data model, recovery instruction, a recovery condition are selected, can correspond to that different parameters, that object finds its is right
The recovery attribute answered restores attribute by it, and confirms processing mode/reset mode of parameter.
In order to better understand the above technical scheme, being described in detail With reference to embodiment.
Shown in Figure 1, the embodiment of the present invention provides a kind of home gateway configuration recovery method comprising:
S1 establishes data model, and the data model includes at least one object, and each object includes at least one parameter.
By establishing data model according to logical relation between parameter, can by complicated parameter options not omit, it is whole
The form of body shows.In existing home gateway, config option includes multiple projects, as user configuration, system are matched
It sets, and there are other small projects and parameters options under each project.If random ordering is confirmed one by one, configures personnel and exist
When configuration, needs to inquire module associated by parameters constantly, be not between parameter and home gateway, parameter and parameter
Contradiction or mistake.The present invention then directly establishes data model, can be according to data mould when being confirmed one by one to parameter
Type is confirmed successively, one by one according to the model, ensure that integrality, the logic of parameter, and without missing.Into one
Step, the parameter that is mutually related also can be graphical by model by data model, easy-to-look-up and corresponding.
As a preferred embodiment, data model includes at least one object, and each object includes multiple parameters;
If all Parameter reconstruction conditions are identical under an object, it is arranged for the object and restores attribute, and the object
Restore attribute to match with recovery condition;
If all Parameter reconstruction conditions are different under an object, the recovery category of the parameter under the object is set one by one
Property.
When all Parameter Conditions under an object are identical, if still one by one go confirmation parameter, excessively redundancy, because
This, the present invention is further, by the way that the recovery attribute of object belonging to these parameters is arranged, come directly confirm its corresponding one with
On parameter, if no longer need to confirm one by one, but directly confirmed according to parameter.And when all Parameter reconstructions under object
Condition is different, then needs to confirm one by one.
S2 is the object and/or parameter setting restores attribute, and the recovery attribute includes that the object and/or parameter are corresponding
The recovery condition of data.
The corresponding recovery attribute of one parameter, the corresponding recovery attribute of an object, restoring attribute includes that this is right
As and/or the corresponding data of parameter recovery condition, guarantee explicitly to confirm the reset mode of parameter by restoring attribute, into
One step, when confirming recovery attribute one by one according to certain sequence, it will be able to which the recovery fixed as one, which instructs, to be carried out.It will be complicated
The parameters for needing to be confirmed one by one, corresponded manner preservation and record by restoring attribute, simplify
Parameter reconstruction verification step, and improve Parameter reconstruction efficiency.
For example, as shown in Fig. 2, the recovery attribute is n bit position, whether each representative carries out one kind
Reset mode, the n are the integer greater than 0.
Object/parameter reset mode is represented by way of numerical value, is capable of the complicated parameter of more convenient record, right
The recovery of elephant.Meanwhile, it is capable to corresponding different recovery instruction.
Further, the recovery condition include it is long touch the button, short-press button and remote operation.
By the operation on setting hardware, user can directly complete the recovery of home gateway configuration by hardware, no longer
It needs to enter in software systems, completes the configuration of parameters, object one by one, it is more convenient, meanwhile, it is opened in user perspective,
, only by key, home gateway can voluntarily be completed to configure for it, compared to traditional scheme, be more efficiency, save manpower
Material resources, user experience are more preferable.
In further example, restoring attribute is triad numerical digit:
When carrying out any recovery operation, restore the data that attribute is 0 without restoring;
When recovery condition is short-press preset button, restores the data that attribute is 1 and restored;
When recovery condition is long-pressing preset button, restores the data that attribute is 2 and restored;
When recovery condition is short/long-pressing preset button, restores the data that attribute is 3 and restored;
When recovery condition is remote recovery, restores the data that attribute is 4 and restored;
When recovery condition is the preset button of short-press and remote recovery, restores the data that attribute is 5 and restored;
When recovery condition is the preset button of long-pressing and remote recovery, restores the data that attribute is 6 and restored;
Recovery condition is when requiring recovery configuring under any recovery operation, and the data that recovery attribute is 7 carry out extensive
It is multiple.
As shown in table 1, totally 8 kinds of preset recovery types can be reached by 3 buttons and 2 reset modes.It compares
In tradition, user voluntarily completes the recovery of parameters one by one as needed, can correspond to more situations, more convenient fast
It is prompt.
Table 1
Preferably, there are many recovery policies, including complete recovery policy and part to restore plan for the home gateway configuration
Slightly.
Under different restoration scenarios, recovery demand and recovery thinking to home gateway configuration are different, and are such as used
There is maloperation when configuring personalizing parameters in family, needs to be restored to the parameter configuration scheme before configuration personalizing parameters
When, recovery policy at this time is to be restored for personalizing parameters, is not related to the setting of other parameters, as a kind of possible
Part recovery policy.And for needing for home gateway to be initialised to the data before use, then it can restore all parameters, this
When be complete recovery policy.
Specifically, all configurations of home gateway are stored in data model, and there are two types of the data stored in data model:
Object object (hereinafter referred to as obj) and parameter parameter (hereinafter referred to as param).
There is node to correspond multiple param under the corresponding node of obj in the data model.And the present invention configures and restores
Configuration management module progress is concentrated on, increases a label/attribute, in the attribute list of obj and param for indicating that this is right
As or parameter reset mode, label/attribute indicates a kind of reset mode by each bit of binary system, when bit takes
It indicates to restore object or parameter value under corresponding reset mode when value is 1, is to indicate not restore for 0.If some is right
Parameter reconstruction scene as under is identical, then the reset mode of object can only be arranged;If the Parameter reconstruction scene under object is not
Together, then do not have to setting object and restore attribute, attribute is restored to the parameter setting under object one by one.Configuration management module is restored
When operation, reset mode and object/parameter recovery attribute value are carried out and operated, indicates that the object/parameter wants extensive if it is 1
It is multiple, it does not otherwise need to restore.Therefore method of the invention can define recovery side of the object/parameter under a variety of restoration scenarios
Formula.If necessary to newly-increased reset mode, it is only necessary to which the recovery attribute for modifying parameter model does not need at new increasing function
Reason.
In further example, device configuration is stored in the format in data model specifically:
(1) it is formed configured with two parts, has multiple param under object obj and parameter param, obj;
(2) present invention increases restore label field in the corresponding label/attribute list of obj and param, when the mark
When label are not provided with, value 0;
(3) when the label field of param all under obj is all identical, it is only necessary to the label field of obj be set, and do not had to
The label field of parameter param is set, then the label field of the recovery inheritance of attribute obj of param, when recovery operation can be to whole
A obj is restored, and is not had to each obj and individually restored;If the label field of multiple param is different under obj, obj
Restore attribute value without setting, only with the recovery attribute value of setting param, when recovery restores param one by one;
When needing newly-increased reset mode, it is only necessary to modify the obj's or param for needing to restore in parameter model
Restore label field.The value of above-mentioned restore is exactly to restore attribute.
Specifically, data model can be arranged by following code example:
After above-mentioned setting, as shown in figure 3, carrying out following recovering steps:
A1: due to equipment within the same time within, a kind of preset recovery policy can only be carried out, therefore, setting
ConfigRestore function, according to a kind of corresponding recovery policy of recovery instruction of user's selection, restores from a variety of recovery policies
Strategy is incoming as the parameter restoreky of ConfigRestore function;
A2: when calling configuration reconstruction, obj is taken out from data model, if the restore label field of obj
Value it is non-zero, then the restore value of obj and restorekey are carried out and are operated, result is 1 and is restored as unit of obj
Operation, is not otherwise handled;
A3: if the restore tab bar place value of obj be 0, by the restore value of the param under obj with
Restorekey is carried out and operation, and result is 1 and carries out recovery operation to the param, does not otherwise handle.
S3 home gateway matches the data for meeting recovery condition according to the matching relationship for restoring instruction with restoring attribute
Set recovery.
Under different situations, by the corresponding processing mode for restoring attribute representative, parameters are carried out at recovery
Reason, simpler and efficiency.When conventional arrangement management module restores home gateway parameter, using different functions,
Process handles parameters, these functions and process consume a large amount of computing resource, while occurring in recovery policy change, code
When bug, newly-increased parameter, developer needs function, code confirmation one by one.This reset mode is difficult in maintenance, scalability is poor,
And it is easy to omit.The present invention then directly restores instruction-recovery attribute setting -- by way of object/parameter, only according to choosing
The recovery instruction taken, can intuitive, efficiency confirmation parameters needed processing mode, so as to directly according to should
Restore the corresponding reset mode of attribute and carries out home gateway configuration recovery, more convenient and efficiency.There is reset mode simultaneously
When there is bug, newly-increased parameter in change, code, it is thus only necessary to modify node corresponding to parameter perhaps label or additions and deletions parameter
Node in model, maintenance is simple, and scalability is good.
Based on the same inventive concept, the application provides embodiment two, and specific embodiment is as follows.
Shown in Figure 4, the embodiment of the present invention provides a kind of home gateway configuration recovery system comprising:
Modeling module, for establishing data model, the data model includes at least one object, and each object includes extremely
A few parameter;
Configuration module, for restoring attribute for the object and/or parameter setting, the recovery attribute includes the object
And/or the recovery condition of parameter corresponding data;
Recovery module, for according to the matching relationship for restoring instruction with restoring attribute, to meet the data of recovery condition into
Row configuration restores.
The system that various change mode and specific example in preceding method embodiment are equally applicable to the present embodiment, passes through
The detailed description of preceding method, those skilled in the art are clear that the implementation method of system in the present embodiment, so
In order to illustrate the succinct of book, this will not be detailed here.
Further, configuration module is also used to: when the data model includes at least one object class, each object class packet
When including multiple parameters data;
If all data recovery condition is identical under a class object, it is arranged for the class object and restores attribute, and such
The recovery attribute of object matches with recovery condition;
If all data restore condition difference under a class object, the supplemental characteristic under the class object is set one by one
Restore attribute.
Specifically, restoring attribute is n bit position, whether each representative carries out a kind of reset mode, and the n is
Integer greater than 0.
Preferably, home gateway recovery system its further include respective modules, the respective modules are for being arranged recovery operation
Attribute is corresponding with restoring, the recovery operation include grow touch the button, short-press button and remote operation, and according to recovery operation into
The corresponding reset mode of row.
Preferably, recovery module is used for:
When carrying out any recovery operation, restore the data that attribute is 0 without restoring;
When recovery condition is short-press preset button, restores the data that attribute is 1 and restored;
When recovery condition is long-pressing preset button, restores the data that attribute is 2 and restored;
When recovery condition is short/long-pressing preset button, restores the data that attribute is 3 and restored;
When recovery condition is remote recovery, restores the data that attribute is 4 and restored;
When recovery condition is the preset button of short-press and remote recovery, restores the data that attribute is 5 and restored;
When recovery condition is the preset button of long-pressing and remote recovery, restores the data that attribute is 6 and restored;
Recovery condition is when requiring recovery configuring under any recovery operation, and the data that recovery attribute is 7 carry out extensive
It is multiple.
On the whole, a kind of home gateway configuration recovery method provided in an embodiment of the present invention and system, by establishing number
It according to model, and is correspondingly arranged for parameter and object and restores attribute and restore instruction, can matched according to the home gateway of selection
Recovery instruction is set, automatically one by one parameter restore according to the reset mode of setting, can be carried out for each parameter
Restore one by one, simultaneously, it is only necessary to it selects corresponding home gateway configuration to restore instruction, simplifies gateway and configure reset mode,
It is very convenient and quick.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of home gateway configuration recovery method, characterized in that it comprises:
Data model is established, the data model includes at least one object, and each object includes at least one parameter;
Restore attribute for the object and/or parameter setting, the recovery attribute includes the object and/or parameter corresponding data
Recovery condition;
Home gateway configure to the data for meeting recovery condition extensive according to the matching relationship for restoring instruction with restoring attribute
It is multiple.
2. the method as described in right will go 1, it is characterised in that: each object includes multiple parameters;
If all Parameter reconstruction conditions are identical under an object, it is arranged for the object and restores attribute, and the recovery of the object
Attribute matches with recovery condition;
If all Parameter reconstruction conditions are different under an object, the recovery attribute of the parameter under the object is set one by one.
3. method according to claim 2, it is characterised in that: the recovery attribute is n bit position, each representative
Whether a kind of reset mode is carried out, and the n is the integer greater than 0.
4. method as claimed in claim 3, it is characterised in that: the recovery condition include it is long touch the button, short-press button and
Remote operation.
5. method as claimed in claim 4, which is characterized in that the recovery attribute is triad numerical digit:
When carrying out any recovery operation, restore the data that attribute is 0 without restoring;
When recovery condition is short-press preset button, restores the data that attribute is 1 and restored;
When recovery condition is long-pressing preset button, restores the data that attribute is 2 and restored;
When recovery condition is short/long-pressing preset button, restores the data that attribute is 3 and restored;
When recovery condition is remote recovery, restores the data that attribute is 4 and restored;
When recovery condition is the preset button of short-press and remote recovery, restores the data that attribute is 5 and restored;
When recovery condition is the preset button of long-pressing and remote recovery, restores the data that attribute is 6 and restored;
Recovery condition is to restore the data that attribute is 7 when requiring recovery configuring under any recovery operation and restored.
6. a kind of home gateway configures recovery system, characterized in that it comprises:
Modeling module, for establishing data model, the data model includes at least one object, and each object includes at least one
A parameter;
Configuration module, for restoring attribute for the object and/or parameter setting, the recovery attribute include the object and/or
The recovery condition of parameter corresponding data;
Recovery module, for matching to the data for meeting recovery condition according to the matching relationship for restoring instruction with restoring attribute
Set recovery.
7. system as claimed in claim 6, which is characterized in that the configuration module is also used to: when the data model includes
At least one object, when each object includes multiple parameters;
If all data recovery condition is identical under an object, it is arranged for the object and restores attribute, and the recovery of the object
Attribute matches with recovery condition;
If all data restore condition difference under an object, the recovery attribute of the parameter under the object is set one by one.
8. system as claimed in claim 7, which is characterized in that the recovery attribute is n bit position, each representative
Whether a kind of reset mode is carried out, and the n is the integer greater than 0.
It further include respective modules 9. system as claimed in claim 8, spy are, the respective modules are extensive for being arranged
Multiple operation with to restore attribute corresponding, the recovery operation touches the button including length, short-press button and remote operation, and according to recovery
Operation carries out corresponding reset mode.
10. system as claimed in claim 9, which is characterized in that the recovery module is used for:
When carrying out any recovery operation, without restoring;
When recovery condition is short-press preset button, restore to the data that attribute is 1 are restored;
When recovery condition is long-pressing preset button, restore to the data that attribute is 2 are restored;
When recovery condition is short/long-pressing preset button, restore to the data that attribute is 3 are restored;
When recovery condition is remote recovery, restore to the data that attribute is 4 are restored;
When recovery condition is the preset button of short-press and remote recovery, restore to the data that attribute is 5 are restored;
When recovery condition is the preset button of long-pressing and remote recovery, restore to the data that attribute is 6 are restored;
Recovery condition is to restore when requiring recovery configuring under any recovery operation to the data that attribute is 7 are restored.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910572775.9A CN110351132B (en) | 2019-06-28 | 2019-06-28 | Home gateway configuration recovery method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910572775.9A CN110351132B (en) | 2019-06-28 | 2019-06-28 | Home gateway configuration recovery method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110351132A true CN110351132A (en) | 2019-10-18 |
CN110351132B CN110351132B (en) | 2022-04-12 |
Family
ID=68176932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910572775.9A Active CN110351132B (en) | 2019-06-28 | 2019-06-28 | Home gateway configuration recovery method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110351132B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996849A (en) * | 2006-12-22 | 2007-07-11 | 华为技术有限公司 | Access device and reset method |
CN101159647A (en) * | 2007-10-22 | 2008-04-09 | 中国电信股份有限公司 | System and method of implementing gateway local parameter fast recovery |
CN102487522A (en) * | 2010-12-01 | 2012-06-06 | 华为终端有限公司 | Management method and gateway device of terminal devices |
CN104158692A (en) * | 2014-08-25 | 2014-11-19 | 烽火通信科技股份有限公司 | Method of implementing configuration and management of data of home gateway based on XML (Extensible Markup Language) |
CN107005460A (en) * | 2015-10-30 | 2017-08-01 | 华为技术有限公司 | A kind of gateway collocation method and gateway device |
US20180109421A1 (en) * | 2016-10-18 | 2018-04-19 | Citrix Systems, Inc. | Template-based declarative and composable configuration of network functions |
CN108984622A (en) * | 2018-06-14 | 2018-12-11 | 烽火通信科技股份有限公司 | Home gateway quickly accesses the storage access method and system of configuration data |
-
2019
- 2019-06-28 CN CN201910572775.9A patent/CN110351132B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996849A (en) * | 2006-12-22 | 2007-07-11 | 华为技术有限公司 | Access device and reset method |
CN101159647A (en) * | 2007-10-22 | 2008-04-09 | 中国电信股份有限公司 | System and method of implementing gateway local parameter fast recovery |
CN102487522A (en) * | 2010-12-01 | 2012-06-06 | 华为终端有限公司 | Management method and gateway device of terminal devices |
CN104158692A (en) * | 2014-08-25 | 2014-11-19 | 烽火通信科技股份有限公司 | Method of implementing configuration and management of data of home gateway based on XML (Extensible Markup Language) |
CN107005460A (en) * | 2015-10-30 | 2017-08-01 | 华为技术有限公司 | A kind of gateway collocation method and gateway device |
US20180109421A1 (en) * | 2016-10-18 | 2018-04-19 | Citrix Systems, Inc. | Template-based declarative and composable configuration of network functions |
CN108984622A (en) * | 2018-06-14 | 2018-12-11 | 烽火通信科技股份有限公司 | Home gateway quickly accesses the storage access method and system of configuration data |
Also Published As
Publication number | Publication date |
---|---|
CN110351132B (en) | 2022-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113475040B (en) | Learning by inference from brown deployments | |
CN103856356B (en) | It is a kind of based on user from the home network implementation method of management and control | |
CN112612214B (en) | Method and system for generating functional interface and electronic equipment | |
CN110249593A (en) | The system and method for configuring the IED process bus network switch according to substation topology specification | |
WO2011085698A1 (en) | Method for controlling resources on shared network element, shared network element and relevant device | |
CN107547314A (en) | System and method for smart home service | |
CN108182102A (en) | Management through figures method, apparatus and readable storage medium storing program for executing | |
CN109041140A (en) | It is switched fast wireless network methods, Intelligent hardware and terminal device | |
CN110430280A (en) | Account automatic logging method and system, storage medium and cloud desktop server | |
CN111865662A (en) | Network equipment configuration method and system | |
CN109361579A (en) | A kind of smart machine control method, system and storage medium | |
CN103856439B (en) | SIP device digit diagram configuration realization method and system, and terminal integrated management subsystem | |
CN106790067A (en) | Method for processing business, device and system based on MVC layerings | |
CN109561329A (en) | Control method, mobile terminal and the computer readable storage medium of smart television | |
Alhuseini et al. | 5G service value chain and network slicing framework using ecosystem modeling, agile delivery, and user-story automation | |
CN110351132A (en) | A kind of home gateway configuration recovery method and system | |
WO2018113184A1 (en) | Intelligent device control and management method based on forces protocol | |
CN109669785A (en) | Page sharing method, device, server and the storage medium of terminal applies | |
CN108257377A (en) | A kind of method and system that remote controler is configured | |
CN103984540A (en) | Method and device for generating hardware interface running program | |
CN104461599A (en) | Integration method of multiple desktop starters | |
WO2012065452A1 (en) | Home automation system, control method thereof, and information processing center device | |
CN109752962A (en) | A kind of Control System of Intelligent | |
CN109871288A (en) | Execute method, apparatus, equipment and the medium of android system order | |
CN114866970A (en) | Policy control method, system and related equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |