[go: up one dir, main page]

CN111629200A - A method, device and readable storage medium for rapidly detecting the reliability of differential packets - Google Patents

A method, device and readable storage medium for rapidly detecting the reliability of differential packets Download PDF

Info

Publication number
CN111629200A
CN111629200A CN201910147554.7A CN201910147554A CN111629200A CN 111629200 A CN111629200 A CN 111629200A CN 201910147554 A CN201910147554 A CN 201910147554A CN 111629200 A CN111629200 A CN 111629200A
Authority
CN
China
Prior art keywords
differential
software system
upgraded
intelligent television
upgrade
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910147554.7A
Other languages
Chinese (zh)
Inventor
何滨瀚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL Digital Technology Co Ltd filed Critical Shenzhen TCL Digital Technology Co Ltd
Priority to CN201910147554.7A priority Critical patent/CN111629200A/en
Publication of CN111629200A publication Critical patent/CN111629200A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems
    • 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/4508Management of client data or end-user data
    • H04N21/4516Management of client data or end-user data involving client characteristics, e.g. Set-Top-Box type, software version or amount of memory available

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

本发明提供一种快速检测差分包可靠性的方法、装置及存储介质,用于生成差分包,提前发现差分包的问题,降低升级风险,减少差分升级测试工作量。通过在测试服务器挂载最新软件系统,生成文件校验表,并基于文件系统制作差分升级包,再在所述测试服务器上挂载待升级的软件系统,在所述测试服务器上执行差分升级包脚本,对待升级的整包软件进行升级,校验差分升级后的软件系统。本发明运行在专门的测试服务器上,能自动生成所有历史版本的差分包,模拟升级过程,并进行自动检测,提前发现问题,相比现有方案运行在智能电视端,大大提升了工作效率,提高了差分包升级可靠性。

Figure 201910147554

The present invention provides a method, device and storage medium for rapidly detecting the reliability of differential packets, which are used for generating differential packets, discovering problems of differential packets in advance, reducing upgrade risks and reducing the workload of differential upgrade testing. By mounting the latest software system on the test server, generating a file check table, and making a differential upgrade package based on the file system, mounting the software system to be upgraded on the test server, and executing the differential upgrade package on the test server The script is used to upgrade the entire package of software to be upgraded, and to verify the differentially upgraded software system. The invention runs on a special test server, can automatically generate differential packages of all historical versions, simulate the upgrade process, and perform automatic detection, so as to find problems in advance. Compared with the existing solution running on the smart TV, the work efficiency is greatly improved. Improved reliability of differential package upgrades.

Figure 201910147554

Description

一种快速检测差分包可靠性的方法、装置及可读存储介质A method, device and readable storage medium for rapidly detecting the reliability of differential packets

技术领域technical field

本发明涉及智能电视软件升级技术领域,尤其涉及一种快速检测差分包可靠性的方法、装置及可读存储介质。The invention relates to the technical field of smart TV software upgrading, and in particular, to a method, a device and a readable storage medium for rapidly detecting the reliability of differential packets.

背景技术Background technique

随着智能电视技术的发展,以及智能电视与宽带网络技术的结合使用,使得智能电视在家庭中的用途也越来越广,成为了家庭中最便捷的娱乐资讯中心。随着功能的扩展,智能电视的系统也越来越复杂,相关功能也需求紧跟着市场而不断变化调整,由此对智能电视的系统的升级要求也就越来越多,升级也变得越来越重要。目前的智能电视的系统升级包占约1~2GB,如果通过网络下载去升级智能电视的整机软件,下载升级包所需要的流量很大,下载时间会比较长,升级所费时间也就会很长;且在此过程中,如果由于升级包的问题造成升级失败,就会使用户前功尽弃,给用户体验造成较大影响。于是有必要对升级包进行可靠性检测,避免因升级包的问题而导致用户升级失败。为了节省流量,也为了节省下载时间,目前通行的系统升级方法是差分包在线升级。目前智能电视行业中的差分升级检测方案是:在智能电视升级过程中对升级完的分区做相应的校验,一旦出现升级错误,就必须要进行系统的整包升级。With the development of smart TV technology and the combination of smart TV and broadband network technology, smart TV has become more and more widely used in the family, and has become the most convenient entertainment information center in the family. With the expansion of functions, the system of smart TVs is becoming more and more complex, and related functions also need to be constantly changed and adjusted according to the market. As a result, there are more and more upgrade requirements for the system of smart TVs, and the upgrade has also become more and more important. The current system upgrade package of a smart TV occupies about 1-2GB. If you upgrade the whole machine software of the smart TV through network download, the traffic required to download the upgrade package will be very large, the download time will be relatively long, and the time spent on the upgrade will also be reduced. It is very long; and in the process, if the upgrade fails due to the problem of the upgrade package, the user will be completely lost, and the user experience will be greatly affected. Therefore, it is necessary to perform reliability detection on the upgrade package to avoid user upgrade failure due to problems with the upgrade package. In order to save traffic and download time, the current system upgrade method is online upgrade of differential packages. The current differential upgrade detection scheme in the smart TV industry is: in the smart TV upgrade process, the upgraded partitions are checked accordingly. Once an upgrade error occurs, the entire system must be upgraded.

