Set-top box content updating method, device, electronic device and readable storage medium

By detecting and parsing the updated data of target applications in the set-top box, the problem of poor timeliness of set-top box content updates is solved, efficient and timely content updates are achieved, and the workload of operation personnel is reduced.

CN115834964BActive Publication Date: 2025-02-25SHENZHEN XIAOPAI TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211512439.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-29
Publication Date
2025-02-25
Estimated Expiration
2042-11-29

AI Technical Summary

Technical Problem

In the prior art, the timeliness of the content update of set-top boxes are poor, resulting in an increase in the update configuration workload of operators and an extended update time, affecting the timeliness of content updates.

Method used

Provide a set-top box content update method, by detecting whether the target application has been installed in the set-top box, obtaining third-party application data, and monitoring whether there is application update data in the local application data database, if it exists, parsing and content update.

Benefits of technology

It has achieved timely improvement in set-top box content updates, reduced the workload of operators, improved the frequency and timeliness of data content updates, and can generate recommended data for third-party applications in real time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115834964B_ABST
    Figure CN115834964B_ABST
Patent Text Reader

Abstract

The present application discloses a set-top box content update method, device, electronic device and readable storage medium, which are applied to the field of set-top box technology. The set-top box content update method includes: detecting whether a target application has been installed in the set-top box; if the target application has been installed in the set-top box, obtaining third-party application data of the target application; after determining that the third-party application data is local application data, monitoring whether there is application update data in the database of the local application data; if the application update data exists in the database of the local application data, parsing the application update data, and updating the set-top box content based on the parsed application update data. The present application solves the technical problem of poor timeliness of set-top box content update in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of set-top boxes, and in particular to a set-top box content updating method, device, electronic device and readable storage medium. Background Art

[0002] With the development of set-top box technology, there are more and more applications and content in set-top boxes. The content in third-party applications of set-top boxes will be gradually updated. Each time the content of third-party applications is updated, operators need to actively configure the relevant updated content before it can be displayed to users on the set-top box. However, as the amount of content increases, the update and configuration workload of operators also gradually increases, and the time to update content will increase, resulting in a decrease in the timeliness of content updates. Summary of the invention

[0003] The main purpose of the present application is to provide a set-top box content update method, device, electronic device and readable storage medium, aiming to solve the technical problem of poor timeliness of set-top box content update in the prior art.

[0004] To achieve the above object, the present application provides a set-top box content update method, which is applied to a set-top box content update device. The set-top box content update method includes:

[0005] Detect whether the target application has been installed in the set-top box;

[0006] If the target application has been installed in the set-top box, obtaining third-party application data of the target application;

[0007] After determining that the third-party application data is local application data, monitoring whether there is application update data in a database of the local application data;

[0008] If the application update data exists in the database of the local application data, the application update data is parsed, and the set-top box content is updated based on the parsed application update data.

[0009] Optionally, the step of monitoring whether there is application update data in the local application data database includes:

[0010] Monitor whether the target application is updated by monitoring the thread;

[0011] If the target application is monitored to be updated, it is determined that there is application update data in the local application data database.

[0012] Optionally, the step of parsing the application update data includes:

[0013] Determine a storage location corresponding to the local application data;

[0014] Determine the database storage path corresponding to the application update data according to the storage location corresponding to the local application data;

[0015] The application update data in the database of the local application data is obtained based on the database storage path, and the obtained application update data is parsed.

[0016] Optionally, the step of parsing the acquired application update data includes:

[0017] Determine the database file and / or cache file corresponding to the application update data;

[0018] When video-related data exists in the database file and / or the cache file, traverse all set-top box display data in the video-related data;

[0019] Determining updated set-top box display data generated from each of the set-top box display data;

[0020] The updated set-top box display data is parsed.

[0021] Optionally, after the step of detecting whether the target application has been installed in the set-top box, the step further includes:

[0022] If the target application is not installed in the set-top box, obtaining network update data of the target application through a preset data update interface;

