Realize backup fast and the system of recovering in the family gateway equipment
Technical field
The utility model belongs to the network communications technology field of home gateway, relates to a kind of configuration management technology of user terminal, is the system that can realize that user terminal backs up and recovers fast specifically.
Background technology
At present, various user terminals are widely applied in the actual life, such as mobile phone, and TV, TV set-top box, home gateway, handheld game machine, and the voip network phone etc.Since for user's individual demand, the configuration file that user terminal has used a large amount of relevant user individuals to be provided with, and these configurations need to be fit to different environment in actual applications, so we need frequent variation.
Though configuration file side has satisfied user's individual demand, the management method of the configuration file of not providing convenience can not accomplish to preserve arbitrarily oneself configuration, recovers in needs then.Can only accomplish to return to Default Value now, perhaps return to the configuration that some special users preserve.
USB interface is also used on the user terminal now widely as a kind of popular computer interface.If consider USB interface is applied in the family gateway equipment, home gateway can be connected with the USB movable storage device, just can realize the configuration in the family gateway equipment is kept in the movable storage device like that, solve the preservation demand of client to configuration.
Summary of the invention
The purpose of this utility model is in order to satisfy the personalized requirement of user to disposing in the family gateway equipment, solve existing family gateway equipment and can not preserve the technical barrier of configuration at any time, designed a kind of backup fast and system of recovering of in family gateway equipment, realizing, by in home gateway, setting up usb circuit, be connected with movable storage device.
The utility model for realizing the technical scheme that goal of the invention adopts is, realize backup fast and the system of recovering in the family gateway equipment, comprise the family gateway equipment that has CPU in the structure, set up movable storage device in system configuration, family gateway equipment is connected with movable storage device by the interface circuit of setting up.
The beneficial effects of the utility model are, after individual demand by the user configures family gateway equipment, preserve by movable storage device, when needing, the user directly calls the configuration file of preserving in the movable storage device next time, can read configuration information quickly and easily, the increase of interface circuit is very simple, does not also need too much cost.
Below in conjunction with accompanying drawing the utility model is elaborated.
Description of drawings
Fig. 1 is a system architecture diagram of the present utility model.
The 1st, family gateway equipment, 1-1 are interface circuits, the 2nd, and movable storage device.
Embodiment
Referring to Fig. 1, realize backup fast and the system of recovering in the family gateway equipment, comprise the family gateway equipment 1 that has CPU in the structure, set up movable storage device 2 in system configuration, family gateway equipment 1 is connected with movable storage device 2 by the interface circuit 1-1 that sets up.
The type of above-mentioned interface circuit 1-1 is a usb circuit.
Above-mentioned family gateway equipment 1 is TV or set-top box or modulator-demodulator or VoIP terminal.
The mailbox memory of storage encryption, decrypted program also is set in family gateway equipment 1, and mailbox memory is connected with CPU.Encrypt by 3DES, guarantee the fail safe of configuration file.
The utility model in the specific implementation, at first the user requires family gateway equipment 1 is configured according to the personalization of oneself, configures the back and generates configuration file, and configuration file is encrypted, and preserves by movable storage device.
Above-mentioned ciphering process adopts the 3DES encryption mechanism.
Profile information comprises: obtain the configuration filename that the user uses; Obtain the descriptor of user about this configuration file; Obtain the USB memory device name that the user inserts.
Configuration file during unencryption, comprising user profile, and the user profile descriptor.In same file, user profile is the file that current all configurations are described by xml two informixs.
When the user need read configuration file, at first movable storage device 2 is connected with family gateway equipment 1 by interface circuit 1-1, the configuration filename according to the user selects reads this configuration file.Configuration file is deciphered by 3DES-ECB, read configuration file wherein, the validity of verification configuration file.Finish calling of configuration file.