WO2017202261A1 - Network backup reconnection method and apparatus, and set-top box - Google Patents

Network backup reconnection method and apparatus, and set-top box Download PDF

Info

Publication number
WO2017202261A1
WO2017202261A1 PCT/CN2017/085172 CN2017085172W WO2017202261A1 WO 2017202261 A1 WO2017202261 A1 WO 2017202261A1 CN 2017085172 W CN2017085172 W CN 2017085172W WO 2017202261 A1 WO2017202261 A1 WO 2017202261A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
network
configuration information
network configuration
backup
Prior art date
Application number
PCT/CN2017/085172
Other languages
French (fr)
Chinese (zh)
Inventor
陈琼
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017202261A1 publication Critical patent/WO2017202261A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB

Definitions

  • the present application relates to, but is not limited to, the field of communication technologies, and in particular, to a network backup reconnection method, device and set top box.
  • Interactive Internet TV is a brand-new technology that uses broadband networks to integrate Internet, multimedia, and communication technologies to provide home users with a variety of interactive services, including digital TV. It can adapt well to the rapid development of today's networks and make full and effective use of network resources.
  • the interactive web TV service is implemented through a network set-top box.
  • a set-top box is a device that connects a television to an external source of information that converts the compressed digital signal into television content and displays it on the television. Signals can come from cable, satellite antennas, broadband networks, and terrestrial broadcasts.
  • the content received by the set top box is in addition to the images and sounds that the analog TV can provide, and is capable of receiving digital content, including electronic program guides, Internet web pages, subtitles, and the like. Enables users to watch digital TV shows on their TVs and interactive digital entertainment, education and commercialization via the web.
  • interactive network television is being used by more and more people in life.
  • the embodiment of the invention provides a network backup reconnection method, device and a set top box, so that the set top box can still complete network access when the network configuration information is changed.
  • the embodiment of the invention provides a network backup reconnection method, including:
  • the current network configuration information is backed up to obtain backup information, and the backup information is used as a basis for subsequent access to the network;
  • the network When the access fails, the network re-accesses the network according to the network configuration information in the original backup information, where the original backup information includes network configuration information that has been backed up before accessing the network.
  • the current network configuration information is backed up to obtain backup information by using any one of the following methods:
  • Manner 1 save the current network configuration information, and retain the original backup information; the backup information includes network configuration information in the original backup information and the current network configuration information;
  • Manner 2 Update network configuration information in the original backup information, where the backup information includes updated network configuration information.
  • backing up the current network configuration information by using the second method to obtain backup information includes:
  • Determining whether there is original backup information Determining whether there is original backup information.
  • the network configuration information in the original backup information is extracted, and the current network configuration information is compared with the network configuration information in the original backup information, which is inconsistent.
  • the value of the configuration parameter is modified to a value corresponding to the configuration parameter in the current network configuration information; when the determination result is no, the current network configuration information is directly stored;
  • re-accessing the network according to the network configuration information in the original backup information includes: determining whether the original backup information exists, and when the determination result is yes, according to the original backup information.
  • the network configuration information in the network is re-accessed to the network; when the judgment result is no, an error message is prompted.
  • the embodiment of the present invention further provides a network backup reconnection device, including: an access unit: configured to read current network configuration information, and access the network according to the current network configuration information;
  • the backup unit is configured to back up the current network configuration information to obtain backup information, where the backup information is used as a basis for subsequent access to the network;
  • the reconnection unit is configured to re-access the network according to the network configuration information in the original backup information, where the original backup information includes the network configuration information that has been backed up before accessing the network.
  • the backup unit comprises any one of the following:
  • the first module is configured to save the current network configuration information, and further retain the original backup information; the backup information includes network configuration information in the original backup information and the current network configuration information.
  • the second module is configured to update network configuration information in the original backup information, where the backup information includes updated network configuration information.
  • the second module includes a first processing submodule or a second processing submodule
  • the first processing sub-module is configured to determine whether there is original backup information, and if the determination result is yes, extract network configuration information in the original backup information, and use the current network configuration information and the original backup information.
  • the network configuration information is compared, and the value of the inconsistent configuration parameter is modified to a value corresponding to the configuration parameter in the current network configuration information; when the determination result is no, the current network configuration information is directly stored;
  • the second processing sub-module is configured to determine whether there is original backup information. When the determination result is yes, the current network configuration information is stored, and the network configuration information in the original backup information is deleted; when the determination result is no The current network configuration information is directly stored.
  • the reconnect unit includes a control execution module, and is configured to determine If the result of the determination is yes, the network configuration information in the original backup information is re-accessed to the network; when the determination result is no, the error information is prompted.
  • the embodiment of the invention further provides a set top box, including a network connection module, a processing module and a storage module:
  • the network connection module is configured to access the network according to current network configuration information
  • the processing module is configured to back up the current network configuration information to obtain backup information, and store the backup information in the storage module, where the backup information is used as a basis for subsequent access to the network.
  • the current network configuration information is included; when the access network fails, the network connection module is controlled to access the network according to the original backup information in the storage module, where the original backup information is stored before the current access network Backup information in the processing module;
  • the storage module stores backup information according to requirements of the processing module.
  • backing up the current network configuration information, and storing the backup information in the storage module includes:
  • the processing module acquires the current network configuration information from the network connection module, uses the current network configuration information as backup information, and notifies the storage module to store the current network information according to a preset storage manner;
  • the processing module notifies the network connection module to send the current network configuration information as backup information to the storage module, and notifies the storage module to perform a preset storage mode.
  • the preset storage manner includes:
  • the network configuration information in the original backup information is updated, and the updated information is saved.
  • control network connection module accesses the network according to the original backup information in the storage module, including:
  • the processing module acquires original backup information from the storage module, and sends the original backup information to a network connection module, where the network connection module reads network configuration information in the original backup information, and according to the original The network configuration information in the backup information is connected to the network;
  • the processing module notifies the network connection module to read the original backup information from the storage module, the network connection module reads the original backup information, and reads network configuration information in the original backup information And accessing the network according to the network configuration information in the original backup information.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented by the processor to implement the network backup reconnection method.
  • the embodiment of the invention provides a network backup reconnection method, device and a set top box, which reads the current network configuration information and accesses the network according to the current network configuration information; when the access is successful, the current network configuration information is backed up to obtain backup information.
  • the backup information is used as the basis for the subsequent access to the network; when the access fails, the network access information is accessed according to the network configuration information in the original backup information, and the original backup information includes the network configuration information that has been backed up before the current access to the network.
  • the current network configuration information is used to access the network.
  • the network configuration information can be directly used for network access. If the access fails, the current network configuration information is incorrect. It may be changed by the user. The upgrade may fail or may be caused by other reasons. In this case, you can access the network configuration information according to the original backup information.
  • the network the original backup information includes the network configuration information that has been backed up before accessing the network. Since it is the backed up network configuration information, it is proved that the network configuration information was successfully accessed by the network before, so if it is the network configuration If the parameters of the information are modified, then the network configuration information in the original backup information can be used to achieve successful access. Therefore, the solution of the embodiment of the present invention can achieve the effect that when the parameters of the network configuration information are modified, the network access can be completed and the user experience is improved.
  • FIG. 1 is a flowchart of a network backup reconnection method according to Embodiment 1 of the present invention.
  • FIG. 2 is a flowchart of network access of a network backup reconnection method according to Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of performing backup after a network access reconnection method is successfully performed in the network backup method according to Embodiment 1 of the present invention
  • FIG. 4 is a flowchart of performing reconnection after a network access failure of a network backup reconnection method according to Embodiment 1 of the present invention
  • FIG. 5 is a schematic structural diagram of a network backup reconnection device according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic structural diagram of a set top box according to Embodiment 2 of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • This embodiment provides a network backup reconnection method. Referring to FIG. 1, the method includes:
  • S101 Read current network configuration information, and access the network according to the current network configuration information.
  • step S101 is performed first, the current network configuration information is read, and the access network is completed according to the current network configuration information.
  • the network configuration information it is easy to understand, that is, some information or data that is needed when accessing the network.
  • the network configuration information may include an access mode, a username, a password, and the like, and may also include a wired network IP (Internet Protocol) address, a subnet mask, and a gateway.
  • Information such as DNS (Domain Name System).
  • the network configuration information includes the required information when accessing the wireless network.
  • step S102 is performed to back up the current network configuration information to obtain backup information. If the access is successful, it is proved that the information or data in the current network configuration information is correct. In order to prevent future upgrade failure or change some data or information in the network configuration information for the user's reason, the network cannot be accessed. Therefore, the current configuration information is backed up to obtain backup information, so that the backup information can be accessed according to the backup information in the future, so the backup information can be used as a basis for subsequent access networks. For example, when the next or next access network fails, the network can be accessed according to the backup information.
  • the method for backing up current network information may include, but is not limited to, one of the following two methods: mode one, save current network configuration information, and retain original backup information; backup information includes network configuration in original backup information.
  • the information and the current network configuration information, and the original backup information includes network configuration information that has been backed up before accessing the network. For example, after the first successful access to the network, the network configuration information used when accessing the network for the first time is backed up; after the second access is successfully accessed, the original backup information at this time includes the first time. After successful connection, the network configuration information used when backing up the network for the first time.
  • the network configuration information used when accessing the network for the second time is backed up, and the network configuration information used when the first time the backup network is accessed is retained after the first successful connection is retained. . Therefore, the backup information at this time includes both the network configuration information used when accessing the network for the second time, and the network configuration information used when accessing the network for the first time. Similar processing is done for more accesses.
  • the network configuration information in the original backup information is updated, and the backup information includes the updated network configuration information. Since the memory usage is considered, the backup can be performed by updating the network configuration information in the original backup information.
  • the update mode is not limited. You can compare the current network configuration information with the network configuration information in the original backup information, and modify the value of the inconsistent configuration parameter to the current network configuration information. Set the value corresponding to the parameter; you can also directly store the current network configuration information and delete the network configuration information in the original backup information. Because the above method 2 is to complete the backup based on the original backup information, it is usually first determined whether there is original backup information before the backup is performed in this manner, and the original backup information is updated in the above manner. Modify the value of the inconsistent configuration parameter to the value corresponding to the configuration parameter in the current network configuration information, or store the current network configuration information, and delete the network configuration information in the original backup information. In the absence of the original backup information, the current network configuration information is directly stored.
  • step S103 is performed to re-access the network according to the network configuration information in the original backup information.
  • the access to the network fails according to the current configuration information, and the configuration parameters in the current configuration information may be incorrect.
  • the original backup information may be read, and the network configuration information in the original backup information may be re-accessed to the network. Therefore, in this embodiment, it is usually first determined whether the original backup information exists, and if so, the network configuration information can be directly read and extracted to access the network; but there is also a case where the original backup information does not exist. For example, when accessing for the first time, it fails, because the network has never been successfully accessed before, so there will be no original backup information, and an error message will be displayed.
  • the error message is presented to the user, and the user can take corresponding remedial measures based on the error information.
  • the current configuration information is usually cleared by the local device to avoid interference with the correct network configuration information.
  • a certain value is usually set for the backup file identifier bit to identify the backup information, so
  • the access network fails to access the network through the backup information, the identifier of the network can be used to determine the validity of the network configuration information. If it is not legal, it will access the network according to the network configuration information in the backup information. Otherwise, an error message is also reported.
  • the network configuration information content in the original configuration information may also be different according to the manner of the backup (for example, including the two backup methods in step S102). Differently, for example, if the original backup information includes network configuration information when the access network is successful several times, the network configuration information with the latest backup time may be preferentially selected for the current reconnection according to the order of backup time. In, of course, you can follow other rules. If the original backup information contains only one connection into The network configuration information of the work, then directly read the network configuration information, and re-access the network.
  • FIG. 2 is an access process of the network backup reconnection method, including:
  • the configuration information is current network configuration information required for accessing the network, and is information or data required when accessing the network.
  • the network configuration information may include an access mode, a username, a password, and the like, and may also include a wired network IP address, a subnet mask, a gateway, a DNS, and the like.
  • step S203 Check the connection status of the network cable, determine whether the physical connection is successful, and if so, proceed to step S204, otherwise, proceed to step S205;
  • the wired connection is adopted. Therefore, before accessing the network, it is first determined whether there is an error in the physical connection of the network. If the physical connection has an error, the error information is directly reported, so that the error diagnosis can be avoided.
  • the reason for the failure of networking that is, the original physical connection is wrong, but because there is no diagnosis, it is mistaken that the current network configuration information is wrong.
  • S204 Perform network access according to network configuration information.
  • the network is directly connected according to the network configuration information. At this time, the connection failure occurs, which is the problem of the current network configuration information.
  • the reporting mode can be in the form of a prompt box.
  • step S305 Determine whether there is a change in the configuration. If yes, go to step S306; otherwise, go to step S307.
  • S404 Delete the current network configuration information, and perform reconnection according to network configuration information in the original backup information.
  • the network backup reconnection method in this embodiment is used to save the network configuration information used when successfully accessing the network, and back up the network configuration information to prevent subsequent network configuration information from being modified. Successful access to the network. Can be effectively solved because of errors The problem of not being able to successfully access the network caused by modifying the network configuration information.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the network backup reconnection device includes: an access unit 51, a backup unit 52, and a reconnection unit 53, and the access unit 51 is configured to read the current network configuration. Information, access to the network according to the current network configuration information.
  • the backup unit 52 is configured to back up the current network configuration information to obtain backup information when the access is successful.
  • the reconnecting unit 53 is configured to re-access the network according to the network configuration information in the original backup information when the access fails.
  • the original backup information includes the network configuration information that was backed up before accessing the network.
  • the backup unit 52 includes a first module or a second module.
  • the first module is configured to save current network configuration information, and retain the original backup information; at this time, the backup information includes network configuration information and current network configuration information in the original backup information.
  • the second module is configured to update the network configuration information in the original backup information. At this time, the backup information includes the updated network configuration information.
  • the second module includes a first processing submodule or a second processing submodule; the first processing submodule is configured to determine whether there is original backup information, and if so, extract network configuration information in the original backup information, and configure current network configuration information.
  • the network configuration information in the original backup information is compared with the value of the inconsistent configuration parameter to the value corresponding to the configuration parameter in the current network configuration information; if not, the current network configuration information is directly stored.
  • the second processing sub-module is configured to determine whether there is original backup information. When the determination result is yes, the current network configuration information is stored, and the network configuration information in the original backup information is deleted; when the determination result is no, the Current network configuration information storage.
  • the reconnection unit 53 includes a control execution module 531 configured to determine whether the original backup information exists. When the determination result is yes, the network reconfiguration information is re-accessed according to the network configuration information in the original backup information; when the determination result is no, the error information is prompted.
  • the set top box includes a network connection module 61, a processing module 62, and a storage module 63.
  • the network connection module 61 is configured to access the network according to the current network configuration information; the processing module 62, as a core component of the set top box, can complete most of the instruction of the set top box and the adjustment coordination between the modules, so that the set top box can operate normally and efficiently.
  • the processing module 62 can be configured to configure current network configuration information when the access network is successful.
  • the backup information includes the current network configuration information (the backup information is used as a basis for the subsequent access network); and when the access network fails, the control network connection module
  • the access information is accessed according to the original backup information in the storage module 63.
  • the original backup information includes the backup information that has been stored in the processing module 63 before the network accessing the network.
  • the storage module 63 according to the requirements of the processing module 62, backs up the information. Store.
  • the main function of the processing module 62 is embodied in the adjustment control.
  • the processing module 62 obtains the current network configuration information from the network connection module 51, uses the current network configuration information as the backup information, and notifies the storage module 63 to follow the preset storage manner.
  • the current network information is stored, and the processing module 62 notifies the network connection module 61 to send the current network configuration information as backup information to the storage module 63; and notifies the storage module 63 of the stored preset storage mode.
  • it can be flexibly set according to different needs.
  • the processing module 62 acquires the original backup information from the storage module 63, and sends the original backup information to the network connection module 61, and the network connection module 61 reads the network configuration information in the original backup information, and The set-top box is connected to the network according to the network configuration information in the original backup information; or the processing module 62 notifies the network connection module 61 to read the original backup information from the storage module 63, and the network connection module 61 reads the original backup information. And reading the network configuration information in the original backup information, and the set top box is connected to the network according to the network configuration information in the original backup information.
  • the preset storage manner may include: saving the current network configuration information, and retaining the original backup information; or updating the network configuration information in the original backup information, and saving the updated information.
  • the network backup reconnection device and the set top box in this embodiment can be used to perform the network backup reconnection method in the first embodiment. That is, all the steps in the embodiment are performed in the network backup reconnection device and the set top box in this embodiment.
  • the network reconnection device or the set-top box in this embodiment can be used to back up the successfully configured configuration information after the network is successfully accessed. After the subsequent failure, the backup information can be reconnected, which can effectively prevent the upgrade from being failed due to the upgrade failure.
  • the network configuration information has been modified and cannot be successfully connected to the network, and can only be returned to the factory for repair. It can save a lot of manpower and material resources, and the processing method is also simple and fast.
  • the embodiment of the invention further provides a computer readable storage medium, which is stored in a computer executable
  • the instructions when the computer executable instructions are executed by the processor, implement the network backup reconnection method described above.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • Embodiments of the invention are not limited to any specific form of combination of hardware and software.
  • the configuration information of the successful access is backed up.
  • the backup information can be reconnected, which can effectively prevent the upgrade, the upgrade fails, and the network configuration information is modified. Smooth access to the network, and then only return to the factory for repair. It can save a lot of manpower and material resources, and the processing method is also simple and fast.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