[0023] The set-top box content is updated based on the network update data.

[0024] Optionally, after the step of detecting whether the target application has been installed in the set-top box, the step further includes:

[0025] If the target application is not installed in the set-top box, crawling network update data of the target application through a preset application update website;

[0026] The set-top box content is updated based on the network update data.

[0027] Optionally, the set-top box content updating method further includes:

[0028] When detecting that the set-top box plays a video broadcast, extracting video information corresponding to the video broadcast;

[0029] Storing the video information as user history data;

[0030] The set-top box content is updated based on the user historical data.

[0031] To achieve the above object, the present application further provides a set-top box content update device, the set-top box content update device is applied to a set-top box content update device, and the set-top box content update device includes:

[0032] A detection module, used to detect whether the target application has been installed in the set-top box;

[0033] an acquisition module, configured to acquire third-party application data of the target application if the target application has been installed in the set-top box;

[0034] A monitoring module, configured to monitor whether there is application update data in a database of the local application data after determining that the third-party application data is local application data;

[0035] The updating module is used to parse the application update data if the application update data exists in the local application data database, and update the set-top box content based on the parsed application update data.

[0036] Optionally, the monitoring module is further used for:

[0037] Monitor whether the target application is updated by monitoring the thread;

[0038] If the target application is monitored to be updated, it is determined that there is application update data in the local application data database.

[0039] Optionally, the update module is further used for:

[0040] Determine a storage location corresponding to the local application data;

[0041] Determine the database storage path corresponding to the application update data according to the storage location corresponding to the local application data;

[0042] The application update data in the database of the local application data is obtained based on the database storage path, and the obtained application update data is parsed.

[0043] Optionally, the update module is further used for:

[0044] Determine the database file and / or cache file corresponding to the application update data;

[0045] When video-related data exists in the database file and / or the cache file, traverse all set-top box display data in the video-related data;

[0046] Determining updated set-top box display data generated from each of the set-top box display data;

[0047] The updated set-top box display data is parsed.

[0048] Optionally, the set-top box content updating device is further used for:

[0049] If the target application is not installed in the set-top box, obtaining network update data of the target application through a preset data update interface;

[0050] The set-top box content is updated based on the network update data.

[0051] Optionally, the set-top box content updating device is further used for:

[0052] If the target application is not installed in the set-top box, crawling network update data of the target application through a preset application update website;

[0053] The set-top box content is updated based on the network update data.

[0054] Optionally, the set-top box content updating device is further used for:

[0055] When detecting that the set-top box plays a video broadcast, extracting video information corresponding to the video broadcast;

[0056] Storing the video information as user history data;

[0057] The set-top box content is updated based on the user historical data.

[0058] The present application also provides an electronic device, comprising: a memory, a processor, and a program of the set-top box content update method stored in the memory and executable on the processor. When the program of the set-top box content update method is executed by the processor, the steps of the set-top box content update method as described above can be implemented.

[0059] The present application also provides a readable storage medium, which is a computer-readable storage medium. The computer-readable storage medium stores a program for implementing the set-top box content update method. When the program of the set-top box content update method is executed by a processor, the steps of the set-top box content update method as described above are implemented.

[0060] The present application also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the steps of the set-top box content update method as described above are implemented.

[0061] The present application provides a set-top box content update method, device, electronic device and readable storage medium, which detect whether a target application has been installed in a set-top box; if the target application has been installed in the set-top box, obtain third-party application data of the target application; after determining that the third-party application data is local application data, monitor whether there is application update data in the database of the local application data; enable the set-top box to quickly receive update information after an update occurs; obtain application update data corresponding to the target application from the local application data; if the application update data exists in the database of the local application data, parse the application update data, and update the set-top box content based on the parsed application update data, which is compatible with data of multiple applications in multiple formats; update the set-top box content according to the set-top box update data, greatly reducing the workload of operators, and after implementation, most of the recommended data of third-party applications can be generated in real time by the data monitoring system without the need for operator processing, while increasing the update frequency and timeliness of data content. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0063] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0064] Figure 1 This is a flow chart of a first embodiment of a method for updating contents of a set-top box of the present application;

