A method, device, equipment and medium for repairing IPTV terminal

By using the network management TR069 client in the IPTV terminal to communicate with the server, the repair operation is automatically performed, which solves the problem of connection loss in the recovery mode of the IPTV terminal and improves the repair efficiency and user experience.

CN118413439BActive Publication Date: 2024-08-30SICHUAN TIANYI COMHEART TELECOM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410870199.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-08-30
Estimated Expiration
2044-07-01

AI Technical Summary

Technical Problem

IPTV terminals may enter recovery mode during use, resulting in loss of network connection and stuck interface, making users unable to use it normally. Existing technology has low repair efficiency and requires manual door-to-door processing, which increases door-to-door costs.

Method used

By installing the network management TR069 client in the IPTV terminal, using the network connection to obtain the IP address, sending a notification packet to the network management server, performing repair operations according to the server's commands, including file upload, deletion and system restoration to factory settings, and automatically trying to repair the terminal.

Benefits of technology

It realizes automatic repair of IPTV terminals in recovery mode, improves repair efficiency, reduces manual intervention, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118413439B
    Figure CN118413439B
Patent Text Reader

Abstract

The present application provides a method, device, equipment and medium for repairing an IPTV terminal, which relates to the field of IPTV technology and is used to solve the problem of how to improve the repair efficiency of an IPTV terminal. The method is applied to an IPTV terminal, and the method includes: when the IPTV terminal enters recovery mode, obtaining an IP address through a first network connection method; connecting to the network according to the IP address, starting a network management TR069 client, and sending a first notification packet to a network management server through the network management TR069 client; the first notification packet is used to indicate the device information and status information of the IPTV terminal; the network management server sends a target command after determining that the IPTV terminal is in recovery mode according to the status information, and the IPTV terminal responds to the target command sent by the network management server and executes the operation corresponding to the target command, so that the IPTV terminal returns to normal without the need for maintenance personnel to come to the door, thereby improving the repair efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of IPTV technology and provides a method, device, equipment and medium for repairing an IPTV terminal. Background Art

[0002] Sometimes, major anomalies may occur during the use of Internet Protocol Television (IPTV) terminals, such as errors during operation that cause the launcher to crash continuously. At this time, the IPTV terminal will enter recovery mode and be in a busy waiting state. In this state, the IPTV terminal has no network connection, and the interface is directly stuck at the robot, which cannot be used normally, and is extremely unfriendly to users. In this case, users generally complain directly, and operators can only arrange maintenance personnel or manufacturer after-sales personnel to handle the problem on site. The cost of on-site visits is high, and the recovery efficiency of manual operations is extremely low. Summary of the invention

[0003] The present application provides a method, device, equipment and medium for repairing an IPTV terminal, which are used to solve the problem of how to improve the repair efficiency of the IPTV terminal.

[0004] In a first aspect, a method for repairing an IPTV terminal is provided, which is applied to an Internet Protocol IPTV terminal; the IPTV terminal is installed with a network management TR069 client; the method comprises:

[0005] When the IPTV terminal enters the recovery mode, obtaining an IP address through a first network connection method;

[0006] Connecting to the network according to the IP address, starting the network management TR069 client, and sending a first notification packet to the network management server through the network management TR069 client; the first notification packet is used to indicate the device information and status information of the IPTV terminal;

[0007] In response to the target command sent by the network management server, an operation corresponding to the target command is executed to restore the IPTV terminal to normal; the target command is sent by the network management server after determining that the IPTV terminal is in recovery mode according to the status information.

[0008] Optionally, when the IPTV terminal enters the recovery mode, obtaining the IP address through the first network connection mode includes:

[0009] pre-configuring a first network connection mode;

[0010] When the IPTV terminal enters the recovery mode, the IP address is obtained by default through the first network connection method.

[0011] Optionally, when the IPTV terminal enters the recovery mode, after acquiring the IP address through the first network connection mode, the method further includes:

[0012] If the IP address cannot be obtained through the first network connection method, the IP address is obtained through the second network connection method.

[0013] Optionally, in response to the target command sent by the network management server, executing an operation corresponding to the target command includes:

[0014] In response to a file upload command sent by the network management server, the locally stored target file is sent to the network management server; the target file includes a log file and a user history file;

[0015] In response to a file processing command sent by the network management server, the locally stored first file is updated or deleted; the file processing command is sent by the network management server after receiving the target file.