A network backup reconnection method and apparatus, and a set-top box. The method comprises: reading current network configuration information, and accessing a network according to the current network configuration information; when the access is successful, backing up the current network configuration information to obtain backup information, wherein the backup information is taken as a basis for subsequent access to the network; and when the access is unsuccessful, accessing the network according to network configuration information in original backup information, wherein the original backup information comprises network configuration information having been backed up before accessing the network this time.

Description

一种网络备份重连方法、装置及机顶盒Network backup reconnection method, device and set top box 技术领域Technical field
本申请涉及但不限于通信技术领域,尤指一种网络备份重连方法、装置及机顶盒。The present application relates to, but is not limited to, the field of communication technologies, and in particular, to a network backup reconnection method, device and set top box.
背景技术Background technique
交互式网络电视,是一种利用宽带网,集互联网、多媒体、通讯等技术于一体,向家庭用户提供包括数字电视在内的多种交互式服务的崭新技术。它能够很好地适应当今网络飞速发展的趋势,充分有效地利用网络资源。交互式网络电视服务通过网络机顶盒来实现。机顶盒是一种连接电视机与外部信号源的设备,它可以将压缩的数字信号转成电视内容,并在电视机上显示出来。信号可以来自有线电缆、卫星天线、宽带网络以及地面广播。机顶盒接收的内容除了模拟电视可以提供的图像、声音之外,更在于能够接收数字内容,包括电子节目指南、因特网网页、字幕等等。使用户能在电视机上观看数字电视节目,并可通过网络进行交互式数字化娱乐、教育和商业化活动。随着信息技术的发展和智慧家庭业务的推进,交互式网络电视在生活中被越来越多的人使用。Interactive Internet TV is a brand-new technology that uses broadband networks to integrate Internet, multimedia, and communication technologies to provide home users with a variety of interactive services, including digital TV. It can adapt well to the rapid development of today's networks and make full and effective use of network resources. The interactive web TV service is implemented through a network set-top box. A set-top box is a device that connects a television to an external source of information that converts the compressed digital signal into television content and displays it on the television. Signals can come from cable, satellite antennas, broadband networks, and terrestrial broadcasts. The content received by the set top box is in addition to the images and sounds that the analog TV can provide, and is capable of receiving digital content, including electronic program guides, Internet web pages, subtitles, and the like. Enables users to watch digital TV shows on their TVs and interactive digital entertainment, education and commercialization via the web. With the development of information technology and the advancement of smart home business, interactive network television is being used by more and more people in life.
由于机顶盒的正常工作依赖于网络,一旦网络出现问题,机顶盒的大部分功能无法正常使用。原本机顶盒的很多功能出现故障时,可以通过升级进行修复,但是如果出现网络问题的话该方法也会相应失效,最终只能够返厂维修。因此,网络自动修复功能非常重要。Since the normal operation of the set-top box depends on the network, most of the functions of the set-top box cannot be used normally if there is a problem in the network. When many functions of the set-top box fail, they can be repaired by upgrading, but if there is a network problem, the method will be invalidated, and finally it can only be returned to the factory for repair. Therefore, the network auto-repair feature is very important.
有时会出现这种状况,用户正对某个机顶盒升级,但是升级失败,在升级过程中网络配置信息也被修改,于是不能进行继续升级,只能返厂维修等。也有可能,用户无意中修改了机顶盒上的某个或某些网络配置信息里面的配置参数,导致机顶盒无法接入网络。Sometimes this happens. The user is upgrading a certain set-top box, but the upgrade fails. During the upgrade process, the network configuration information is also modified, so the upgrade cannot be continued, and only the factory can be repaired. It is also possible that the user inadvertently modifies the configuration parameters in one or some of the network configuration information on the set top box, and the set top box cannot access the network.
发明概述 Summary of invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种网络备份重连方法、装置及机顶盒,以使机顶盒在网络配置信息被更改时,仍然可以完成网络接入。The embodiment of the invention provides a network backup reconnection method, device and a set top box, so that the set top box can still complete network access when the network configuration information is changed.
本发明实施例提供一种网络备份重连方法,包括:The embodiment of the invention provides a network backup reconnection method, including:
读取当前网络配置信息,根据所述当前网络配置信息接入网络;Reading current network configuration information, and accessing the network according to the current network configuration information;
当接入成功时,将所述当前网络配置信息进行备份得到备份信息,所述备份信息用于作为后续接入网络的依据;When the access is successful, the current network configuration information is backed up to obtain backup information, and the backup information is used as a basis for subsequent access to the network;
当接入失败时,根据原始备份信息中的网络配置信息重新接入网络,所述原始备份信息包括本次接入网络前已备份的网络配置信息。When the access fails, the network re-accesses the network according to the network configuration information in the original backup information, where the original backup information includes network configuration information that has been backed up before accessing the network.
在本发明一种实施例中,将所述当前网络配置信息进行备份得到备份信息通过以下任意一种方式:In an embodiment of the present invention, the current network configuration information is backed up to obtain backup information by using any one of the following methods:
方式一:保存所述当前网络配置信息,还保留所述原始备份信息;所述备份信息包括原始备份信息中的网络配置信息和所述当前网络配置信息;Manner 1: save the current network configuration information, and retain the original backup information; the backup information includes network configuration information in the original backup information and the current network configuration information;
方式二:对所述原始备份信息中的网络配置信息进行更新,所述备份信息包括更新后的网络配置信息。Manner 2: Update network configuration information in the original backup information, where the backup information includes updated network configuration information.
在本发明一种实施例中,通过方式二将所述当前网络配置信息进行备份得到备份信息包括:In an embodiment of the present invention, backing up the current network configuration information by using the second method to obtain backup information includes:
判断是否有原始备份信息,当判断结果为是,则提取所述原始备份信息中的网络配置信息,将所述当前网络配置信息与所述原始备份信息中的网络配置信息进行比对,将不一致的配置参数的值修改为所述当前网络配置信息中所述配置参数对应的值;当判断结果为否,直接将所述当前网络配置信息存储;Determining whether there is original backup information. When the determination result is yes, the network configuration information in the original backup information is extracted, and the current network configuration information is compared with the network configuration information in the original backup information, which is inconsistent. The value of the configuration parameter is modified to a value corresponding to the configuration parameter in the current network configuration information; when the determination result is no, the current network configuration information is directly stored;
or
判断是否有原始备份信息,当判断结果为是,存储所述当前网络配置信息,并将所述原始备份信息中的网络配置信息删除;当判断结果为否,直接将所述当前网络配置信息存储。 Determining whether there is original backup information, when the judgment result is yes, storing the current network configuration information, and deleting the network configuration information in the original backup information; when the determination result is no, directly storing the current network configuration information .
在本发明一种实施例中,当接入失败时,根据原始备份信息中的网络配置信息重新接入网络包括:判断是否存在原始备份信息,当判断结果为是,则根据所述原始备份信息中的网络配置信息重新接入网络;当判断结果为否,则提示出错信息。In an embodiment of the present invention, when the access fails, re-accessing the network according to the network configuration information in the original backup information includes: determining whether the original backup information exists, and when the determination result is yes, according to the original backup information. The network configuration information in the network is re-accessed to the network; when the judgment result is no, an error message is prompted.
本发明实施例还提供一种网络备份重连装置,包括:接入单元:设置为读取当前网络配置信息,根据所述当前网络配置信息接入网络;The embodiment of the present invention further provides a network backup reconnection device, including: an access unit: configured to read current network configuration information, and access the network according to the current network configuration information;
备份单元:设置为当接入成功时,将所述当前网络配置信息进行备份得到备份信息,所述备份信息用于作为后续接入网络的依据;The backup unit is configured to back up the current network configuration information to obtain backup information, where the backup information is used as a basis for subsequent access to the network;
重连单元:设置为当接入失败时,根据原始备份信息中的网络配置信息重新接入网络,所述原始备份信息包括本次接入网络前已备份的网络配置信息。The reconnection unit is configured to re-access the network according to the network configuration information in the original backup information, where the original backup information includes the network configuration information that has been backed up before accessing the network.
在本发明一种实施例中,所述备份单元包括以下几种中的任意一种:In an embodiment of the invention, the backup unit comprises any one of the following:
第一模块,设置为保存所述当前网络配置信息,还保留所述原始备份信息;所述备份信息包括原始备份信息中的网络配置信息和所述当前网络配置信息。The first module is configured to save the current network configuration information, and further retain the original backup information; the backup information includes network configuration information in the original backup information and the current network configuration information.
第二模块,设置为对所述原始备份信息中的网络配置信息进行更新,所述备份信息包括更新后的网络配置信息。The second module is configured to update network configuration information in the original backup information, where the backup information includes updated network configuration information.
在本发明一种实施例中,所述第二模块包括第一处理子模块或第二处理子模块;In an embodiment of the present invention, the second module includes a first processing submodule or a second processing submodule;
所述第一处理子模块设置为,判断是否有原始备份信息,当判断结果为是,则提取所述原始备份信息中的网络配置信息,将所述当前网络配置信息与所述原始备份信息中的网络配置信息进行比对,将不一致的配置参数的值修改为所述当前网络配置信息中所述配置参数对应的值;当判断结果为否,直接将所述当前网络配置信息存储;The first processing sub-module is configured to determine whether there is original backup information, and if the determination result is yes, extract network configuration information in the original backup information, and use the current network configuration information and the original backup information. The network configuration information is compared, and the value of the inconsistent configuration parameter is modified to a value corresponding to the configuration parameter in the current network configuration information; when the determination result is no, the current network configuration information is directly stored;
所述第二处理子模块设置为,判断是否有原始备份信息,当判断结果为是,存储所述当前网络配置信息,并将所述原始备份信息中的网络配置信息删除;当判断结果为否,直接将所述当前网络配置信息存储。The second processing sub-module is configured to determine whether there is original backup information. When the determination result is yes, the current network configuration information is stored, and the network configuration information in the original backup information is deleted; when the determination result is no The current network configuration information is directly stored.
在本发明一种实施例中,所述重连单元包括控制执行模块,设置为判 断是否存在原始备份信息,当判断结果为是,则根据所述原始备份信息中的网络配置信息重新接入网络;当判断结果为否,则提示出错信息。In an embodiment of the present invention, the reconnect unit includes a control execution module, and is configured to determine If the result of the determination is yes, the network configuration information in the original backup information is re-accessed to the network; when the determination result is no, the error information is prompted.
本发明实施例还提供一种机顶盒,包括网络连接模块、处理模块和存储模块:The embodiment of the invention further provides a set top box, including a network connection module, a processing module and a storage module:
所述网络连接模块,设置为根据当前网络配置信息接入网络;The network connection module is configured to access the network according to current network configuration information;
所述处理模块,设置为当接入网络成功时,对所述当前网络配置信息进行备份得到备份信息,将备份信息存储到所述存储模块中,所述备份信息作为后续接入网络的依据,包括所述当前网络配置信息;当接入网络失败时,控制所述网络连接模块根据所述存储模块中的原始备份信息接入网络,所述原始备份信息包括本次接入网络前已存储在所述处理模块中的备份信息;The processing module is configured to back up the current network configuration information to obtain backup information, and store the backup information in the storage module, where the backup information is used as a basis for subsequent access to the network. The current network configuration information is included; when the access network fails, the network connection module is controlled to access the network according to the original backup information in the storage module, where the original backup information is stored before the current access network Backup information in the processing module;
所述存储模块,根据所述处理模块的要求存储备份信息。The storage module stores backup information according to requirements of the processing module.
在本发明一种实施例中,当接入网络成功时,对所述当前网络配置信息进行备份,将备份信息存储到所述存储模块中包括:In an embodiment of the present invention, when the access network is successful, backing up the current network configuration information, and storing the backup information in the storage module includes:
所述处理模块从所述网络连接模块处获取所述当前网络配置信息,将所述当前网络配置信息作为备份信息,并通知所述存储模块按照预设存储方式对所述当前网络信息进行存储;The processing module acquires the current network configuration information from the network connection module, uses the current network configuration information as backup information, and notifies the storage module to store the current network information according to a preset storage manner;
or
所述处理模块通知所述网络连接模块将所述当前网络配置信息作为备份信息发送给所述存储模块,并通知所述存储模块进行存储的预设存储方式。The processing module notifies the network connection module to send the current network configuration information as backup information to the storage module, and notifies the storage module to perform a preset storage mode.
在本发明一种实施例中,所述预设存储方式包括:In an embodiment of the present invention, the preset storage manner includes:
保存所述当前网络配置信息,还保留所述原始备份信息;或者Saving the current network configuration information, and retaining the original backup information; or
对所述原始备份信息中的网络配置信息进行更新,保存更新后的信息。The network configuration information in the original backup information is updated, and the updated information is saved.
在本发明一种实施例中,当接入网络失败时,控制网络连接模块根据所述存储模块中的原始备份信息接入网络包括: In an embodiment of the present invention, when the access network fails, the control network connection module accesses the network according to the original backup information in the storage module, including:
所述处理模块从所述存储模块获取原始备份信息,并将所述原始备份信息发送给网络连接模块,所述网络连接模块读取所述原始备份信息中的网络配置信息,并根据所述原始备份信息中的网络配置信息接入网络;The processing module acquires original backup information from the storage module, and sends the original backup information to a network connection module, where the network connection module reads network configuration information in the original backup information, and according to the original The network configuration information in the backup information is connected to the network;
or
所述处理模块通知所述网络连接模块从所述存储模块中读取所述原始备份信息,所述网络连接模块读取所述原始备份信息,并读取所述原始备份信息中的网络配置信息,根据所述原始备份信息中的网络配置信息接入网络。The processing module notifies the network connection module to read the original backup information from the storage module, the network connection module reads the original backup information, and reads network configuration information in the original backup information And accessing the network according to the network configuration information in the original backup information.
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述网络备份重连方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented by the processor to implement the network backup reconnection method.
本发明实施例提供一种网络备份重连方法、装置及机顶盒,读取当前网络配置信息,根据当前网络配置信息接入网络;在接入成功的时候,将当前网络配置信息进行备份得到备份信息,该备份信息作为后续接入网络的依据;在接入失败时,根据原始备份信息中的网络配置信息接入网络,原始备份信息包括本次接入网络前已备份的网络配置信息。在本发明实施例的方案中,利用当前网络配置信息接入网络,如果接入成功的话证明当前的网络配置信息是正确的,是可以顺利接入网络的,于是将其进行备份,以便于下一次接入网络失败的时候,可以直接利用该网络配置信息进行网络接入。如果接入失败的话,证明当前的网络配置信息是错误的,可能是由用户更改了,可能是升级失败了,也有可能是其他原因,此时,可以根据原始备份信息中的网络配置信息接入网络,原始备份信息包括本次接入网络前已备份的网络配置信息,既然是已备份的网络配置信息,那么证明之前是利用该网络配置信息成功接入了网络的,所以,如果是网络配置信息的参数被修改的话,那么利用该原始备份信息中的网络配置信息可以实现成功接入。所以,采用本发明实施例的方案可以达到当网络配置信息的参数被修改仍然可以完成网络接入,提高用户体验的效果。The embodiment of the invention provides a network backup reconnection method, device and a set top box, which reads the current network configuration information and accesses the network according to the current network configuration information; when the access is successful, the current network configuration information is backed up to obtain backup information. The backup information is used as the basis for the subsequent access to the network; when the access fails, the network access information is accessed according to the network configuration information in the original backup information, and the original backup information includes the network configuration information that has been backed up before the current access to the network. In the solution of the embodiment of the present invention, the current network configuration information is used to access the network. If the access is successful, the current network configuration information is correct, and the network can be smoothly accessed, so that it is backed up for the next When the access to the network fails, the network configuration information can be directly used for network access. If the access fails, the current network configuration information is incorrect. It may be changed by the user. The upgrade may fail or may be caused by other reasons. In this case, you can access the network configuration information according to the original backup information. The network, the original backup information includes the network configuration information that has been backed up before accessing the network. Since it is the backed up network configuration information, it is proved that the network configuration information was successfully accessed by the network before, so if it is the network configuration If the parameters of the information are modified, then the network configuration information in the original backup information can be used to achieve successful access. Therefore, the solution of the embodiment of the present invention can achieve the effect that when the parameters of the network configuration information are modified, the network access can be completed and the user experience is improved.
在阅读并理解了附图和详细描述后,可以明白其他方面。 Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例一中的网络备份重连方法的流程图;1 is a flowchart of a network backup reconnection method according to Embodiment 1 of the present invention;
图2为本发明实施例一中的网络备份重连方法网络接入的流程图;2 is a flowchart of network access of a network backup reconnection method according to Embodiment 1 of the present invention;
图3为本发明实施例一中的网络备份重连方法网络接入成功后执行备份的流程图;FIG. 3 is a flowchart of performing backup after a network access reconnection method is successfully performed in the network backup method according to Embodiment 1 of the present invention;
图4为本发明实施例一中的网络备份重连方法网络接入失败后执行重连的流程图;4 is a flowchart of performing reconnection after a network access failure of a network backup reconnection method according to Embodiment 1 of the present invention;
图5为本发明实施例二中的网络备份重连装置的结构示意图;5 is a schematic structural diagram of a network backup reconnection device according to Embodiment 2 of the present invention;
图6为本发明实施例二中的机顶盒的结构示意图。FIG. 6 is a schematic structural diagram of a set top box according to Embodiment 2 of the present invention.
详述Detailed
下面通过实施方式结合附图对本发明实施例作进一步详细说明。The embodiments of the present invention are further described in detail below with reference to the accompanying drawings.
实施例一:Embodiment 1:
本实施例提供一种网络备份重连方法,请参考图1,该方法包括:This embodiment provides a network backup reconnection method. Referring to FIG. 1, the method includes:
S101:读取当前网络配置信息,根据所述当前网络配置信息接入网络;S101: Read current network configuration information, and access the network according to the current network configuration information.
S102:当接入成功时,将所述当前网络配置信息进行备份得到备份信息;S102: When the access is successful, backing up the current network configuration information to obtain backup information.
S103:当接入失败时,根据原始备份信息中的网络配置信息重新接入网络。S103: When the access fails, re-access the network according to the network configuration information in the original backup information.
要接入网络,首先需要获得网络配置信息,在本实施例的一种实施方式中,会先执行步骤S101,读取当前网络配置信息,根据该当前网络配置信息完成接入网络。对于网络配置信息,容易理解,就是接入网络时,需要的一些信息或者数据等。例如,如果是采用有线接入的方式,该网络配置信息可以包括接入方式,用户名,密码等等,还可以包括有线网络IP(Internet Protocol,网络协议)地址,子网掩码,网关,DNS(Domain Name System,域名***)等信息。对于有线接入的方式,包括但不限于通过LAN (Local Area Network,局域网)、DHCP(Dynamic Host Configuration Protocol,动态主机配置协议)、或者ADSL(Asymmetric Digital Subscriber Line,非对称数字用户线路)拨号方式进行接入。当然,如果设备本身支持采用无线网络接入的方式,也是可以的,那么此时,网络配置信息就包括接入无线网络时对应的需要的信息。To access the network, the network configuration information needs to be obtained first. In an implementation manner of this embodiment, step S101 is performed first, the current network configuration information is read, and the access network is completed according to the current network configuration information. For network configuration information, it is easy to understand, that is, some information or data that is needed when accessing the network. For example, if the wired access mode is adopted, the network configuration information may include an access mode, a username, a password, and the like, and may also include a wired network IP (Internet Protocol) address, a subnet mask, and a gateway. Information such as DNS (Domain Name System). For wired access, including but not limited to via LAN (Local Area Network, local area network), DHCP (Dynamic Host Configuration Protocol), or ADSL (Asymmetric Digital Subscriber Line) dialing mode. Of course, if the device itself supports wireless network access, it is also possible. At this time, the network configuration information includes the required information when accessing the wireless network.
在接入成功的时候会执行步骤S102,将当前网络配置信息进行备份得到备份信息。如果接入成功,那么证明当前网络配置信息中的信息或者数据都是正确的,为了防止以后升级失败或者因为用户的原因将网络配置信息中的某些数据或信息更改,而导致不能接入网络,所以将该当前配置信息进行备份得到备份信息,以便于以后可以根据该备份信息接入网络,所以所述备份信息可以用于作为后续接入网络的依据。例如,在下次或者下下次接入网络失败的时候,可以根据该备份信息来接入网络。When the access is successful, step S102 is performed to back up the current network configuration information to obtain backup information. If the access is successful, it is proved that the information or data in the current network configuration information is correct. In order to prevent future upgrade failure or change some data or information in the network configuration information for the user's reason, the network cannot be accessed. Therefore, the current configuration information is backed up to obtain backup information, so that the backup information can be accessed according to the backup information in the future, so the backup information can be used as a basis for subsequent access networks. For example, when the next or next access network fails, the network can be accessed according to the backup information.
对于将当前网络信息进行备份的方式,可以但不限于包括以下两种方式中的任意一种:方式一,保存当前网络配置信息,还保留原始备份信息;备份信息包括原始备份信息中的网络配置信息和所述当前网络配置信息,原始备份信息包括本次接入网络前已备份的网络配置信息。例如,在第一次成功接入网络后,会备份第一次接入网络时使用的网络配置信息;在第二次接入成功接入网络后,此时的原始备份信息就包括第一次成功连接后,备份的第一次接入网络时使用的网络配置信息。采用上述方式一的方案,此时,要对第二次接入网络时使用的网络配置信息进行备份,同时保留第一次成功连接后,备份的第一次接入网络时使用的网络配置信息。所以此时的备份信息,既包括第二次接入网络时使用的网络配置信息进行备份,也包括第一次接入网络时使用的网络配置信息。对于更多次的接入也是类似处理。The method for backing up current network information may include, but is not limited to, one of the following two methods: mode one, save current network configuration information, and retain original backup information; backup information includes network configuration in original backup information. The information and the current network configuration information, and the original backup information includes network configuration information that has been backed up before accessing the network. For example, after the first successful access to the network, the network configuration information used when accessing the network for the first time is backed up; after the second access is successfully accessed, the original backup information at this time includes the first time. After successful connection, the network configuration information used when backing up the network for the first time. In the solution of the foregoing mode 1, at this time, the network configuration information used when accessing the network for the second time is backed up, and the network configuration information used when the first time the backup network is accessed is retained after the first successful connection is retained. . Therefore, the backup information at this time includes both the network configuration information used when accessing the network for the second time, and the network configuration information used when accessing the network for the first time. Similar processing is done for more accesses.
方式二,对原始备份信息中的网络配置信息进行更新,备份信息包括更新后的网络配置信息。由于考虑到对内存占用的状况,可以通过对原始备份信息中的网络配置信息进行更新的方式来进行备份。对于更新方式并不进行限定,可以将当前网络配置信息与原始备份信息中的网络配置信息进行比对,将不一致的配置参数的值修改为述当前网络配置信息中所述配 置参数对应的值;也可以直接存储当前网络配置信息,并将原始备份信息中的网络配置信息删除。由于上述方式二是在原始备份信息基础上来完成备份的,所以,采用这种方式进行备份之前通常还会先判断是否有原始备份信息,在有原始备份信息的情况下才按照上述方式进行更新,将不一致的配置参数的值修改为述当前网络配置信息中所述配置参数对应的值,或者存储当前网络配置信息,并将原始备份信息中的网络配置信息删除。在不存在原始备份信息的情况下,就直接将当前网络配置信息进行存储。In the second manner, the network configuration information in the original backup information is updated, and the backup information includes the updated network configuration information. Since the memory usage is considered, the backup can be performed by updating the network configuration information in the original backup information. The update mode is not limited. You can compare the current network configuration information with the network configuration information in the original backup information, and modify the value of the inconsistent configuration parameter to the current network configuration information. Set the value corresponding to the parameter; you can also directly store the current network configuration information and delete the network configuration information in the original backup information. Because the above method 2 is to complete the backup based on the original backup information, it is usually first determined whether there is original backup information before the backup is performed in this manner, and the original backup information is updated in the above manner. Modify the value of the inconsistent configuration parameter to the value corresponding to the configuration parameter in the current network configuration information, or store the current network configuration information, and delete the network configuration information in the original backup information. In the absence of the original backup information, the current network configuration information is directly stored.
在接入失败的时候会执行步骤S103,根据原始备份信息中的网络配置信息重新接入网络。根据当前配置信息接入网络失败,证明当前配置信息中的配置参数可能存在错误,在本实施例中可以采用读取原始备份信息,根据原始备份信息中的网络配置信息重新接入网络。所以本实施例通常还会先判断是不是存在有原始备份信息,如果有的话可以直接读取并提取其中的网络配置信息,用来接入网络;但也会有不存在原始备份信息的情况,例如,首次接入时,就失败,因为之前从未成功接入过网络,所以也不会存在原始备份信息,此时会提示出错信息。该出错信息提示给用户,用户可以根据这些出错信息,采取相应的补救措施。而且由于当前网络配置信息存在错误,所以通常在将本机将该当前配置信息清除,以免对正确的网络配置信息造成干扰。另外,通常还会有判断原始备份文件中的网络配置信息是否合法的过程,在对网络配置信息进行备份的时候,通常会给备份文件标识位设定一定的值,用于标识备份信息,于是当接入网络失败,要通过该备份信息来接入网络的时候,可以通过该标识位来判断网络配置信息的合法性。如果不合法的话就根据该备份信息中的网络配置信息接入网络,否则,也上报出错信息。When the access fails, step S103 is performed to re-access the network according to the network configuration information in the original backup information. The access to the network fails according to the current configuration information, and the configuration parameters in the current configuration information may be incorrect. In this embodiment, the original backup information may be read, and the network configuration information in the original backup information may be re-accessed to the network. Therefore, in this embodiment, it is usually first determined whether the original backup information exists, and if so, the network configuration information can be directly read and extracted to access the network; but there is also a case where the original backup information does not exist. For example, when accessing for the first time, it fails, because the network has never been successfully accessed before, so there will be no original backup information, and an error message will be displayed. The error message is presented to the user, and the user can take corresponding remedial measures based on the error information. Moreover, since there is an error in the current network configuration information, the current configuration information is usually cleared by the local device to avoid interference with the correct network configuration information. In addition, there is usually a process of determining whether the network configuration information in the original backup file is legal. When the network configuration information is backed up, a certain value is usually set for the backup file identifier bit to identify the backup information, so When the access network fails to access the network through the backup information, the identifier of the network can be used to determine the validity of the network configuration information. If it is not legal, it will access the network according to the network configuration information in the backup information. Otherwise, an error message is also reported.
由于当前所用的原始备份信息是之前网络接入成功时备份的,所以根据其备份的方式的不同(例如,包括步骤S102中的两种备份方式)原始配置信息里面的网络配置信息内容也会有所不同,例如,如果原始备份信息中包括有好几次接入网络成功时的网络配置信息的时候,可以按照备份时间的先后顺序,优先选取备份时间最近的网络配置信息用于本次的重新接入,当然也可以按照其他规则。如果原始备份信息中只包含有一次连接成 功时的网络配置信息,那么就直接读取该网络配置信息,进行网络的重新接入。Since the original backup information currently used is backed up before the network access is successful, the network configuration information content in the original configuration information may also be different according to the manner of the backup (for example, including the two backup methods in step S102). Differently, for example, if the original backup information includes network configuration information when the access network is successful several times, the network configuration information with the latest backup time may be preferentially selected for the current reconnection according to the order of backup time. In, of course, you can follow other rules. If the original backup information contains only one connection into The network configuration information of the work, then directly read the network configuration information, and re-access the network.
本实施例中还提供一种网络备份重连方法的实施方式,请参考图2至图4,图2为该络备份重连方法接入过程,包括:An embodiment of the network backup reconnection method is also provided in this embodiment. Referring to FIG. 2 to FIG. 4, FIG. 2 is an access process of the network backup reconnection method, including:
S201:读取有线网络连接相关的配置信息;S201: Read configuration information related to a wired network connection;
该配置信息为接入网络需要的当前网络配置信息,就是接入网络时,需要的一些信息或者数据等。例如,该网络配置信息可以包括接入方式,用户名,密码等等,还可以包括有线网络IP地址,子网掩码,网关,DNS等信息。The configuration information is current network configuration information required for accessing the network, and is information or data required when accessing the network. For example, the network configuration information may include an access mode, a username, a password, and the like, and may also include a wired network IP address, a subnet mask, a gateway, a DNS, and the like.
S202:网络连接默认初始化;S202: The network connection is initialized by default;
为了保证接入网络的顺利进行,需要排除其他配置等的干扰,所以进行网络连接初始化。In order to ensure the smooth progress of the access network, it is necessary to eliminate interference such as other configurations, so the network connection is initialized.
S203:检查网线连接状态,判断物理连接是否成功,若是,则进入步骤S204,否则,进入步骤S205;S203: Check the connection status of the network cable, determine whether the physical connection is successful, and if so, proceed to step S204, otherwise, proceed to step S205;
在本实施例中,采用的是有线连接的方式,所以在接入网络之前,先判断网络物理连接是否有错误,如果物理连接有错误就直接上报错误信息,这样一来,就可以避免错误诊断了联网失败的原因,也就是说,本来是因为物理连接有错误,但是因为没有诊断,而误认为是当前网络配置信息有错误。In this embodiment, the wired connection is adopted. Therefore, before accessing the network, it is first determined whether there is an error in the physical connection of the network. If the physical connection has an error, the error information is directly reported, so that the error diagnosis can be avoided. The reason for the failure of networking, that is, the original physical connection is wrong, but because there is no diagnosis, it is mistaken that the current network configuration information is wrong.
S204:根据网络配置信息进行网络接入;S204: Perform network access according to network configuration information.
如果物理连接没有错误,就直接根据网络配置信息,接入网络,此时再出现连接失败,就是当前网络配置信息的问题了。If there is no error in the physical connection, the network is directly connected according to the network configuration information. At this time, the connection failure occurs, which is the problem of the current network configuration information.
S205:物理连接错误,将出错信息误上报。S205: The physical connection is incorrect, and the error information is reported incorrectly.
如果物理连接错误了,将错误信息上报给用户,用户可以检查物理连接,上报方式可以是通过提示框的形式等等。If the physical connection is incorrect, the error information is reported to the user, and the user can check the physical connection. The reporting mode can be in the form of a prompt box.
接入网络之后只会出现两种结果,要么接入成功,请参见图3,为接入成功后要执行的步骤流程图;要么接入失败,请参见图4,为接入成失败要执行的步骤流程图。 After accessing the network, only two results are obtained, or the access is successful. See Figure 3 for the flow chart of the steps to be performed after the access is successful. Otherwise, the access fails. See Figure 4 for the access to fail. Step flow chart.
在图3中,接入成功后,还要执行备份的步骤,包括:In Figure 3, after the access is successful, the steps of performing the backup include:
S301:判断是否存在原始备份信息,若是,执行S303;否则,执行S302;S301: determining whether there is original backup information, and if so, executing S303; otherwise, executing S302;
S302:直接存储所述当前网络配置信息,并执行S307;S302: directly storing the current network configuration information, and executing S307;
S303:读取所述原始备份信息中的网络配置信息;S303: Read network configuration information in the original backup information.
S304:将当前网络配置信息和原始备份信息中的网络配置信息进行比对;S304: Compare current network configuration information with network configuration information in original backup information.
S305:判断配置是否有更改,若是,执行步骤S306;否则,执行步骤S307S305: Determine whether there is a change in the configuration. If yes, go to step S306; otherwise, go to step S307.
S306:对原始备份信息中的网络配置信息进行更新;S306: Update network configuration information in the original backup information.
S307:结束备份流程。S307: End the backup process.
检查文件***中是否保存了网络配置备份文件,如果文件***中从未保存过网络配置备份,则直接创建备份文件,并将当前网络配置写入即可。如果保存了配置文件,则直接对配置文件中的网络配置参数进行更新。Check whether the network configuration backup file is saved in the file system. If the network configuration backup has never been saved in the file system, create a backup file directly and write the current network configuration. If the configuration file is saved, the network configuration parameters in the configuration file are updated directly.
在图4中,接入失败后,还要执行以下步骤:In Figure 4, after the access fails, the following steps are also performed:
S401:判断是否存在原始备份信息,若是,执行S402;否则,执行S405;S401: determining whether there is original backup information, and if so, executing S402; otherwise, executing S405;
S402:读取所述原始备份信息中的网络配置信息;S402: Read network configuration information in the original backup information.
S403:判断所述原始备份信息中的网络配置信息是否合法,若是,则执行S404,否则,执行S405;S403: determining whether the network configuration information in the original backup information is legal, if yes, executing S404, otherwise, executing S405;
S404:删除所述当前网络配置信息,并根据所述原始备份信息中的网络配置信息进行重连;S404: Delete the current network configuration information, and perform reconnection according to network configuration information in the original backup information.
S405:上报网络连接失败。S405: The network connection is reported to be failed.
采用本实施例中的网络备份重连方法,在成功接入网络的时候,保存成功接入网络时所用的网络配置信息,并将该网络配置信息进行备份,以防止后续网络配置信息被修改不能成功接入网络。可以有效解决因为错误 修改网络配置信息而导致的不能成功接入网络的问题。The network backup reconnection method in this embodiment is used to save the network configuration information used when successfully accessing the network, and back up the network configuration information to prevent subsequent network configuration information from being modified. Successful access to the network. Can be effectively solved because of errors The problem of not being able to successfully access the network caused by modifying the network configuration information.
实施例二:Embodiment 2:
本实施例提供一种网络备份重连装置,请参考图5,该网络备份重连装置包括:接入单元51、备份单元52和重连单元53,接入单元51设置为读取当前网络配置信息,根据当前网络配置信息接入网络。备份单元52设置为当接入成功时,将当前网络配置信息进行备份得到备份信息。重连单元53设置为当接入失败时,根据原始备份信息中的网络配置信息重新接入网络。原始备份信息包括本次接入网络前已备份的网络配置信息。This embodiment provides a network backup reconnection device. Referring to FIG. 5, the network backup reconnection device includes: an access unit 51, a backup unit 52, and a reconnection unit 53, and the access unit 51 is configured to read the current network configuration. Information, access to the network according to the current network configuration information. The backup unit 52 is configured to back up the current network configuration information to obtain backup information when the access is successful. The reconnecting unit 53 is configured to re-access the network according to the network configuration information in the original backup information when the access fails. The original backup information includes the network configuration information that was backed up before accessing the network.
在本实施例的一种实施方式中,备份单元52包括第一模块或者第二模块。第一模块设置为保存当前网络配置信息,还保留所述原始备份信息;此时,备份信息包括原始备份信息中的网络配置信息和当前网络配置信息。第二模块设置为对原始备份信息中的网络配置信息进行更新,此时,备份信息包括更新后的网络配置信息。In an embodiment of the embodiment, the backup unit 52 includes a first module or a second module. The first module is configured to save current network configuration information, and retain the original backup information; at this time, the backup information includes network configuration information and current network configuration information in the original backup information. The second module is configured to update the network configuration information in the original backup information. At this time, the backup information includes the updated network configuration information.
第二模块包括第一处理子模块或第二处理子模块;第一处理子模块设置为,判断是否有原始备份信息,若有,则提取原始备份信息中的网络配置信息,将当前网络配置信息与原始备份信息中的网络配置信息进行比对,将不一致的配置参数的值修改为当前网络配置信息中所述配置参数对应的值;若没有,就直接将当前网络配置信息存储。第二处理子模块设置为判断是否有原始备份信息,当判断结果为是,存储所述当前网络配置信息,并将原始备份信息中的网络配置信息删除;当判断结果为否,直接将所述当前网络配置信息存储。The second module includes a first processing submodule or a second processing submodule; the first processing submodule is configured to determine whether there is original backup information, and if so, extract network configuration information in the original backup information, and configure current network configuration information. The network configuration information in the original backup information is compared with the value of the inconsistent configuration parameter to the value corresponding to the configuration parameter in the current network configuration information; if not, the current network configuration information is directly stored. The second processing sub-module is configured to determine whether there is original backup information. When the determination result is yes, the current network configuration information is stored, and the network configuration information in the original backup information is deleted; when the determination result is no, the Current network configuration information storage.
重连单元53包括控制执行模块531设置为判断是否存在原始备份信息,当判断结果为是,则根据原始备份信息中的网络配置信息重新接入网络;当判断结果为否,则提示出错信息。The reconnection unit 53 includes a control execution module 531 configured to determine whether the original backup information exists. When the determination result is yes, the network reconfiguration information is re-accessed according to the network configuration information in the original backup information; when the determination result is no, the error information is prompted.
本实施例提供一种机顶盒,请参考图6,机顶盒包括,网络连接模块61、处理模块62和存储模块63。网络连接模块61设置为根据当前网络配置信息接入网络;处理模块62作为机顶盒的核心部件,可以完成机顶盒的大部分指令下发,以及各个模块之间的调节配合,使得机顶盒能正常高效运行。例如处理模块62可设置为当接入网络成功时,对当前网络配置信息 进行备份得到备份信息,将备份信息存储到存储模块63中,备份信息包括所述当前网络配置信息(该备份信息作为后续接入网络的依据);以及当接入网络失败时,控制网络连接模块61根据存储模块63中的原始备份信息接入网络,原始备份信息包括本次接入网络前已存储在处理模块63中的备份信息;存储模块63,根据所述处理模块62的要求对备份信息进行存储。This embodiment provides a set top box. Referring to FIG. 6, the set top box includes a network connection module 61, a processing module 62, and a storage module 63. The network connection module 61 is configured to access the network according to the current network configuration information; the processing module 62, as a core component of the set top box, can complete most of the instruction of the set top box and the adjustment coordination between the modules, so that the set top box can operate normally and efficiently. For example, the processing module 62 can be configured to configure current network configuration information when the access network is successful. Performing backup to obtain backup information, and storing the backup information in the storage module 63, the backup information includes the current network configuration information (the backup information is used as a basis for the subsequent access network); and when the access network fails, the control network connection module The access information is accessed according to the original backup information in the storage module 63. The original backup information includes the backup information that has been stored in the processing module 63 before the network accessing the network. The storage module 63, according to the requirements of the processing module 62, backs up the information. Store.
处理模块62的主要功能体现在其调节控制上,例如处理模块62从网络连接模块51处获取当前网络配置信息,将当前网络配置信息作为备份信息,并通知存储模块63按照预设存储方式对所述当前网络信息进行存储;也可以是处理模块62通知网络连接模块61将当前网络配置信息作为备份信息发送给存储模块63;并通知存储模块63进行存储的预设存储方式。对于其采用什么交互方式,可以根据不同需求,灵活设置。当接入网络失败时,也类似,处理模块62从存储模块63获取原始备份信息,并将原始备份信息发送给网络连接模块61,网络连接模块61读取原始备份信息中的网络配置信息,并根据原始备份信息中的网络配置信息将机顶盒接入网络;也可以是处理模块62通知网络连接模块61从所述存储模块63中读取所述原始备份信息,网络连接模块61读取原始备份信息,并读取原始备份信息中的网络配置信息,根据原始备份信息中的网络配置信息将机顶盒接入网络。The main function of the processing module 62 is embodied in the adjustment control. For example, the processing module 62 obtains the current network configuration information from the network connection module 51, uses the current network configuration information as the backup information, and notifies the storage module 63 to follow the preset storage manner. The current network information is stored, and the processing module 62 notifies the network connection module 61 to send the current network configuration information as backup information to the storage module 63; and notifies the storage module 63 of the stored preset storage mode. For the interaction method, it can be flexibly set according to different needs. When the access network fails, similarly, the processing module 62 acquires the original backup information from the storage module 63, and sends the original backup information to the network connection module 61, and the network connection module 61 reads the network configuration information in the original backup information, and The set-top box is connected to the network according to the network configuration information in the original backup information; or the processing module 62 notifies the network connection module 61 to read the original backup information from the storage module 63, and the network connection module 61 reads the original backup information. And reading the network configuration information in the original backup information, and the set top box is connected to the network according to the network configuration information in the original backup information.
预设存储方式可以包括:保存当前网络配置信息,还保留原始备份信息;或者,对原始备份信息中的网络配置信息进行更新,保存更新后的信息。The preset storage manner may include: saving the current network configuration information, and retaining the original backup information; or updating the network configuration information in the original backup information, and saving the updated information.
本实施例中的网络备份重连装置和机顶盒均可以用于执行实施例一中的网络备份重连方法。也即是在实施例一种的所有步骤在本实施例中的网络备份重连装置和机顶盒均有对应的模块来执行。采用本实施例中的网络重连装置或者机顶盒,可以接入网络成功后对接入成功的配置信息进行备份,后续失败后可以利用备份的信息重连,可以有效防止升级时候,升级失败导致,网络配置信息被修改,不能顺利接入网络,然后只能返厂维修。可以节省很多的人力物力资源,同时处理方式也简便快捷。The network backup reconnection device and the set top box in this embodiment can be used to perform the network backup reconnection method in the first embodiment. That is, all the steps in the embodiment are performed in the network backup reconnection device and the set top box in this embodiment. The network reconnection device or the set-top box in this embodiment can be used to back up the successfully configured configuration information after the network is successfully accessed. After the subsequent failure, the backup information can be reconnected, which can effectively prevent the upgrade from being failed due to the upgrade failure. The network configuration information has been modified and cannot be successfully connected to the network, and can only be returned to the factory for repair. It can save a lot of manpower and material resources, and the processing method is also simple and fast.
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行 指令,所述计算机可执行指令被处理器执行时实现上述网络备份重连方法。The embodiment of the invention further provides a computer readable storage medium, which is stored in a computer executable The instructions, when the computer executable instructions are executed by the processor, implement the network backup reconnection method described above.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明实施例不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. All or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. Embodiments of the invention are not limited to any specific form of combination of hardware and software.
以上内容是结合的实施方式对本发明实施例所作的进一步详细说明,不能认定本发明实施例的实施只局限于这些说明。对于本申请所属技术领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本申请的保护范围。The above is a detailed description of the embodiments of the present invention in combination with the embodiments, and the implementation of the embodiments of the present invention is not limited to the description. It will be apparent to those skilled in the art that the present invention can be made in the form of the present invention without departing from the scope of the present invention.
工业实用性Industrial applicability
通过本发明实施例,在接入网络成功后对接入成功的配置信息进行备份,后续失败后可以利用备份的信息重连,可以有效防止升级时候,升级失败导致,网络配置信息被修改,不能顺利接入网络,然后只能返厂维修。可以节省很多的人力物力资源,同时处理方式也简便快捷。 After the access network is successful, the configuration information of the successful access is backed up. After the subsequent failure, the backup information can be reconnected, which can effectively prevent the upgrade, the upgrade fails, and the network configuration information is modified. Smooth access to the network, and then only return to the factory for repair. It can save a lot of manpower and material resources, and the processing method is also simple and fast.

