CN116074565A - Device and method for restoring factory setting and storing data of set top box network - Google Patents
Device and method for restoring factory setting and storing data of set top box network Download PDFInfo
- Publication number
- CN116074565A CN116074565A CN202211479663.7A CN202211479663A CN116074565A CN 116074565 A CN116074565 A CN 116074565A CN 202211479663 A CN202211479663 A CN 202211479663A CN 116074565 A CN116074565 A CN 116074565A
- Authority
- CN
- China
- Prior art keywords
- data
- factory
- recovery
- module
- top box
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000013500 data storage Methods 0.000 claims abstract description 12
- 238000011084 recovery Methods 0.000 claims abstract description 12
- 238000005192 partition Methods 0.000 claims abstract description 11
- 238000009434 installation Methods 0.000 claims description 3
- 238000012795 verification Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 6
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/4508—Management of client data or end-user data
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to the field of set top boxes, in order to improve user experience, a device for restoring factory settings and storing data of a set top box network comprises: the system comprises a server control module, a client service program module, a starting-up starting loading module, a recovery program and a data storage module to be recovered. A method for restoring factory settings and storing data for a set top box network, comprising: 1. the server control module issues a factory restoration instruction; 2. the client service program module receives a factory restoration instruction, records a data directory path to be backed up, and sets a factory restoration identifier; 3. the starting-up starting loading module starts a recovery program, the recovery program backs up the data to be recovered to the memory, the data and each partition of the application are recovered to a factory state, the backup data is copied to a corresponding path to be recovered, and the kernel system is restarted; 4. and recovering the network state and the service state according to the data in the recovery path. By adopting the mode, the use experience of the user is improved.
Description
Technical Field
The invention relates to the field of set top boxes, in particular to a device and a method for restoring factory setting and storing data of a set top box network.
Background
The set top box in the current market has various rich applications for users, and the service functions are increased along with the increase of the service time, so that the situation that the internal space of the set top box is full and the system operation is abnormal is easy to occur. The service of the set top box mostly expands the downloading function of the application, the new application downloaded by a user can have compatibility problems, so that the system is started abnormally, and after factory setting is restored according to a common method, the set top box needs to be manually accessed to the service again according to an access method, so that the user experience is very bad; if a problematic application is deleted independently, the user does not distinguish well, and the effect of recovering from the normal is not achieved.
Disclosure of Invention
In order to improve user experience, the application provides a device and a method for restoring factory settings and storing data of a set top box network.
The invention solves the problems by adopting the following technical scheme:
a set top box network factory-reset data-storage device, comprising:
server side control module: the method is used for issuing a factory restoration instruction;
client service program module: the method comprises the steps of receiving a factory restoration instruction sent by a server-side control module, recording a data directory path to be backed up, and setting a factory restoration identifier;
starting up a starting loading module: the method comprises the steps of judging whether to start a kernel system or a recovery program according to a recovery factory identifier;
recovery procedure: the method is used for controlling the backup and recovery of data and formatting the data of the application installation partition;
the data storage module to be restored: for storing the data to be restored.
Further, the data storage module to be recovered is further used for storing verification information.
A method for restoring factory setting and storing data of a set top box network is applied to a device for restoring factory setting and storing data of a set top box network, and comprises the following steps:
step 1, a server control module issues a factory restoration instruction;
step 2, the client service program module receives a factory restoration instruction, records a data directory path to be backed up, and sets a factory restoration identifier;
step 3, the starting-up loading module starts a recovery program according to the recovery factory identification, the recovery program backs up the data to be recovered to the memory, the data and each partition of the application are recovered to the factory state, and then the backup data is copied to the corresponding path to be recovered, and the starting-up loading module starts the kernel system;
and 4, the kernel system restores the network state and the service state according to the data in the restoration path.
Compared with the prior art, the invention has the following beneficial effects: the application runs independently of the original system by designing a separate recovery program. In the operation stage of the original system, a path for backing up the file is set, and then the device is restarted, and only a single recovery program is operated, so that the application partition of the original system can be more directly subjected to formatting cleaning operation, and the use experience of a user is improved.
Drawings
Fig. 1 is a schematic structural diagram of a set-top box network factory-reset data storage device;
fig. 2 is a flowchart of a method for restoring factory settings and storing data in a set-top box network.
Detailed Description
The present invention will be described in further detail with reference to the following examples in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, a device for restoring factory settings and storing data of a set top box network includes:
server side control module: the method is used for issuing a factory restoration instruction;
client service program module: the method comprises the steps of receiving a factory restoration instruction sent by a server-side control module, recording a data directory path to be backed up, and setting a factory restoration identifier;
starting up a starting loading module: the method comprises the steps of judging whether to start a kernel system or a recovery program according to a recovery factory identifier;
recovery procedure: the method comprises the steps of backing up data to be restored to a memory, restoring each partition of the data and an application to a factory state, copying the backup data to a corresponding path to be restored, and restarting a uboot loading start kernel system;
the data storage module to be restored: for storing the data to be recovered and the verification information.
A method for restoring factory settings and storing data for a set top box network, comprising:
step 1, a server control module issues a factory restoration instruction;
step 2, the client service program module receives a factory restoration instruction sent by the client, records a data directory path to be backed up, and sets a factory restoration identifier;
step 3, the set top box is restarted automatically, a boot loading module starts a recovery program according to the identification, the recovery program backs up data to be recovered to a memory, each partition of the data and the application is recovered to a factory state, the backup data is copied to a corresponding path to be recovered, and the boot loading module starts a kernel system;
and 4, the kernel system restores the network state and the service state according to the data in the restoration path, and automatically accesses the service. Specifically, the network access module and the service access module in the kernel system are used for respectively connecting the network and the service.
Examples
As shown in fig. 2, the set top box is started, the uboot operates and loads a kernel system, the kernel system loads a driver, mounts and checks an application program, and after the application is mounted, a service function application is started, and a data storage module to be recovered stores a data network account password, a network related configuration mode and an account password required by the EPG service access; and running a client service program module in the background, and establishing network connection between the client service program module and the server control module. The foreground service function is started normally, and the audio and video functions are supported.
The user logs in the server to search mac, ip, deviceid address of the set top box and issues a factory setting restoration command. After receiving the command for restoring factory settings, the client service program module sets the identification of restoring factory and the path of the data directory to be restored, and automatically restarts the set top box to enter the restoring program:
after restarting, uboot loads a recovery program, a recovery program module establishes a memory file system, copies data to be recovered into the memory file system, verifies the correctness of the copied data, installs a data partition of an installation application on the recovery program module, formats the partition, establishes a data directory path to be recovered in the data partition, copies the data to be recovered in the memory file system under the original data directory path, and verifies the data integrity; and restarting the set top box.
After the set top box is restarted automatically, the uboot loads and starts a kernel system, the system reinstalls a prefabricated application program, reads network data in a data storage module to be recovered, accesses the network, and reads a service account password in the data storage module to be recovered after service application detects network connection, and accesses a service function; and checking whether the data to be recovered is recovered or not, and informing the server side that the recovery is successful by the control module.
Claims (3)
1. A set-top box network factory-reset data storage device, comprising:
server side control module: the method is used for issuing a factory restoration instruction;
client service program module: the method comprises the steps of receiving a factory restoration instruction sent by a server-side control module, recording a data directory path to be backed up, and setting a factory restoration identifier;
starting up a starting loading module: the method comprises the steps of judging whether to start a kernel system or a recovery program according to a recovery factory identifier;
recovery procedure: the method is used for controlling the backup and recovery of data and formatting the data of the application installation partition;
the data storage module to be restored: for storing the data to be restored.
2. The device for restoring factory settings and storing data of a set top box network of claim 1, wherein the data storage module to be restored is further configured to store verification information.
3. A method for restoring factory settings and storing data of a set top box network, which is applied to the device for restoring factory settings and storing data of a set top box network as claimed in claim 1 or 2, and is characterized by comprising the following steps:
step 1, a server control module issues a factory restoration instruction;
step 2, the client service program module receives a factory restoration instruction, records a data directory path to be backed up, and sets a factory restoration identifier;
step 3, the starting-up loading module starts a recovery program according to the recovery factory identification, the recovery program backs up the data to be recovered to the memory, the data and each partition of the application are recovered to the factory state, and then the backup data is copied to the corresponding path to be recovered, and the starting-up loading module starts the kernel system;
and 4, the kernel system restores the network state and the service state according to the data in the restoration path.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211479663.7A CN116074565A (en) | 2022-11-24 | 2022-11-24 | Device and method for restoring factory setting and storing data of set top box network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211479663.7A CN116074565A (en) | 2022-11-24 | 2022-11-24 | Device and method for restoring factory setting and storing data of set top box network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116074565A true CN116074565A (en) | 2023-05-05 |
Family
ID=86177763
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211479663.7A Pending CN116074565A (en) | 2022-11-24 | 2022-11-24 | Device and method for restoring factory setting and storing data of set top box network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116074565A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118503017A (en) * | 2024-07-17 | 2024-08-16 | 四川天邑康和通信股份有限公司 | Network set top box data recovery method, device and equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102164312A (en) * | 2010-12-31 | 2011-08-24 | 青岛海信传媒网络技术有限公司 | Set-top box configuration method and system for Internet protocol television |
CN103927239A (en) * | 2014-03-28 | 2014-07-16 | 深圳市江波龙电子有限公司 | Method and device for restoring system of terminal equipment |
CN104484240A (en) * | 2014-12-09 | 2015-04-01 | 青岛海信宽带多媒体技术有限公司 | Method and device for storing terminal data |
CN104618802A (en) * | 2015-02-03 | 2015-05-13 | 深圳市米家互动网络有限公司 | Mobile terminal, network set-top box based on Android and system recovery method thereof |
CN104932955A (en) * | 2015-05-29 | 2015-09-23 | 深圳市创维电器科技有限公司 | Method for backing up data during factory setting restoring of mobile terminal, and mobile terminal |
US20180213271A1 (en) * | 2017-01-25 | 2018-07-26 | The Directv Group, Inc. | Location-based system and method for controlling content distribution to a set top box |
US20190026184A1 (en) * | 2017-07-24 | 2019-01-24 | Uber Technologies, Inc. | Recovery of application functions via analysis of application operational requests |
CN112948182A (en) * | 2021-03-30 | 2021-06-11 | 广东九联科技股份有限公司 | Set top box emergency backup recovery upgrading method and system |
-
2022
- 2022-11-24 CN CN202211479663.7A patent/CN116074565A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102164312A (en) * | 2010-12-31 | 2011-08-24 | 青岛海信传媒网络技术有限公司 | Set-top box configuration method and system for Internet protocol television |
CN103927239A (en) * | 2014-03-28 | 2014-07-16 | 深圳市江波龙电子有限公司 | Method and device for restoring system of terminal equipment |
CN104484240A (en) * | 2014-12-09 | 2015-04-01 | 青岛海信宽带多媒体技术有限公司 | Method and device for storing terminal data |
CN104618802A (en) * | 2015-02-03 | 2015-05-13 | 深圳市米家互动网络有限公司 | Mobile terminal, network set-top box based on Android and system recovery method thereof |
CN104932955A (en) * | 2015-05-29 | 2015-09-23 | 深圳市创维电器科技有限公司 | Method for backing up data during factory setting restoring of mobile terminal, and mobile terminal |
US20180213271A1 (en) * | 2017-01-25 | 2018-07-26 | The Directv Group, Inc. | Location-based system and method for controlling content distribution to a set top box |
US20190026184A1 (en) * | 2017-07-24 | 2019-01-24 | Uber Technologies, Inc. | Recovery of application functions via analysis of application operational requests |
CN112948182A (en) * | 2021-03-30 | 2021-06-11 | 广东九联科技股份有限公司 | Set top box emergency backup recovery upgrading method and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118503017A (en) * | 2024-07-17 | 2024-08-16 | 四川天邑康和通信股份有限公司 | Network set top box data recovery method, device and equipment |
CN118503017B (en) * | 2024-07-17 | 2024-09-10 | 四川天邑康和通信股份有限公司 | Network set top box data recovery method, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100389206B1 (en) | Apparatus and method for protecting failure of computer operating system | |
US6892255B2 (en) | Program install method, file renewal method, program and computer system | |
US20170039075A1 (en) | Rapid start up method for electronic equipment | |
US20090106753A1 (en) | Method and apparatus for automatically installing operating system onto computer | |
US20090217079A1 (en) | Method and apparatus for repairing multi-controller system | |
US20100131794A1 (en) | System for disaster recovery backup and a method thereof | |
CN112328358B (en) | Dual-system starting method based on virtual machine and storage medium | |
CN107918568B (en) | Method for preventing Linux system from failing to restart | |
CN116074565A (en) | Device and method for restoring factory setting and storing data of set top box network | |
CN103533431A (en) | Method and system for realizing system upgrade based on intelligent television, and intelligent television | |
CN107463467B (en) | Method and system capable of quickly restoring virtualization platform | |
CN102841793A (en) | Software upgrading method and terminal | |
CN103186390A (en) | Home gateway and software upgrading method thereof | |
CN112433739A (en) | Firmware upgrading method | |
CN117312056A (en) | Operating system upgrading backup method | |
CN112269692A (en) | Remote upgrading power-off self-recovery mechanism for network camera | |
CN116382753A (en) | High-reliability remote upgrading method for equipment firmware based on network | |
Cisco | Loading Images and Configuration Files | |
Cisco | Loading Images and Configuration Files | |
KR100806104B1 (en) | Upgrade method for software in digital electric home appliance | |
CN113204359A (en) | Online server upgrading method and device | |
EP4131888B1 (en) | Method for searching for interrupted device, slave device, master device, and storage medium | |
CN112601075B (en) | Network camera upgrading fault recovery system and method based on double mirror images | |
JP2596223B2 (en) | Automatic system restart | |
CN111382006A (en) | Recovery method, device, equipment and medium of operating system |
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 |