[0016] Optionally, the file processing command is a file update command or a file deletion command, and the updating or deleting of the locally stored first file in response to the file processing command sent by the network management server includes:

[0017] In response to the file deletion command sent by the network management server, the first file stored locally is deleted; the file deletion command is sent by the network management server after confirming that the memory space of the IPTV terminal is insufficient according to the target file;

[0018] Alternatively, in response to the file update command sent by the network management server, the locally stored first file is updated; the file update command is sent by the network management server after confirming that the first file is an erroneous file according to the target file.

[0019] Optionally, after updating or deleting the locally stored first file in response to the file processing command sent by the network management server, the method further includes:

[0020] If the IPTV terminal is still in recovery mode, sending a second notification packet to the network management server;

[0021] In response to the factory reset command sent by the network management server, the system configuration is restored to the factory initialization version, and a zero configuration request is sent to the network management server; the factory reset command is sent by the network management server after receiving the second notification packet;

[0022] The account information sent by the network management server is received, and the service of the IPTV terminal is activated according to the account information; the account information is sent by the network management server after receiving the zero configuration request.

[0023] Optionally, after receiving the account information sent by the network management server and activating the service of the IPTV terminal according to the account information, the method further includes:

[0024] In response to the upgrade instruction sent by the network management server, the system configuration is upgraded from the initialization version to a stable version.

[0025] In a second aspect, a repair device for an IPTV terminal is provided, wherein the system is arranged in the IPTV terminal; the IPTV terminal is installed with a network management TR069 client; the device comprises:

[0026] A network connection module, used for obtaining an IP address through a first network connection method when the IPTV terminal enters a recovery mode;

[0027] A notification module, used to connect to the network according to the IP address, start the network management TR069 client, and send a first notification packet to the network management server through the network management TR069 client; the first notification packet is used to indicate the device information and status information of the IPTV terminal;

[0028] The repair module is used to respond to the target command sent by the network management server and execute the repair operation corresponding to the target command; the target command is sent by the network management server after determining that the IPTV terminal is in recovery mode according to the status information.

[0029] In a third aspect, the present application provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the IPTV terminal repair method described in the first aspect.

[0030] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and a processor executes the computer program to implement the repair method of the IPTV terminal described in the first aspect.

[0031] Compared with the prior art, the beneficial effects of this application are as follows:

[0032] The present application provides a method for repairing an IPTV terminal. When the IPTV terminal enters recovery mode, an IP address is obtained through a first network connection method; the network is connected according to the IP address, a network management TR069 client is started, and a first notification packet is sent to a network management server through the network management TR069 client; the first notification packet is used to indicate the device information and status information of the IPTV terminal; the network management server sends a target command after determining that the IPTV terminal is in recovery mode according to the status information, and the IPTV terminal responds to the target command sent by the network management server and executes the operation corresponding to the target command to restore the IPTV terminal to normal. As long as the IPTV terminal enters recovery mode, the system can automatically try to connect to the network and obtain an IP address, and then communicate with the network management server. The IPTV terminal performs repair operations according to the command without waiting for maintenance personnel to come to the door, which can improve the repair efficiency, enable the IPTV terminal to resume normal use as soon as possible, and enhance the user's viewing experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0034] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;

[0035] Figure 2 A schematic diagram of the computer device structure of the hardware operating environment involved in the embodiment of the present application;

[0036] Figure 3 A schematic diagram of a flow chart of a method for repairing an IPTV terminal provided in an embodiment of the present application;

[0037] Figure 4 A network configuration flow chart provided for an embodiment of the present application;

[0038] Figure 5 A network management interaction flow chart provided for an embodiment of the present application;

[0039] Figure 6 A schematic diagram of the structure of a repair device for an IPTV terminal provided in an embodiment of the present application.

[0040] Markings in the figure: 1-IPTV terminal, 2-network management server, 101-processor, 102-communication bus, 103-user interface, 104-network interface, 105-memory. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the figures in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other arbitrarily. In addition, although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.

[0042] In order to improve the repair efficiency of IPTV terminals, the present application embodiment provides a repair method for IPTV terminals, which is applied to IPTV terminals. The following briefly introduces the application scenarios to which the technical solution of the present application embodiment can be applied. It should be noted that the application scenarios introduced below are only used to illustrate the present application embodiment and are not limited. In the specific implementation process, the technical solution provided by the present application embodiment can be flexibly applied according to actual needs.