Claims (13)

  1. 一种网络备份重连方法,包括:A network backup reconnection method includes:
    读取当前网络配置信息,根据所述当前网络配置信息接入网络;Reading current network configuration information, and accessing the network according to the current network configuration information;
    当接入成功时,将所述当前网络配置信息进行备份得到备份信息,所述备份信息用于作为后续接入网络的依据;When the access is successful, the current network configuration information is backed up to obtain backup information, and the backup information is used as a basis for subsequent access to the network;
    当接入失败时,根据原始备份信息中的网络配置信息重新接入网络,所述原始备份信息包括本次接入网络前已备份的网络配置信息。When the access fails, the network re-accesses the network according to the network configuration information in the original backup information, where the original backup information includes network configuration information that has been backed up before accessing the network.
  2. 如权利要求1所述的网络备份重连方法,其中,将所述当前网络配置信息进行备份得到备份信息通过以下任意一种方式:The network backup reconnection method according to claim 1, wherein the backup of the current network configuration information to obtain backup information is performed by any one of the following methods:
    方式一:保存所述当前网络配置信息,还保留所述原始备份信息;所述备份信息包括原始备份信息中的网络配置信息和所述当前网络配置信息;Manner 1: save the current network configuration information, and retain the original backup information; the backup information includes network configuration information in the original backup information and the current network configuration information;
    方式二:对所述原始备份信息中的网络配置信息进行更新,所述备份信息包括更新后的网络配置信息。Manner 2: Update network configuration information in the original backup information, where the backup information includes updated network configuration information.
  3. 如权利要求2所述的网络备份重连方法,其中,通过方式二将所述当前网络配置信息进行备份得到备份信息包括:The network backup reconnection method according to claim 2, wherein the backing up the current network configuration information by means 2 to obtain backup information comprises:
    判断是否有原始备份信息,当判断结果为是,则提取所述原始备份信息中的网络配置信息,将所述当前网络配置信息与所述原始备份信息中的网络配置信息进行比对,将不一致的配置参数的值修改为所述当前网络配置信息中所述配置参数对应的值;当判断结果为否,直接将所述当前网络配置信息存储;Determining whether there is original backup information. When the determination result is yes, the network configuration information in the original backup information is extracted, and the current network configuration information is compared with the network configuration information in the original backup information, which is inconsistent. The value of the configuration parameter is modified to a value corresponding to the configuration parameter in the current network configuration information; when the determination result is no, the current network configuration information is directly stored;
    or
    判断是否有原始备份信息,当判断结果为是,存储所述当前网络配置信息,并将所述原始备份信息中的网络配置信息删除;当判断结果为否,直接将所述当前网络配置信息存储。Determining whether there is original backup information, when the judgment result is yes, storing the current network configuration information, and deleting the network configuration information in the original backup information; when the determination result is no, directly storing the current network configuration information .
  4. 如权利要求1-3任意一项所述的网络备份重连方法,其中,当接入失败时,根据原始备份信息中的网络配置信息重新接入网络包括:判断是否存在原始备份信息,当判断结果为是,则根据所述原始备份信息中的网络配置信 息重新接入网络;当判断结果为否,则提示出错信息。The network backup reconnection method according to any one of claims 1-3, wherein, when the access fails, re-accessing the network according to the network configuration information in the original backup information includes: determining whether the original backup information exists, when determining The result is yes, according to the network configuration information in the original backup information Re-access the network; when the judgment result is no, an error message is displayed.
  5. 一种网络备份重连装置,包括:A network backup reconnection device includes:
    接入单元:设置为读取当前网络配置信息,根据所述当前网络配置信息接入网络;Access unit: configured to read current network configuration information, and access the network according to the current network configuration information;
    备份单元:设置为当接入成功时,将所述当前网络配置信息进行备份得到备份信息,所述备份信息用于作为后续接入网络的依据;The backup unit is configured to back up the current network configuration information to obtain backup information, where the backup information is used as a basis for subsequent access to the network;
    重连单元:设置为当接入失败时,根据原始备份信息中的网络配置信息重新接入网络,所述原始备份信息包括本次接入网络前已备份的网络配置信息。The reconnection unit is configured to re-access the network according to the network configuration information in the original backup information, where the original backup information includes the network configuration information that has been backed up before accessing the network.
  6. 如权利要求5所述的网络备份重连装置,其中,所述备份单元包括以下几种中的任意一种:The network backup reconnection device according to claim 5, wherein the backup unit comprises any one of the following:
    第一模块,设置为保存所述当前网络配置信息,还保留所述原始备份信息;所述备份信息包括原始备份信息中的网络配置信息和所述当前网络配置信息;a first module, configured to save the current network configuration information, and retain the original backup information; the backup information includes network configuration information in the original backup information and the current network configuration information;
    第二模块,设置为对所述原始备份信息中的网络配置信息进行更新,所述备份信息包括更新后的网络配置信息。The second module is configured to update network configuration information in the original backup information, where the backup information includes updated network configuration information.
  7. 如权利要求6所述的网络备份重连装置,其中,所述第二模块包括第一处理子模块或第二处理子模块;The network backup reconnection device according to claim 6, wherein the second module comprises a first processing submodule or a second processing submodule;
    所述第一处理子模块设置为,判断是否有原始备份信息,当判断结果为是,则提取所述原始备份信息中的网络配置信息,将所述当前网络配置信息与所述原始备份信息中的网络配置信息进行比对,将不一致的配置参数的值修改为所述当前网络配置信息中所述配置参数对应的值;当判断结果为否,直接将所述当前网络配置信息存储;The first processing sub-module is configured to determine whether there is original backup information, and if the determination result is yes, extract network configuration information in the original backup information, and use the current network configuration information and the original backup information. The network configuration information is compared, and the value of the inconsistent configuration parameter is modified to a value corresponding to the configuration parameter in the current network configuration information; when the determination result is no, the current network configuration information is directly stored;
    所述第二处理子模块设置为,判断是否有原始备份信息,当判断结果为是,存储所述当前网络配置信息,并将所述原始备份信息中的网络配置信息删除;当判断结果为否,直接将所述当前网络配置信息存储。The second processing sub-module is configured to determine whether there is original backup information. When the determination result is yes, the current network configuration information is stored, and the network configuration information in the original backup information is deleted; when the determination result is no The current network configuration information is directly stored.
  8. 如权利要求5-7任意一项所述的网络备份重连装置,其中,所述重连单元包括控制执行模块,设置为判断是否存在原始备份信息,当判断结果为 是,则根据所述原始备份信息中的网络配置信息重新接入网络;当判断结果为否,则提示出错信息。The network backup reconnection device according to any one of claims 5-7, wherein the reconnection unit includes a control execution module configured to determine whether the original backup information exists, and the judgment result is If yes, the network re-accesses the network according to the network configuration information in the original backup information; when the determination result is no, the error information is prompted.
  9. 一种机顶盒,包括网络连接模块、处理模块和存储模块:A set top box includes a network connection module, a processing module and a storage module:
    所述网络连接模块,设置为根据当前网络配置信息接入网络;The network connection module is configured to access the network according to current network configuration information;
    所述处理模块,设置为当接入网络成功时,对所述当前网络配置信息进行备份得到备份信息,将备份信息存储到所述存储模块中,所述备份信息作为后续接入网络的依据,包括所述当前网络配置信息;当接入网络失败时,控制所述网络连接模块根据所述存储模块中的原始备份信息接入网络,所述原始备份信息包括本次接入网络前已存储在所述处理模块中的备份信息;The processing module is configured to back up the current network configuration information to obtain backup information, and store the backup information in the storage module, where the backup information is used as a basis for subsequent access to the network. The current network configuration information is included; when the access network fails, the network connection module is controlled to access the network according to the original backup information in the storage module, where the original backup information is stored before the current access network Backup information in the processing module;
    所述存储模块,根据所述处理模块的要求存储备份信息。The storage module stores backup information according to requirements of the processing module.
  10. 如权利要求9所述的机顶盒,其中,当接入网络成功时,对所述当前网络配置信息进行备份,将备份信息存储到所述存储模块中包括:The set top box of claim 9, wherein when the access network is successful, backing up the current network configuration information, and storing the backup information in the storage module comprises:
    所述处理模块从所述网络连接模块处获取所述当前网络配置信息,将所述当前网络配置信息作为备份信息,并通知所述存储模块按照预设存储方式对所述当前网络信息进行存储;The processing module acquires the current network configuration information from the network connection module, uses the current network configuration information as backup information, and notifies the storage module to store the current network information according to a preset storage manner;
    or
    所述处理模块通知所述网络连接模块将所述当前网络配置信息作为备份信息发送给所述存储模块,并通知所述存储模块进行存储的预设存储方式。The processing module notifies the network connection module to send the current network configuration information as backup information to the storage module, and notifies the storage module to perform a preset storage mode.
  11. 如权利要求10所述的机顶盒,其中,所述预设存储方式包括:The set top box of claim 10, wherein the preset storage manner comprises:
    保存所述当前网络配置信息,还保留所述原始备份信息;或者Saving the current network configuration information, and retaining the original backup information; or
    对所述原始备份信息中的网络配置信息进行更新,保存更新后的信息。The network configuration information in the original backup information is updated, and the updated information is saved.
  12. 如权利要求9-11任意一项所述的机顶盒,其中,当接入网络失败时,控制网络连接模块根据所述存储模块中的原始备份信息接入网络包括:The set top box according to any one of claims 9 to 11, wherein, when the access network fails, the control network connection module accessing the network according to the original backup information in the storage module comprises:
    所述处理模块从所述存储模块获取原始备份信息,并将所述原始备份信息发送给网络连接模块,所述网络连接模块读取所述原始备份信息中的网络配置信息,并根据所述原始备份信息中的网络配置信息接入网络;The processing module acquires original backup information from the storage module, and sends the original backup information to a network connection module, where the network connection module reads network configuration information in the original backup information, and according to the original The network configuration information in the backup information is connected to the network;
    Or
    所述处理模块通知所述网络连接模块从所述存储模块中读取所述原始备份信息,所述网络连接模块读取所述原始备份信息,并读取所述原始备份信息中的网络配置信息,根据所述原始备份信息中的网络配置信息接入网络。The processing module notifies the network connection module to read the original backup information from the storage module, the network connection module reads the original backup information, and reads network configuration information in the original backup information And accessing the network according to the network configuration information in the original backup information.
  13. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-4任一项的网络备份重连方法。 A computer readable storage medium storing computer executable instructions for performing the network backup reconnection method of any of claims 1-4.