因此,现有技术还有待于改进和发展。Therefore, the existing technology still needs to be improved and developed.

发明内容SUMMARY OF THE INVENTION

鉴于上述现有技术的不足之处,本发明为解决现有技术缺陷和不足,提出了一种快速检测差分包可靠性的方法,通过利用专门的采用Linux平台的测试服务器模拟升级过程,完成升级校验。相对于目前的校验方案运行在智能电视端,性能有较大提升,而且还能自动生成所有历史版本的差分升级包,降低了升级风险,在不增加额外的测试成本下,大大减少差分升级测试工作量。In view of the shortcomings of the above-mentioned prior art, in order to solve the defects and deficiencies of the prior art, the present invention proposes a method for rapidly detecting the reliability of differential packets, and completes the upgrade by simulating the upgrade process by using a special test server using a Linux platform. check. Compared with the current verification scheme running on the smart TV side, the performance is greatly improved, and the differential upgrade package of all historical versions can be automatically generated, which reduces the upgrade risk and greatly reduces the differential upgrade without adding additional testing costs. Test workload.

本发明解决技术问题所采用的技术方案如下:The technical scheme adopted by the present invention to solve the technical problem is as follows:

一种快速检测差分包可靠性的方法,用于检测智能电视软件系统差分升级包的正确性,包括如下步骤:A method for quickly detecting the reliability of a differential package, which is used to detect the correctness of a differential upgrade package of a smart TV software system, comprising the following steps:

生成文件校验表,制作差分包;Generate a file checklist and make a differential package;

对待升级的智能电视软件系统进行差分升级;Differentially upgrade the smart TV software system to be upgraded;

校验差分升级后的智能电视软件系统。Verify the differentially upgraded smart TV software system.

作为进一步的改进技术方案,上述步骤生成文件校验表,制作差分包具体包括如下步骤:As a further improved technical solution, the above steps generate a file check table, and making a differential package specifically includes the following steps:

将最新智能电视软件系统挂载到测试服务器,生成文件校验表;Mount the latest smart TV software system to the test server and generate a file checklist;

基于待升级的智能电视软件系统在所述测试服务器上制作差分包软件。Differential package software is produced on the test server based on the smart TV software system to be upgraded.

作为进一步的改进技术方案,上述步骤对待升级的智能电视软件系统进行差分升级具体包括如下步骤:As a further improved technical solution, the above steps specifically include the following steps for differential upgrade of the smart TV software system to be upgraded:

将待升级的所述智能电视软件系统挂载到所述测试服务器上;Mounting the smart TV software system to be upgraded on the test server;

根据分区生成文件差分目录,进而生成待升级的所述智能电视软件系统的文件系统;Generate a file differential directory according to the partition, and then generate the file system of the smart TV software system to be upgraded;

在所述文件系统中执行差分包升级脚本,实现对待升级的所述智能电视软件系统的差分升级。A differential package upgrade script is executed in the file system to implement differential upgrade of the smart TV software system to be upgraded.

作为进一步的改进技术方案,上述步骤校验差分升级后的智能电视软件系统具体包括如下步骤:As a further improved technical solution, the above steps to verify the differentially upgraded smart TV software system specifically include the following steps:

在所述智能电视软件系统差分升级完成后,计算差分升级后的智能电视软件系统中各个分区根目录MD5校验值;After the differential upgrade of the smart TV software system is completed, calculate the MD5 check value of each partition root directory in the smart TV software system after the differential upgrade;

根据最新智能电视软件系统的文件校验表,对比差分升级后的所述智能电视软件系统中各个分区根目录的MD5校验值,以校验差分升级后的所述智能电视软件系统;According to the file verification table of the latest smart TV software system, compare the MD5 check values of each partition root directory in the smart TV software system after the differential upgrade, to verify the smart TV software system after the differential upgrade;

校验数据如果一致则升级成功,否则升级失败。If the verification data is consistent, the upgrade succeeds; otherwise, the upgrade fails.

作为进一步的改进技术方案,上述步骤中,所述测试服务器采用Linux平台。As a further improved technical solution, in the above steps, the test server adopts a Linux platform.

本发明还提供一种快速检测差分包可靠性的装置,用于检测智能电视软件系统差分升级包的正确性,所述装置包括:差分包制作模块、软件系统升级模块和软件系统校验模块;The present invention also provides a device for rapidly detecting the reliability of a differential package, which is used to detect the correctness of a differential upgrade package of a smart TV software system, the device comprising: a differential package making module, a software system upgrade module and a software system verification module;