[0043] Please refer to Figure 1 , is a schematic diagram of an application scenario provided in an embodiment of the present application, the application scenario includes an IPTV terminal 1 and a network management server 2.

[0044] The IPTV terminal 1 is a device for receiving and playing IPTV services. IPTV is a television transmission technology based on the Internet Protocol. It transmits television programs and video content to the user's device, such as a set-top box. The IPTV terminal 1 is installed with a network management TR069 client and communicates with the network management server 2 through the network management TR069 client. The network management server 2 runs network management software and can monitor, configure, control and maintain the IPTV terminal 1.

[0045] As described above, the application scenarios of the embodiments of the present application are described below. The hardware operating environment involved in the embodiments of the present application is described below. Figure 2 , which is a schematic diagram of the computer device structure of the hardware operating environment involved in the embodiment of the present application.

[0046] like Figure 2As shown, the computer device is equivalent to an IPTV terminal, including: a processor 101, such as a central processing unit (CPU), a communication bus 102, a user interface 103, a network interface 104, and a memory 105. Among them, the communication bus 102 is used to realize the connection and communication between these components. The user interface 103 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 103 may also include a standard wired interface and a wireless interface. The network interface 104 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 105 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 105 may also be a storage device independent of the aforementioned processor 101.

[0047] Those skilled in the art will understand that Figure 2 The structure shown in the figure does not constitute a limitation on the computer device, and may include more or less components than shown in the figure, or combine some components, or arrange the components differently.

[0048] like Figure 2 As shown, the memory 105 as a storage medium may include an operating system, a network communication module, a user interface module, and a repair device based on an IPTV terminal.

[0049] exist Figure 2 In the computer device shown, the network interface 104 is mainly used for data communication with the network server; the user interface 103 is mainly used for data interaction with the user; the processor 101 and the memory 105 in the computer device of the present invention can be set in the computer device, and the computer device calls the IPTV terminal-based repair device stored in the memory 105 through the processor 101, and executes the IPTV terminal-based repair method provided in the embodiment of the present application.

[0050] Based on the application scenarios and IPTV terminals of the aforementioned embodiments, Figure 3 The repair method of the IPTV terminal shown is introduced.

[0051] S301. When the IPTV terminal enters a recovery mode, an IP address is obtained through a first network connection method.

[0052] In the specific implementation process, when a major problem occurs in the IPTV terminal, it will enter the recovery mode. Recovery is a special working mode under the IPTV system. It is an independent small system. In this mode, there is no network connection and APP operation is not supported. The main function of the recovery mode is to restore the device to factory and upgrade the device. If the user does not know how to operate, he can only wait for the maintenance personnel to come to handle it. You can add a network configuration process in the recovery system to obtain the IP address through the first network connection method.

[0053] In a possible embodiment, when the IPTV terminal enters recovery mode, a menu interface is displayed; the menu interface displays multiple network connection methods; the multiple network connection methods include a first network connection method; in response to the user's selection operation on the first network connection method in the menu interface, the IP address is obtained through the first network connection method.

[0054] In the specific implementation process, when the IPTV terminal enters the Recovery mode, a menu interface will pop up, and the menu interface will list multiple network connection methods, such as "Point-to-Point Protocol over Ethernet (PPPOE)" and "IP Protocol over Ethernet (IP over Ethernet, IPOE)". The user can use a remote control or other input device to select on the menu interface. If the user selects "IPOE", the system will start the IPOE connection method and try to obtain an IP address. If the user selects "PPPOE", the system will start the PPPOE connection method and try to obtain an IP address.

[0055] In the embodiment of the present application, PPPoE allows the ISP to authenticate and authorize the user when connecting, ensuring that only authenticated users can access the network, which is more secure. PPPoE does not require PPP authentication, omits some additional overhead of the PPP protocol, and can establish connections and obtain IP addresses more quickly. Users can choose which network connection method to use to obtain an IP address first based on their needs and network environment, and can balance simplicity, security, and efficiency to obtain the best network experience.

[0056] Among them, IPOE is an IP access method based on Ethernet technology. It does not require dial-up operations, but directly connects to the ISP's network through Ethernet. IPOE connections usually use the Dynamic Host Configuration Protocol (DHCP) to automatically obtain IP addresses and other network configuration information. The specific steps to obtain an IP address through IPOE include:

[0057] Start the IPEO service, broadcast the IPEO Discover message, receive the reply (Offer) message of the DHCP server in response to the IPEO Request message, send the IPEO Request message to the DHCP server, and receive the confirmation (ACK) message of the DHCP server in response to the IPEO Reques message; the confirmation message includes the IP address allocated by the DHCP server to the IPTV terminal.

[0058] Please refer to Figure 4 , which is a network configuration flow chart provided in an embodiment of the present application. First, start the network IPEE service and broadcast a DHCP Discover message to all DHCP servers on the network to find an available DHCP server. After receiving the DHCP Discover message, the DHCP server will send an Offer message to the IPTV terminal. After successfully receiving one or more Offer messages, the IPTV terminal will select one of the DHCP servers and send a DHCPRequest request to the DHCP server. After receiving the DHCP Request message, the DHCP server will send an ACK message, confirming that the message includes the IP address assigned to the IPTV terminal and other configuration information. After the IPTV terminal receives the ACK, the network configuration is completed and the Recovery network management service is started.

[0059] In addition, PPPOE is a point-to-point protocol that runs on Ethernet. It is usually used to establish and manage Internet connections in dial-up access networks. PPPOE requires users to authenticate and establish connections through a dial-up client, usually requiring a username and password. The specific steps for obtaining an IP address through PPPOE include:

[0060] After the IPTV terminal starts the PPPOE service, it searches for the PPPoE server by sending a PPPoE discovery frame on the Ethernet. When the PPPoE server receives the discovery frame, it replies with a discovery response frame. After receiving the discovery response frame, the IPTV terminal sends a session establishment request (PADI) frame to the PPPoE server, which contains the client identifier and possible service name. After receiving the PADI, the PPPoE server assigns a unique session ID to the client and sends a session establishment response (PADO) frame, which contains the assigned session ID and possible service name. After receiving the PADO, the IPTV terminal selects a PPPoE server and sends it a session establishment request (PADR) frame, which contains the MAC address and session ID of the selected PPPoE server. After receiving the PADR, the PPPoE server sends a session confirmation (PADS) frame. After the IPTV terminal receives the PADS, the session is successfully established. The PADS frame contains the IP address assigned by the PPP server to the IPTV terminal.

[0061] In another possible embodiment, the IPTV terminal may be pre-configured with the first network connection mode, and when the IPTV terminal enters the recovery mode, the IP address is obtained by default through the first network connection mode.

[0062] In the embodiment of the present application, the IPTV terminal automatically obtains the IP address through the first network connection method without manual intervention by the user, which can save user operation time and improve the efficiency of network connection.

[0063] In a possible embodiment, when the IPTV terminal enters the recovery mode, after acquiring the IP address through the first network connection mode; if acquiring the IP address through the first network connection mode fails, acquiring the IP address through the second network connection mode.

[0064] In the embodiment of the present application, considering that the first network connection method may fail to obtain an IP address due to network failure, account authentication failure, Internet service provider restrictions, etc., the system can immediately switch to the second network connection method, obtain an IP address through the second network connection method, and ensure that the IPTV terminal can be successfully connected to the network. For example: the first network connection method is IPOO, the second network connection method is PPPOE, or the first network connection method is PPPOE, and the second network connection method is IPOO.

[0065] S302, connecting to the network according to the IP address, starting the network management TR069 client, and sending a first notification packet to the network management server through the network management TR069 client.

[0066] In the specific implementation process, after the IPTV terminal obtains the IP address, it connects to the network according to the IP address, and starts the network management TR069 client after the network connection is successful. The TR069 client refers to the software or module running on the IPTV terminal that supports the TR069 protocol, which is used to communicate and interact with the remote network management server. After the network management TR069 client establishes a connection with the network management server, a first notification packet is sent to the network management server.

[0067] The first notification packet is used to indicate the device information and status information of the IPTV terminal. The device information may include the device manufacturer, MAC address, set-top box ID (STBID), and the back-connection address of the network management server to the IPTV terminal. The STBID is a sequence of numbers or letters used to uniquely identify each set-top box. The status information is used to indicate whether the IPTV terminal is in recovery mode. If the status information is "1 BOOT", it indicates that the IPTV terminal is in a normal state. If the status information is "BOOTRECOVERY", it indicates that the IPTV terminal is in an abnormal state, that is, recovery mode.

[0068] S303: In response to the target command sent by the network management server, execute an operation corresponding to the target command to restore the IPTV terminal to normal.