PCT/CN2017/085172 2016-05-25 2017-05-19 Network backup reconnection method and apparatus, and set-top box WO2017202261A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610356373.1A CN107438186A (en) 2016-05-25 2016-05-25 A kind of network backup reconnection method, device and set top box
CN201610356373.1 2016-05-25

Publications (1)

Publication Number Publication Date
WO2017202261A1 true WO2017202261A1 (en) 2017-11-30

Family

ID=60412049

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/085172 WO2017202261A1 (en) 2016-05-25 2017-05-19 Network backup reconnection method and apparatus, and set-top box

Country Status (2)

Country Link
CN (1) CN107438186A (en)
WO (1) WO2017202261A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911492A (en) * 2017-12-27 2018-04-13 浙江力石科技股份有限公司 The method and device that equipment accesses in platform of internet of things
CN108183827A (en) * 2017-12-29 2018-06-19 江苏惠通集团有限责任公司 Configuration method and startup configuration equipment based on low-power consumption bluetooth mesh network
US10863246B2 (en) 2018-11-14 2020-12-08 Eventstream, Inc. Network services platform systems, methods, and apparatus
CN110913416B (en) * 2019-11-04 2023-02-28 深圳市泰信通信息技术有限公司 Terminal, networking method thereof and computer-readable storage medium
CN112995767A (en) * 2019-12-02 2021-06-18 中兴通讯股份有限公司 Set top box upgrade control method, set top box and computer readable storage medium
CN112953750B (en) * 2019-12-11 2023-04-28 华为技术服务有限公司 Network access method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316353A (en) * 2008-06-03 2008-12-03 中国网络通信集团公司 Set-top box parameter configuration method, user recognition card and set-top box
CN101754187A (en) * 2009-12-30 2010-06-23 中兴通讯股份有限公司 Management method for connection setting and terminal thereof
WO2013122598A1 (en) * 2012-02-17 2013-08-22 Intel Corporation Wireless network connectivity enhancements
CN104796967A (en) * 2015-05-05 2015-07-22 广东欧珀移动通信有限公司 Wireless network data recovery method and device
CN105100955A (en) * 2014-05-16 2015-11-25 中兴通讯股份有限公司 Set top box switching network method and device, and set top box provided with device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100472464C (en) * 2005-12-02 2009-03-25 联想(北京)有限公司 Data back-up system and method and system load-bearing apparatus
CN100553340C (en) * 2007-07-18 2009-10-21 中国联合网络通信集团有限公司 Set-top box initialization network parameter setting method, IPTV SIM card and set-top box
CN101183312A (en) * 2007-12-12 2008-05-21 中兴通讯股份有限公司 Method for realizing version upgrade and backup of terminal by switch-in USB memory apparatus
CN101739310B (en) * 2009-12-10 2012-04-25 上海爱数软件有限公司 Method and device for cycling backup
US8341686B2 (en) * 2010-06-07 2012-12-25 Echostar Technologies L.L.C. Backup and restore of network configuration data using a remote controller device
CN103220568A (en) * 2013-04-25 2013-07-24 四川长虹电器股份有限公司 Method of shortcut initialization of network settings of smart television
CN104104547B (en) * 2014-07-24 2018-11-30 华为技术有限公司 A kind of management method and network controller of network equipments configuration file
CN105187534A (en) * 2015-09-10 2015-12-23 努比亚技术有限公司 Information backup equipment and method, and information backup system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316353A (en) * 2008-06-03 2008-12-03 中国网络通信集团公司 Set-top box parameter configuration method, user recognition card and set-top box
CN101754187A (en) * 2009-12-30 2010-06-23 中兴通讯股份有限公司 Management method for connection setting and terminal thereof
WO2013122598A1 (en) * 2012-02-17 2013-08-22 Intel Corporation Wireless network connectivity enhancements
CN105100955A (en) * 2014-05-16 2015-11-25 中兴通讯股份有限公司 Set top box switching network method and device, and set top box provided with device
CN104796967A (en) * 2015-05-05 2015-07-22 广东欧珀移动通信有限公司 Wireless network data recovery method and device