[0065] Figure 2 Local data monitoring flow chart for this application;

[0066] Figure 3 Flowchart of the parser implementation for local data monitoring in this application;

[0067] Figure 4 This is a flow chart of a second embodiment of the set-top box content update method of the present application;

[0068] Figure 5 This is the network data monitoring flow chart for this application;

[0069] Figure 6 This is a schematic diagram of the structure of the set-top box content updating device of the present application;

[0070] Figure 7Schematic diagram of the device structure of the hardware operating environment involved in the set-top box content update method in the embodiment of the present application.

[0071] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0072] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.

[0073] Embodiment 1

[0074] The present application provides a set-top box content update method. In the first embodiment of the set-top box content update method of the present application, refer to Figure 1 , the set-top box content updating method comprises:

[0075] Step S10, detecting whether the target application has been installed in the set-top box;

[0076] Step S20, if the target application has been installed in the set-top box, obtaining third-party application data of the target application;

[0077] Step S30, after determining that the third-party application data is local application data, monitoring whether there is application update data in the database of the local application data;

[0078] Step S40: If the application update data exists in the local application data database, the application update data is parsed, and the set-top box content is updated based on the parsed application update data.

[0079] In this embodiment, it should be noted that the target application is a third-party application that has been installed and used in the set-top box, the third-party application data is local application data or network application data determined from the target application, the local application data is data stored locally for the target application, and the application update data is the data content specifically updated by the target application in the database of local application data. The application update data can be parsed by a parser into data in a unified format that can be recognized by the set-top box, wherein the application update data has corresponding parsing tools according to different target applications and different data formats and storage methods, the set-top box update data is data in a unified format that can be recognized and applied by the set-top box, and the set-top box content includes the content in the target application installed in the set-top box and the content in the target application displayed on the desktop of the set-top box.

[0080] Exemplarily, steps S10 to S40 include:

[0081] Determine all applications in the set-top box and determine one of the target applications, detect whether the target application is installed in the set-top box, and when the target application is installed in the set-top box, obtain third-party application data of the target application. If the third-party application data is local application data, determine whether there is application update data in the database of the local application data through a monitoring thread; if there is application update data in the database of the local application data, parse the application update data in the local application data, and update the third-party applications installed in the set-top box and the set-top box desktop content based on the parsed application update data.

[0082] Specifically, Figure 2 As shown, the third-party application, namely the target application, can store and update the user's historical data when the target application opens the video broadcast. Secondly, the monitoring thread is started in the data monitoring layer to read the database data in the local application data or the cached data of the local application data, and convert them into the content database in a unified format, namely the set-top box update data through the database parser and the json / xml parser respectively. The content database in the set-top box is updated according to the set-top box update data to update and display the set-top box application section data.

[0083] In step S30, the step of monitoring whether there is application update data in the local application data database includes:

[0084] Step S31, monitoring whether the target application is updated through a monitoring thread;

[0085] Step S32: if the target application is updated, it is determined that there is application update data in the local application data database.

[0086] In this embodiment, it should be noted that the set-top box triggers the application monitoring thread on the hour, and the monitoring thread can monitor the local application data of the target application in real time to determine whether the target application is updated. The local application data includes local database data and local cache data.

[0087] Exemplarily, step S31 to step S32 include:

[0088] If it is detected that the target application has been installed or applied in the set-top box, the monitoring thread of the target application is enabled, and the local application data of the target application is obtained by monitoring the monitoring thread to see if it is updated; if it is monitored that the local application data is updated, the application update data corresponding to the target application is extracted from the database of local application data. Since the update status of the local application data is directly monitored by the monitoring thread, the updated content can be obtained at the first time after the target application is updated, thereby improving the speed and frequency of content updates of the set-top box.