所述差分包制作模块用于生成文件校验表,制作差分包;The differential package making module is used to generate a file check table and make a differential package;

所述软件系统升级模块用于对待升级的智能电视软件系统进行差分升级;The software system upgrade module is used for differential upgrade of the smart TV software system to be upgraded;

所述软件系统校验模块用于校验差分升级后的智能电视软件系统。The software system verification module is used to verify the differentially upgraded smart TV software system.

作为进一步的改进技术方案,所述差分包制作模块包括如下功能:As a further improved technical solution, the differential packet making module includes the following functions:

将最新智能电视软件系统挂载到测试服务器上生成文件校验表,并基于待升级的智能电视软件系统在所述测试服务器上制作差分包软件,所述测试服务器采用Linux平台。Mount the latest smart TV software system on the test server to generate a file check table, and create differential package software on the test server based on the smart TV software system to be upgraded, and the test server adopts the Linux platform.

作为进一步的改进技术方案,所述软件系统升级模块包括如下功能:As a further improved technical solution, the software system upgrade module includes the following functions:

将待升级的所述智能电视软件系统挂载到所述测试服务器上,根据分区生成文件差分目录,进而生成待升级的所述智能电视软件系统的文件系统,在所述文件系统中执行差分包升级脚本,实现对待升级的所述智能电视软件系统的差分升级。Mount the smart TV software system to be upgraded on the test server, generate a file differential directory according to the partition, and then generate a file system of the smart TV software system to be upgraded, and execute differential packets in the file system The upgrade script realizes the differential upgrade of the smart TV software system to be upgraded.

作为进一步的改进技术方案,所述软件系统校验模块。包括如下功能:As a further improved technical solution, the software system checks the module. Includes the following functions:

在所述智能电视软件系统差分升级完成后,计算差分升级后的智能电视软件系统中各个分区根目录MD5校验值,根据所述差分包制作模块生成的所述最新智能电视软件系统的文件校验表,对比差分升级后的所述智能电视软件系统中各个分区根目录的MD5校验值,校验差分升级后的所述智能电视软件系统。After the differential upgrade of the smart TV software system is completed, the MD5 check value of each partition root directory in the differentially upgraded smart TV software system is calculated, and the file check value of the latest smart TV software system generated by the differential package making module is calculated. Check the table, compare the MD5 check value of each partition root directory in the smart TV software system after differential upgrade, and check the smart TV software system after differential upgrade.

本发明还提供一种可读存储介质,所述可读存储介质存储有快速检测差分包可靠性的程序,该快速检测差分包可靠性的程序被处理器执行时实现上述的快速检测差分包可靠性的方法的步骤。The present invention also provides a readable storage medium, the readable storage medium stores a program for rapidly detecting the reliability of differential packets, and when the program for rapidly detecting the reliability of differential packets is executed by a processor, the above-mentioned rapid detection of differential packet reliability is realized The steps of the sexual method.

与现有技术差分升级检测方案运行在智能电视端,如出现错误就得进行整包升级相比较,本发明利用专门的采用Linux平台的测试服务器,模拟升级过程,完成升级校验,将差分包的验证工作放在编译阶段,提前检测了差分升级包的正确性,降低了升级风险,在测试过程中无需人为干预,提高了工作效率。Compared with the prior art differential upgrade detection scheme that runs on the smart TV end, if an error occurs, the whole package must be upgraded. The present invention uses a special test server using a Linux platform to simulate the upgrade process, complete the upgrade check, and transfer the differential package. The verification work is placed in the compilation stage, the correctness of the differential upgrade package is detected in advance, the upgrade risk is reduced, no human intervention is required during the testing process, and the work efficiency is improved.

附图说明Description of drawings

下面结合附图对本发明的具体实施方式作进一步的说明,其中:The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings, wherein:

图1是本发明一种快速检测差分包可靠性的方法优选实施例的流程图。FIG. 1 is a flowchart of a preferred embodiment of a method for rapidly detecting the reliability of a differential packet according to the present invention.

图2是本发明一种快速检测差分包可靠性的装置优选实施例的结构图。FIG. 2 is a structural diagram of a preferred embodiment of an apparatus for rapidly detecting the reliability of differential packets according to the present invention.

图3是本发明一种快速检测差分包可靠性的方法优选实施例的差分包制作流程图。FIG. 3 is a flow chart of the production of a differential packet according to a preferred embodiment of a method for rapidly detecting the reliability of a differential packet according to the present invention.

图4是本发明一种快速检测差分包可靠性的方法优选实施例的智能电视软件系统升级流程图。FIG. 4 is a flow chart of a smart TV software system upgrade according to a preferred embodiment of a method for rapidly detecting the reliability of a differential packet according to the present invention.

