CN110557685A - Efficient downloading method for information on shelves of smart television application store - Google Patents

Efficient downloading method for information on shelves of smart television application store Download PDF

Info

Publication number
CN110557685A
CN110557685A CN201910917909.6A CN201910917909A CN110557685A CN 110557685 A CN110557685 A CN 110557685A CN 201910917909 A CN201910917909 A CN 201910917909A CN 110557685 A CN110557685 A CN 110557685A
Authority
CN
China
Prior art keywords
downloading
information
modification time
server
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910917909.6A
Other languages
Chinese (zh)
Inventor
梁敏
马润杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201910917909.6A priority Critical patent/CN110557685A/en
Publication of CN110557685A publication Critical patent/CN110557685A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application

Abstract

The invention discloses an efficient downloading method of information on shelves of an intelligent television application store, which comprises the following steps: step 1: when the television is started, the client application store inquires the latest modification time of the application information file from the server; step 2: comparing the latest modification time obtained in the step 1 with the last modification time, and if the two times are consistent, not downloading the application information file; and if the data are not consistent, downloading the application information data. By the method, json files of application store on-shelf application information do not need to be downloaded after the system is started every time, and the problem that a plurality of clients of the server download at the same time is solved; if the ordinary television user watches the live television 7 days a week, if the television user is started 2 times a day, the single machine in the prior art minimally submits 14 downloading requests to the server every week, and the downloading is reduced to 1 downloading every week by using the method.

Description