[0089] In step S40, the step of parsing the application update data includes:

[0090] Step A10, determining the storage location corresponding to the local application data;

[0091] Step A20, determining a database storage path corresponding to the application update data according to a storage location corresponding to the local application data;

[0092] Step A30: acquiring the application update data in the database of the local application data based on the database storage path, and parsing the acquired application update data.

[0093] Exemplarily, steps A10 to A20 include:

[0094] Determine the storage location corresponding to the local application data of the target application, and determine the database storage path of the application update data according to the storage location, obtain the application update data in the database of the local application data based on the database storage path, and parse the application update data.

[0095] Specifically, the local application data may be one of local database data and local cache data. The local database data is a database file, and the local cache data is a json / xml file, both of which are different formats for storing data.

[0096] In step A30, the step of parsing the application update data includes:

[0097] Step A31, determining the database file and / or cache file corresponding to the application update data;

[0098] Step A32, when there is video-related data in the database file and / or the cache file, traverse all set-top box display data in the video-related data;

[0099] Step A33, determining updated set-top box display data generated from each of the set-top box display data;

[0100] Step A34, parsing the updated set-top box display data.

[0101] In this embodiment, it should be noted that this embodiment is based on a parser, including a database parser and a json / xml parser, and corresponding parsing tools are obtained for different data formats and storage methods of different target applications. The parsers of different applications may be different, but the general process is consistent. If the application update data is a database file, the parser is the database parser corresponding to the target application. If the application update data is a cache file, the parser is the json or xml parser corresponding to the target application. The video-related data is the data in the database that carries the video field, and the set-top box display data is usually the data in the database that carries the set-top box desktop display content field. The database data contains a field indicating an update. If this field is carried, it means that this data has been updated. The specific set-top box update data can be extracted from the updated field. The set-top box update data can include the latest updated data, popular data, and featured data.

[0102] Exemplarily, steps A31 to A34 include:

[0103] Determine the database file and / or cache file corresponding to the application update data; filter out the video-related data in the database file and / or cache file, and traverse all the set-top box display data in the video-related data; determine the updated set-top box display data in each set-top box display data; and parse the updated set-top box display data.

[0104] Specifically, Figure 3 The Mango TV parser is used to illustrate the code flow of the parser. After obtaining the installation path of Mango TV, it detects whether the target database file exists. If so, it loads the database data, and detects whether the vii deo_channe l field (video-related data) exists in the database. The field value is read, and the launcher_main field (set-top box display data) is traversed. If the renewal content is detected (an update is generated), each field is parsed by the corresponding parser, and each field is stored as updated data or selected data.

[0105] The set-top box content updating method further includes:

[0106] Step B10, when it is detected that the set-top box plays a video broadcast, extracting video information corresponding to the video broadcast;

[0107] Step B20, storing the video information as user history data;

[0108] Step B30: updating the set-top box content based on the user historical data.

[0109] In this embodiment, it should be noted that the video broadcast is the broadcast played by the set-top box when playing broadcast television, and corresponding video information including broadcast program related information can be obtained from the video broadcast.

[0110] Exemplarily, steps B10 to B30 include:

[0111] When it is detected that the set-top box plays a video broadcast, the video information corresponding to the video broadcast is extracted; the video information is stored as user history data, and the user history data is stored in the content database of the set-top box to update the set-top box content according to the user history data, and improve the source and way of set-top box update.

[0112] The embodiment of the present application provides a set-top box content update method, which detects whether a target application has been installed in the set-top box; if the target application has been installed in the set-top box, obtains third-party application data of the target application; after determining that the third-party application data is local application data, monitors whether there is application update data in the database of the local application data; enables the set-top box to quickly receive update information after an update occurs; obtains application update data corresponding to the target application from the local application data; if the application update data exists in the database of the local application data, parses the application update data, and updates the set-top box content based on the parsed application update data, which is compatible with data of multiple applications in multiple formats; updates the set-top box content according to the set-top box update data, greatly reducing the workload of operators, and after implementation, most of the recommended data of third-party applications can be generated in real time by the data monitoring system without the need for operator processing, while increasing the update frequency and timeliness of data content.