Also Published As

Publication number Publication date
CN107438186A (en) 2017-12-05

Similar Documents

Publication Publication Date Title
WO2017202261A1 (en) Network backup reconnection method and apparatus, and set-top box
US8285855B2 (en) System, method and user interface for network status reporting
US20190149872A1 (en) Information exchanging method and device, audio terminal and computer-readable storage medium
CN103546809B (en) The method for upgrading software and device of set top box
JP5601638B2 (en) Method and system used to provide network service exchange
US20170150196A1 (en) Account Login Method and Apparatus
US20070250605A1 (en) Automatic discovery and configuration of network devices
US11658870B2 (en) Method and apparatus for restoring network device to factory defaults, and network device
US20070121487A1 (en) Network element recovery process
EP3145181A1 (en) Set-top box network switching method, apparatus and set-top box having same
CN108810611A (en) The control system and method for Multimedia Fusion terminal start-up course
CN115842724A (en) Intelligent device initial configuration method, intelligent device and terminal device
CN110808996B (en) Network authentication method and device, electronic equipment and storage medium
CN110912725A (en) Configuration method and configuration device of OpenFlow virtual switch
CN108984191A (en) A kind of method, apparatus and electronic equipment of application update
US7209481B2 (en) System and method for automated network address cloning for routers
EP3297254B1 (en) Domain name system (dns) resolution processing method and device
EP2053835A1 (en) Method of setting IP address to network device
CN110377400B (en) Virtual machine recovery method, device, system and medium
Cisco Release Notes for 2.0 CCNSC SP
US20120198445A1 (en) Playing television program in virtual environment
JP2005327075A (en) Network configuration establishment method, host apparatus corresponding to network, and target apparatus corresponding to network
CN105338398A (en) Set top box management method, device and system
CN108322812A (en) A kind of multi-screen interaction method, device and terminal
JP2020144757A (en) Control apparatus, control system, connection state determination method and program

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17802107

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17802107

Country of ref document: EP

Kind code of ref document: A1