图5是本发明一种快速检测差分包可靠性的方法优选实施例的智能电视软件系统校验流程图。FIG. 5 is a flow chart of a smart TV software system verification according to a preferred embodiment of a method for rapidly detecting the reliability of a differential packet according to the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer and clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

随着智能电视功能的扩展,智能电视的系统也越来越复杂。而随着市场上各种功能需求的变化,智能电视的系统也必须随之变化,不断的进行系统升级就成了必需。智能电视一般采用差分包进行升级,升级包大小一般为1-2GB,通过网络下载升级包升级不仅费流量而且耗时长。目前流行的差分升级检测方法为:在智能电视系统升级过程中,对升级完成的分区做相应的校验。由此一旦出现错误,就必须要进行整包升级。因此现有技术很有必要进行改进,以提高差分包升级的可靠性,缩减升级的耗时。With the expansion of smart TV functions, the system of smart TV is also becoming more and more complex. With the changes in various functional requirements in the market, the system of smart TVs must also change accordingly, and continuous system upgrades have become necessary. Smart TVs generally use differential packages to upgrade, and the size of the upgrade package is generally 1-2GB. Downloading the upgrade package through the network to upgrade not only consumes traffic but also takes a long time. The current popular differential upgrade detection method is: during the upgrade process of the smart TV system, the corresponding verification is performed on the partitions that have been upgraded. As a result, once an error occurs, the entire package must be upgraded. Therefore, it is necessary to improve the existing technology to improve the reliability of the differential packet upgrade and reduce the time-consuming of the upgrade.

本发明提供了一种快速检测差分包可靠性的方法,是通过专门的测试服务器来完成差分包的可靠性检测,相比目前的检测方案是运行在智能电视端,性能得到了很大提升。测试服务器能够自动生成所有历史版本的差分升级包,并且模拟升级过程,完成升级校验。其具体实施例的流程步骤如下:The invention provides a method for quickly detecting the reliability of differential packets, which is to complete the reliability detection of differential packets through a special test server. Compared with the current detection scheme running on the smart TV, the performance is greatly improved. The test server can automatically generate differential upgrade packages for all historical versions, simulate the upgrade process, and complete upgrade verification. The process steps of its specific embodiment are as follows:

如图1是本发明一种快速检测差分包可靠性的方法优选实施例的流程图所示,在本实施例中,假设最新版本的智能电视软件系统为V010,共有V001—V009九个历史版本,也就是有九个待升级的历史版本软件系统,本实施例以V009作为待升级的软件系统为例来加以说明。本发明优选实施例包括如下步骤:Figure 1 is a flow chart of a preferred embodiment of a method for rapidly detecting the reliability of differential packets according to the present invention. In this embodiment, it is assumed that the latest version of the smart TV software system is V010, and there are nine historical versions from V001 to V009. , that is, there are nine historical version software systems to be upgraded. In this embodiment, V009 is taken as an example of the software system to be upgraded for description. The preferred embodiment of the present invention includes the following steps:

步骤S100,生成文件校验表,制作差分包。In step S100, a file check table is generated, and a differential packet is made.

具体而言,所述步骤生成文件校验表,制作差分包具体包括如下步骤:Specifically, the steps of generating a file check table, and making a differential package specifically include the following steps:

将最新智能电视软件系统挂载到测试服务器,生成文件校验表;Mount the latest smart TV software system to the test server and generate a file checklist;

基于待升级的智能电视软件系统在所述测试服务器上制作差分包软件。Differential package software is produced on the test server based on the smart TV software system to be upgraded.

在本实施例中,生成文件校验表,制作差分包的具体流程参见图3本发明一种快速检测差分包可靠性的方法优选实施例的差分包制作流程图所示,首先将最新版本的软件系统V010挂载到Linux平台的测试服务器上进行编译,生成软件系统V010的文件校验表;然后根据需要,使用待升级的软件系统V009与最新版本的软件系统V010制作差分文件升级包,亦即最新版本的软件系统V010基于待升级的软件系统V009,在所述测试服务器上制作差分包软件。In this embodiment, a file check table is generated, and the specific process of making a differential packet is shown in FIG. The software system V010 is mounted on the test server of the Linux platform for compilation, and the file check table of the software system V010 is generated; That is, the latest version of the software system V010 is based on the software system V009 to be upgraded, and differential package software is created on the test server.

步骤S200,对待升级的智能电视软件系统进行差分升级。Step S200, performing differential upgrade on the smart TV software system to be upgraded.

具体而言,所述步骤对待升级的智能电视软件系统进行差分升级具体包括如下步骤:Specifically, the step of differentially upgrading the smart TV software system to be upgraded specifically includes the following steps:

将待升级的所述智能电视软件系统挂载到所述测试服务器上;Mounting the smart TV software system to be upgraded on the test server;

