WO2018053963A1 - Method and apparatus for upgrading system of smart television - Google Patents

Method and apparatus for upgrading system of smart television Download PDF

Info

Publication number
WO2018053963A1
WO2018053963A1 PCT/CN2016/112567 CN2016112567W WO2018053963A1 WO 2018053963 A1 WO2018053963 A1 WO 2018053963A1 CN 2016112567 W CN2016112567 W CN 2016112567W WO 2018053963 A1 WO2018053963 A1 WO 2018053963A1
Authority
WO
WIPO (PCT)
Prior art keywords
upgrade
upgrade package
smart
query request
device identifier
Prior art date
Application number
PCT/CN2016/112567
Other languages
French (fr)
Chinese (zh)
Inventor
姜国定
刘卫方
Original Assignee
深圳Tcl数字技术有限公司
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 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2018053963A1 publication Critical patent/WO2018053963A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • 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

Definitions

  • the present invention relates to the field of intelligent terminal technologies, and in particular, to a system upgrade method and apparatus for a smart television.
  • the system upgrade of the smart TV is generally implemented in the server deployment system upgrade package. After the smart TV terminal is powered on, the information exchange with the server is performed periodically. When it is detected that the server has a new upgrade package, the upgrade package is downloaded to the local area. Then proceed with the system upgrade.
  • this method has the drawback that the number of smart TVs requesting downloads at the same time is very large after the deployment of the new upgrade package, resulting in a particularly high network traffic during this period, not only for server performance and network.
  • the bandwidth requirements are very high, and at the same time, the operating expenses are drastically increased, resulting in high system upgrade costs.
  • the invention provides a system and a device for upgrading a smart TV.
  • the main purpose of the invention is to solve the technical problem that the system upgrade cost is high due to excessive network traffic in a period of time after the smart TV is deployed in the prior art.
  • the present invention provides a system upgrade method for a smart television, and the system upgrade method of the smart television includes:
  • the step of obtaining the device identifier of the smart TV from the upgrade package query request, when the upgrade package query request is sent by the smart TV includes:
  • the system upgrade method of the smart TV further includes:
  • the notification information that the current system version is the latest version is sent to the smart TV.
  • the present invention provides a system upgrade method for a smart television, and the system upgrade method of the smart television includes:
  • the downloaded download address of the upgrade package is sent to the smart TV.
  • the step of obtaining the device identifier of the smart TV from the upgrade package query request, when the upgrade package query request is sent by the smart TV includes:
  • the device identifier of the smart TV is obtained from the upgrade package query request.
  • the system upgrade method of the smart TV further includes:
  • the notification information that the current system version is the latest version is sent to the smart TV.
  • determining, according to the device identifier, an upgrade period of the deployed upgrade package, and a time interval between the time point when the upgrade package query request is received and the time point when the upgrade package is deployed determining the upgrade package query
  • the steps to request compliance with the preset conditions include:
  • the system upgrade method of the smart TV before the step of obtaining the device identifier of the smart TV from the upgrade package query request when receiving the upgrade package query request sent by the smart TV, the system upgrade method of the smart TV further includes :
  • the upgrade package is deployed.
  • the present invention further provides a system upgrade device for a smart TV
  • the system upgrade device of the smart TV includes:
  • An acquiring module configured to obtain, after receiving the upgrade package query request sent by the smart TV, the device identifier of the smart TV from the upgrade package query request;
  • a judging module configured to determine, according to the device identifier, an upgrade period of the deployed upgrade package, and a time interval between a time point when the upgrade package query request is received and a time point when the upgrade package is deployed Whether the query request meets the preset conditions;
  • a sending module configured to send the downloaded download address of the upgrade package to the smart TV if it is determined that the upgrade package query request meets the preset condition.
  • the obtaining module is further configured to: when receiving an upgrade package query request sent by the smart TV, obtain a current system version number of the smart TV from the upgrade package query request, and based on the system version No. detecting whether the system of the smart TV has a new version of the upgrade package; and if the system of the smart TV has a new version of the upgrade package, obtaining the device identifier of the smart TV from the upgrade package query request.
  • the sending module is further configured to: if it is determined that the upgrade package query request does not meet the preset condition, send, to the smart TV, notification information that the current system version is already the latest version.
  • the determining module includes:
  • the determining unit is configured to obtain the last digit X of the device identifier, and determine whether X belongs to the device identification interval [0, Q], and if yes, determine that the upgrade package query request meets a preset condition.
  • the obtaining module is further configured to: when receiving an instruction to deploy the upgrade package, acquire an urgency of the upgrade package based on the instruction, and search for an upgrade time period that matches the urgency degree;
  • the system upgrade device of the smart TV further includes:
  • a deployment module configured to deploy the upgrade package after the upgrade time period is found to be associated with the upgrade package.
  • the system upgrade method and device for the smart TV when the upgrade package is deployed, the upgrade time period is set, and when the upgrade package query request is received, the device identifier of the smart TV is obtained from the upgrade package query request, and the upgrade package is determined to be received.
  • the time interval between the time when the request is queried and the time when the upgrade package is deployed, and according to the time interval, the time interval, the upgrade time period, and the device identifier determine whether the upgrade package query request meets the preset condition, when the request meets the pre-condition
  • the download address of the deployed upgrade package is sent to the smart TV, that is, when the number of smart TVs requesting upgrade at the same time is too large, only some eligible smart TVs can receive the returned download address.
  • the shunting of the upgrade package query request of the smart TV is realized, and the network upgrade is costly and the system upgrade cost is reduced due to excessive network traffic for a period of time after the new upgrade package is deployed.
  • FIG. 1 is a flowchart of a first embodiment of a system upgrade method for a smart television according to the present invention
  • FIG. 2 is a flowchart of a second embodiment of a system upgrade method for a smart television according to the present invention
  • FIG. 3 is a schematic diagram of functional modules of a first embodiment of a system upgrade apparatus for a smart television according to the present invention
  • FIG. 4 is a schematic diagram of functional modules of a second embodiment of a system upgrade apparatus for a smart television according to the present invention.
  • the invention provides a system upgrade method for a smart TV.
  • FIG. 1 a flow chart of a first embodiment of a system upgrade method for a smart television according to the present invention is shown.
  • the system upgrade method of the smart TV includes:
  • Step S10 Obtain a device identifier of the smart TV from the upgrade package query request when receiving an upgrade package query request sent by the smart TV;
  • the upgrade package of the new version system needs to be deployed on the server. After the smart TV is turned on, it will automatically detect whether the current system is the latest version, and send an upgrade package query request to the server to determine whether it is There is a new version of the upgrade package.
  • the smart device when the smart TV sends an upgrade package query request to the server, the smart device carries the device identifier of the local device in the upgrade package query request, and the device identifier may be the product serial number and physical address of the smart TV.
  • the code that uniquely identifies the device is described by taking the product serial number of the following TV as an example.
  • the server receives the upgrade package query request, the server first obtains the product serial number from the query request.
  • Step S20 Determine the upgrade package query request according to the device identifier, the upgrade time period of the deployed upgrade package, and the time interval between the time point when the upgrade package query request is received and the time point when the upgrade package is deployed. Whether the preset conditions are met;
  • Step S30 If it is determined that the upgrade package query request meets the preset condition, send the downloaded download address of the upgrade package to the smart TV.
  • the server When the server deploys the upgrade package, the server sets an upgrade time period and records the time point for deploying the upgrade package.
  • the upgrade time period is in days.
  • the upgrade time period is set to 10. Day, record the date when the upgrade package is deployed, and when receiving the upgrade package query request, obtain the current date, calculate the time point of receiving the upgrade package query request and deploy the upgrade package according to the current date and the date of the recorded deployment upgrade package.
  • the unit of the time interval is consistent with the unit of the upgrade time period, and is all in days.
  • the upgrade period During the upgrade period, according to the above time interval, only the smart TVs whose product serial numbers in the partial upgrade package query request meet the requirements are upgraded every day, and the download address of the upgrade package is sent to the smart TVs that meet the preset conditions, wherein
  • the setting of the preset condition can be implemented in various ways, and is set by the user as needed.
  • step S20 may include the following refinement steps:
  • a shunting algorithm is provided.
  • the parameter N is set, wherein the constant 10 in the above formula may also be set as other constants, as long as the upgrade time period parameter N less than or equal to the preset is satisfied. That's it, not only does it enable shunting, but it also ensures that all smart TVs will eventually be upgraded.
  • After obtaining the product serial number obtain the last digit X of the product serial number, and obtain the time interval D.
  • N 10, wherein it can be understood that the last digit of the product serial number
  • the value range is 0-9.
  • the above upgrade time period and preset conditions can be set by the user according to requirements, and the server sends the download address of the upgrade package to the qualified smart TV.
  • the smart TV can request the download of the new version of the upgrade package according to the received download address.
  • the shunting of the upgrade of the smart television system is realized, and the number of smart TVs that are upgraded in a short time after the deployment of the upgrade package is avoided, which imposes an excessive burden on the server and the network bandwidth, and reduces the operation. Cost, reducing the cost of upgrading the system.
  • step S20 if it is determined that the upgrade package query request does not meet the preset condition, the notification information that the current system version is the latest version is sent to the smart TV.
  • the last digit of the product serial number is 2-9 of the smart TV upgrade package query. If the request is not in accordance with the preset condition, the notification information that the current system version is already the latest version is sent to these smart TVs.
  • step S10 includes:
  • the device identifier of the smart TV is obtained from the upgrade package query request.
  • the smart TV Since the system of the smart TV that sends the upgrade package query request may have been upgraded to the latest version of the system, the smart TV needs to load the current version number of the smart TV system in the query request when sending the upgrade package query request.
  • the server detects whether the system has a new version of the upgrade package based on the current version number.
  • the device identifier of the smart TV is obtained from the query request.
  • system upgrade method of the present application is not limited to a smart TV, and is also applicable to other smart terminals installed with a smart operating system, for example, a mobile terminal such as a smart phone or a tablet computer.
  • the upgrade time period is set when the upgrade package is deployed.
  • the device identifier of the smart TV is obtained from the upgrade package query request, and the upgrade package query is determined.
  • the time interval between the requested time point and the time point when the upgrade package is deployed, and according to the time interval, according to the time interval, the upgrade time period, and the device identifier, whether the upgrade package query request meets the preset condition, when the request meets the preset When the condition is met, the download address of the deployed upgrade package is sent to the smart TV, that is, when the number of smart TVs that request upgrade at the same time is too large, only some eligible smart TVs can receive the returned download address,
  • the offloading of the upgrade package query request of the smart TV avoids the high network upgrade cost and the system upgrade cost in a period of time after the new upgrade package is deployed.
  • a second embodiment of the system upgrade method of the smart television of the present invention is proposed based on the first embodiment.
  • the system upgrade method of the smart TV further includes:
  • Step S40 when receiving the instruction to deploy the upgrade package, acquire the urgency of the upgrade package based on the instruction, and find an upgrade time period that matches the urgency level;
  • Step S50 After the found upgrade time period is associated with the upgrade package, deploy the upgrade package.
  • the administrator of the server can manually configure the upgrade time period when deploying the upgrade package.
  • the administrator of the server only needs to pre-configure the upgrade time period corresponding to different urgency levels. For example, the most urgent urgency upgrade period is 1 day, that is, all smart terminals can be upgraded on the first day of the upgrade package deployment; the urgency period is 2 days, urgency The lower upgrade period is 5 days and the least urgent upgrade period is 10 days.
  • the foregoing data is for illustrative purposes only and is not intended to limit the present invention. Different urgency levels and corresponding upgrade time periods may be pre-configured by the user as needed.
  • the system upgrade method of the smart TV proposed in this embodiment can flexibly set the upgrade time period according to the urgency of the upgrade package while implementing the system upgrade and offload.
  • the emergency upgrade package although the traffic is larger, it can satisfy the For fast upgrades, for relatively non-emergency upgrades, you can perform shunt control to reduce network traffic and reduce operating costs.
  • the invention also proposes a system upgrade device for a smart TV.
  • FIG. 3 it is a schematic diagram of functional modules of a first embodiment of a system upgrade apparatus for a smart television according to the present invention.
  • the system upgrade device of the smart TV includes:
  • the obtaining module 10 is configured to obtain, after receiving the upgrade package query request sent by the smart TV, the device identifier of the smart TV from the upgrade package query request;
  • the upgrade package of the new version system needs to be deployed on the server. After the smart TV is turned on, it will automatically detect whether the current system is the latest version, and send an upgrade package query request to the server to determine whether it is There is a new version of the upgrade package.
  • the system upgrade device of the smart TV in this embodiment may be the above server.
  • the smart device when the smart TV sends an upgrade package query request to the server, the smart device carries the device identifier of the local device in the upgrade package query request, and the device identifier may be the product serial number and physical address of the smart TV.
  • the code that uniquely identifies the device is described by taking the product serial number of the following TV as an example.
  • the server receives the upgrade package query request, the obtaining module 10 first obtains the product serial number from the query request.
  • the determining module 20 is configured to determine, according to the device identifier, an upgrade time period of the deployed upgrade package, and a time interval between the time point when the upgrade package query request is received and the time point when the upgrade package is deployed, Whether the package query request meets the preset conditions;
  • the sending module 30 is configured to send the downloaded download address of the upgrade package to the smart TV if it is determined that the upgrade package query request meets the preset condition.
  • the server When the server deploys the upgrade package, the server sets an upgrade time period and records the time point for deploying the upgrade package.
  • the upgrade time period is in days.
  • the upgrade time period is set to 10. Day, record the date when the upgrade package is deployed, and when receiving the upgrade package query request, obtain the current date, calculate the time point of receiving the upgrade package query request and deploy the upgrade package according to the current date and the date of the recorded deployment upgrade package.
  • the unit of the time interval is consistent with the unit of the upgrade time period, and is all in days.
  • the sending module 30 sends the download address of the upgrade package to the smart devices that meet the preset conditions.
  • the television wherein the setting of the preset condition can be implemented in various manners, is set by the user as needed.
  • the determining module 20 includes:
  • the determining unit is configured to obtain the last digit X of the device identifier, and determine whether X belongs to the device identification interval [0, Q], and if yes, determine that the upgrade package query request meets a preset condition.
  • a shunting algorithm is provided.
  • the parameter N is set, wherein the constant 10 in the above formula may also be set as other constants, as long as the upgrade time period parameter N less than or equal to the preset is satisfied. That's it, not only does it enable shunting, but it also ensures that all smart TVs will eventually be upgraded.
  • After obtaining the product serial number obtain the last digit X of the product serial number, and obtain the time interval D.
  • N 10, wherein it can be understood that the last digit of the product serial number
  • the value range is 0-9.
  • the judgment unit determines all the Smart TV sent upgrade Query requests are in line with pre-conditions.
  • the upgrade time period and the preset condition may be set by the user according to requirements, and the sending module 30 sends the download address of the upgrade package to the qualified smart TV, and the smart TV may request the new version of the upgrade package according to the received download address.
  • Download according to the above-mentioned shunting algorithm, realize the shunting of the upgrade of the smart TV system, avoiding the excessive number of smart TVs being upgraded in a short time after deploying the upgrade package, which imposes an excessive burden on the server and network bandwidth, and reduces Operating expenses, reducing system upgrade costs.
  • the sending module 30 is further configured to: if it is determined that the upgrade package query request does not meet the preset condition, send, to the smart TV, notification information that the current system version is already the latest version.
  • the sending module 30 sends the smart TV with the notification information that the current system version is already the latest version.
  • the obtaining module 10 is further configured to: when receiving an upgrade package query request sent by the smart TV, obtain the current system version number of the smart TV from the upgrade package query request, and Detecting whether the system of the smart TV has a new version of the upgrade package based on the system version number; and if the system of the smart TV has a new version of the upgrade package, acquiring the smart from the upgrade package query request The device identification of the TV.
  • the smart TV Since the system of the smart TV that sends the upgrade package query request may have been upgraded to the latest version of the system, the smart TV needs to load the current version number of the smart TV system in the query request when sending the upgrade package query request.
  • the server receives the query request, the obtaining module 10 obtains the current system version number of the smart TV obtained from the query request, and detects whether the system has a new version of the upgrade package based on the current version number, and when a new version of the upgrade package is detected The obtaining module 10 then obtains the device identifier of the smart TV from the query request.
  • system upgrade device of the present application can not only upgrade the user smart TV, but also upgrade other smart terminals installed with the smart operating system, for example, mobile terminals such as smart phones and tablet computers.
  • the system upgrade device of the smart TV sets an upgrade time period when the upgrade package is deployed, and obtains the device identifier of the smart TV from the upgrade package query request when receiving the upgrade package query request, and determines that the upgrade package query is received.
  • the download address of the deployed upgrade package is sent to the smart TV, that is, when the number of smart TVs that request upgrade at the same time is too large, only some eligible smart TVs can receive the returned download address,
  • the offloading of the upgrade package query request of the smart TV avoids the high network upgrade cost and the system upgrade cost in a period of time after the new upgrade package is deployed.
  • the obtaining module 10 is further configured to: when receiving an instruction to deploy an upgrade package, acquire an urgency of the upgrade package based on the instruction, and find a match with the urgency Upgrade time period;
  • the system upgrade device of the smart TV further includes:
  • the deployment module 40 is configured to deploy the upgrade package after the upgrade time period is found to be associated with the upgrade package.
  • the administrator of the server can manually configure the upgrade time period when deploying the upgrade package.
  • the administrator of the server only needs to pre-configure the upgrade time period corresponding to different urgency levels. For example, the most urgent urgency upgrade period is 1 day, that is, all smart terminals can be upgraded on the first day of the upgrade package deployment; the urgency period is 2 days, urgency The lower upgrade period is 5 days and the least urgent upgrade period is 10 days.
  • the foregoing data is for illustrative purposes only and is not intended to limit the present invention. Different urgency levels and corresponding upgrade time periods may be pre-configured by the user as needed.
  • the urgency of the upgrade package is input.
  • the acquisition module 10 acquires the urgency and finds the matching upgrade period, and the deployment module 40 will find The upgrade period is associated with the upgrade package and the upgrade package is deployed.
  • the system upgrade device of the smart TV provided in this embodiment can flexibly set the upgrade time period according to the urgency of the upgrade package while implementing the system upgrade and offload.
  • the emergency upgrade package although the traffic is larger, it can satisfy the For fast upgrades, for relatively non-emergency upgrades, you can perform shunt control to reduce network traffic and reduce operating costs.
  • first”, “second”, and the like in the invention are only described for purposes of illustration, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” or “second” may include at least one of the features, either explicitly or implicitly.
  • the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions is not It is not within the scope of protection required by the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A method for upgrading a system of a smart television, the method comprising: when receiving an upgrade package query request sent by a smart television, acquiring a device identifier of the smart television from within the upgrade package query request; determining whether the upgrade package query request meets a preset condition according to the device identifier, an upgrade time period of a deployed upgrade package, and a time interval between a time point when the upgrade package query request is received and a time point when the upgrade package is deployed; and sending a download address of the deployed upgrade package to the smart television if determined that the upgrade package query request meets the preset condition. Also provided is an apparatus for upgrading a system of a smart television. The present invention solves the technical problem in existing technology wherein excessive network traffic results in high system upgrade costs within a period of time after a smart television deploys an upgrade package.