[0069] In the specific implementation process, the target command is sent by the network management server after determining that the IPTV terminal is in recovery mode according to the status information. After receiving the first notification packet, the network management server parses and obtains the status information. If the status information is "BOOTRECOVERY", it means that the IPTV terminal is in recovery mode, and then sends the target command to the IPTV terminal according to the back-connection address in the device information.

[0070] In a possible embodiment, in response to the target command sent by the network management server, the step of executing the operation corresponding to the target command includes:

[0071] In response to a file upload command sent by the network management server, the locally stored target file is sent to the network management server; in response to a file processing command sent by the network management server, the locally stored first file is updated or deleted; the file processing command is sent by the IPTV terminal after receiving the target file.

[0072] In the specific implementation process, after the network management server determines that the IPTV terminal is in recovery mode, it sends a file upload command to the IPTV terminal. The file upload command is used to instruct the IPTV terminal to upload the target file, which includes the log file and the user history file. The network management server can extend the file type in the Upload function, for example: "3Reovery Log File" and "4 Rom Data File", "3 Reovery Log File" is used to upload the LOG file, and "4 Rom Data File" is used to upload the user history file. The user history files are mainly concentrated in / data, and the IPTV terminal packages the files in this directory and uploads them to the network management server.

[0073] After receiving the target file, the network management server can automatically report the target file to the management personnel or the equipment manufacturer personnel by email so that they can intervene and handle it in the first time. The target file can also be analyzed, and according to the analysis result, a file processing command is sent to the IPTV terminal. After receiving the file processing command, the IPTV terminal updates or deletes the first file stored locally.

[0074] Among them, the target files include log files and user history files, which are introduced below.

[0075] Log files are usually automatically generated by the operating system, application or network service of the IPTV terminal to record events that occur when the IPTV terminal is running. Log files include the following:

[0076] 1. Timestamp: The specific time when the event occurred.

[0077] 2. Log level, which indicates the severity of the event, such as debug (DEBUG), information (INFO), warning (WARN), error (ERROR), etc.

[0078] 3. Event type: used to describe the nature of the event, such as user login, service startup, error report, etc.

[0079] 4. Log message: The core part of the log, containing descriptive text about the event.

[0080] 4. User ID: The user name or ID of the user who performs the operation.

[0081] 5. Source information: records the source of the log message, which may include the program, module, function, or line number of the code that generated the log.

[0082] 6. System status: Record the system status when the event occurs, such as memory usage, CPU load, etc.

[0083] User history files refer to the historical records left by users when operating IPTV terminals, including the following:

[0084] 1. Viewing history: records detailed information about TV shows, movies, and other video content that users have watched, including title, viewing time, viewing duration, etc.

[0085] 2. Search history: Search queries performed by users on IPTV terminals, including search terms, search time, and search results.

[0086] 3. Playlist: Playlists created or modified by users, and the media content contained in them.

[0087] 4. Collection and rating: users’ collection, rating or comment on content.

[0088] 5. Channel browsing: A list of channels that the user browses or subscribes to.

[0089] 6. Application usage: the specific time and content of the application used and installed by the user on the IPTV terminal.

[0090] In a possible embodiment, the file processing command is a file update command or a file deletion command, and in response to the file processing command sent by the network management server, the step of updating or deleting the first file stored locally includes:

[0091] In response to a file deletion command sent by the network management server, the first locally stored file is deleted; the file deletion command is sent by the network management server after confirming that the memory space of the IPTV terminal is insufficient according to the target file; or, in response to a file update command sent by the network management server, the first locally stored file is updated; the file update command is sent by the network management server after confirming that the first file is an error file according to the target file.

[0092] In the specific implementation process, if the network management server confirms that the memory space of the IPTV terminal is insufficient according to the target file, the latest installed application file is determined as the first file according to the installation time, or the application file with the latest written data is determined as the first file according to the application usage time, and a file deletion command is sent to the IPTV terminal. The file deletion command is used to instruct to delete the first file. The network management server can call the parameter setting interface (SetParameterValues), specify Device.STBService.DeleteFile as the target parameter model node, write a value (file path name) in the model node, and send a file deletion instruction to the IPTV terminal. After the IPTV terminal receives the file deletion command, it performs a deletion operation on the first file according to the provided file path name.