efficient downloading method for information on shelves of smart television application store
Technical Field
The invention relates to the field of intelligent televisions, in particular to an efficient downloading method of information on shelves of an intelligent television application store.
Background
The intelligent televisions are all provided with corresponding application stores to serve users, and are mainly used for downloading applications which are strong in weather, live broadcast and the like, high in user downloading rate and free of preset. Some of these applications are applications that many users want to use, such as live tv, to help users watch tv programs. In order to facilitate user operation, a system name is often triggered by a condition to help a user actively pull up installation of a third-party application in a background, for example, when the user calls a television station name by voice, similar to 'CCTV 1', the voice actively initiates a live broadcast application on-shelf information query to a store, the store queries that a corresponding application is on-shelf, then pulls up a download link of the live broadcast application through the store, and after downloading and installation are successful, the user can use the live broadcast application to watch live programs such as CCTV1 and the like.
the function provides convenient digital television service for users, after the live television is online, a small-probability prompt appears after a small number of machines in the market call the station, and the live television cannot be switched to a designated station. From logs and experiments, this probabilistic parsing of the cause of the anomaly is:
In order to ensure the timeliness of application information, the application logic needs that after a client is started, all application information of a store is acquired from a server of the application store once, and then the subsequent downloading of live applications such as store application of a start guide and voice pull-up HDP (high-level personal profile) can be executed.
But when the client side obtains the information on the shelf of the server side application: on one hand, in order to ensure data updating of an application store, a client needs to synchronously download dozens of megabits of files from a cloud end to the local area every time the application or the startup is carried out, the downloading frequency is too high, and whether errors occur in downloaded data cannot be ensured; on the other hand, the server load pressure of the application store is too heavy: with the increase of time and scale, the number of applications carried by a shop is increased, and each application contains a lot of data, so that the application information file (json file) is also increased. If the Json file is too large, each client side can inquire the server every time when being started, and the occupied I/O interface information is too large, so that the reading performance of the server is seriously reduced; when encountering simultaneous or frequent downloads from multiple clients, server stress can trigger an exception, and even if the request is successful, the JSON returned may be "null". And the logic for subsequently calling the shop application cannot be normally executed due to the abnormal application information data. Therefore, there is a need to improve the efficiency of querying for application store on-shelf information for such unreliable data results.
Disclosure of Invention
The invention aims to provide an efficient downloading method of information on shelves of an intelligent television application store, which is used for solving the problem that data information is wrong when the data is read and downloaded due to the fact that the data amount is increased in the prior art.
the invention solves the problems through the following technical scheme:
a method for efficiently downloading information on shelves of an intelligent television application store comprises the following steps:
step 1: when the television is started, the client application store inquires the latest modification time of the application information file from the server;
Step 2: comparing the latest modification time obtained in the step 1 with the last modification time, and if the two times are consistent, not downloading the application information file; and if the data are not consistent, downloading the application information data.
By the method, json files of application store on-shelf application information do not need to be downloaded after the system is started every time, and the problem that a plurality of clients of the server download at the same time is solved; if a common television user watches live television 7 days a week, if the television user is started up 2 times a day, if a shop updates an application once a week, a single machine in the prior art submits a download request to a server for at least 14 times a week; using this method reduces to 1 download per week. In comparison, the downloading request received by the shop server is reduced with high probability, and the problems that the server system load is too high and the data downloading is wrong due to too many tasks triggered and operated by the server at the same time are avoided.
Preferably, in step 1, the server is queried by using the HEAD method, so as to obtain the modification time of the current application on-shelf information file of the server.
preferably, the HEAD is configured with an update date or MD5 code.
Preferably, in the step 2, when the latest modification time is inconsistent with the last modification time, the asynchronous downloading is automatically performed in the background.
preferably, the latest modification time is the last modification time of a file on the server, and the last modification time is the last modification time of the json file of the application listing information cached by the client.
preferably, in step 2, after receiving the downloaded application information data, the client overwrites the old file with the new file, and caches the old file at the original path address.
Preferably, in step 2, when the times are consistent, the server returns 304 codes.
compared with the prior art, the invention has the following advantages and beneficial effects:
The access times and frequency of the smart television client to the application market server are reduced, the application information data are not required to be downloaded when the television is started at every time, the situations that the server system is too high in load and data downloading is wrong due to too many tasks of the server which simultaneously triggers running are avoided, and the problems in the prior art are well solved.
Detailed Description
The present invention will be described in further detail with reference to examples, but the embodiments of the present invention are not limited thereto.
Example 1:
When encountering simultaneous or frequent downloads from multiple clients, server overstress triggers an exception, and even if the request is successful, the returned JSON may be "null", and the request process is as follows:
Therefore, the method for efficiently downloading the information on shelves in the smart television application store is provided, and comprises the following steps:
Firstly, inquiring change time variation of an on-shelf application information file:
and sending the last modification time of the json file with the application information cached by the client to the server by using a HEAD method, and comparing the time with the last modification time of the actual file on the server by the server. If the time is consistent, return 304, meaning unmodified (Not Modified), the client uses the local cache file directly and no longer downloads. If the time does not coincide, 200 (request success) and new file content, request will be returned
For example:
Parameters to set HEAD when requesting dl-appstore.
If-Modified-Since:Mon,17 Aug 201912:03:33 GMT
Host:appstore.Huan.com
If the part of the request is modified after the specified time, the request is successful and the download is carried out again; unmodified, the code is returned 304.
Then, after receiving the new file, the client overwrites the old file with the new file, and caches the new file at the original path address:
for example, the application listing information file CH-ZLS82Gi-DTV-00-icntv.json of the application store of 848 deck covers the same-name file under the original./appstore/files, and the content of the latest modification time requested to the server application listing information file is specifically shown in the following table:
finally, if a voice command is received, the on shelf status is queried hdp:
Searching the current application according to the package name, and directly pulling up the current application if the current application is locally installed;
If the local download link is not installed, acquiring the corresponding download link in the application loading information cached locally according to the application package name (packageName);
the information on shelves fed back by the shop contains a download path of a designated application App:
"fileUrl":
https://dl-appstore.huan.tv//appstore/resources/2015/01/08/b6c41381994340898419dab02a345277/CH/app_1563346005240.cha/appid=hdpfans
the above example is the downloading and calling of the application loading information of the television core CH-ZLS82Gi-DTV-00-ICNTV, and the specific contents are as follows:
"apkpkgname":"hdpfans.com",
"appid":"b6c41381994340898419dab02a345277",
"fileUrl":
https://dl-appstore.huan.tv//appstore/resources/2015/01/08/b6c413
81994340898419dab02a345277/CH/app_1563346005240.cha/appi
d=hdpfans
"icon":
"http://img.appstore.huan.tv//appstore/resources/2015/01/08/b6c41
381994340898419dab02a345277/logo_1493369634378.png",
"mainActivity":"com.hdpfans.app.ui.main.MainActivity",
"md5":"802e5b925b563576f9c4f3b4ae6c9be8",
title HDP live broadcast "
"version":"3.1.1"
Although the present invention has been described herein with reference to the illustrated embodiments thereof, which are intended to be preferred embodiments of the present invention, it is to be understood that the invention is not limited thereto, and that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the spirit and scope of the principles of this disclosure.

Claims (7)