[0113] Embodiment 2

[0114] Further, refer to Figure 4 Based on the first embodiment of the present application, in another embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be described in detail later. On this basis, after step S10, after the step of detecting whether the target application has been installed in the set-top box, it also includes:

[0115] Step C10, if the target application is not installed in the set-top box, obtaining network update data of the target application through a preset data update interface;

[0116] Step C20: updating the set-top box content based on the network update data.

[0117] After step S10, after the step of detecting whether the target application has been installed in the set-top box, the method further includes:

[0118] Step D10, if the target application is not installed in the set-top box, crawling network update data of the target application through a preset application update website;

[0119] Step D20, updating the set-top box content based on the network update data.

[0120] In this embodiment, it should be noted that, to determine the target application that needs to be updated in the set-top box, when the user has not installed the target application or the target application cannot be locally parsed due to permission issues or compatibility issues, the network data monitoring method is used to update it. Among them, some third-party application background servers provide a preset data update interface. In this case, only the data monitoring background needs to update the data according to the data update interface; and when some third-party application backgrounds do not provide such an interface or there are other problems that cannot obtain the corresponding data, we use the data crawler method to directly crawl the official website data for update. The interface update method requires the target application to provide a corresponding preset data update interface, and the crawler update method requires the target application to provide a corresponding application update website, that is, the official website.

[0121] Exemplarily, the steps include:

[0122] When the target application is not installed in the set-top box, if it is detected that the target application has an interface update method or a crawler update method, the preset data update interface or application update website corresponding to the target application is obtained; the network update data of the target application is obtained from the data update interface or the application update website; the set-top box update data is stored in the content database and the set-top box content is updated to ensure comprehensive content coverage.

[0123] Specifically, Figure 5 As shown, when the section of the target application needs to be updated, a request is made to update the target application, and it is detected whether the target application has a data interface update method or a web crawler method. If there is a data interface update method, a data update interface callback is registered. If there is a web crawler method, data is crawled from the official website; the update information of the target application is obtained, the set-top box update data is constructed according to the update information, the set-top box update data is stored, and the section of the target application in the set-top box content is updated.

[0124] An embodiment of the present application provides a set-top box content update method with network monitoring, that is, if the target application is not installed in the set-top box, the network update data of the target application is obtained through a preset data update interface; the set-top box content is updated based on the network update data; if the target application is not installed in the set-top box, the network update data of the target application is crawled through a preset application update website; the set-top box content is updated based on the network update data, and as much content as possible is supported through network monitoring under local monitoring and updating, which can also ensure the comprehensiveness of content coverage.

[0125] Embodiment 3

[0126] The present application also provides Figure 6 A set-top box content update device is shown, the set-top box content update device is applied to a set-top box content update device, and the set-top box content update device includes:

[0127] The detection module E10 is used to detect whether the target application has been installed in the set-top box;

[0128] An acquisition module E20, configured to acquire third-party application data of the target application if the target application has been installed in the set-top box;

[0129] A monitoring module E30, configured to monitor whether there is application update data in a database of the local application data after determining that the third-party application data is local application data;

[0130] The updating module E40 is configured to parse the application update data if the application update data exists in the local application data database, and update the set-top box content based on the parsed application update data.

[0131] Optionally, the monitoring module E30 is further used for:

[0132] Monitor whether the target application is updated by monitoring the thread;

[0133] If the target application is monitored to be updated, it is determined that there is application update data in the local application data database.

[0134] Optionally, the updating module E40 is further configured to:

[0135] Determine a storage location corresponding to the local application data;

[0136] Determine the database storage path corresponding to the application update data according to the storage location corresponding to the local application data;

[0137] The application update data in the database of the local application data is obtained based on the database storage path, and the obtained application update data is parsed.