Description

智能电视的系统升级方法及装置  System upgrade method and device for smart television
技术领域Technical field
本发明涉及智能终端技术领域,尤其涉及一种智能电视的系统升级方法及装置。The present invention relates to the field of intelligent terminal technologies, and in particular, to a system upgrade method and apparatus for a smart television.
背景技术Background technique
电视作为信息传播终端,在人们生活中被广泛使用。随着互联网技术的发展,智能电视在人们生活正占有越来越重要的位置。现有的智能电视产品中,因其功能的不断完善或者改进,需要经常进行系统升级操作。As an information dissemination terminal, television is widely used in people's lives. With the development of Internet technology, smart TV is occupying an increasingly important position in people's lives. In the existing smart TV products, due to the continuous improvement or improvement of its functions, it is necessary to perform system upgrade operations frequently.
目前,智能电视的系统升级,一般是采用在服务器部署系统升级包,智能电视终端开机后,会定时和服务器进行信息交互,当检测到服务器存在新的升级包时,会下载升级包到本地,然后进行系统升级。At present, the system upgrade of the smart TV is generally implemented in the server deployment system upgrade package. After the smart TV terminal is powered on, the information exchange with the server is performed periodically. When it is detected that the server has a new upgrade package, the upgrade package is downloaded to the local area. Then proceed with the system upgrade.
但是,这种方法存在的缺陷是:在新升级包部署后的一段时间内,同时请求下载的智能电视的数量非常大,导致网络流量在这段时间内特别高,不仅对服务器的性能和网络带宽的要求非常高,同时引起运营费用的急剧增加,导致系统升级的成本高。However, this method has the drawback that the number of smart TVs requesting downloads at the same time is very large after the deployment of the new upgrade package, resulting in a particularly high network traffic during this period, not only for server performance and network. The bandwidth requirements are very high, and at the same time, the operating expenses are drastically increased, resulting in high system upgrade costs.
发明内容Summary of the invention
本发明提供一种智能电视的系统升级方法及装置,其主要目的在于解决现有技术中智能电视在部署升级包后的一段时间内,网络流量过大造成系统升级成本高的技术问题。The invention provides a system and a device for upgrading a smart TV. The main purpose of the invention is to solve the technical problem that the system upgrade cost is high due to excessive network traffic in a period of time after the smart TV is deployed in the prior art.
为实现上述目的,本发明提供一种智能电视的系统升级方法,该智能电视的系统升级方法包括:To achieve the above object, the present invention provides a system upgrade method for a smart television, and the system upgrade method of the smart television includes:
在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视的设备标识;Obtaining, from the upgrade package query request, the device identifier of the smart TV when receiving the upgrade package query request sent by the smart TV;
根据所述设备标识、部署的升级包的升级时间段,以及接收到所述升级包查询请求的时间点与部署升级包的时间点之间的时间间隔,判断所述升级包查询请求是否符合预设条件;Determining whether the upgrade package query request meets the pre-determination according to the device identifier, the upgrade time period of the deployed upgrade package, and the time interval between the time point when the upgrade package query request is received and the time point when the upgrade package is deployed. Set conditions;
若判定所述升级包查询请求符合所述预设条件,则将部署的所述升级包的下载地址发送至所述智能电视;If it is determined that the upgrade package query request meets the preset condition, sending the downloaded download address of the upgrade package to the smart TV;
所述在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视的设备标识的步骤包括:The step of obtaining the device identifier of the smart TV from the upgrade package query request, when the upgrade package query request is sent by the smart TV, includes:
在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视当前的系统版本号,并基于所述系统版本号检测所述智能电视的系统是否有新版本的升级包;Obtaining a current system version number of the smart TV from the upgrade package query request, and detecting whether the smart TV system has a new version based on the system version number when receiving the upgrade package query request sent by the smart TV Upgrade package;
若所述智能电视的系统有新版本的升级包,则从所述升级包查询请求中获取所述智能电视的设备标识;If the system of the smart TV has a new version of the upgrade package, obtain the device identifier of the smart TV from the upgrade package query request;
所述判断所述升级包查询请求是否符合预设条件的步骤之后,所述智能电视的系统升级方法还包括:After the step of determining whether the upgrade package query request meets a preset condition, the system upgrade method of the smart TV further includes:
若判定所述升级包查询请求不符合所述预设条件,则向所述智能电视发送当前系统版本已经是最新版本的通知信息。If it is determined that the upgrade package query request does not meet the preset condition, the notification information that the current system version is the latest version is sent to the smart TV.
为实现上述目的,本发明提供一种智能电视的系统升级方法,该智能电视的系统升级方法包括:To achieve the above object, the present invention provides a system upgrade method for a smart television, and the system upgrade method of the smart television includes:
在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视的设备标识;Obtaining, from the upgrade package query request, the device identifier of the smart TV when receiving the upgrade package query request sent by the smart TV;
根据所述设备标识、部署的升级包的升级时间段,以及接收到所述升级包查询请求的时间点与部署升级包的时间点之间的时间间隔,判断所述升级包查询请求是否符合预设条件;Determining whether the upgrade package query request meets the pre-determination according to the device identifier, the upgrade time period of the deployed upgrade package, and the time interval between the time point when the upgrade package query request is received and the time point when the upgrade package is deployed. Set conditions;
若判定所述升级包查询请求符合所述预设条件,则将部署的所述升级包的下载地址发送至所述智能电视。If it is determined that the upgrade package query request meets the preset condition, the downloaded download address of the upgrade package is sent to the smart TV.
可选地,所述在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视的设备标识的步骤包括:Optionally, the step of obtaining the device identifier of the smart TV from the upgrade package query request, when the upgrade package query request is sent by the smart TV, includes:
在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视当前的系统版本号,并基于所述系统版本号检测所述智能电视的系统是否有新版本的升级包;Obtaining a current system version number of the smart TV from the upgrade package query request, and detecting whether the smart TV system has a new version based on the system version number when receiving the upgrade package query request sent by the smart TV Upgrade package;
若所述智能电视的系统有新版本的升级包,则从所述升级包查询请求中获取所述智能电视的设备标识。If the system of the smart TV has a new version of the upgrade package, the device identifier of the smart TV is obtained from the upgrade package query request.
可选地,所述判断所述升级包查询请求是否符合预设条件的步骤之后,所述智能电视的系统升级方法还包括:Optionally, after the step of determining whether the upgrade package query request meets a preset condition, the system upgrade method of the smart TV further includes:
若判定所述升级包查询请求不符合所述预设条件,则向所述智能电视发送当前系统版本已经是最新版本的通知信息。If it is determined that the upgrade package query request does not meet the preset condition, the notification information that the current system version is the latest version is sent to the smart TV.
可选地,根据所述设备标识、部署的升级包的升级时间段,以及接收到所述升级包查询请求的时间点与部署升级包的时间点之间的时间间隔,判断所述升级包查询请求是否符合预设条件的步骤包括:Optionally, determining, according to the device identifier, an upgrade period of the deployed upgrade package, and a time interval between the time point when the upgrade package query request is received and the time point when the upgrade package is deployed, determining the upgrade package query The steps to request compliance with the preset conditions include:
根据公式Q=(D/N)*10计算设备标识区间的上限值Q,其中,所述D为所述时间间隔,所述N为所述升级时间段;Calculating an upper limit value Q of the device identification interval according to the formula Q=(D/N)*10, wherein the D is the time interval, and the N is the upgrade time period;
获取所述设备标识的最后一位数字X,判断X是否属于设备标识区间[0,Q],其中,若是,则判定所述升级包查询请求符合预设条件。Obtaining the last digit X of the device identifier, determining whether X belongs to the device identification interval [0, Q], and if yes, determining that the upgrade package query request meets a preset condition.
可选地,在所述在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视的设备标识的步骤之前,所述智能电视的系统升级方法还包括:Optionally, before the step of obtaining the device identifier of the smart TV from the upgrade package query request when receiving the upgrade package query request sent by the smart TV, the system upgrade method of the smart TV further includes :
在接收到部署升级包的指令时,基于所述指令获取所述升级包的紧急程度,并查找与所述紧急程度匹配的升级时间段;Upon receiving an instruction to deploy the upgrade package, acquiring an urgency of the upgrade package based on the instruction, and searching for an upgrade time period that matches the urgency level;
将查找到的所述升级时间段与所述升级包关联后,部署所述升级包。After the discovered upgrade time period is associated with the upgrade package, the upgrade package is deployed.
此外,为实现上述目的,本发明还提供一种智能电视的系统升级装置,该智能电视的系统升级装置包括:In addition, in order to achieve the above object, the present invention further provides a system upgrade device for a smart TV, the system upgrade device of the smart TV includes:
获取模块,用于在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视的设备标识;An acquiring module, configured to obtain, after receiving the upgrade package query request sent by the smart TV, the device identifier of the smart TV from the upgrade package query request;
判断模块,用于根据所述设备标识、部署的升级包的升级时间段,以及接收到所述升级包查询请求的时间点与部署升级包的时间点之间的时间间隔,判断所述升级包查询请求是否符合预设条件;a judging module, configured to determine, according to the device identifier, an upgrade period of the deployed upgrade package, and a time interval between a time point when the upgrade package query request is received and a time point when the upgrade package is deployed Whether the query request meets the preset conditions;
发送模块,用于若判定所述升级包查询请求符合所述预设条件,则将部署的所述升级包的下载地址发送至所述智能电视。And a sending module, configured to send the downloaded download address of the upgrade package to the smart TV if it is determined that the upgrade package query request meets the preset condition.
可选地,所述获取模块还用于:在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视当前的系统版本号,并基于所述系统版本号检测所述智能电视的系统是否有新版本的升级包;以及,若所述智能电视的系统有新版本的升级包,则从所述升级包查询请求中获取所述智能电视的设备标识。Optionally, the obtaining module is further configured to: when receiving an upgrade package query request sent by the smart TV, obtain a current system version number of the smart TV from the upgrade package query request, and based on the system version No. detecting whether the system of the smart TV has a new version of the upgrade package; and if the system of the smart TV has a new version of the upgrade package, obtaining the device identifier of the smart TV from the upgrade package query request.
可选地,所述发送模块还用于:若判定所述升级包查询请求不符合所述预设条件,则向所述智能电视发送当前系统版本已经是最新版本的通知信息。Optionally, the sending module is further configured to: if it is determined that the upgrade package query request does not meet the preset condition, send, to the smart TV, notification information that the current system version is already the latest version.
可选地,所述判断模块包括:Optionally, the determining module includes:
计算单元,用于根据公式Q=(D/N)*10计算设备标识区间的上限值Q,其中,所述D为所述时间间隔,所述N为所述升级时间段;a calculating unit, configured to calculate an upper limit value Q of the device identification interval according to the formula Q=(D/N)*10, wherein the D is the time interval, and the N is the upgrade time period;
判断单元,用于获取所述设备标识的最后一位数字X,判断X是否属于设备标识区间[0,Q],其中,若是,则判定所述升级包查询请求符合预设条件。The determining unit is configured to obtain the last digit X of the device identifier, and determine whether X belongs to the device identification interval [0, Q], and if yes, determine that the upgrade package query request meets a preset condition.
可选地,所述获取模块还用于:在接收到部署升级包的指令时,基于所述指令获取所述升级包的紧急程度,并查找与所述紧急程度匹配的升级时间段;Optionally, the obtaining module is further configured to: when receiving an instruction to deploy the upgrade package, acquire an urgency of the upgrade package based on the instruction, and search for an upgrade time period that matches the urgency degree;
所述智能电视的系统升级装置还包括:The system upgrade device of the smart TV further includes:
部署模块,用于将查找到的所述升级时间段与所述升级包关联后,部署所述升级包。a deployment module, configured to deploy the upgrade package after the upgrade time period is found to be associated with the upgrade package.
本发明提出的智能电视的系统升级方法及装置,部署升级包时设置升级时间段,在接收到升级包查询请求时,从该升级包查询请求中获取智能电视的设备标识,确定接收到升级包查询请求的时间点与部署升级包的时间点之间的时间间隔,并根据时间间隔,根据该时间间隔、升级时间段以及设备标识判断升级包查询请求是否符合预设条件,当该请求符合预设条件时,将部署的升级包的下载地址发送给所述智能电视,也就是说,当同时请求升级的智能电视数量过多时,只有部分符合条件的智能电视才能够收到返回的下载地址,实现了对智能电视的升级包查询请求的分流,避免新升级包部署后的一段时间内,网络流量过大造成系统升级成本高,降低系统的升级成本。The system upgrade method and device for the smart TV according to the present invention, when the upgrade package is deployed, the upgrade time period is set, and when the upgrade package query request is received, the device identifier of the smart TV is obtained from the upgrade package query request, and the upgrade package is determined to be received. The time interval between the time when the request is queried and the time when the upgrade package is deployed, and according to the time interval, the time interval, the upgrade time period, and the device identifier determine whether the upgrade package query request meets the preset condition, when the request meets the pre-condition When the condition is set, the download address of the deployed upgrade package is sent to the smart TV, that is, when the number of smart TVs requesting upgrade at the same time is too large, only some eligible smart TVs can receive the returned download address. The shunting of the upgrade package query request of the smart TV is realized, and the network upgrade is costly and the system upgrade cost is reduced due to excessive network traffic for a period of time after the new upgrade package is deployed.
附图说明DRAWINGS
图1为本发明智能电视的系统升级方法第一实施例的流程图;1 is a flowchart of a first embodiment of a system upgrade method for a smart television according to the present invention;
图2为本发明智能电视的系统升级方法第二实施例的流程图;2 is a flowchart of a second embodiment of a system upgrade method for a smart television according to the present invention;
图3为本发明智能电视的系统升级装置第一实施例的功能模块示意图;3 is a schematic diagram of functional modules of a first embodiment of a system upgrade apparatus for a smart television according to the present invention;
图4为本发明智能电视的系统升级装置第二实施例的功能模块示意图。4 is a schematic diagram of functional modules of a second embodiment of a system upgrade apparatus for a smart television according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种智能电视的系统升级方法。参照图1所示,为本发明智能电视的系统升级方法第一实施例的流程图。The invention provides a system upgrade method for a smart TV. Referring to FIG. 1, a flow chart of a first embodiment of a system upgrade method for a smart television according to the present invention is shown.
在本实施例中,该智能电视的系统升级方法包括:In this embodiment, the system upgrade method of the smart TV includes:
步骤S10,在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视的设备标识;Step S10: Obtain a device identifier of the smart TV from the upgrade package query request when receiving an upgrade package query request sent by the smart TV;
当智能电视有新的升级包时,需要将新版本系统的升级包部署在服务器,智能电视开启后,会自动检测当前的系统是否为最新版本,并通过向服务器发送升级包查询请求来判断是否有新版本的升级包。When the smart TV has a new upgrade package, the upgrade package of the new version system needs to be deployed on the server. After the smart TV is turned on, it will automatically detect whether the current system is the latest version, and send an upgrade package query request to the server to determine whether it is There is a new version of the upgrade package.
在本发明实施例中,智能电视在向服务器发送升级包查询请求时,在该升级包查询请求中携带本机的设备标识,该设备标识可以是该智能电视的产品序列号、物理地址等可以唯一标识该设备的编码,以下电视的产品序列号为例进行说明。服务器在接收到升级包查询请求时,先从该查询请求中获取到产品序列号。In the embodiment of the present invention, when the smart TV sends an upgrade package query request to the server, the smart device carries the device identifier of the local device in the upgrade package query request, and the device identifier may be the product serial number and physical address of the smart TV. The code that uniquely identifies the device is described by taking the product serial number of the following TV as an example. When the server receives the upgrade package query request, the server first obtains the product serial number from the query request.
步骤S20,根据所述设备标识、部署的升级包的升级时间段,以及接收到所述升级包查询请求的时间点与部署升级包的时间点之间的时间间隔,判断所述升级包查询请求是否符合预设条件;Step S20: Determine the upgrade package query request according to the device identifier, the upgrade time period of the deployed upgrade package, and the time interval between the time point when the upgrade package query request is received and the time point when the upgrade package is deployed. Whether the preset conditions are met;
步骤S30,若判定所述升级包查询请求符合所述预设条件,则将部署的所述升级包的下载地址发送至所述智能电视。Step S30: If it is determined that the upgrade package query request meets the preset condition, send the downloaded download address of the upgrade package to the smart TV.
服务器端在部署升级包时,在服务器端设置一个升级时间段,并记录部署该升级包的时间点,在本实施例中,该升级时间段以天为单位,例如,设置升级时间段为10天,记录部署升级包的日期,并且在接收到升级包查询请求时,获取当前的日期,根据当前日期以及记录的部署升级包的日期计算接收到升级包查询请求的时间点与部署升级包的时间点之间的时间间隔,在本实施例中,该时间间隔的单位与升级时间段的单位一致,均以天为单位。When the server deploys the upgrade package, the server sets an upgrade time period and records the time point for deploying the upgrade package. In this embodiment, the upgrade time period is in days. For example, the upgrade time period is set to 10. Day, record the date when the upgrade package is deployed, and when receiving the upgrade package query request, obtain the current date, calculate the time point of receiving the upgrade package query request and deploy the upgrade package according to the current date and the date of the recorded deployment upgrade package. The time interval between the time points. In this embodiment, the unit of the time interval is consistent with the unit of the upgrade time period, and is all in days.
在升级时间段内,根据上述时间间隔,每天只开放部分升级包查询请求中的产品序列号符合要求的智能电视进行升级,将升级包的下载地址发送给这些符合预设条件的智能电视,其中,预设条件的设置可以有多种实施方式,由用户根据需要设置。During the upgrade period, according to the above time interval, only the smart TVs whose product serial numbers in the partial upgrade package query request meet the requirements are upgraded every day, and the download address of the upgrade package is sent to the smart TVs that meet the preset conditions, wherein The setting of the preset condition can be implemented in various ways, and is set by the user as needed.
可选地,作为一种实施方式,步骤S20可以包括以下细化步骤:Optionally, as an implementation manner, step S20 may include the following refinement steps:
根据公式Q=(D/N)*10计算设备标识区间的上限值Q,其中,所述D为所述时间间隔,所述N为所述升级时间段;Calculating an upper limit value Q of the device identification interval according to the formula Q=(D/N)*10, wherein the D is the time interval, and the N is the upgrade time period;
获取所述设备标识的最后一位数字X,判断X是否属于设备标识区间[0,Q],其中,若是,则判定所述升级包查询请求符合预设条件。Obtaining the last digit X of the device identifier, determining whether X belongs to the device identification interval [0, Q], and if yes, determining that the upgrade package query request meets a preset condition.
在该实施方式中,提供一种分流算法,在部署升级包时,设置参数N,其中,上述公式中的常数10也可以设置为其他常数,只要满足小于或者等于预先设置的升级时间段参数N即可,这样不仅能够实现分流,而且能够保证所有的智能电视最终都能够升级。在获取到产品序列号之后,获取产品序列号的最后一位数字X,并获取时间间隔D,以下以N=10为例进行说明,其中,可以理解的是,产品序列号的最后一位数字的取值范围是0-9。In this embodiment, a shunting algorithm is provided. When the upgrade package is deployed, the parameter N is set, wherein the constant 10 in the above formula may also be set as other constants, as long as the upgrade time period parameter N less than or equal to the preset is satisfied. That's it, not only does it enable shunting, but it also ensures that all smart TVs will eventually be upgraded. After obtaining the product serial number, obtain the last digit X of the product serial number, and obtain the time interval D. The following is an example with N=10, wherein it can be understood that the last digit of the product serial number The value range is 0-9.
在部署升级包的第一天接收到的升级包查询请求的时间间隔均为0,那么D=0,计算得到Q=0,只有产品序列号的最后一位X=0的升级包查询请求符合预设条件;部署升级包的第二天,D=1,计算得到Q=1,设备标识区间为[0,1],在这一天发送升级包查询请求的智能电视中,只有产品序列号的最后一位X=0或者1的升级包查询请求符合预设条件;部署升级包的第三天,D=2,计算得到Q=2,只有产品序列号为的最后一位X=0、1或者2的升级包查询请求符合预设条件,以此类推,发送升级包查询请求的时间点距离部署升级包的时间点的时间间隔越长,D数值越大,符合条件的升级包查询请求越多,那么到部署升级包的第10天起,计算得到的Q=9,设备标识区间为[0,9],所有的智能电视发送的升级包查询请求都符合预设条件。The time interval of the upgrade package query request received on the first day of deploying the upgrade package is 0, then D=0, and Q=0 is calculated. Only the last X=0 upgrade package query request of the product serial number is met. Pre-set conditions; the next day after deploying the upgrade package, D=1, Q=1 is calculated, and the device identification interval is [0,1]. In the smart TV that sends the upgrade package query request on this day, only the product serial number is available. The last X=0 or 1 upgrade package query request meets the preset conditions; on the third day of deploying the upgrade package, D=2, the calculation yields Q=2, only the last digit of the product serial number is X=0, 1 Or the upgrade package query request of 2 is in accordance with the preset condition, and so on. The longer the time interval from the time when the upgrade package query request is sent, the longer the D interval is, the larger the D value is, and the more the eligible upgrade package query request is. More, then from the 10th day of deploying the upgrade package, the calculated Q=9, the device identification interval is [0, 9], and all the upgrade package query requests sent by the smart TV meet the preset conditions.
上述升级时间段和预设条件均可以由用户根据需要设置,服务器将升级包的下载地址发送至符合条件的智能电视,这些智能电视可以根据接收到的下载地址请求新版本的升级包的下载,按照上述分流算法,实现了智能电视系统升级的分流,避免在部署升级包后的短时间内,进行升级的智能电视数量过大,为服务器和网络带宽带来过大的负担,同时降低了运营费用,降低系统的升级成本。The above upgrade time period and preset conditions can be set by the user according to requirements, and the server sends the download address of the upgrade package to the qualified smart TV. The smart TV can request the download of the new version of the upgrade package according to the received download address. According to the above-mentioned shunting algorithm, the shunting of the upgrade of the smart television system is realized, and the number of smart TVs that are upgraded in a short time after the deployment of the upgrade package is avoided, which imposes an excessive burden on the server and the network bandwidth, and reduces the operation. Cost, reducing the cost of upgrading the system.
在步骤S20之后,若判定所述升级包查询请求不符合所述预设条件,则向所述智能电视发送当前系统版本已经是最新版本的通知信息。After the step S20, if it is determined that the upgrade package query request does not meet the preset condition, the notification information that the current system version is the latest version is sent to the smart TV.
仍然以上述实施方式中的数据为例,在部署升级包的第二天,由于设备标识区间为[0,1],则产品序列号的最后一位为2-9的智能电视的升级包查询请求是不符合预设条件的,则向这些智能电视发送当前系统版本已经是最新版本的通知信息。Still taking the data in the above embodiment as an example, on the second day of deploying the upgrade package, since the device identification interval is [0, 1], the last digit of the product serial number is 2-9 of the smart TV upgrade package query. If the request is not in accordance with the preset condition, the notification information that the current system version is already the latest version is sent to these smart TVs.
可选地,作为一种实施方式,步骤S10包括:Optionally, as an implementation manner, step S10 includes:
在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视当前的系统版本号,并基于所述系统版本号检测所述智能电视的系统是否有新版本的升级包;Obtaining a current system version number of the smart TV from the upgrade package query request, and detecting whether the smart TV system has a new version based on the system version number when receiving the upgrade package query request sent by the smart TV Upgrade package;
若所述智能电视的系统有新版本的升级包,则从所述升级包查询请求中获取所述智能电视的设备标识。If the system of the smart TV has a new version of the upgrade package, the device identifier of the smart TV is obtained from the upgrade package query request.
由于发送升级包查询请求的智能电视的系统可能已将升级到了最新版本的系统,因此,智能电视在发送升级包查询请求时,需要在该查询请求中加载该智能电视的系统的当前版本号,服务器在接收到查询请求时,基于该当前版本号检测该系统是否有新版本的升级包,当检测到有新版本的升级包时,再从查询请求中获取智能电视的设备标识。Since the system of the smart TV that sends the upgrade package query request may have been upgraded to the latest version of the system, the smart TV needs to load the current version number of the smart TV system in the query request when sending the upgrade package query request. When receiving the query request, the server detects whether the system has a new version of the upgrade package based on the current version number. When a new version of the upgrade package is detected, the device identifier of the smart TV is obtained from the query request.
可以理解的是,本申请的系统升级方法不限于智能电视,也适用于其他安装有智能操作系统的智能终端,例如,智能手机、平板电脑等移动终端。It can be understood that the system upgrade method of the present application is not limited to a smart TV, and is also applicable to other smart terminals installed with a smart operating system, for example, a mobile terminal such as a smart phone or a tablet computer.
本实施例提出的智能电视的系统升级方法,部署升级包时设置升级时间段,在接收到升级包查询请求时,从该升级包查询请求中获取智能电视的设备标识,确定接收到升级包查询请求的时间点与部署升级包的时间点之间的时间间隔,并根据时间间隔,根据该时间间隔、升级时间段以及设备标识判断升级包查询请求是否符合预设条件,当该请求符合预设条件时,将部署的升级包的下载地址发送给所述智能电视,也就是说,当同时请求升级的智能电视数量过多时,只有部分符合条件的智能电视才能够收到返回的下载地址,实现了对智能电视的升级包查询请求的分流,避免新升级包部署后的一段时间内,网络流量过大造成系统升级成本高,降低系统的升级成本。In the system upgrade method of the smart TV, the upgrade time period is set when the upgrade package is deployed. When the upgrade package query request is received, the device identifier of the smart TV is obtained from the upgrade package query request, and the upgrade package query is determined. The time interval between the requested time point and the time point when the upgrade package is deployed, and according to the time interval, according to the time interval, the upgrade time period, and the device identifier, whether the upgrade package query request meets the preset condition, when the request meets the preset When the condition is met, the download address of the deployed upgrade package is sent to the smart TV, that is, when the number of smart TVs that request upgrade at the same time is too large, only some eligible smart TVs can receive the returned download address, The offloading of the upgrade package query request of the smart TV avoids the high network upgrade cost and the system upgrade cost in a period of time after the new upgrade package is deployed.
基于第一实施例提出本发明智能电视的系统升级方法的第二实施例。参照图2所示,在本实施例中,在步骤S10之前,该智能电视的系统升级方法还包括:A second embodiment of the system upgrade method of the smart television of the present invention is proposed based on the first embodiment. Referring to FIG. 2, in the embodiment, before the step S10, the system upgrade method of the smart TV further includes:
步骤S40,在接收到部署升级包的指令时,基于所述指令获取所述升级包的紧急程度,并查找与所述紧急程度匹配的升级时间段;Step S40, when receiving the instruction to deploy the upgrade package, acquire the urgency of the upgrade package based on the instruction, and find an upgrade time period that matches the urgency level;
步骤S50,将查找到的所述升级时间段与所述升级包关联后,部署所述升级包。Step S50: After the found upgrade time period is associated with the upgrade package, deploy the upgrade package.
可以根据部署的升级包的紧急程度设置不同的升级时间段,例如,对于比较紧急的系统升级,可以将升级时间段设置的较小,对于不太紧急的系统升级,可以升级时间段设置的较大,作为一种实施方式,服务器端的管理员在部署升级包时,可以手动配置升级时间段;作为另一种实施方式,服务器端的管理员只需要预先配置不同的紧急程度对应的升级时间段即可,例如,紧急程度最高的升级时间段为1天,也就是说,在升级包部署的第一天,所有的智能终端都能够升级;紧急程度较高的升级时间段为2天,紧急程度较低的升级时间段为5天,紧急程度最低的升级时间段为10天。上述数据仅为举例说明,不用于限定本发明,可以由用户根据需要预先配置不同的紧急程度,以及对应的升级时间段。You can set different upgrade time periods according to the urgency of the deployed upgrade package. For example, for a more urgent system upgrade, you can set the upgrade time period to be smaller. For less urgent system upgrades, you can upgrade the time period settings. As an implementation, the administrator of the server can manually configure the upgrade time period when deploying the upgrade package. As another implementation mode, the administrator of the server only needs to pre-configure the upgrade time period corresponding to different urgency levels. For example, the most urgent urgency upgrade period is 1 day, that is, all smart terminals can be upgraded on the first day of the upgrade package deployment; the urgency period is 2 days, urgency The lower upgrade period is 5 days and the least urgent upgrade period is 10 days. The foregoing data is for illustrative purposes only and is not intended to limit the present invention. Different urgency levels and corresponding upgrade time periods may be pre-configured by the user as needed.
当用户在触发部署升级包的指令时,输入该升级包的紧急程度,服务器接收到上述指令时,获取紧急程度,并查找到与之匹配的升级时间段,将查找到的升级时间段与升级包关联后部署升级包。When the user triggers the instruction to deploy the upgrade package, enter the urgency of the upgrade package, and when the server receives the above instruction, obtain the urgency, and find the matching upgrade time period, and find the upgrade time period and upgrade. Deploy the upgrade package after the package is associated.
本实施例提出的智能电视的系统升级方法,在实现系统升级分流的同时,该可以根据升级包的紧急程度,灵活地设置升级时间段,对于紧急升级包,虽然流量大一些,但是能够满足其快速升级的需求,对于相对不紧急的升级包,则可以进行分流控制,降低网络流量,降低运营成本。The system upgrade method of the smart TV proposed in this embodiment can flexibly set the upgrade time period according to the urgency of the upgrade package while implementing the system upgrade and offload. For the emergency upgrade package, although the traffic is larger, it can satisfy the For fast upgrades, for relatively non-emergency upgrades, you can perform shunt control to reduce network traffic and reduce operating costs.
本发明还提出一种智能电视的系统升级装置。The invention also proposes a system upgrade device for a smart TV.
参照图3所示,为本发明智能电视的系统升级装置第一实施例的功能模块示意图。Referring to FIG. 3, it is a schematic diagram of functional modules of a first embodiment of a system upgrade apparatus for a smart television according to the present invention.
在该实施例中,该智能电视的系统升级装置包括:In this embodiment, the system upgrade device of the smart TV includes:
获取模块10,用于在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视的设备标识;The obtaining module 10 is configured to obtain, after receiving the upgrade package query request sent by the smart TV, the device identifier of the smart TV from the upgrade package query request;
当智能电视有新的升级包时,需要将新版本系统的升级包部署在服务器,智能电视开启后,会自动检测当前的系统是否为最新版本,并通过向服务器发送升级包查询请求来判断是否有新版本的升级包。可以理解的是,本实施例中的智能电视的系统升级装置可以是上述服务器。When the smart TV has a new upgrade package, the upgrade package of the new version system needs to be deployed on the server. After the smart TV is turned on, it will automatically detect whether the current system is the latest version, and send an upgrade package query request to the server to determine whether it is There is a new version of the upgrade package. It can be understood that the system upgrade device of the smart TV in this embodiment may be the above server.
在本发明实施例中,智能电视在向服务器发送升级包查询请求时,在该升级包查询请求中携带本机的设备标识,该设备标识可以是该智能电视的产品序列号、物理地址等可以唯一标识该设备的编码,以下电视的产品序列号为例进行说明。服务器在接收到升级包查询请求时,获取模块10先从该查询请求中获取到产品序列号。In the embodiment of the present invention, when the smart TV sends an upgrade package query request to the server, the smart device carries the device identifier of the local device in the upgrade package query request, and the device identifier may be the product serial number and physical address of the smart TV. The code that uniquely identifies the device is described by taking the product serial number of the following TV as an example. When the server receives the upgrade package query request, the obtaining module 10 first obtains the product serial number from the query request.
判断模块20,用于根据所述设备标识、部署的升级包的升级时间段,以及接收到所述升级包查询请求的时间点与部署升级包的时间点之间的时间间隔,判断所述升级包查询请求是否符合预设条件;The determining module 20 is configured to determine, according to the device identifier, an upgrade time period of the deployed upgrade package, and a time interval between the time point when the upgrade package query request is received and the time point when the upgrade package is deployed, Whether the package query request meets the preset conditions;
发送模块30,用于若判定所述升级包查询请求符合所述预设条件,则将部署的所述升级包的下载地址发送至所述智能电视。The sending module 30 is configured to send the downloaded download address of the upgrade package to the smart TV if it is determined that the upgrade package query request meets the preset condition.
服务器端在部署升级包时,在服务器端设置一个升级时间段,并记录部署该升级包的时间点,在本实施例中,该升级时间段以天为单位,例如,设置升级时间段为10天,记录部署升级包的日期,并且在接收到升级包查询请求时,获取当前的日期,根据当前日期以及记录的部署升级包的日期计算接收到升级包查询请求的时间点与部署升级包的时间点之间的时间间隔,在本实施例中,该时间间隔的单位与升级时间段的单位一致,均以天为单位。When the server deploys the upgrade package, the server sets an upgrade time period and records the time point for deploying the upgrade package. In this embodiment, the upgrade time period is in days. For example, the upgrade time period is set to 10. Day, record the date when the upgrade package is deployed, and when receiving the upgrade package query request, obtain the current date, calculate the time point of receiving the upgrade package query request and deploy the upgrade package according to the current date and the date of the recorded deployment upgrade package. The time interval between the time points. In this embodiment, the unit of the time interval is consistent with the unit of the upgrade time period, and is all in days.
在升级时间段内,根据上述时间间隔,每天只开放部分升级包查询请求中的产品序列号符合要求的智能电视进行升级,发送模块30将升级包的下载地址发送给这些符合预设条件的智能电视,其中,预设条件的设置可以有多种实施方式,由用户根据需要设置。During the upgrade period, according to the above-mentioned time interval, only the smart TVs whose product serial numbers in the partial upgrade package query request meet the requirements are upgraded, and the sending module 30 sends the download address of the upgrade package to the smart devices that meet the preset conditions. The television, wherein the setting of the preset condition can be implemented in various manners, is set by the user as needed.
可选地,作为一种实施方式,判断模块20包括:Optionally, as an implementation manner, the determining module 20 includes:
计算单元,用于根据公式Q=(D/N)*10计算设备标识区间的上限值Q,其中,所述D为所述时间间隔,所述N为所述升级时间段;a calculating unit, configured to calculate an upper limit value Q of the device identification interval according to the formula Q=(D/N)*10, wherein the D is the time interval, and the N is the upgrade time period;
判断单元,用于获取所述设备标识的最后一位数字X,判断X是否属于设备标识区间[0,Q],其中,若是,则判定所述升级包查询请求符合预设条件。The determining unit is configured to obtain the last digit X of the device identifier, and determine whether X belongs to the device identification interval [0, Q], and if yes, determine that the upgrade package query request meets a preset condition.
在该实施方式中,提供一种分流算法,在部署升级包时,设置参数N,其中,上述公式中的常数10也可以设置为其他常数,只要满足小于或者等于预先设置的升级时间段参数N即可,这样不仅能够实现分流,而且能够保证所有的智能电视最终都能够升级。在获取到产品序列号之后,获取产品序列号的最后一位数字X,并获取时间间隔D,以下以N=10为例进行说明,其中,可以理解的是,产品序列号的最后一位数字的取值范围是0-9。In this embodiment, a shunting algorithm is provided. When the upgrade package is deployed, the parameter N is set, wherein the constant 10 in the above formula may also be set as other constants, as long as the upgrade time period parameter N less than or equal to the preset is satisfied. That's it, not only does it enable shunting, but it also ensures that all smart TVs will eventually be upgraded. After obtaining the product serial number, obtain the last digit X of the product serial number, and obtain the time interval D. The following is an example with N=10, wherein it can be understood that the last digit of the product serial number The value range is 0-9.
在部署升级包的第一天接收到的升级包查询请求的时间间隔均为0,那么D=0,计算单元计算得到Q=0,判断单元判定只有产品序列号的最后一位X=0的升级包查询请求符合预设条件;部署升级包的第二天,D=1,计算单元计算得到Q=1,设备标识区间为[0,1],在这一天发送升级包查询请求的智能电视中,判断单元判定只有产品序列号的最后一位X=0或者1的升级包查询请求符合预设条件;部署升级包的第三天,D=2,计算单元计算得到Q=2,判断单元判定只有产品序列号为的最后一位X=0、1或者2的升级包查询请求符合预设条件,以此类推,发送升级包查询请求的时间点距离部署升级包的时间点的时间间隔越长,D数值越大,符合条件的升级包查询请求越多,那么到部署升级包的第10天起,计算得到的Q=9,设备标识区间为[0,9],判断单元判定所有的智能电视发送的升级包查询请求都符合预设条件。The time interval of the upgrade package query request received on the first day of deploying the upgrade package is 0, then D=0, the calculation unit calculates Q=0, and the judgment unit determines that only the last digit of the product serial number is X=0. The upgrade package query request meets the preset conditions; on the second day of deploying the upgrade package, D=1, the calculation unit calculates Q=1, the device identification interval is [0, 1], and the smart TV that sends the upgrade package query request on this day The judging unit judges that only the last X=0 or 1 upgrade package query request of the product serial number meets the preset condition; on the third day of deploying the upgrade package, D=2, the calculation unit calculates Q=2, and the judgment unit It is determined that only the last X=0, 1 or 2 upgrade package query request of the product serial number is in accordance with the preset condition, and so on, the time interval from when the upgrade package query request is sent is longer than the time interval at which the upgrade package is deployed. Long, the larger the D value, the more eligible upgrade package query requests. From the 10th day after the upgrade package is deployed, the calculated Q=9, the device identification interval is [0, 9], and the judgment unit determines all the Smart TV sent upgrade Query requests are in line with pre-conditions.
上述升级时间段和预设条件均可以由用户根据需要设置,发送模块30将升级包的下载地址发送至符合条件的智能电视,这些智能电视可以根据接收到的下载地址请求新版本的升级包的下载,按照上述分流算法,实现了智能电视系统升级的分流,避免在部署升级包后的短时间内,进行升级的智能电视数量过大,为服务器和网络带宽带来过大的负担,同时降低了运营费用,降低系统的升级成本。The upgrade time period and the preset condition may be set by the user according to requirements, and the sending module 30 sends the download address of the upgrade package to the qualified smart TV, and the smart TV may request the new version of the upgrade package according to the received download address. Download, according to the above-mentioned shunting algorithm, realize the shunting of the upgrade of the smart TV system, avoiding the excessive number of smart TVs being upgraded in a short time after deploying the upgrade package, which imposes an excessive burden on the server and network bandwidth, and reduces Operating expenses, reducing system upgrade costs.
发送模块30还用于:若判定所述升级包查询请求不符合所述预设条件,则向所述智能电视发送当前系统版本已经是最新版本的通知信息。The sending module 30 is further configured to: if it is determined that the upgrade package query request does not meet the preset condition, send, to the smart TV, notification information that the current system version is already the latest version.
仍然以上述实施方式中的数据为例,在部署升级包的第二天,由于设备标识区间为[0,1],则产品序列号的最后一位为2-9的智能电视的升级包查询请求是不符合预设条件的,则发送模块30向这些智能电视发送当前系统版本已经是最新版本的通知信息。Still taking the data in the above embodiment as an example, on the second day of deploying the upgrade package, since the device identification interval is [0, 1], the last digit of the product serial number is 2-9 of the smart TV upgrade package query. If the request is not in accordance with the preset condition, the sending module 30 sends the smart TV with the notification information that the current system version is already the latest version.
可选地,作为一种实施方式,获取模块10还用于:在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视当前的系统版本号,并基于所述系统版本号检测所述智能电视的系统是否有新版本的升级包;以及,若所述智能电视的系统有新版本的升级包,则从所述升级包查询请求中获取所述智能电视的设备标识。Optionally, as an implementation manner, the obtaining module 10 is further configured to: when receiving an upgrade package query request sent by the smart TV, obtain the current system version number of the smart TV from the upgrade package query request, and Detecting whether the system of the smart TV has a new version of the upgrade package based on the system version number; and if the system of the smart TV has a new version of the upgrade package, acquiring the smart from the upgrade package query request The device identification of the TV.
由于发送升级包查询请求的智能电视的系统可能已将升级到了最新版本的系统,因此,智能电视在发送升级包查询请求时,需要在该查询请求中加载该智能电视的系统的当前版本号,服务器在接收到查询请求时,获取模块10获取从查询请求中获取智能电视当前的系统版本号,基于该当前版本号检测该系统是否有新版本的升级包,当检测到有新版本的升级包时,获取模块10再从查询请求中获取智能电视的设备标识。Since the system of the smart TV that sends the upgrade package query request may have been upgraded to the latest version of the system, the smart TV needs to load the current version number of the smart TV system in the query request when sending the upgrade package query request. When the server receives the query request, the obtaining module 10 obtains the current system version number of the smart TV obtained from the query request, and detects whether the system has a new version of the upgrade package based on the current version number, and when a new version of the upgrade package is detected The obtaining module 10 then obtains the device identifier of the smart TV from the query request.
可以理解的是,本申请的系统升级装置不仅可以用户智能电视的升级,也适用于其他安装有智能操作系统的智能终端的升级,例如,智能手机、平板电脑等移动终端。It can be understood that the system upgrade device of the present application can not only upgrade the user smart TV, but also upgrade other smart terminals installed with the smart operating system, for example, mobile terminals such as smart phones and tablet computers.
本实施例提出的智能电视的系统升级装置,部署升级包时设置升级时间段,在接收到升级包查询请求时,从该升级包查询请求中获取智能电视的设备标识,确定接收到升级包查询请求的时间点与部署升级包的时间点之间的时间间隔,并根据时间间隔,根据该时间间隔、升级时间段以及设备标识判断升级包查询请求是否符合预设条件,当该请求符合预设条件时,将部署的升级包的下载地址发送给所述智能电视,也就是说,当同时请求升级的智能电视数量过多时,只有部分符合条件的智能电视才能够收到返回的下载地址,实现了对智能电视的升级包查询请求的分流,避免新升级包部署后的一段时间内,网络流量过大造成系统升级成本高,降低系统的升级成本。The system upgrade device of the smart TV provided in this embodiment sets an upgrade time period when the upgrade package is deployed, and obtains the device identifier of the smart TV from the upgrade package query request when receiving the upgrade package query request, and determines that the upgrade package query is received. The time interval between the requested time point and the time point when the upgrade package is deployed, and according to the time interval, according to the time interval, the upgrade time period, and the device identifier, whether the upgrade package query request meets the preset condition, when the request meets the preset When the condition is met, the download address of the deployed upgrade package is sent to the smart TV, that is, when the number of smart TVs that request upgrade at the same time is too large, only some eligible smart TVs can receive the returned download address, The offloading of the upgrade package query request of the smart TV avoids the high network upgrade cost and the system upgrade cost in a period of time after the new upgrade package is deployed.
基于第一实施例提出本发明智能电视的系统升级装置的第二实施例。参照图4所示,在本实施例中,获取模块10还用于:在接收到部署升级包的指令时,基于所述指令获取所述升级包的紧急程度,并查找与所述紧急程度匹配的升级时间段;A second embodiment of the system upgrading apparatus for the smart television of the present invention is proposed based on the first embodiment. Referring to FIG. 4, in the embodiment, the obtaining module 10 is further configured to: when receiving an instruction to deploy an upgrade package, acquire an urgency of the upgrade package based on the instruction, and find a match with the urgency Upgrade time period;
所述智能电视的系统升级装置还包括:The system upgrade device of the smart TV further includes:
部署模块40,用于将查找到的所述升级时间段与所述升级包关联后,部署所述升级包。The deployment module 40 is configured to deploy the upgrade package after the upgrade time period is found to be associated with the upgrade package.
可以根据部署的升级包的紧急程度设置不同的升级时间段,例如,对于比较紧急的系统升级,可以将升级时间段设置的较小,对于不太紧急的系统升级,可以升级时间段设置的较大,作为一种实施方式,服务器端的管理员在部署升级包时,可以手动配置升级时间段;作为另一种实施方式,服务器端的管理员只需要预先配置不同的紧急程度对应的升级时间段即可,例如,紧急程度最高的升级时间段为1天,也就是说,在升级包部署的第一天,所有的智能终端都能够升级;紧急程度较高的升级时间段为2天,紧急程度较低的升级时间段为5天,紧急程度最低的升级时间段为10天。上述数据仅为举例说明,不用于限定本发明,可以由用户根据需要预先配置不同的紧急程度,以及对应的升级时间段。You can set different upgrade time periods according to the urgency of the deployed upgrade package. For example, for a more urgent system upgrade, you can set the upgrade time period to be smaller. For less urgent system upgrades, you can upgrade the time period settings. As an implementation, the administrator of the server can manually configure the upgrade time period when deploying the upgrade package. As another implementation mode, the administrator of the server only needs to pre-configure the upgrade time period corresponding to different urgency levels. For example, the most urgent urgency upgrade period is 1 day, that is, all smart terminals can be upgraded on the first day of the upgrade package deployment; the urgency period is 2 days, urgency The lower upgrade period is 5 days and the least urgent upgrade period is 10 days. The foregoing data is for illustrative purposes only and is not intended to limit the present invention. Different urgency levels and corresponding upgrade time periods may be pre-configured by the user as needed.
当用户在触发部署升级包的指令时,输入该升级包的紧急程度,服务器接收到上述指令时,获取模块10获取紧急程度,并查找到与之匹配的升级时间段,部署模块40将查找到的升级时间段与升级包关联后部署升级包。When the user triggers the instruction to deploy the upgrade package, the urgency of the upgrade package is input. When the server receives the above instruction, the acquisition module 10 acquires the urgency and finds the matching upgrade period, and the deployment module 40 will find The upgrade period is associated with the upgrade package and the upgrade package is deployed.
本实施例提出的智能电视的系统升级装置,在实现系统升级分流的同时,该可以根据升级包的紧急程度,灵活地设置升级时间段,对于紧急升级包,虽然流量大一些,但是能够满足其快速升级的需求,对于相对不紧急的升级包,则可以进行分流控制,降低网络流量,降低运营成本。The system upgrade device of the smart TV provided in this embodiment can flexibly set the upgrade time period according to the urgency of the upgrade package while implementing the system upgrade and offload. For the emergency upgrade package, although the traffic is larger, it can satisfy the For fast upgrades, for relatively non-emergency upgrades, you can perform shunt control to reduce network traffic and reduce operating costs.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
另外,在发明中涉及“第一”、“第二”等等的描述仅描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当人认为这种技术方案的结合不存在,也不在本发明要求的保护范围之内。In addition, the descriptions of "first", "second", and the like in the invention are only described for purposes of illustration, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Thus, features defining "first" or "second" may include at least one of the features, either explicitly or implicitly. In addition, the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions is not It is not within the scope of protection required by the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (17)

  1. 一种智能电视的系统升级方法,其特征在于,所述智能电视的系统升级方法包括: A system upgrade method for a smart TV, characterized in that the system upgrade method of the smart TV includes:
    在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视的设备标识;Obtaining, from the upgrade package query request, the device identifier of the smart TV when receiving the upgrade package query request sent by the smart TV;
    根据所述设备标识、部署的升级包的升级时间段,以及接收到所述升级包查询请求的时间点与部署升级包的时间点之间的时间间隔,判断所述升级包查询请求是否符合预设条件;Determining whether the upgrade package query request meets the pre-determination according to the device identifier, the upgrade time period of the deployed upgrade package, and the time interval between the time point when the upgrade package query request is received and the time point when the upgrade package is deployed. Set conditions;
    若判定所述升级包查询请求符合所述预设条件,则将部署的所述升级包的下载地址发送至所述智能电视;If it is determined that the upgrade package query request meets the preset condition, sending the downloaded download address of the upgrade package to the smart TV;
    所述在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视的设备标识的步骤包括:The step of obtaining the device identifier of the smart TV from the upgrade package query request, when the upgrade package query request is sent by the smart TV, includes:
    在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视当前的系统版本号,并基于所述系统版本号检测所述智能电视的系统是否有新版本的升级包;Obtaining a current system version number of the smart TV from the upgrade package query request, and detecting whether the smart TV system has a new version based on the system version number when receiving the upgrade package query request sent by the smart TV Upgrade package;
    若所述智能电视的系统有新版本的升级包,则从所述升级包查询请求中获取所述智能电视的设备标识;If the system of the smart TV has a new version of the upgrade package, obtain the device identifier of the smart TV from the upgrade package query request;
    所述判断所述升级包查询请求是否符合预设条件的步骤之后,所述智能电视的系统升级方法还包括:After the step of determining whether the upgrade package query request meets a preset condition, the system upgrade method of the smart TV further includes:
    若判定所述升级包查询请求不符合所述预设条件,则向所述智能电视发送当前系统版本已经是最新版本的通知信息。If it is determined that the upgrade package query request does not meet the preset condition, the notification information that the current system version is the latest version is sent to the smart TV.
  2. 一种智能电视的系统升级方法,其特征在于,所述智能电视的系统升级方法包括:A system upgrade method for a smart TV, characterized in that the system upgrade method of the smart TV includes:
    在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视的设备标识;Obtaining, from the upgrade package query request, the device identifier of the smart TV when receiving the upgrade package query request sent by the smart TV;
    根据所述设备标识、部署的升级包的升级时间段,以及接收到所述升级包查询请求的时间点与部署升级包的时间点之间的时间间隔,判断所述升级包查询请求是否符合预设条件;Determining whether the upgrade package query request meets the pre-determination according to the device identifier, the upgrade time period of the deployed upgrade package, and the time interval between the time point when the upgrade package query request is received and the time point when the upgrade package is deployed. Set conditions;
    若判定所述升级包查询请求符合所述预设条件,则将部署的所述升级包的下载地址发送至所述智能电视。If it is determined that the upgrade package query request meets the preset condition, the downloaded download address of the upgrade package is sent to the smart TV.
  3. 根据权利要求2所述的智能电视的系统升级方法,其特征在于,所述在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视的设备标识的步骤包括:The system upgrade method of the smart TV according to claim 2, wherein, when receiving the upgrade package query request sent by the smart TV, acquiring the device identifier of the smart TV from the upgrade package query request The steps include:
    在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视当前的系统版本号,并基于所述系统版本号检测所述智能电视的系统是否有新版本的升级包;Obtaining a current system version number of the smart TV from the upgrade package query request, and detecting whether the smart TV system has a new version based on the system version number when receiving the upgrade package query request sent by the smart TV Upgrade package;
    若所述智能电视的系统有新版本的升级包,则从所述升级包查询请求中获取所述智能电视的设备标识。If the system of the smart TV has a new version of the upgrade package, the device identifier of the smart TV is obtained from the upgrade package query request.
  4. 根据权利要求2所述的智能电视的系统升级方法,其特征在于,所述判断所述升级包查询请求是否符合预设条件的步骤之后,所述智能电视的系统升级方法还包括:The system upgrade method of the smart TV according to claim 2, wherein after the step of determining whether the upgrade package query request meets a preset condition, the system upgrade method of the smart TV further includes:
    若判定所述升级包查询请求不符合所述预设条件,则向所述智能电视发送当前系统版本已经是最新版本的通知信息。If it is determined that the upgrade package query request does not meet the preset condition, the notification information that the current system version is the latest version is sent to the smart TV.
  5. 根据权利要求2所述的智能电视的系统升级方法,其特征在于,根据所述设备标识、部署的升级包的升级时间段,以及接收到所述升级包查询请求的时间点与部署升级包的时间点之间的时间间隔,判断所述升级包查询请求是否符合预设条件的步骤包括:The system upgrade method of the smart TV according to claim 2, characterized in that: according to the device identifier, an upgrade time period of the deployed upgrade package, and a time point of receiving the upgrade package query request and the deployment upgrade package The time interval between the time points, the step of determining whether the upgrade package query request meets the preset condition includes:
    根据公式Q=(D/N)*10计算设备标识区间的上限值Q,其中,所述D为所述时间间隔,所述N为所述升级时间段;Calculating an upper limit value Q of the device identification interval according to the formula Q=(D/N)*10, wherein the D is the time interval, and the N is the upgrade time period;
    获取所述设备标识的最后一位数字X,判断X是否属于设备标识区间[0,Q],其中,若是,则判定所述升级包查询请求符合预设条件。Obtaining the last digit X of the device identifier, determining whether X belongs to the device identification interval [0, Q], and if yes, determining that the upgrade package query request meets a preset condition.
  6. 根据权利要求3所述的智能电视的系统升级方法,其特征在于,根据所述设备标识、部署的升级包的升级时间段,以及接收到所述升级包查询请求的时间点与部署升级包的时间点之间的时间间隔,判断所述升级包查询请求是否符合预设条件的步骤包括:The system upgrade method of the smart TV according to claim 3, characterized in that, according to the device identifier, an upgrade time period of the deployed upgrade package, and a time point of receiving the upgrade package query request and the deployment upgrade package The time interval between the time points, the step of determining whether the upgrade package query request meets the preset condition includes:
    根据公式Q=(D/N)*10计算设备标识区间的上限值Q,其中,所述D为所述时间间隔,所述N为所述升级时间段;Calculating an upper limit value Q of the device identification interval according to the formula Q=(D/N)*10, wherein the D is the time interval, and the N is the upgrade time period;
    获取所述设备标识的最后一位数字X,判断X是否属于设备标识区间[0,Q],其中,若是,则判定所述升级包查询请求符合预设条件。Obtaining the last digit X of the device identifier, determining whether X belongs to the device identification interval [0, Q], and if yes, determining that the upgrade package query request meets a preset condition.
  7. 根据权利要求4所述的智能电视的系统升级方法,其特征在于,根据所述设备标识、部署的升级包的升级时间段,以及接收到所述升级包查询请求的时间点与部署升级包的时间点之间的时间间隔,判断所述升级包查询请求是否符合预设条件的步骤包括:The system upgrade method of the smart TV according to claim 4, characterized in that: according to the device identifier, an upgrade time period of the deployed upgrade package, and a time point of receiving the upgrade package query request and the deployment upgrade package The time interval between the time points, the step of determining whether the upgrade package query request meets the preset condition includes:
    根据公式Q=(D/N)*10计算设备标识区间的上限值Q,其中,所述D为所述时间间隔,所述N为所述升级时间段;Calculating an upper limit value Q of the device identification interval according to the formula Q=(D/N)*10, wherein the D is the time interval, and the N is the upgrade time period;
    获取所述设备标识的最后一位数字X,判断X是否属于设备标识区间[0,Q],其中,若是,则判定所述升级包查询请求符合预设条件。Obtaining the last digit X of the device identifier, determining whether X belongs to the device identification interval [0, Q], and if yes, determining that the upgrade package query request meets a preset condition.
  8. 根据权利要求2所述的智能电视的系统升级方法,其特征在于,在所述在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视的设备标识的步骤之前,所述智能电视的系统升级方法还包括:The system upgrade method of the smart TV according to claim 2, wherein, when receiving the upgrade package query request sent by the smart TV, acquiring the device identifier of the smart TV from the upgrade package query request Before the step, the system upgrade method of the smart TV further includes:
    在接收到部署升级包的指令时,基于所述指令获取所述升级包的紧急程度,并查找与所述紧急程度匹配的升级时间段;Upon receiving an instruction to deploy the upgrade package, acquiring an urgency of the upgrade package based on the instruction, and searching for an upgrade time period that matches the urgency level;
    将查找到的所述升级时间段与所述升级包关联后,部署所述升级包。After the discovered upgrade time period is associated with the upgrade package, the upgrade package is deployed.
  9. 根据权利要求3所述的智能电视的系统升级方法,其特征在于,在所述在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视的设备标识的步骤之前,所述智能电视的系统升级方法还包括:The system upgrade method of the smart TV according to claim 3, wherein the device identifier of the smart TV is obtained from the upgrade package query request when the upgrade package query request sent by the smart TV is received Before the step, the system upgrade method of the smart TV further includes:
    在接收到部署升级包的指令时,基于所述指令获取所述升级包的紧急程度,并查找与所述紧急程度匹配的升级时间段;Upon receiving an instruction to deploy the upgrade package, acquiring an urgency of the upgrade package based on the instruction, and searching for an upgrade time period that matches the urgency level;
    将查找到的所述升级时间段与所述升级包关联后,部署所述升级包。After the discovered upgrade time period is associated with the upgrade package, the upgrade package is deployed.
  10. 一种智能电视的系统升级装置,其特征在于,所述智能电视的系统升级装置包括:A system upgrade device for a smart TV, characterized in that the system upgrade device of the smart TV comprises:
    获取模块,用于在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视的设备标识;An acquiring module, configured to obtain, after receiving the upgrade package query request sent by the smart TV, the device identifier of the smart TV from the upgrade package query request;
    判断模块,用于根据所述设备标识、部署的升级包的升级时间段,以及接收到所述升级包查询请求的时间点与部署升级包的时间点之间的时间间隔,判断所述升级包查询请求是否符合预设条件;a judging module, configured to determine, according to the device identifier, an upgrade period of the deployed upgrade package, and a time interval between a time point when the upgrade package query request is received and a time point when the upgrade package is deployed Whether the query request meets the preset conditions;
    发送模块,用于若判定所述升级包查询请求符合所述预设条件,则将部署的所述升级包的下载地址发送至所述智能电视。And a sending module, configured to send the downloaded download address of the upgrade package to the smart TV if it is determined that the upgrade package query request meets the preset condition.
  11. 根据权利要求10所述的智能电视的系统升级装置,其特征在于,所述获取模块还用于:在接收到智能电视发送的升级包查询请求时,从所述升级包查询请求中获取所述智能电视当前的系统版本号,并基于所述系统版本号检测所述智能电视的系统是否有新版本的升级包;以及,若所述智能电视的系统有新版本的升级包,则从所述升级包查询请求中获取所述智能电视的设备标识。 The system upgrade apparatus of the smart TV according to claim 10, wherein the obtaining module is further configured to: when receiving an upgrade package query request sent by the smart TV, obtain the The current system version number of the smart TV, and detecting whether the system of the smart TV has a new version of the upgrade package based on the system version number; and, if the system of the smart TV has a new version of the upgrade package, Obtaining the device identifier of the smart TV in the upgrade package query request.
  12. 根据权利要求10所述的智能电视的系统升级装置,其特征在于,所述发送模块还用于:若判定所述升级包查询请求不符合所述预设条件,则向所述智能电视发送当前系统版本已经是最新版本的通知信息。The system for upgrading a smart television according to claim 10, wherein the sending module is further configured to: if it is determined that the upgrade package query request does not meet the preset condition, send the current to the smart TV The system version is already the latest version of the notification information.
  13. 根据权利要求10所述的智能电视的系统升级装置,其特征在于,所述判断模块包括:The device for upgrading a smart television according to claim 10, wherein the determining module comprises:
    计算单元,用于根据公式Q=(D/N)*10计算设备标识区间的上限值Q,其中,所述D为所述时间间隔,所述N为所述升级时间段;a calculating unit, configured to calculate an upper limit value Q of the device identification interval according to the formula Q=(D/N)*10, wherein the D is the time interval, and the N is the upgrade time period;
    判断单元,用于获取所述设备标识的最后一位数字X,判断X是否属于设备标识区间[0,Q],其中,若是,则判定所述升级包查询请求符合预设条件。The determining unit is configured to obtain the last digit X of the device identifier, and determine whether X belongs to the device identification interval [0, Q], and if yes, determine that the upgrade package query request meets a preset condition.
  14. 根据权利要求11所述的智能电视的系统升级装置,其特征在于,所述判断模块包括:The system upgrade apparatus of the smart television according to claim 11, wherein the determining module comprises:
    计算单元,用于根据公式Q=(D/N)*10计算设备标识区间的上限值Q,其中,所述D为所述时间间隔,所述N为所述升级时间段;a calculating unit, configured to calculate an upper limit value Q of the device identification interval according to the formula Q=(D/N)*10, wherein the D is the time interval, and the N is the upgrade time period;
    判断单元,用于获取所述设备标识的最后一位数字X,判断X是否属于设备标识区间[0,Q],其中,若是,则判定所述升级包查询请求符合预设条件。The determining unit is configured to obtain the last digit X of the device identifier, and determine whether X belongs to the device identification interval [0, Q], and if yes, determine that the upgrade package query request meets a preset condition.
  15. 根据权利要求12所述的智能电视的系统升级装置,其特征在于,所述判断模块包括:The device for upgrading a smart television according to claim 12, wherein the determining module comprises:
    计算单元,用于根据公式Q=(D/N)*10计算设备标识区间的上限值Q,其中,所述D为所述时间间隔,所述N为所述升级时间段;a calculating unit, configured to calculate an upper limit value Q of the device identification interval according to the formula Q=(D/N)*10, wherein the D is the time interval, and the N is the upgrade time period;
    判断单元,用于获取所述设备标识的最后一位数字X,判断X是否属于设备标识区间[0,Q],其中,若是,则判定所述升级包查询请求符合预设条件。The determining unit is configured to obtain the last digit X of the device identifier, and determine whether X belongs to the device identification interval [0, Q], and if yes, determine that the upgrade package query request meets a preset condition.
  16. 根据权利要求10所述的智能电视的系统升级装置,其特征在于,所述获取模块还用于:在接收到部署升级包的指令时,基于所述指令获取所述升级包的紧急程度,并查找与所述紧急程度匹配的升级时间段;The system upgrade apparatus of the smart TV according to claim 10, wherein the obtaining module is further configured to: when receiving an instruction to deploy an upgrade package, acquire an urgency of the upgrade package based on the instruction, and Find an upgrade period that matches the urgency;
    所述智能电视的系统升级装置还包括:The system upgrade device of the smart TV further includes:
    部署模块,用于将查找到的所述升级时间段与所述升级包关联后,部署所述升级包。a deployment module, configured to deploy the upgrade package after the upgrade time period is found to be associated with the upgrade package.
  17. 根据权利要求11所述的智能电视的系统升级装置,其特征在于,所述获取模块还用于:在接收到部署升级包的指令时,基于所述指令获取所述升级包的紧急程度,并查找与所述紧急程度匹配的升级时间段;The system for upgrading a smart TV according to claim 11, wherein the obtaining module is further configured to: when receiving an instruction to deploy an upgrade package, acquire an urgency of the upgrade package based on the instruction, and Find an upgrade period that matches the urgency;
    所述智能电视的系统升级装置还包括:The system upgrade device of the smart TV further includes:
    部署模块,用于将查找到的所述升级时间段与所述升级包关联后,部署所述升级包。a deployment module, configured to deploy the upgrade package after the upgrade time period is found to be associated with the upgrade package.