1. an efficient downloading method of information on shelves of an intelligent television application store is characterized by comprising the following steps:
Step 1: when the television is started, the client application store inquires the latest modification time of the application information file from the server;
step 2: comparing the latest modification time obtained in the step 1 with the last modification time, and if the two times are consistent, not downloading the application information file; and if the data are not consistent, downloading the application information data.
2. The method for efficiently downloading the information on the shelves of the smart television application store according to claim 1, wherein in the step 1, the server is queried by using a HEAD method so as to obtain the modification time of the current application information file of the server.
3. The method for efficiently downloading information from a smart television application store according to claim 2, wherein the HEAD is configured with an update date or MD5 code.
4. The method for efficiently downloading information on shelves in smart television application store according to claim 1, wherein in the step 2, asynchronous downloading is automatically performed in the background when the latest modification time is inconsistent with the last modification time.
5. The method for efficiently downloading information on an intelligent television application store according to claim 1, wherein the latest modification time is the last modification time of a file on a server, and the last modification time is the last modification time of a json file of application information cached by a client.
6. The method for efficiently downloading information on the shelf of an intelligent television application store according to claim 1, wherein in step 2, after the client receives the downloaded application information data, the client overwrites the old file with the new file and caches the old file at the original path address.
7. The method for efficiently downloading information on the shelf of an intelligent television application store according to claim 1, wherein in step 2, when the time is consistent for two times, the server returns 304 codes.
CN201910917909.6A 2019-09-26 2019-09-26 Efficient downloading method for information on shelves of smart television application store Pending CN110557685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910917909.6A CN110557685A (en) 2019-09-26 2019-09-26 Efficient downloading method for information on shelves of smart television application store

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910917909.6A CN110557685A (en) 2019-09-26 2019-09-26 Efficient downloading method for information on shelves of smart television application store

Publications (1)

Publication Number Publication Date
CN110557685A true CN110557685A (en) 2019-12-10

Family

ID=68741545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910917909.6A Pending CN110557685A (en) 2019-09-26 2019-09-26 Efficient downloading method for information on shelves of smart television application store

Country Status (1)

Country Link
CN (1) CN110557685A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959721A (en) * 2016-06-27 2016-09-21 四川长虹电器股份有限公司 Method for dynamically updating application data of smart television
US9596313B2 (en) * 2013-04-12 2017-03-14 Tencent Technology (Shenzhen) Company Limited Method, terminal, cache server and system for updating webpage data
CN106528594A (en) * 2016-09-20 2017-03-22 海信集团有限公司 Downloaded file querying method and device
CN108959553A (en) * 2018-06-29 2018-12-07 广州视源电子科技股份有限公司 A kind of URL update method, device and electronic equipment
CN109640122A (en) * 2018-11-20 2019-04-16 广东长虹电子有限公司 A kind of booting push content refresh display methods and the television equipment using it

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9596313B2 (en) * 2013-04-12 2017-03-14 Tencent Technology (Shenzhen) Company Limited Method, terminal, cache server and system for updating webpage data
CN105959721A (en) * 2016-06-27 2016-09-21 四川长虹电器股份有限公司 Method for dynamically updating application data of smart television
CN106528594A (en) * 2016-09-20 2017-03-22 海信集团有限公司 Downloaded file querying method and device
CN108959553A (en) * 2018-06-29 2018-12-07 广州视源电子科技股份有限公司 A kind of URL update method, device and electronic equipment
CN109640122A (en) * 2018-11-20 2019-04-16 广东长虹电子有限公司 A kind of booting push content refresh display methods and the television equipment using it

Similar Documents

Publication Publication Date Title
US7363622B2 (en) Remote program downloading system
CN1123244C (en) System and method for customizing wireless communication units
CN100512354C (en) Communication system, device ,apparatus and method for coping with multi-language management
US10656931B2 (en) Network event triggered software updates
CN101247362B (en) Instant communication system and updating method for its linkman data
CN101282453B (en) Method for updating electric service instruction, server, terminal and system
US20100205279A1 (en) Communication device, server, program, and communication system
US20110307561A1 (en) System and apparatus for power-efficiently delivering webpage contents in a broadcast network
CN101540784B (en) File download method, download response server and file sever
CN104838379A (en) Database synchronization
US20020184372A1 (en) Application managing apparatus
US10531131B2 (en) Distribution and management of content from a multi-tier content distribution system
CN111309320A (en) Method and system for customizing home page interface
CN103023978A (en) Application property information synchronization method and system with application aggregation platform
KR20070000867A (en) Apparatus and method for providing update file, and apparatus and method for downloading update file using the same
CN104298757A (en) Method and system allowing compatibility with mobile clients and databases different in version
CN110557685A (en) Efficient downloading method for information on shelves of smart television application store
US7584300B2 (en) Information processing system, mobile phone and information processing server
JP4590062B2 (en) Broadcast receiver system and method of operating broadcast receiver system
CN112995723A (en) EPG data management method, server and readable storage medium
US7296084B2 (en) Data management system and method
CN113094063A (en) Configuration file updating method and device
CN111782405B (en) Automatic packaging method and terminal for integrated two-dimensional code scanning
CN104853232B (en) A kind of television channel update method and device
US8424046B2 (en) Set-top box and method of providing video on demand thereto

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191210