[0138] Optionally, the updating module E40 is further configured to:

[0139] Determine the database file and / or cache file corresponding to the application update data;

[0140] When video-related data exists in the database file and / or the cache file, traverse all set-top box display data in the video-related data;

[0141] Determining updated set-top box display data generated from each of the set-top box display data;

[0142] The updated set-top box display data is parsed.

[0143] Optionally, the set-top box content updating device is further used for:

[0144] If the target application is not installed in the set-top box, obtaining network update data of the target application through a preset data update interface;

[0145] The set-top box content is updated based on the network update data.

[0146] Optionally, the set-top box content updating device is further used for:

[0147] If the target application is not installed in the set-top box, crawling network update data of the target application through a preset application update website;

[0148] The set-top box content is updated based on the network update data.

[0149] Optionally, the set-top box content updating device is further used for:

[0150] When detecting that the set-top box plays a video broadcast, extracting video information corresponding to the video broadcast;

[0151] Storing the video information as user history data;

[0152] The set-top box content is updated based on the user historical data.

[0153] The set-top box content updating device provided by the present invention adopts the set-top box content updating method in the above-mentioned embodiment 1 or embodiment 2, and solves the technical problem of poor timeliness of set-top box content updating. Compared with the prior art, the beneficial effects of the set-top box content updating device provided by the embodiment of the present invention are the same as the beneficial effects of the set-top box content updating method provided by the above-mentioned embodiment, and other technical features in the set-top box content updating device are the same as the features disclosed in the above-mentioned embodiment method, which will not be described in detail here.

[0154] Embodiment 4

[0155] An embodiment of the present invention provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the set-top box content update method in the above-mentioned embodiment 1.

[0156] Reference below Figure 7 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. The electronic device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0157] like Figure 7 As shown, the electronic device F90 may include a processing device F10 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory F20 (ROM) or a program loaded from a storage device into a random access memory F30 (RAM). In RAMF30, various programs and data required for the operation of the electronic device are also stored. The processing device F10, ROMF20, and RAMF30 are connected to each other via a bus. An input / output (I / O) interface F40 is also connected to the bus.

[0158] Typically, the following systems can be connected to the I / O interface: input devices F50 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices F60 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices F70 including, for example, a magnetic tape, a hard disk, etc.; and communication devices F80. The communication device F80 can allow the electronic device F90 to communicate wirelessly or wired with other devices to exchange data. Although electronic devices with various systems are shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have alternatively.

[0159] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device F70, or installed from a ROM F20. When the computer program is executed by a processing device, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0160] The electronic device provided by the present invention adopts the set-top box content updating method in the above-mentioned embodiment 1 or embodiment 2, and solves the technical problem of poor timeliness of set-top box content updating. Compared with the prior art, the beneficial effects of the electronic device provided by the embodiment of the present invention are the same as the beneficial effects of the set-top box content updating method provided by the above-mentioned embodiment 1, and other technical features in the electronic device are the same as the features disclosed in the above-mentioned embodiment method, which will not be described in detail here.

[0161] It should be understood that the various parts of the present disclosure can be implemented with hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0162] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

[0163] Embodiment 5

[0164] This embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, and the computer-readable program instructions are used to execute the method for updating the content of a set-top box in the first embodiment.

[0165] The computer-readable storage medium provided in the embodiment of the present invention may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0166] The computer-readable storage medium may be included in the electronic device, or may exist independently without being installed in the electronic device.

[0167] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by an electronic device, the electronic device: detects whether the target application has been installed in the set-top box; if the target application has been installed in the set-top box, obtains third-party application data of the target application; after determining that the third-party application data is local application data, monitors whether there is application update data in the database of the local application data; if the application update data exists in the database of the local application data, parses the application update data, and updates the set-top box content based on the parsed application update data.

[0168] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0169] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0170] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of the module does not limit the unit itself in some cases.