PCT/CN2016/112567 2016-09-20 2016-12-28 Method and apparatus for upgrading system of smart television WO2018053963A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610835529.4 2016-09-20
CN201610835529.4A CN106412696B (en) 2016-09-20 2016-09-20 The method for upgrading system and device of smart television

Publications (1)

Publication Number Publication Date
WO2018053963A1 true WO2018053963A1 (en) 2018-03-29

Family

ID=57996751

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/112567 WO2018053963A1 (en) 2016-09-20 2016-12-28 Method and apparatus for upgrading system of smart television

Country Status (2)

Country Link
CN (1) CN106412696B (en)
WO (1) WO2018053963A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917595A (en) * 2020-08-14 2020-11-10 深圳市欧瑞博科技股份有限公司 System upgrading method and device, intelligent equipment and storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970814B (en) * 2017-03-31 2020-06-02 Oppo广东移动通信有限公司 Processing method, device and system for software upgrading
CN109688132B (en) * 2018-12-26 2021-05-18 成都视达科信息技术有限公司 Set top box configuration updating method and system
CN111142905B (en) * 2019-12-25 2024-05-10 深圳市亿道信息股份有限公司 OTA upgrading method, OTA server and OTA upgrading system
CN112035134B (en) * 2020-07-08 2023-08-04 合肥美的智能科技有限公司 Container software upgrading method, cloud server, container and device
CN112291621B (en) * 2020-10-29 2023-01-20 深圳创维-Rgb电子有限公司 System upgrading automation test method, device and test equipment
CN112732305A (en) * 2021-04-02 2021-04-30 北京新唐思创教育科技有限公司 Intelligent device upgrading method and device, mobile terminal, intelligent device and medium
CN117687663B (en) * 2024-02-04 2024-04-16 湖北芯擎科技有限公司 OTA-based partition dynamic adjustment method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321350A (en) * 2008-07-24 2008-12-10 北京立通无限科技有限公司 Method ,device and system for automatically updating application software of mobile terminal
US20110067021A1 (en) * 2009-09-17 2011-03-17 Hon Hai Precision Industry Co., Ltd. Electronic device and method of updating software thereof
CN103580887A (en) * 2012-07-25 2014-02-12 中兴通讯股份有限公司 Clients, updating method and updating system
CN105245567A (en) * 2015-08-28 2016-01-13 北京坚石诚信科技有限公司 Method for processing update request and server system
CN105530630A (en) * 2015-12-16 2016-04-27 青岛海信移动通信技术股份有限公司 OTA (Over The Air) upgrading method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104793980B (en) * 2015-05-19 2019-01-25 北京奇虎科技有限公司 Application program update notification method and its device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321350A (en) * 2008-07-24 2008-12-10 北京立通无限科技有限公司 Method ,device and system for automatically updating application software of mobile terminal
US20110067021A1 (en) * 2009-09-17 2011-03-17 Hon Hai Precision Industry Co., Ltd. Electronic device and method of updating software thereof
CN103580887A (en) * 2012-07-25 2014-02-12 中兴通讯股份有限公司 Clients, updating method and updating system
CN105245567A (en) * 2015-08-28 2016-01-13 北京坚石诚信科技有限公司 Method for processing update request and server system
CN105530630A (en) * 2015-12-16 2016-04-27 青岛海信移动通信技术股份有限公司 OTA (Over The Air) upgrading method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917595A (en) * 2020-08-14 2020-11-10 深圳市欧瑞博科技股份有限公司 System upgrading method and device, intelligent equipment and storage medium