[0093] If the network management server confirms that the first file is an error file according to the target file, it sends a file update command to the IPTV terminal, and the file update command is used to instruct to update the first file. The network management server can add a new download file type based on the system's download function, such as "5 Recovery Update File", and update the CommandKey function based on Download, and specify the local storage path of the downloaded file through the CommandKey parameter. After the IPTV terminal receives the file update command, it calls the updated download function to download the second file to the local path, and replaces the locally stored first file with the downloaded second file.

[0094] In the embodiment of the present application, considering that a user installs a large number of applications, or an application writes a large amount of data, resulting in insufficient memory space, thus causing system abnormalities, a new file deletion function is added to delete redundant files to ensure sufficient memory space, so that the system of the IPTV terminal returns to normal. Considering that some erroneous files may cause system abnormalities, a new file update and replacement function is added to update erroneous files, so that the system of the IPTV terminal returns to normal.

[0095] In a possible embodiment, after updating or deleting the first file stored locally in response to a file update command sent by the network management server, if the IPTV terminal is still in recovery mode, a second notification packet is sent to the network management server; in response to a factory restore command sent by the network management server, the system configuration is restored to the initialization version, and a zero configuration request is sent to the network management server; the factory restore command is sent by the network management server after receiving the second notification packet; the account information sent by the network management server is received, and the service of the IPTV terminal is activated according to the account information; the account information is sent by the network management server after receiving the zero configuration request.

[0096] In the specific implementation process, the IPTV terminal sends a second notification packet to the network management server, and the second notification packet is used to instruct the IPTV terminal to remain in recovery mode after updating or deleting the file. After receiving the second notification packet, the network management server sends a factory restore command to the IPTV terminal, and the factory restore command is used to instruct the IPTV terminal to restore the factory settings. After receiving the factory restore command, the IPTV terminal clears all previous user configurations, including user accounts and passwords, restores the system configuration to the factory initialization version, and sends a zero configuration request to the network management server. After receiving the zero configuration request, the network management server re-issues the account information, and the account information includes the user account and password. After receiving the account information, the IPTV terminal completes the account verification and service activation according to the account information.

[0097] In the embodiment of the present application, after the IPTV terminal cannot be restored to normal by file deletion or file update, the factory reset operation is performed to try to repair the problem of the IPTV terminal by deleting or updating the file. If the problem is solved, the factory reset operation can be avoided, thereby retaining the user's data and settings, and selectively operating on specific files instead of restoring the entire system to factory settings at one time, which can reduce the impact on user data and settings and improve the accuracy of the operation. After the IPTV terminal is successfully restored to factory settings and goes online in normal mode, the service account and password are triggered to be re-issued, so that the service has a certain probability of returning to normal.

[0098] In a possible embodiment, after receiving the account information sent by the network management server and activating the service of the IPTV terminal according to the account information, it is also possible to: respond to an upgrade instruction sent by the network management server and upgrade the system configuration from the initialization version to the stable version.

[0099] In the specific implementation process, after the IPTV terminal is restored to factory settings, the network management server can also send an upgrade instruction to the IPTV terminal, and the upgrade instruction is used to instruct the IPTV terminal to upgrade to a stable version. After receiving the upgrade instruction, the IPTV terminal downloads the upgrade package of the stable version from the network management server, and upgrades the system configuration from the initialization version to the stable version according to the upgrade package of the stable version. A stable version refers to a system version that has been fully tested and verified, has fewer known problems, stable functions and good performance. In the software development cycle, a stable version is a version released after multiple rounds of testing, bug fixes and performance optimization.

[0100] In the embodiment of the present application, the IPTV terminal is upgraded to a stable version, which is generally considered to be a version suitable for wide deployment and use, and can provide high reliability and stability to meet the normal needs of users, thereby avoiding user complaints and buying time for R&D personnel to solve problems. At the same time, the network management server temporarily closes the upgrade function from the stable version to other versions to avoid the network management server triggering the upgrade again after the IPTV terminal goes online with a stable version.

[0101] Please refer to Figure 5, which is a network management interaction flow chart provided in an embodiment of the present application. After waiting for the network connection to be successful, the network management TR069 client is started and the return port is listened to. The purpose is to actively connect to the network management server after waiting for the network connection. Then the first notification packet (Inform) is generated, the purpose is to report the device information of the IPTV terminal, such as: device MAC address, STBID, return address of the network management server connected to the IPTV terminal, etc. If the IPTV terminal does not receive the target command from the network management server within a preset time after sending the first notification packet to the network management server, it can also actively send an empty POST request, the purpose is to request the network management server to issue the target command. After receiving the status code 204, the process ends. 204 indicates that the network management server successfully processed the request sent by the client, but did not return any content in the response message.