[0171] The computer-readable storage medium provided by the present invention stores computer-readable program instructions for executing the above-mentioned set-top box content update method, which solves the technical problem of poor timeliness of set-top box content update. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiment of the present invention are the same as the beneficial effects of the set-top box content update method provided by the above-mentioned embodiment 1 or embodiment 2, and will not be described in detail here.

[0172] Embodiment 6

[0173] The present application also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the steps of the set-top box content update method as described above are implemented.

[0174] The computer program product provided by the present application solves the technical problem of poor timeliness of set-top box content update. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present invention are the same as the beneficial effects of the set-top box content update method provided by the above-mentioned embodiment 1 or embodiment 2, and will not be repeated here.

[0175] 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 contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.

Claims

1. A method for updating content of a set-top box, characterized in that: The set-top box content updating method comprises: Detecting whether a target application has been installed in a set-top box, wherein the target application is a third-party application that has been installed and used by the set-top box; If the target application has been installed in the set-top box, obtaining third-party application data of the target application, wherein the third-party application data is local application data or network application data determined from the target application; After determining that the third-party application data is local application data, monitoring whether there is application update data in the database of the local application data, including: monitoring whether the target application is updated through a monitoring thread; if it is monitored that the target application is updated, determining that there is application update data in the database of the local application data; If the application update data exists in the database of the local application data, the application update data is parsed, and the set-top box content is updated based on the parsed application update data; The step of parsing the application update data includes: Determine a storage location corresponding to the local application data; Determine the database storage path corresponding to the application update data according to the storage location corresponding to the local application data; The application update data in the database of the local application data is obtained based on the database storage path, and the obtained application update data is parsed.

2. The set-top box content updating method according to claim 1, characterized in that: The step of parsing the acquired application update data includes: Determine the database file and / or cache file corresponding to the application update data; When video-related data exists in the database file and / or the cache file, traverse all set-top box display data in the video-related data; Determining updated set-top box display data generated from each of the set-top box display data; The updated set-top box display data is parsed.

3. The method for updating content of a set-top box according to claim 1, characterized in that: After the step of detecting whether the target application has been installed in the set-top box, the method further includes: If the target application is not installed in the set-top box, obtaining network update data of the target application through a preset data update interface; The set-top box content is updated based on the network update data.

4. The method for updating content of a set-top box according to claim 1, characterized in that: After the step of detecting whether the target application has been installed in the set-top box, the method further includes: If the target application is not installed in the set-top box, crawling network update data of the target application through a preset application update website; The set-top box content is updated based on the network update data.

5. The set-top box content updating method according to claim 1, characterized in that: The set-top box content updating method further includes: When detecting that the set-top box plays a video broadcast, extracting video information corresponding to the video broadcast; Storing the video information as user history data; The set-top box content is updated based on the user historical data.

6. A set-top box content updating device, characterized in that: The set-top box content updating device comprises: A detection module, used to detect whether a target application has been installed in the set-top box, wherein the target application is a third-party application that has been installed and used by the set-top box; an acquisition module, configured to acquire third-party application data of the target application if the target application has been installed in the set-top box, wherein the third-party application data is local application data or network application data determined from the target application; A monitoring module, for monitoring whether there is application update data in the database of the local application data after determining that the third-party application data is local application data, including: monitoring whether the target application is updated through a monitoring thread; if it is monitored that the target application is updated, determining that there is application update data in the database of the local application data; An update module is used to parse the application update data if the application update data exists in the database of the local application data, and update the set-top box content based on the parsed application update data; determine the storage location corresponding to the local application data; determine the database storage path corresponding to the application update data according to the storage location corresponding to the local application data; obtain the application update data in the database of the local application data based on the database storage path, and parse the obtained application update data.

7. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the set-top box content update method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program for implementing the set-top box content update method, and the program for implementing the set-top box content update method is executed by a processor to implement the steps of the set-top box content update method as claimed in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Realizing method of STB (Set Top Box) database and STB

    CN102750290A

  • Television terminal set-top box application management method and device

    CN105578213A