根据分区生成文件差分目录,进而生成待升级的所述智能电视软件系统的文件系统;Generate a file differential directory according to the partition, and then generate the file system of the smart TV software system to be upgraded;

在所述文件系统中执行差分包升级脚本,实现对待升级的所述智能电视软件系统的差分升级。A differential package upgrade script is executed in the file system to implement differential upgrade of the smart TV software system to be upgraded.

在本实施例中,对待升级的智能电视软件系统进行升级的具体步骤参见图4本发明一种快速检测差分包可靠性的方法优选实施例的智能电视软件系统升级流程图所示,将待升级的软件系统V009挂载到Linux平台的测试服务器上,根据分区生成差分目录,将img文件Mount到文件系统格式,生成待升级的软件系统V009的文件系统,在所述文件系统中执行差分升级包(Update_V009_to_V010.zip)升级脚本,读取所述文件系统中的文件,对所述文件根据需要进行增加、修改或删除等文件的解析,完成对软件系统V009的差分升级。In this embodiment, the specific steps for upgrading the smart TV software system to be upgraded are shown in FIG. The software system V009 of the software system is mounted on the test server of the Linux platform, the differential directory is generated according to the partition, the img file is mounted to the file system format, the file system of the software system V009 to be upgraded is generated, and the differential upgrade package is executed in the file system. (Update_V009_to_V010.zip) The upgrade script reads the files in the file system, and analyzes the files such as adding, modifying, or deleting the files as required to complete the differential upgrade of the software system V009.

步骤S300,校验差分升级后的智能电视软件系统。Step S300, verifying the differentially upgraded smart TV software system.

具体而言,所述步骤校验差分升级后的智能电视软件系统具体包括如下步骤:Specifically, the step of verifying the differentially upgraded smart TV software system specifically includes the following steps:

在所述智能电视软件系统差分升级完成后,计算差分升级后的智能电视软件系统中各个分区根目录MD5校验值;After the differential upgrade of the smart TV software system is completed, calculate the MD5 check value of each partition root directory in the smart TV software system after the differential upgrade;

根据最新智能电视软件系统的文件校验表,对比差分升级后的所述智能电视软件系统中各个分区根目录的MD5校验值,以校验差分升级后的所述智能电视软件系统;According to the file verification table of the latest smart TV software system, compare the MD5 check values of each partition root directory in the smart TV software system after the differential upgrade, to verify the smart TV software system after the differential upgrade;

校验数据如果一致则升级成功,否则升级失败。If the verification data is consistent, the upgrade succeeds; otherwise, the upgrade fails.

在本实施例中,校验差分升级后的智能电视软件系统的具体步骤参见图5本发明一种快速检测差分包可靠性的方法优选实施例的智能电视软件系统校验流程图所示,将升级成功的软件系统V009挂载到文件系统,同时将最新版本的软件系统V010也挂载到文件系统,读取软件系统V010的文件校验表,将它与升级成功的软件系统V009的文件校验表进行比较,如果校验数据一致,则升级成功,否则,则升级失败。In this embodiment, the specific steps of verifying the differentially upgraded smart TV software system are shown in FIG. 5 as shown in the smart TV software system verification flowchart of a preferred embodiment of a method for rapidly detecting the reliability of differential packets according to the present invention. Mount the successfully upgraded software system V009 to the file system, and at the same time mount the latest version of the software system V010 to the file system, read the file check table of the software system V010, and check it with the files of the successfully upgraded software system V009. If the verification data is consistent, the upgrade is successful; otherwise, the upgrade fails.

V001—V008等历史版本的操作方式与上述步骤完全相同,通过重复操作上述步骤,完成对所有的历史版本V001—V009的差分包的生成和差分包的可靠性检测。The operation methods of historical versions such as V001-V008 are exactly the same as the above steps. By repeating the above steps, the generation of differential packets of all historical versions V001-V009 and the reliability detection of differential packets are completed.

本发明还提供一种快速检测差分包可靠性的装置,用于生成差分包,提前发现差分包的问题,降低升级风险,减少差分升级测试工作量,图2所示为本发明一种快速检测差分包可靠性的装置优选实施例的结构图,所述装置包括差分包制作模块10、软件系统升级模块20和软件系统校验模块30。The present invention also provides a device for quickly detecting the reliability of differential packets, which is used to generate differential packets, discover problems in differential packets in advance, reduce upgrade risks, and reduce differential upgrade testing workload. FIG. 2 shows a rapid detection method of the present invention. A structural diagram of a preferred embodiment of an apparatus for differential packet reliability, the apparatus includes a differential packet making module 10 , a software system upgrading module 20 and a software system checking module 30 .

所述差分包制作模块10用于生成文件校验表,制作差分包。The differential packet making module 10 is used to generate a file check table and make a differential packet.

本实施例中,所述差分包制作模块包括如下功能:In this embodiment, the differential packet making module includes the following functions:

将最新智能电视软件系统挂载到测试服务器上生成文件校验表,并基于待升级的智能电视软件系统在所述测试服务器上制作差分包软件,所述测试服务器采用Linux平台。所述差分包制作模块的工作原理可参见图3本发明一种快速检测差分包可靠性的方法优选实施例的差分包制作流程图,与上述一种快速检测差分包可靠性的方法优选实施例中的步骤S100的工作流程相同,在此不再赘述。Mount the latest smart TV software system on the test server to generate a file check table, and create differential package software on the test server based on the smart TV software system to be upgraded, and the test server adopts the Linux platform. For the working principle of the differential packet making module, please refer to FIG. 3 , a flow chart of differential packet making in a preferred embodiment of a method for rapidly detecting differential packet reliability of the present invention, and the preferred embodiment of the above-mentioned method for rapidly detecting differential packet reliability. The workflow of step S100 is the same, and will not be repeated here.

所述软件系统升级模块20用于对待升级的软件系统进行升级。The software system upgrade module 20 is used to upgrade the software system to be upgraded.

本实施例中,所述软件系统升级模块包括如下功能:In this embodiment, the software system upgrade module includes the following functions:

将待升级的所述智能电视软件系统挂载到所述测试服务器上,根据分区生成文件差分目录,进而生成待升级的所述智能电视软件系统的文件系统,在所述文件系统中执行差分包升级脚本,实现对待升级的所述智能电视软件系统的差分升级。所述软件系统升级模块工作流程可参见图4本发明一种快速检测差分包可靠性的方法优选实施例的软件系统升级流程图,与上述一种快速检测差分包可靠性的方法优选实施例的步骤S200的工作流程相同,在此不再赘述。Mount the smart TV software system to be upgraded on the test server, generate a file differential directory according to the partition, and then generate a file system of the smart TV software system to be upgraded, and execute differential packets in the file system The upgrade script realizes the differential upgrade of the smart TV software system to be upgraded. The workflow of the software system upgrade module can be seen in FIG. 4 for the software system upgrade flow chart of a preferred embodiment of a method for rapidly detecting the reliability of differential packets according to the present invention, which is the same as that of the preferred embodiment of the above-mentioned method for rapidly detecting the reliability of differential packets. The workflow of step S200 is the same, which is not repeated here.

所述软件系统校验模块30用于校验差分升级后的软件系统。The software system verification module 30 is used to verify the differentially upgraded software system.

本实施例中,所述软件系统校验模块包括如下功能:In this embodiment, the software system verification module includes the following functions:

在所述智能电视软件系统差分升级完成后,计算差分升级后的智能电视软件系统中各个分区根目录MD5校验值,根据所述差分包制作模块生成的所述最新智能电视软件系统的文件校验表,对比差分升级后的所述智能电视软件系统中各个分区根目录的MD5校验值,校验差分升级后的所述智能电视软件系统。所述软件系统校验模块工作流程可参见图5本发明一种快速检测差分包可靠性的方法优选实施例的软件系统校验流程图,与上述一种快速检测差分包可靠性的方法优选实施例的步骤S300的工作流程相同,在此不再赘述。After the differential upgrade of the smart TV software system is completed, the MD5 check value of each partition root directory in the differentially upgraded smart TV software system is calculated, and the file check value of the latest smart TV software system generated by the differential package making module is calculated. Check the table, compare the MD5 check value of each partition root directory in the smart TV software system after differential upgrade, and check the smart TV software system after differential upgrade. The workflow of the software system verification module can be seen in FIG. 5 , the software system verification flowchart of a preferred embodiment of a method for rapidly detecting the reliability of differential packets according to the present invention, which is preferably implemented with the above-mentioned method for rapidly detecting the reliability of differential packets. The workflow of step S300 in the example is the same, and details are not repeated here.

本发明还提供一种可读存储介质,该可读存储介质为计算机可读存储介质,所述可读存储介质存储有快速检测差分包可靠性的程序,该快速检测差分包可靠性的程序被处理器执行时实现上述的快速检测差分包可靠性的方法的步骤。The present invention also provides a readable storage medium, the readable storage medium is a computer-readable storage medium, and the readable storage medium stores a program for rapidly detecting the reliability of differential packets, and the program for rapidly detecting the reliability of differential packets is The processor implements the steps of the above-mentioned method for rapidly detecting the reliability of a differential packet.

应当理解的是,以上所述仅为本发明的较佳实施例而已,并不足以限制本发明的技术方案,对本领域普通技术人员来说,在本发明的精神和原则之内,可以根据上述说明加以增减、替换、变换或改进,而所有这些增减、替换、变换或改进后的技术方案,都应属于本发明所附权利要求的保护范围。It should be understood that the above are only preferred embodiments of the present invention, and are not sufficient to limit the technical solutions of the present invention. For those of ordinary skill in the art, within the spirit and principles of the present invention, they can Additions, substitutions, transformations or improvements are made to the description, and all the technical solutions after additions, reductions, replacements, transformations or improvements should fall within the protection scope of the appended claims of the present invention.