[0102] In summary, the embodiment of the present application provides a method for repairing an IPTV terminal. After a major abnormality occurs in the IPTV terminal, it enters recovery mode. In this state, the IP address is obtained through various network connection methods, and the network management service is started. Upload, delete, and update files through the network management server, or perform factory restore operations and over-the-air (OTA) upgrade operations to restore the IPTV terminal to normal use, which improves the repair efficiency compared to manual repair. In addition, the IPTV terminal is first repaired by file deletion and file update, and the repair is attempted on the basis of retaining the user's data and settings as much as possible. If the IPTV terminal is still in recovery mode, the factory restore operation and OTA upgrade operation are performed to ensure that the IPTV terminal returns to normal.

[0103] Based on the same inventive concept, Figure 6 As shown, the embodiment of the present application also provides a repair device for an IPTV terminal, which is arranged in the IPTV terminal; the IPTV terminal is installed with a network management TR069 client; the device includes:

[0104] A network connection module, used for obtaining an IP address through a first network connection method when the IPTV terminal enters a recovery mode;

[0105] The notification module is used to connect to the network according to the IP address, start the network management TR069 client, and send a first notification packet to the network management server through the network management TR069 client; the first notification packet is used to indicate the device information and status information of the IPTV terminal;

[0106] The repair module is used to respond to the target command sent by the network management server and execute the repair operation corresponding to the target command; the target command is sent by the network management server after determining that the IPTV terminal is in recovery mode according to the status information.

[0107] Optionally, the network connection module is specifically used for:

[0108] pre-configuring a first network connection mode;

[0109] When the IPTV terminal enters the recovery mode, the IP address is obtained by default through the first network connection mode.

[0110] Optionally, the network connection module is further used to: when the IPTV terminal enters the recovery mode, after obtaining the IP address through the first network connection method, if obtaining the IP address through the first network connection method fails, obtain the IP address through the second network connection method.

[0111] Optionally, the repair module is specifically used to:

[0112] In response to a file upload command sent by the network management server, the locally stored target file is sent to the network management server; the target file includes a log file and a user history file;

[0113] In response to the file processing command sent by the network management server, the first file stored locally is updated or deleted; the file processing command is sent by the network management server after receiving the target file.

[0114] Optionally, the file processing command is a file update command or a file deletion command, and the repair module is specifically used for:

[0115] In response to a file deletion command sent by the network management server, the first file stored locally is deleted; the file deletion command is sent by the network management server after confirming that the memory space of the IPTV terminal is insufficient according to the target file;

[0116] Alternatively, in response to a file update command sent by the network management server, the locally stored first file is updated; the file update command is sent by the network management server after confirming that the first file is an erroneous file according to the target file.

[0117] Optionally, the repair module is further used to: after updating or deleting the first file stored locally in response to the file processing command sent by the network management server, if the IPTV terminal is still in the recovery mode, send a second notification packet to the network management server;

[0118] In response to the factory restore command sent by the network management server, the system configuration is restored to the factory initialization version, and a zero configuration request is sent to the network management server; the factory restore command is sent by the network management server after receiving the second notification packet;

[0119] The account information sent by the network management server is received, and the service of the IPTV terminal is activated according to the account information; the account information is sent by the network management server after receiving the zero configuration request.

[0120] Optionally, the repair module is further used to: after receiving the account information sent by the network management server and activating the service of the IPTV terminal according to the account information, respond to the upgrade instruction sent by the network management server to upgrade the system configuration from the initialization version to the stable version.

[0121] It should be noted that each module in the repair device of the IPTV terminal in this embodiment corresponds one-to-one to each step in the repair method of the IPTV terminal in the aforementioned embodiment. Therefore, the specific implementation of this embodiment can refer to the implementation of the repair method of the aforementioned IPTV terminal, which will not be repeated here.

[0122] In addition, in one embodiment, the present application further provides a computer device, which includes a processor, a memory, and a computer program stored in the memory, and the computer program implements the aforementioned IPTV terminal repair method when executed by the processor.

[0123] In addition, in one embodiment, the present application further provides a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the aforementioned method for repairing an IPTV terminal is implemented.

[0124] In some embodiments, the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.

