IPTV converged gateway upgrade method, set-top box, converged gateway and medium
By synchronizing the upgrade of the set-top box and optical modem within the IPTV converged gateway using a second operating system, the method addresses the issue of low resource utilization and user inconvenience, achieving efficient and user-friendly upgrades.
Patent Information
- Application Number
- CN202411396825.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2044-10-09
AI Technical Summary
The existing IPTV converged gateway upgrade process often results in the set-top box and optical modem being out of sync, leading to multiple upgrades that are inconvenient for users and result in low resource utilization.
A method that switches the operating system to a second operating system to synchronize the upgrade of the set-top box and optical modem, allowing them to be upgraded simultaneously, with overlapping processes in time, and displaying upgrade progress to the user.
This approach reduces the overall upgrade time and enhances user satisfaction by completing the upgrade process at one time, improving user willingness to upgrade and optimizing resource utilization.
Smart Images

Figure CN118900339B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of gateway upgrade, and in particular to an IPTV converged gateway upgrade method, a set-top box, a converged gateway and a medium. Background Art
[0002] The IPTV converged gateway is a device that integrates the optical modem and the set-top box in the same housing and can simultaneously realize the functions of fiber-optic Internet access and watching TV. Usually, the converged gateway contains two systems, one is the set-top box system, and the other is the optical modem system. When the converged gateway is upgraded, the set-top box and the optical modem are usually upgraded separately. Generally, the set-top box is upgraded through the USB interface or after downloading the upgrade package through the network, and the optical modem is upgraded after downloading the upgrade package through the optical modem upgrade address. That is, in general, the optical modem upgrade and the set-top box upgrade are two independent individuals, each responsible for its own upgrade function. Such a configuration can easily lead to the upgrade of the set-top box and the optical modem being out of sync. For users, there is a situation where the set-top box device cannot be used when the optical modem is upgraded, and the set-top box cannot be used when the set-top box is upgraded, which gives users the illusion of multiple upgrades, and then causes users to be unwilling to upgrade. Correspondingly, there will be a problem of low resource utilization for gateway upgrades. Summary of the invention
[0003] In view of this, the purpose of the present application is to provide an IPTV converged gateway upgrade method, a set-top box, a converged gateway and a medium to improve the problem of low resource utilization of gateway upgrades in the prior art.
[0004] To achieve the above objectives, this application adopts the following technical solutions:
[0005] An IPTV converged gateway upgrade method is applied to a set-top box included in the converged gateway, the converged gateway also includes an optical modem, the set-top box includes a first operating system and a second operating system, the first operating system is greater than the second operating system, the second operating system is used to upgrade the set-top box and the optical modem, and the first operating system is used to process services other than the upgrade process. The IPTV converged gateway upgrade method includes:
[0006] In response to the received upgrade operation, switch the running operating system from the first operating system to the second operating system, and control the corresponding display device to display a configured first display content, wherein the first display content includes information indicating that the upgrade process is currently in progress;
[0007] Parsing the acquired fusion gateway upgrade data through the second operating system to obtain set-top box upgrade data and optical modem upgrade data, wherein the set-top box upgrade data is used to upgrade the set-top box, and the optical modem upgrade data is used to upgrade the optical modem;
[0008] Using the second operating system, based on the set-top box upgrade data and the optical modem upgrade data, the firmware data of the set-top box and the firmware data of the optical modem are upgraded respectively, wherein the upgrade process of the firmware data of the set-top box and the upgrade process of the firmware data of the optical modem at least partially overlap in the time dimension;
[0009] Through the second operating system, in response to the completion of the upgrade of the firmware data of the set-top box and the completion of the upgrade of the firmware data of the optical modem, the corresponding display device is controlled to display the second display content of the configuration, wherein the second display content includes information indicating that the upgrade has been completed.
[0010] In a preferred embodiment of the present application, in the above-mentioned IPTV converged gateway upgrade method, the step of upgrading the firmware data of the set-top box and the firmware data of the optical modem respectively through the second operating system based on the set-top box upgrade data and the optical modem upgrade data includes:
[0011] Updating the firmware data of the set-top box based on the set-top box upgrade data by the second operating system;
[0012] Interacting with the optical modem through the second operating system to determine whether the firmware data of the optical modem needs to be upgraded;
[0013] Through the second operating system, in response to the determination result that the optical modem's firmware data needs to be upgraded, the optical modem upgrade data is sent to the optical modem, so that the optical modem upgrades the corresponding firmware data based on the optical modem upgrade data.
[0014] In a preferred embodiment of the present application, in the above-mentioned IPTV converged gateway upgrade method, the step of interacting with the optical modem through the second operating system to determine whether the firmware data of the optical modem needs to be upgraded includes:
[0015] Determine, by means of the second operating system, a first data interaction port and a second data interaction port bound to the second operating system, wherein the first data interaction port belongs to the data interaction port of the set-top box, the second data interaction port belongs to the data interaction port of the optical modem, and the optical modem is configured to monitor the second data interaction port;
[0016] The firmware version information of the optical modem upgrade data is sent from the first data interaction port to the second data interaction port through the second operating system, wherein the optical modem is configured to determine whether an upgrade is required based on the firmware version information and the version information of the current firmware data after the second data interaction port monitors the firmware version information, and when it is determined that an upgrade is required, send corresponding upgrade feedback information to the second operating system;
[0017] Through the second operating system, in response to the upgrade feedback information, it is determined that the firmware data of the optical modem needs to be upgraded.
[0018] In a preferred embodiment of the present application, in the above-mentioned IPTV converged gateway upgrade method, the step of sending the optical modem upgrade data to the optical modem in response to a determination result that the firmware data of the optical modem needs to be upgraded through the second operating system, so that the optical modem upgrades the corresponding firmware data based on the optical modem upgrade data, includes:
[0019] Through the second operating system, in response to a determination that the firmware data of the optical modem needs to be upgraded, the optical modem upgrade data is sent from the first data interaction port of the set-top box to the second data interaction port of the optical modem, wherein the optical modem is configured to write the optical modem upgrade data into a predetermined optical modem upgrade file after the second data interaction port monitors the optical modem upgrade data, and to verify the optical modem upgrade data after all the optical modem upgrade data are written into the optical modem upgrade file, and after the verification passes, to perform a firmware data upgrade based on the optical modem upgrade file.
[0020] In a preferred embodiment of the present application, in the above-mentioned IPTV converged gateway upgrade method, the step of sending the optical modem upgrade data from the first data interaction port of the set-top box to the second data interaction port of the optical modem in response to a determination result that the firmware data of the optical modem needs to be upgraded by the second operating system includes:
[0021] By the second operating system, in response to a determination result that the firmware data of the optical modem needs to be upgraded, based on the created target socket and network connection, the optical modem upgrade data is sent from the first data interaction port of the set-top box to the second data interaction port of the optical modem;
[0022] Through the second operating system, in response to the event that all the optical modem upgrade data are sent to the set-top box, the target socket and the network connection are closed, wherein the optical modem is configured to verify the optical modem upgrade data after determining that the network connection is closed.
[0023] In a preferred embodiment of the present application, in the above-mentioned IPTV converged gateway upgrade method, the step of switching the running operating system from the first operating system to the second operating system in response to the received upgrade operation, and controlling the corresponding display device to display the configured first display content includes:
[0024] In response to the received upgrade operation, acquiring the converged gateway upgrade data from the target device, wherein the converged gateway upgrade data includes the set-top box upgrade data and the optical modem upgrade data;
[0025] Comparing and analyzing the version information corresponding to the fusion gateway upgrade data and the version information of the current firmware data of the fusion gateway to determine a first difference between the two version information;
[0026] If the first difference between the two versions of information is greater than a preset difference, switching the running operating system from the first operating system to the second operating system, and controlling the corresponding display device to display the configured first display content;
[0027] If the first difference between the two version information is not greater than the preset difference, comparing and analyzing the set-top box upgrade data in the converged gateway upgrade data with the current firmware data of the set-top box, determining a second difference between the set-top box upgrade data and the current firmware data of the set-top box, and determining whether it is necessary to switch the running operating system from the first operating system to the second operating system based on the second difference;
[0028] If it is determined that the running operating system needs to be switched from the first operating system to the second operating system, the running operating system is switched from the first operating system to the second operating system, and the corresponding display device is controlled to display the configured first display content.
[0029] In a preferred embodiment of the present application, in the above-mentioned IPTV converged gateway upgrade method, if the first difference between the two version information is not greater than the preset difference, the set-top box upgrade data in the converged gateway upgrade data is compared and analyzed with the current firmware data of the set-top box, a second difference between the set-top box upgrade data and the current firmware data of the set-top box is determined, and based on the second difference, a step of determining whether it is necessary to switch the running operating system from the first operating system to the second operating system includes:
[0030] If the first difference between the two version information is not greater than the preset difference, comparing and analyzing the set-top box upgrade data in the converged gateway upgrade data with the current firmware data of the set-top box to determine function difference description data of the set-top box formed based on the difference between the set-top box upgrade data and the current firmware data of the set-top box, wherein the function difference description data is used to reflect the second difference between the set-top box upgrade data and the current firmware data of the set-top box;
[0031] Acquire operation log data of the set-top box, and extract corresponding user behavior data from the operation log data, wherein the user behavior data is used to reflect the operation behavior of the corresponding target user on the set-top box;
[0032] Based on the user behavior data, performing user function requirement analysis on the target user, and outputting user function requirement data corresponding to the target user;
[0033] Based on the function difference description data and the user function requirement data, it is determined whether it is necessary to switch the running operating system from the first operating system to the second operating system.
[0034] On the basis of the above, the present application further provides a set-top box, which is applied to a converged gateway, the converged gateway further includes an optical modem, and the set-top box includes:
[0035] Memory for storing computer programs;
[0036] The processor connected to the memory is used to execute the computer program stored in the memory to implement the above-mentioned IPTV converged gateway upgrade method to perform firmware upgrade processing on the set-top box and the optical modem.
[0037] On the basis of the above, the present application also provides a fusion gateway, including a set-top box and an optical modem, wherein the set-top box includes:
[0038] Memory for storing computer programs;
[0039] The processor connected to the memory is used to execute the computer program stored in the memory to implement the above-mentioned IPTV converged gateway upgrade method to perform firmware upgrade processing on the set-top box and the optical modem.
[0040] On the basis of the above, the present application also provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is run, each step of the above-mentioned IPTV converged gateway upgrade method is executed.
[0041] The IPTV fusion gateway upgrade method, set-top box, fusion gateway and medium provided in the present application relate to the field of gateway upgrade technology. In the present application, first, the running operating system is switched from the first operating system to the second operating system, and the display device is controlled to display the configured first display content; secondly, the fusion gateway upgrade data is parsed through the second operating system to obtain the set-top box upgrade data and the optical modem upgrade data; then, through the second operating system, based on the set-top box upgrade data and the optical modem upgrade data, the firmware data of the set-top box and the firmware data of the optical modem are upgraded respectively; finally, through the second operating system, in response to the completion of the upgrade of the firmware data of the set-top box and the completion of the upgrade of the firmware data of the optical modem, the display device is controlled to display the configured second display content. Based on the above content, since the set-top box and optical modem in the integrated gateway can be upgraded synchronously, the upgrade is completed at one time for the user, and the upgrade process of the firmware data of the set-top box and the upgrade process of the firmware data of the optical modem overlap at least partially in the time dimension, so that the overall upgrade time is less than the sum of the time for each upgrade, and the upgrade stage (such as during the upgrade or after the upgrade) can also be displayed through a display device, so that the user can grasp the upgrade process. Based on this, through the combination of the above three dimensions, the user can have a higher stickiness to the upgrade of the integrated gateway, and the user's willingness to upgrade the integrated gateway can be improved. Therefore, the problem of low resource utilization of gateway upgrades in the prior art can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings.
[0043] Figure 1 This is a structural block diagram of a set-top box provided in an embodiment of the present application.
[0044] Figure 2 A flowchart of an IPTV converged gateway upgrade method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0046] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0047] The embodiment of the present application provides a fusion gateway, which belongs to the IPTV fusion gateway, and is a device that integrates an optical modem and a set-top box in the same housing and can simultaneously realize the functions of optical fiber Internet access and watching TV. That is, the fusion gateway can include a set-top box and an optical modem, and the set-top box and the optical modem can be connected in communication to perform data exchange.
[0048] like Figure 1 As shown, the embodiment of the present application further provides a set-top box, which can be applied to the above-mentioned converged gateway. The set-top box may include a memory and a processor.
[0049] In detail, the memory and the processor are directly or indirectly electrically connected to realize data interaction. For example, the memory and the processor can be electrically connected through one or more communication buses or signal lines. The processor is used to execute the executable computer program stored in the memory to implement the IPTV converged gateway upgrade method provided in the embodiment of the present application.
[0050] Optionally, the memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc.
[0051] Furthermore, the processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), a system on chip (SoC), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0052] Understandably, Figure 1 The structure shown is for illustration only, and the set-top box may also include Figure 1 More or fewer components as shown, or with Figure 1 The different configurations shown, for example, may also include a communication unit for exchanging information with other devices (such as an optical modem).
[0053] It can be understood that the set-top box may include a first operating system and a second operating system, the first operating system is larger than the second operating system, the second operating system is used to upgrade the set-top box and the optical modem (such as a Recovery system), and the first operating system is used to process services other than the upgrade process (such as an Android system or a Linux system).
[0054] Combination Figure 2 The present application also provides an IPTV converged gateway upgrade method applicable to the above-mentioned set-top box. The method steps defined in the process related to the IPTV converged gateway upgrade method can be implemented by the set-top box. Figure 2 The process shown is described in detail.
[0055] Step S110: In response to the received upgrade operation, the running operating system is switched from the first operating system to the second operating system, and the corresponding display device is controlled to display the configured first display content.
[0056] In an embodiment of the present application, the set-top box can switch the running operating system from the first operating system to the second operating system in response to the received upgrade operation (such as the user performing the corresponding upgrade operation), and control the corresponding display device to display the configured first display content. The first display content includes information indicating that the upgrade process is currently in progress.
[0057] Step S120: parsing the acquired integrated gateway upgrade data through the second operating system to obtain set-top box upgrade data and optical modem upgrade data.
[0058] In an embodiment of the present application, the set-top box can parse the acquired fusion gateway upgrade data through the second operating system to obtain the set-top box upgrade data and the optical modem upgrade data. The set-top box upgrade data is used to upgrade the set-top box, and the optical modem upgrade data is used to upgrade the optical modem. In other words, the set-top box upgrade data and the optical modem upgrade data can be published through a data packet (fusion gateway upgrade data), so that after the data packet is acquired, the set-top box upgrade data and the optical modem upgrade data can be obtained by parsing the data packet.
[0059] Step S130, through the second operating system, based on the set-top box upgrade data and the optical modem upgrade data, the firmware data of the set-top box and the firmware data of the optical modem are upgraded respectively.
[0060] In an embodiment of the present application, the set-top box can upgrade the firmware data of the set-top box and the firmware data of the optical modem through the second operating system based on the set-top box upgrade data and the optical modem upgrade data. The upgrade process of the firmware data of the set-top box and the upgrade process of the firmware data of the optical modem overlap at least partially in the time dimension. For example, the firmware upgrade of the set-top box takes 4 minutes, and the firmware upgrade of the optical modem takes 3 minutes. Due to at least partial overlap, the overall upgrade time is greater than or equal to 4 minutes (such as starting the upgrade at the same time) and less than 7 minutes (such as the start time of the upgrade is different).
[0061] Step S140, through the second operating system, in response to the completion of the upgrade of the firmware data of the set-top box and the completion of the upgrade of the firmware data of the optical modem, controlling the corresponding display device to display the second display content of the configuration.
[0062] In an embodiment of the present application, the set-top box can control the corresponding display device to display the second display content of the configuration through the second operating system in response to the completion of the upgrade of the firmware data of the set-top box and the completion of the upgrade of the firmware data of the optical modem. The second display content includes information indicating that the upgrade has been completed.
[0063] Based on the above content, since the set-top box and optical modem in the integrated gateway can be upgraded synchronously, the upgrade is completed at one time for the user, and the upgrade process of the firmware data of the set-top box and the upgrade process of the firmware data of the optical modem overlap at least partially in the time dimension, so that the overall upgrade time is less than the sum of the time for each upgrade, and the upgrade stage (such as during the upgrade or after the upgrade) can also be displayed through a display device, so that the user can grasp the upgrade process. Based on this, through the combination of the above three dimensions, the user can have a higher stickiness to the upgrade of the integrated gateway, and the user's willingness to upgrade the integrated gateway can be improved. Therefore, the problem of low resource utilization of gateway upgrades in the prior art can be improved.
[0064] It should be noted that for step S110, the specific mechanism for switching the running operating system from the first operating system to the second operating system is not limited and can be selected according to actual needs.
[0065] For example, in an alternative implementation, in order to further improve the reliability of upgrade management and control to ensure user stickiness to the upgrade, the above-mentioned step S110 may further include step S111, step S112, step S113, step S114 and step S115, and the specific content of each step is described as follows.
[0066] Step S111 : in response to the received upgrade operation, acquiring the converged gateway upgrade data from the target device.
[0067] In the embodiment of the present application, after the user chooses to upgrade, or after the set-top box receives the upgrade instruction sent by the back-end server, the converged gateway upgrade data can be obtained from the target device (the back-end server or other device). The converged gateway upgrade data includes the set-top box upgrade data and the optical modem upgrade data, so that the upgrade can be performed synchronously.
[0068] Step S112: Compare and analyze the version information corresponding to the integrated gateway upgrade data and the version information of the current firmware data of the integrated gateway to determine a first difference between the two version information.
[0069] In an embodiment of the present application, after obtaining the fusion gateway upgrade data, the version information corresponding to the fusion gateway upgrade data and the version information of the current firmware data of the fusion gateway can be compared and analyzed to determine the first difference between the two version information. The first difference can be used to characterize the difference between version levels. For example, if both are the latest versions, the first difference can be 0, and the first difference between the latest version and the next latest version can be 1.
[0070] Step S113: if the first difference between the two versions of information is greater than a preset difference, the running operating system is switched from the first operating system to the second operating system, and the corresponding display device is controlled to display the configured first display content.
[0071] In an embodiment of the present application, if the first difference between the two version information is greater than a preset difference, the running operating system is switched from the first operating system to the second operating system, and the corresponding display device is controlled to display the first display content of the configuration. That is, when the difference between the versions is large, it can be determined that an upgrade is required, that is, the running operating system is switched from the first operating system to the second operating system, and the corresponding display device is controlled to display the first display content of the configuration. Exemplarily, the preset difference can be 1, that is, when the version of the converged gateway upgrade data is the latest, the version of the set-top box needs to be the version before the next latest version, and the difference between the versions is considered to be large.
[0072] Step S114: If the first degree of difference between the two version information is not greater than the preset degree of difference, the set-top box upgrade data in the integrated gateway upgrade data is compared and analyzed with the current firmware data of the set-top box to determine the second degree of difference between the set-top box upgrade data and the current firmware data of the set-top box, and based on the second degree of difference, determine whether it is necessary to switch the running operating system from the first operating system to the second operating system.
[0073] In an embodiment of the present application, if the first difference between the two version information is not greater than the preset difference, the set-top box upgrade data in the fusion gateway upgrade data is compared and analyzed with the current firmware data of the set-top box to determine the second difference between the set-top box upgrade data and the current firmware data of the set-top box, and based on the second difference, it is determined whether it is necessary to switch the running operating system from the first operating system to the second operating system. In other words, when the difference between the two version information is not large, the set-top box upgrade data in the fusion gateway upgrade data can be further compared and analyzed with the current firmware data of the set-top box, so that further upgrade judgment can be made based on the specific difference between the versions of the set-top box. Based on this, since there is a high direct correlation between the upgrade of the set-top box and the user's operation, the reliability of the upgrade can be improved through the aforementioned further judgment.
[0074] Step S115: if it is determined that the running operating system needs to be switched from the first operating system to the second operating system, the running operating system is switched from the first operating system to the second operating system, and the corresponding display device is controlled to display the configured first display content.
[0075] In an embodiment of the present application, if it is determined that the running operating system needs to be switched from the first operating system to the second operating system, the running operating system is switched from the first operating system to the second operating system, and the corresponding display device is controlled to display the configured first display content.
[0076] It can be understood that, in the above step S114, the specific manner of performing the determination operation when the first difference between the two version information is not greater than the preset difference is not limited and can be selected according to actual needs.
[0077] For example, in an alternative implementation, in order to further improve the reliability of the upgrade determination, the above-mentioned step S114 may further include step S114a, step S114b, step S114c and step S114d, and the specific content of each step is described as follows.
[0078] Step S114a, if the first difference between the two version information is not greater than the preset difference, the set-top box upgrade data in the integrated gateway upgrade data is compared and analyzed with the current firmware data of the set-top box to determine the functional difference description data of the set-top box formed based on the difference between the set-top box upgrade data and the current firmware data of the set-top box.
[0079] In an embodiment of the present application, if the first difference between the two version information is not greater than the preset difference, the set-top box upgrade data in the converged gateway upgrade data is compared and analyzed with the current firmware data of the set-top box to determine the functional difference description data of the set-top box formed based on the difference between the set-top box upgrade data and the current firmware data of the set-top box. The functional difference description data is used to reflect the second difference between the set-top box upgrade data and the current firmware data of the set-top box. For example, the functional difference description data can be used to reflect the newly added functions and optimized functions of the upgraded version. The second difference can refer to the number of newly added functions and optimized functions. That is, the more the number of newly added functions and optimized functions, the greater the second difference.
[0080] Step S114b, obtaining the operation log data of the set-top box, and extracting the corresponding user behavior data from the operation log data.
[0081] In the embodiment of the present application, after obtaining the functional difference description data, the operation log data of the set-top box can be obtained, and the corresponding user behavior data can be extracted from the operation log data. The user behavior data is used to reflect the operation behavior of the corresponding target user on the set-top box, which can be all operation behaviors.
[0082] Step S114c: Based on the user behavior data, perform a user function requirement analysis on the target user, and output the user function requirement data corresponding to the target user.
[0083] In an embodiment of the present application, after obtaining the user behavior data, the user function requirement analysis of the target user can be performed based on the user behavior data, and the user function requirement data corresponding to the target user can be output, that is, the functions that the target user may need can be obtained. Specifically, a neural network (such as a recurrent neural network or a neural network based on an attention mechanism) can be trained in advance with sample user behavior data and corresponding function requirement labels to obtain a reliable target neural network. Then, the user behavior data can be analyzed based on the target neural network to obtain the corresponding user function requirement data. It should be noted that the target neural network can be deployed with a background server, and the set-top box can send the user behavior data to the background server for analysis, and feed the results back to the set-top box.
[0084] Step S114d: determining whether it is necessary to switch the running operating system from the first operating system to the second operating system based on the function difference description data and the user function requirement data.
[0085] In an embodiment of the present application, after obtaining the user function requirement data, it can be determined whether it is necessary to switch the running operating system from the first operating system to the second operating system based on the function difference description data and the user function requirement data. For example, when the function represented by the user function requirement data overlaps with the function represented by the function difference description data (or the overlap is high), it can be determined that it is necessary to switch the running operating system from the first operating system to the second operating system. On the contrary, when the function represented by the user function requirement data does not overlap with the function represented by the function difference description data (or the overlap is low, that is, the upgraded function may not be needed by the user), it can be determined that it is not necessary to switch the running operating system from the first operating system to the second operating system.
[0086] What needs to be explained about step S130 is that the specific method of upgrading the firmware data of the set-top box and the firmware data of the optical modem is not limited and can be selected according to needs.
[0087] For example, in an alternative implementation, in order to improve the reliability of the upgrade process, the above-mentioned step S130 may further include step S131, step S132 and step S133, and the specific content of each step is described as follows.
[0088] Step S131: updating the firmware data of the set-top box based on the set-top box upgrade data through the second operating system.
[0089] In the embodiment of the present application, the firmware data of the set-top box can be updated based on the set-top box upgrade data through the second operating system.
[0090] Step S132, interacting with the optical modem through the second operating system to determine whether the firmware data of the optical modem needs to be upgraded.
[0091] In the embodiment of the present application, the second operating system can also interact with the optical modem to determine whether the firmware data of the optical modem needs to be upgraded.
[0092] Step S133, through the second operating system, in response to the determination result that the firmware data of the optical modem needs to be upgraded, the optical modem upgrade data is sent to the optical modem, so that the optical modem upgrades the corresponding firmware data based on the optical modem upgrade data.
[0093] In an embodiment of the present application, through the second operating system, in response to a determination result that the firmware data of the optical modem needs to be upgraded, the optical modem upgrade data is sent to the optical modem, so that the optical modem upgrades the corresponding firmware data based on the optical modem upgrade data. That is, when the set-top box interacts with the optical modem and determines that the firmware data of the optical modem needs to be upgraded, the optical modem upgrade data can be sent to the optical modem, so that the optical modem upgrades the corresponding firmware data based on the optical modem upgrade data. Conversely, when the set-top box interacts with the optical modem and determines that the firmware data of the optical modem does not need to be upgraded, the optical modem upgrade data may not be sent to the optical modem temporarily, but the optical modem upgrade data may be sent again when it is determined that the upgrade is required later.
[0094] It can be understood that in the above-mentioned step S132, the specific method of determining whether the firmware data of the optical modem needs to be upgraded is not limited. For example, in an alternative embodiment, in order to ensure that the upgrade management of the firmware data of the optical modem has higher reliability, the above-mentioned step S132 can further include step S132a, step S132b and step S132c, and the specific content of each step is described as follows.
[0095] Step S132a: determining, through the second operating system, a first data interaction port and a second data interaction port bound to the second operating system.
[0096] In an embodiment of the present application, the first data interaction port and the second data interaction port bound to the second operating system can be determined through the second operating system. The first data interaction port belongs to the data interaction port of the set-top box, the second data interaction port belongs to the data interaction port of the optical modem, and the optical modem is configured to monitor the second data interaction port. Exemplarily, a point-to-point data interaction method can be adopted to facilitate the optical modem to verify, confirm the upgrade source, and improve security; exemplarily, the address of the set-top box can be xxx101, and the address of the optical modem can be xxx100.
[0097] Step S132b: Send the firmware version information of the optical modem upgrade data from the first data interaction port to the second data interaction port through the second operating system.
[0098] In an embodiment of the present application, the firmware version information of the optical modem upgrade data can be sent from the first data interaction port to the second data interaction port through the second operating system. The optical modem is configured to determine whether an upgrade is required based on the firmware version information and the version information of the current firmware data after the second data interaction port monitors the firmware version information (for example, when the firmware version information is different from the version information of the current firmware data, or when the firmware version information is higher than the version information of the current firmware data, it can be determined that an upgrade is required, otherwise, no upgrade is required), and when it is determined that an upgrade is required, the corresponding upgrade feedback information is sent to the second operating system.
[0099] Step S132c: through the second operating system, in response to the upgrade feedback information, determine that the firmware data of the optical modem needs to be upgraded.
[0100] In the embodiment of the present application, the second operating system can determine that the firmware data of the optical modem needs to be upgraded in response to the upgrade feedback information. That is, when the set-top box receives the upgrade feedback information, it can determine that the firmware data of the optical modem needs to be upgraded. Conversely, when the set-top box does not receive the upgrade feedback information or receives the non-upgrade information fed back by the optical modem, it can determine that the upgrade is not required.
[0101] It can be understood that, in the above step S133, the optical modem upgrade data is sent to the optical modem, so that the optical modem upgrades the corresponding firmware data based on the optical modem upgrade data. The specific method is not limited. For example, in an alternative implementation, in order to ensure the reliability of data transmission, the above step S133 may further include step S133a, such as:
[0102] The optical modem upgrade data can be sent from the first data interaction port of the set-top box to the second data interaction port of the optical modem through the second operating system in response to a determination that the firmware data of the optical modem needs to be upgraded, wherein the optical modem is configured to write the optical modem upgrade data into a predetermined optical modem upgrade file after the second data interaction port monitors the optical modem upgrade data, and to verify the optical modem upgrade data (such as integrity check, etc.) after all the optical modem upgrade data are written into the optical modem upgrade file, and, after the verification passes, to perform firmware data upgrade processing based on the optical modem upgrade file.
[0103] It can be understood that in the above step S133a, the specific data interaction method is not limited. For example, in an alternative implementation, in order to ensure that the optical modem upgrade data can be effectively transmitted so that the optical modem can be reliably upgraded, the above step S133a can further include the following specific implementation content:
[0104] First, in response to a determination result that the firmware data of the optical modem needs to be upgraded, the optical modem upgrade data can be sent from the first data interaction port of the set-top box to the second data interaction port of the optical modem based on the created target socket and network connection (TLS, transport layer security protocol) through the second operating system;
[0105] Secondly, through the second operating system, in response to the event that all the optical modem upgrade data are sent to the set-top box, the target socket and the network connection are closed, wherein the optical modem is configured to verify the optical modem upgrade data after determining that the network connection is closed. In this way, it can be ensured that the optical modem can perform corresponding verification and upgrade after the optical modem upgrade data is sent.
[0106] Based on the above steps, we can achieve:
[0107] 1. Optimize the upgrade platform: Integrate the optical modem upgrade package into the set-top box upgrade package. You only need to deploy a set-top box upgrade server to upgrade the optical modem and set-top box.
[0108] 2. One-time: There is only one upgrade status for the optical modem and the set-top box. The optical modem is upgraded at the same time as the set-top box is upgraded. This will not cause the optical modem to continue upgrading after the set-top box is upgraded, resulting in the overall upgrade being unusable. At the same time, it can also save the total upgrade time of the two devices.
[0109] 3. Professionalism: The optical modem is only upgraded during the upgrade process, and no unnecessary upgrade judgments are made during normal startup and operation. Based on this, unnecessary business functions can be reduced in normal operation mode;
[0110] 4. Simplicity: Most optical modems and set-top boxes are configured in bridge mode. The address obtained by the set-top box is the address of the superior device of the optical modem. The set-top box and the optical modem are not necessarily in the same network, and the set-top box and the optical modem cannot communicate directly. Therefore, it is usually necessary to create multiple virtual network cards on the set-top box, one network card is responsible for the IPTV network, and one network card is dedicated to communicating with the optical modem. Based on the above solution, since the Recovery system does not involve IPTV services, the address for interacting with the optical modem can be obtained during the operation of the Recovery system to complete the upgrade function. After the system upgrade is completed, it is connected according to the normal business network (no address for communicating with the optical modem is required), so the network architecture inside the fusion gateway can be optimized and the development difficulty under normal business conditions can be reduced.
[0111] In an embodiment of the present application, corresponding to the above-mentioned IPTV converged gateway upgrade method applied to the set-top box, a computer-readable storage medium is also provided, in which a computer program is stored, and when the computer program is run, each step of the IPTV converged gateway upgrade method is executed. Among them, each step executed when the aforementioned computer program is run will not be repeated here one by one, and reference can be made to the above explanation of the IPTV converged gateway upgrade method.
[0112] In summary, the IPTV converged gateway upgrade method, set-top box, converged gateway and medium provided by the present application relate to the field of gateway upgrade technology. In the present application, first, the running operating system is switched from the first operating system to the second operating system, and the display device is controlled to display the configured first display content; secondly, the converged gateway upgrade data is parsed through the second operating system to obtain the set-top box upgrade data and the optical modem upgrade data; then, through the second operating system, based on the set-top box upgrade data and the optical modem upgrade data, the firmware data of the set-top box and the firmware data of the optical modem are upgraded respectively; finally, through the second operating system, in response to the completion of the upgrade of the firmware data of the set-top box and the completion of the upgrade of the firmware data of the optical modem, the display device is controlled to display the configured second display content. Based on the above content, since the set-top box and optical modem in the integrated gateway can be upgraded synchronously, the upgrade is completed at one time for the user, and the upgrade process of the firmware data of the set-top box and the upgrade process of the firmware data of the optical modem overlap at least partially in the time dimension, so that the overall upgrade time is less than the sum of the time for each upgrade, and the upgrade stage (such as during the upgrade or after the upgrade) can also be displayed through a display device, so that the user can grasp the upgrade process. Based on this, through the combination of the above three dimensions, the user can have a higher stickiness to the upgrade of the integrated gateway, and the user's willingness to upgrade the integrated gateway can be improved. Therefore, the problem of low resource utilization of gateway upgrades in the prior art can be improved.
[0113] In several embodiments provided in the embodiments of the present application, it should be understood that the disclosed device and method can also be implemented in other ways. The device and method embodiments described above are merely schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the device, method and computer program product according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0114] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0115] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, electronic device, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code. It should be noted that in this article, the term "include", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, article or device. Without more constraints, an element defined by the phrase "comprising a..." does not exclude the existence of other identical elements in the process, method, article or apparatus comprising the element.
[0116] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for upgrading an IPTV converged gateway, characterized in that: Applied to a set-top box included in a converged gateway, the converged gateway also includes an optical modem, the set-top box includes a first operating system and a second operating system, the first operating system is larger than the second operating system, the second operating system is used to upgrade the set-top box and the optical modem, the first operating system is used to process services other than the upgrade process, and the IPTV converged gateway upgrade method includes: In response to the received upgrade operation, switch the running operating system from the first operating system to the second operating system, and control the corresponding display device to display a configured first display content, wherein the first display content includes information indicating that the upgrade process is currently in progress; Parsing the acquired fusion gateway upgrade data through the second operating system to obtain set-top box upgrade data and optical modem upgrade data, wherein the set-top box upgrade data is used to upgrade the set-top box, and the optical modem upgrade data is used to upgrade the optical modem; Using the second operating system, based on the set-top box upgrade data and the optical modem upgrade data, the firmware data of the set-top box and the firmware data of the optical modem are upgraded respectively, wherein the upgrade process of the firmware data of the set-top box and the upgrade process of the firmware data of the optical modem at least partially overlap in the time dimension; Through the second operating system, in response to the completion of the upgrade of the firmware data of the set-top box and the completion of the upgrade of the firmware data of the optical modem, the corresponding display device is controlled to display the second display content of the configuration, wherein the second display content includes information indicating that the upgrade has been completed.
2. The IPTV converged gateway upgrade method according to claim 1, characterized in that: The step of upgrading the firmware data of the set-top box and the firmware data of the optical modem respectively by the second operating system based on the set-top box upgrade data and the optical modem upgrade data comprises: Updating the firmware data of the set-top box based on the set-top box upgrade data by the second operating system; Interacting with the optical modem through the second operating system to determine whether the firmware data of the optical modem needs to be upgraded; Through the second operating system, in response to the determination result that the optical modem's firmware data needs to be upgraded, the optical modem upgrade data is sent to the optical modem, so that the optical modem upgrades the corresponding firmware data based on the optical modem upgrade data.
3. The IPTV converged gateway upgrade method according to claim 2, characterized in that: The step of interacting with the optical modem through the second operating system to determine whether the firmware data of the optical modem needs to be upgraded includes: Determine, by means of the second operating system, a first data interaction port and a second data interaction port bound to the second operating system, wherein the first data interaction port belongs to the data interaction port of the set-top box, the second data interaction port belongs to the data interaction port of the optical modem, and the optical modem is configured to monitor the second data interaction port; The firmware version information of the optical modem upgrade data is sent from the first data interaction port to the second data interaction port through the second operating system, wherein the optical modem is configured to determine whether an upgrade is required based on the firmware version information and the version information of the current firmware data after the second data interaction port monitors the firmware version information, and when it is determined that an upgrade is required, send corresponding upgrade feedback information to the second operating system; Through the second operating system, in response to the upgrade feedback information, it is determined that the firmware data of the optical modem needs to be upgraded.
4. The IPTV converged gateway upgrade method according to claim 2, characterized in that: The step of sending the optical modem upgrade data to the optical modem in response to a determination result that the optical modem firmware data needs to be upgraded by the second operating system, so that the optical modem upgrades the corresponding firmware data based on the optical modem upgrade data, includes: Through the second operating system, in response to a determination that the firmware data of the optical modem needs to be upgraded, the optical modem upgrade data is sent from the first data interaction port of the set-top box to the second data interaction port of the optical modem, wherein the optical modem is configured to write the optical modem upgrade data into a predetermined optical modem upgrade file after the second data interaction port monitors the optical modem upgrade data, and to verify the optical modem upgrade data after all the optical modem upgrade data are written into the optical modem upgrade file, and after the verification passes, to perform a firmware data upgrade based on the optical modem upgrade file.
5. The IPTV converged gateway upgrade method according to claim 4, characterized in that: The step of sending the optical modem upgrade data from the first data interaction port of the set-top box to the second data interaction port of the optical modem in response to a determination result that the firmware data of the optical modem needs to be upgraded by the second operating system includes: By the second operating system, in response to a determination result that the firmware data of the optical modem needs to be upgraded, based on the created target socket and network connection, the optical modem upgrade data is sent from the first data interaction port of the set-top box to the second data interaction port of the optical modem; Through the second operating system, in response to the event that all the optical modem upgrade data are sent to the set-top box, the target socket and the network connection are closed, wherein the optical modem is configured to verify the optical modem upgrade data after determining that the network connection is closed.
6. The IPTV converged gateway upgrade method according to any one of claims 1 to 5, characterized in that: The step of switching the running operating system from the first operating system to the second operating system in response to the received upgrade operation, and controlling the corresponding display device to display the configured first display content, comprises: In response to the received upgrade operation, acquiring the converged gateway upgrade data from the target device, wherein the converged gateway upgrade data includes the set-top box upgrade data and the optical modem upgrade data; Comparing and analyzing the version information corresponding to the fusion gateway upgrade data and the version information of the current firmware data of the fusion gateway to determine a first difference between the two version information; If the first difference between the two versions of information is greater than a preset difference, switching the running operating system from the first operating system to the second operating system, and controlling the corresponding display device to display the configured first display content; If the first difference between the two version information is not greater than the preset difference, comparing and analyzing the set-top box upgrade data in the converged gateway upgrade data with the current firmware data of the set-top box, determining a second difference between the set-top box upgrade data and the current firmware data of the set-top box, and determining whether it is necessary to switch the running operating system from the first operating system to the second operating system based on the second difference; If it is determined that the running operating system needs to be switched from the first operating system to the second operating system, the running operating system is switched from the first operating system to the second operating system, and the corresponding display device is controlled to display the configured first display content.
7. The IPTV converged gateway upgrade method according to claim 6, characterized in that: If the first difference between the two version information is not greater than the preset difference, the step of comparing and analyzing the set-top box upgrade data in the converged gateway upgrade data with the current firmware data of the set-top box, determining a second difference between the set-top box upgrade data and the current firmware data of the set-top box, and determining whether it is necessary to switch the running operating system from the first operating system to the second operating system based on the second difference includes: If the first difference between the two version information is not greater than the preset difference, comparing and analyzing the set-top box upgrade data in the converged gateway upgrade data with the current firmware data of the set-top box to determine function difference description data of the set-top box formed based on the difference between the set-top box upgrade data and the current firmware data of the set-top box, wherein the function difference description data is used to reflect the second difference between the set-top box upgrade data and the current firmware data of the set-top box; Acquire operation log data of the set-top box, and extract corresponding user behavior data from the operation log data, wherein the user behavior data is used to reflect the operation behavior of the corresponding target user on the set-top box; Based on the user behavior data, performing user function requirement analysis on the target user, and outputting user function requirement data corresponding to the target user; Based on the function difference description data and the user function requirement data, it is determined whether it is necessary to switch the running operating system from the first operating system to the second operating system.
8. A set-top box, characterized in that: The set-top box is applied to a converged gateway, the converged gateway further includes an optical modem, and the set-top box includes: Memory for storing computer programs; A processor connected to the memory is used to execute a computer program stored in the memory to implement the IPTV converged gateway upgrade method described in any one of claims 1 to 7 to perform firmware upgrade processing on the set-top box and the optical modem.
9. A fusion gateway, characterized in that: The device comprises a set-top box and an optical modem, wherein the set-top box comprises: Memory for storing computer programs; A processor connected to the memory is used to execute a computer program stored in the memory to implement the IPTV converged gateway upgrade method described in any one of claims 1 to 7 to perform firmware upgrade processing on the set-top box and the optical modem.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is run, the IPTV converged gateway upgrade method according to any one of claims 1 to 7 is executed.
Citation Information
Patent Citations
Upgrading method of converged gateway equipment
CN110337038A
Data processing method and device of IPTV set top box, set top box and medium
CN118118728A