Claims (10)

1. A method for rapidly detecting the reliability of a differential package is used for detecting the correctness of a differential upgrade package of an intelligent television software system, and is characterized by comprising the following steps:
generating a file checking table, and making a differential packet;
carrying out differential upgrading on the intelligent television software system to be upgraded;
and verifying the differentially upgraded intelligent television software system.
2. The method for rapidly detecting the reliability of the differential package according to claim 1, wherein the step of generating the file check table comprises the following steps:
mounting the latest intelligent television software system to a test server to generate a file check table;
and manufacturing differential package software on the test server based on the intelligent television software system to be upgraded.
3. The method for rapidly detecting the reliability of the differential package according to claim 2, wherein the step of differentially upgrading the smart television software system to be upgraded specifically comprises the following steps:
mounting the intelligent television software system to be upgraded on the test server;
generating a file differential directory according to the partitions, and further generating a file system of the intelligent television software system to be upgraded;
and executing a differential package upgrading script in the file system to realize differential upgrading of the intelligent television software system to be upgraded.
4. The method for rapidly detecting the reliability of the differential package according to claim 3, wherein the step of verifying the software system of the smart television after the differential upgrade specifically comprises the following steps:
after the differential upgrade of the intelligent television software system is completed, calculating a check value of each partition root directory MD5 in the intelligent television software system after the differential upgrade;
comparing the MD5 check values of each partition root directory in the intelligent television software system after differential upgrading according to a file check table of the latest intelligent television software system so as to check the intelligent television software system after differential upgrading;
if the verification data is consistent, the upgrading is successful, otherwise, the upgrading is failed.
5. The method for rapidly detecting the reliability of the differential package according to any one of claims 2 to 4, wherein the test server adopts a Linux platform.
6. An apparatus for rapidly detecting reliability of a differential package, which is used for detecting correctness of a differential upgrade package of a smart television software system, wherein the apparatus comprises: the system comprises a differential packet manufacturing module, a software system upgrading module and a software system checking module;
the differential packet making module is used for generating a file check table and making a differential packet;
the software system upgrading module is used for differentially upgrading the intelligent television software system to be upgraded;
the software system checking module is used for checking the intelligent television software system after differential upgrading.
7. The apparatus for rapidly detecting the reliability of the differential packet according to claim 6, wherein the differential packet making module comprises the following functions:
the method comprises the steps of mounting the latest intelligent television software system on a test server to generate a file check table, and manufacturing differential package software on the test server based on the intelligent television software system to be upgraded, wherein the test server adopts a Linux platform.
8. The apparatus for rapidly detecting the reliability of the differential packet according to claim 7, wherein the software system upgrade module comprises the following functions:
the intelligent television software system to be upgraded is mounted on the test server, a file differential directory is generated according to the partitions, a file system of the intelligent television software system to be upgraded is further generated, a differential package upgrading script is executed in the file system, and differential upgrading of the intelligent television software system to be upgraded is achieved.
9. The apparatus for rapidly testing the reliability of the differential packet according to claim 8, wherein the software system verification module comprises the following functions:
after the intelligent television software system is differentially upgraded, calculating the MD5 check value of each partition root directory in the differentially upgraded intelligent television software system, comparing the MD5 check value of each partition root directory in the differentially upgraded intelligent television software system according to the file check table of the latest intelligent television software system generated by the differential packet manufacturing module, and checking the differentially upgraded intelligent television software system.
10. A readable storage medium storing a program for rapidly detecting differential packet reliability, wherein the program for rapidly detecting differential packet reliability implements the steps of the method for rapidly detecting differential packet reliability according to any one of claims 1 to 5 when executed by a processor.
CN201910147554.7A 2019-02-27 2019-02-27 A method, device and readable storage medium for rapidly detecting the reliability of differential packets Pending CN111629200A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910147554.7A CN111629200A (en) 2019-02-27 2019-02-27 A method, device and readable storage medium for rapidly detecting the reliability of differential packets

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910147554.7A CN111629200A (en) 2019-02-27 2019-02-27 A method, device and readable storage medium for rapidly detecting the reliability of differential packets

Publications (1)

Publication Number Publication Date
CN111629200A true CN111629200A (en) 2020-09-04

Family

ID=72261144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910147554.7A Pending CN111629200A (en) 2019-02-27 2019-02-27 A method, device and readable storage medium for rapidly detecting the reliability of differential packets

Country Status (1)