[0125] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0126] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0127] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0128] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0129] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0130] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a multimedia terminal device (which can be a mobile phone, a computer, a television receiver, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0131] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the description and drawings of the present application, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for repairing an IPTV terminal, characterized in that: Applied to an Internet Protocol IPTV terminal; the IPTV terminal is installed with a network management TR069 client; the method comprises: When the IPTV terminal enters the recovery mode, obtaining an IP address through a first network connection method; Connecting to the network according to the IP address, starting the network management TR069 client, and sending a first notification packet to the network management server through the network management TR069 client; the first notification packet is used to indicate the device information and status information of the IPTV terminal; In response to the target command sent by the network management server, executing the operation corresponding to the target command to restore the IPTV terminal to normal; the target command is sent by the network management server after determining that the IPTV terminal is in recovery mode according to the status information; The step of responding to the target command sent by the network management server and executing the operation corresponding to the target command includes: In response to a file upload command sent by the network management server, the locally stored target file is sent to the network management server; the target file includes a log file and a user history file; In response to a file processing command sent by the network management server, the locally stored first file is updated or deleted; the file processing command is sent by the network management server after receiving the target file.

2. The repair method of the IPTV terminal according to claim 1, characterized in that: When the IPTV terminal enters the recovery mode, obtaining the IP address through the first network connection method includes: pre-configuring a first network connection mode; When the IPTV terminal enters the recovery mode, the IP address is obtained by default through the first network connection method.

3. The repair method of the IPTV terminal according to claim 1, characterized in that: When the IPTV terminal enters the recovery mode, after acquiring the IP address through the first network connection mode, the method further includes: If the IP address cannot be obtained through the first network connection method, the IP address is obtained through the second network connection method.

4. The repair method of the IPTV terminal according to claim 1, characterized in that: The file processing command is a file update command or a file deletion command, and the updating or deleting of the locally stored first file in response to the file processing command sent by the network management server includes: In response to the file deletion command sent by the network management server, the first file stored locally is deleted; the file deletion command is sent by the network management server after confirming that the memory space of the IPTV terminal is insufficient according to the target file; Alternatively, in response to the file update command sent by the network management server, the locally stored first file is updated; the file update command is sent by the network management server after confirming that the first file is an erroneous file according to the target file.

5. The method for repairing an IPTV terminal according to claim 1, wherein: After updating or deleting the locally stored first file in response to the file processing command sent by the network management server, the method further includes: If the IPTV terminal is still in recovery mode, sending a second notification packet to the network management server; In response to the factory reset command sent by the network management server, the system configuration is restored to the factory initialization version, and a zero configuration request is sent to the network management server; the factory reset command is sent by the network management server after receiving the second notification packet; The account information sent by the network management server is received, and the service of the IPTV terminal is activated according to the account information; the account information is sent by the network management server after receiving the zero configuration request.

6. The method for repairing an IPTV terminal according to claim 5, characterized in that: After receiving the account information sent by the network management server and activating the service of the IPTV terminal according to the account information, the method further includes: In response to the upgrade instruction sent by the network management server, the system configuration is upgraded from the initialization version to a stable version.

7. A repair device for an IPTV terminal, characterized in that: The device is arranged in an Internet Protocol IPTV terminal; the IPTV terminal is equipped with a network management TR069 client; the device comprises: A network connection module, used for obtaining an IP address through a first network connection method when the IPTV terminal enters a recovery mode; A notification module, used to connect to the network according to the IP address, start the network management TR069 client, and send a first notification packet to the network management server through the network management TR069 client; the first notification packet is used to indicate the device information and status information of the IPTV terminal; A repair module is used to respond to a target command sent by the network management server and execute a repair operation corresponding to the target command; the target command is sent by the network management server after determining that the IPTV terminal is in recovery mode based on the status information; the operation corresponding to the target command is executed in response to the target command sent by the network management server, including: responding to a file upload command sent by the network management server, sending a locally stored target file to the network management server; the target file includes a log file and a user history file; responding to a file processing command sent by the network management server, updating or deleting the locally stored first file; the file processing command is sent by the network management server after receiving the target file.

8. A computer device, characterized in that: The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the repair method for the IPTV terminal according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the processor executes the computer program to implement the repair method for the IPTV terminal according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Design and implementation of home gateway fault automatic diagnosis and recovery system

    CN113608928A

  • Realizing method and system for automatic restoring equipment fault

    CN1859162A