Also Published As

Publication number Publication date
CN106412696A (en) 2017-02-15
CN106412696B (en) 2019-09-06

Similar Documents

Publication Publication Date Title
WO2018053963A1 (en) Method and apparatus for upgrading system of smart television
WO2019051887A1 (en) Method and device for controlling home appliance, and computer-readable storage medium
WO2013131444A1 (en) Content sharing method, terminal, server, and system, and computer storage medium
WO2017128877A1 (en) Method and device for monitoring vehicle operation status
WO2016058258A1 (en) Terminal remote control method and system
WO2017177524A1 (en) Audio and video playing synchronization method and device
WO2019051902A1 (en) Terminal control method, air conditioner and computer-readable storage medium
WO2018028121A1 (en) Method and device for managing storage space of data partition
WO2015120774A1 (en) Network access method and apparatus applied to mobile application
WO2017190450A1 (en) Process closing method and apparatus
WO2018076811A1 (en) Data sharing method, device, system, storage medium and electronic device
WO2017063366A1 (en) Method and system for starting application
WO2019051909A1 (en) Air conditioner running parameter adjusting method, air conditioner, and computer readable storage medium
WO2015058570A1 (en) Method and device for automatically recognizing network operator to realize data configuration
WO2017000729A1 (en) Audio/video playing control method and device
WO2019205272A1 (en) Virtual machine service providing method, device and equipment and computer readable storage medium
WO2019085301A1 (en) Missed call feedback method, apparatus and device for fixed phone, and readable storage medium
WO2019061530A1 (en) Method and apparatus for automatically adjusting brightness of display, and storage medium
WO2018121026A1 (en) Method and system for configuring set-top box
WO2016090991A1 (en) Method and apparatus for downloading streaming media data
WO2019051901A1 (en) Terminal control method and device, and computer readable storage medium
WO2019024472A1 (en) Data operation method and device and computer readable storage medium
WO2019218442A1 (en) Electric quantity data management method, device and equipment, and readable storage medium
WO2017215135A1 (en) Method and system for upgrading terminal
WO2019061042A1 (en) Exposure compensation method, device and computer readable storage medium

Legal Events

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

Ref document number: 16916702

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23.07.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16916702

Country of ref document: EP

Kind code of ref document: A1