Country Link
CN (1) CN111629200A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925542A (en) * 2021-02-24 2021-06-08 深圳市吉祥腾达科技有限公司 Test method for supporting silent upgrade of wireless router
CN114238122A (en) * 2021-12-20 2022-03-25 上海艾拉比智能科技有限公司 Online differential packet manufacturing function test system
CN114326631A (en) * 2021-12-30 2022-04-12 苏伊士水务工程有限责任公司 Verification method and verification processing system for upgrading data acquisition and monitoring control system
CN114647430A (en) * 2020-12-18 2022-06-21 宝能汽车集团有限公司 Method and device for automatic generation of differential script, storage medium, and computer device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536876A (en) * 2014-11-26 2015-04-22 四川长虹电器股份有限公司 An Android platform based automatically updating and testing method and system
CN105138347A (en) * 2015-07-17 2015-12-09 广东欧珀移动通信有限公司 A differential upgrade package generation method, software upgrade method and corresponding device
US20160134476A1 (en) * 2014-11-07 2016-05-12 Hannes Kerber Method for controlling changes in a computer system
US20160155131A1 (en) * 2014-11-28 2016-06-02 EIS Group Software Ireland Limited System and method for fully testing a system before and after an upgrade to verify full use case compliance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160134476A1 (en) * 2014-11-07 2016-05-12 Hannes Kerber Method for controlling changes in a computer system
CN104536876A (en) * 2014-11-26 2015-04-22 四川长虹电器股份有限公司 An Android platform based automatically updating and testing method and system
US20160155131A1 (en) * 2014-11-28 2016-06-02 EIS Group Software Ireland Limited System and method for fully testing a system before and after an upgrade to verify full use case compliance
CN105138347A (en) * 2015-07-17 2015-12-09 广东欧珀移动通信有限公司 A differential upgrade package generation method, software upgrade method and corresponding device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114647430A (en) * 2020-12-18 2022-06-21 宝能汽车集团有限公司 Method and device for automatic generation of differential script, storage medium, and computer device
CN112925542A (en) * 2021-02-24 2021-06-08 深圳市吉祥腾达科技有限公司 Test method for supporting silent upgrade of wireless router
CN112925542B (en) * 2021-02-24 2024-04-30 东莞市锐易电子科技有限公司 Test method for supporting silent upgrading of wireless router
CN114238122A (en) * 2021-12-20 2022-03-25 上海艾拉比智能科技有限公司 Online differential packet manufacturing function test system
CN114238122B (en) * 2021-12-20 2025-01-10 上海艾拉比智能科技有限公司 An online differential packet production function test system
CN114326631A (en) * 2021-12-30 2022-04-12 苏伊士水务工程有限责任公司 Verification method and verification processing system for upgrading data acquisition and monitoring control system
CN114326631B (en) * 2021-12-30 2024-07-23 苏伊士环境科技(北京)有限公司 Verification method and verification processing system for upgrading data acquisition and monitoring control system

Similar Documents

Publication Publication Date Title
CN110058873B (en) Application page updating method, device, equipment and storage medium
CN101436138B (en) Control device and control method for software upgrade and dynamic rolling back
CN110851135A (en) Application program automatic construction and uploading method, device and computer equipment, storage medium
CN111629200A (en) A method, device and readable storage medium for rapidly detecting the reliability of differential packets
CN112000355B (en) Method and device for firmware upgrading and household appliance
CN110377314B (en) System upgrading method, device, equipment and medium for distributed storage system
CN111414169A (en) BMC image upgrade method and related components
CN111459509A (en) Container image construction method, device and server
CN108306959A (en) A kind of method, apparatus and storage medium of remote upgrade CPLD firmwares
CN105786542A (en) Intelligent device and system update method of the intelligent device
CN103019722B (en) A kind of method and device extracting Java network application AKU
CN112657196B (en) Resource updating method, device, computer equipment and readable storage medium
CN108388519A (en) Mock test methods based on SpringBoot services
WO2017016282A1 (en) Software upgrading method and apparatus, and computer storage medium
CN115145596A (en) OTA (over the air) upgrading method and device for robot upgrading package
CN109885332A (en) Image quality chip software upgrade method, device, display device and storage medium
CN107908417A (en) Firmware upgrade method and electronic equipment
CN114416596A (en) A method, device, computer equipment and storage medium for testing application
CN117971297A (en) Dependency package synchronization method, device, computer equipment and storage medium
CN116594657A (en) OTA upgrading method and device, vehicle and storage medium
CN111324365A (en) Method and equipment for upgrading super-converged system
CN111651189B (en) Product delivery method and device of continuous integrated system and electronic equipment
CN115292168A (en) Test sequence generation method, apparatus, device and medium
CN109976788A (en) The miniature loophole restorative procedure of intelligent terminal, intelligent terminal, equipment and server
CN112433738B (en) Firmware update test method, system, equipment and medium

Legal Events

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

Application publication date: 20200904

RJ01 Rejection of invention patent application after publication