CN109275033A - A method of safety replacement smart television start-up picture - Google Patents

A method of safety replacement smart television start-up picture Download PDF

Info

Publication number
CN109275033A
CN109275033A CN201811325076.6A CN201811325076A CN109275033A CN 109275033 A CN109275033 A CN 109275033A CN 201811325076 A CN201811325076 A CN 201811325076A CN 109275033 A CN109275033 A CN 109275033A
Authority
CN
China
Prior art keywords
picture
updatelogo
apk
replacement
file
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.)
Granted
Application number
CN201811325076.6A
Other languages
Chinese (zh)
Other versions
CN109275033B (en
Inventor
刘战芬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201811325076.6A priority Critical patent/CN109275033B/en
Publication of CN109275033A publication Critical patent/CN109275033A/en
Application granted granted Critical
Publication of CN109275033B publication Critical patent/CN109275033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8186Monomedia components thereof involving executable data, e.g. software specially adapted to be executed by a peripheral of the client device, e.g. by a reprogrammable remote control

Abstract

The invention discloses a kind of methods of safety replacement smart television start-up picture, comprising: makes the UpdateLogo.apk for replacing start-up picture;It will be mounted with the USB interface of the USB flash disk insertion smart television of UpdateLogo.apk, run UpdateLogo.apk, starting start-up picture replaces process.TV software system itself of the invention does not have the interface of replacement start-up picture, prevent the start-up picture of television set from being distorted by common mode, replacement, the replacement of start-up picture can be conveniently realized using dedicated replacement start-up picture software tool UpdateLogo.apk, when topic picture demand is opened in newly-increased replacement below, specified special messenger is only needed to replace the picture in UpdateLogo.apk, signature, replacement process generally only needs a few minutes, UpdateLogo.apk generally only has 1M or so, conducive to saving and transmit, the installation of UpdateLogo.apk probably needs can be completed for 1 minute, it is easy to operate.

Description

A method of safety replacement smart television start-up picture
Technical field
The present invention relates to intelligent television software technical fields, are a kind of safety replacement smart television booting pictures specifically The method in face.
Background technique
With universal, the mechanisms such as many hotels, market, station of smart television, in some public arenas, festivals or holidays, all Television set is needed to use specific start-up picture.Simultaneously because television set is in public place, the safety of television set becomes more and more important, Need to guarantee start-up picture cannot arbitrarily be replaced with illegal picture.Existing solution has: scheme one is opened using new Then machine picture file, original start-up picture file in replacement software system recompilate and generate customization software, carry out software Brush machine;The replacement function of start-up picture is preset to inside TV set software by scheme two, is then triggered by external specific condition Replacement movement, new start-up picture is imported by external memory.Defect existing for scheme one: the file of new edition customization software Replacement, compiling, it is necessary to which professional operates on professional equipment, and compilation process probably needs 2-3 hours, and the operation is to people Member's requirement is very high, causes certain difficulty for start-up picture replacement.And each start-up picture corresponds to a software version, meeting Cause version excessive, management difficulty is big, while brush machine packet generally occupies the space of 500M-1G, causes a large amount of server space Waste.Not only operation difficulty is big for USB flash disk software brush machine, and brush machine once takes around half an hour, and time-consuming and laborious, low efficiency is added The original data of television set can be destroyed after brush machine, needed to adjust data one by one again, more caused a large amount of of human resources Waste;Defect existing for scheme two: after operator obtains the rule of replacement start-up picture, so that it may which unconfined use is replaced Different pictures are changed, once Substitution Rules are revealed, television set may be utilized by unauthorized person, occur illegal booting picture on a television set The case where face.It is very dangerous for being in the television set of public place.
Summary of the invention
The purpose of the present invention is to provide a kind of methods of safety replacement smart television start-up picture, for solving existing skill The problem of cannot be considered in terms of TV software safety in art and conveniently realizing start-up picture replacement.
The present invention is solved the above problems by following technical proposals:
A method of safety replacement smart television start-up picture, comprising:
Step S100: the UpdateLogo.apk for replacing start-up picture is made;
Step S200: the USB interface of the USB flash disk insertion smart television of UpdateLogo.apk, operation will be mounted with UpdateLogo.apk, starting start-up picture replace process.
Further, the step S100 is specifically included:
Step S110: user applies for replacement start-up picture, and submits original image;
Step S120: judging whether platform has docked start-up picture replacement function, no if yes then enter next step Then, new platform start-up picture replacement function is docked;
Step S130: the original image is handled and is encrypted generation encryption data, and encryption data is built into Under UpdateLogo soft project assets catalogue;
Step S140: compiling UpdateLogo soft project generates new UpdateLogo.apk;
Step S150: after doing digital signature to UpdateLogo.apk file, software publication is carried out.
Further, the new platform start-up picture replacement function of docking in the step S120 specifically includes:
Step S121: creating updatelogo catalogue under platform catalogue, creates XX.cpp file, generates jni interface, uses In docking of the realization to c layers;
Step S122: updatelogo is compiled into library file;
Step S123: by library file be put into UpdateLogo soft project libs under armeabi catalogue;
Step S124: catalogue XX.UpdateLogo, new files are created in UpdateLogo soft project Jni.java generates Java layers of docking class package com.changhong.jni.UpdateLogo;
Step S125: calling jni in the Java file of UpdateLogo soft project, calls directly bottom at Java layers Interface replaces start-up picture.
Further, processing is carried out to original image in the step S130 to specifically include: being pre- by original image processing If the jpg file of the size and alpha layer for removing picture file obtains start-up picture file;Encryption tool in the step S130 Body includes: to carry out MD5 code encryption, fractionation and combination to booting picture file, generates new encryption data.
Further, the step S200 is specifically included:
Step S210:U disk installs UpdateLogo.apk, and UpdateLogo.apk is run on smart television;
Step S220: selection enters " importing start-up picture ";
Step S230: platform information is obtained, and is matched with built-in replacement start-up picture;If successful match enters next Step;Otherwise S250 is entered step;
Step S240: decrypting the encryption data, and be replaced start-up picture, when replacement is completed, pops up and successfully believes Breath;
Step S250: UpdateLogo.apk is exited by return key;
Step S260:UpdateLogo.apk is voluntarily destroyed, and restarts TV, verifies start-up picture.
Further, the step S230 is specifically included:
Step S231:UpdateLogo.apk obtains the bottom code of each platform, is docked one by one, is formed each flat The dedicated library file of platform;
Step S232: being embedded into UpdateLogo.apk for the dedicated library file, using jni interface mode, directly adjusts Replacement with bottom c interface, for start-up picture.
Compared with prior art, the present invention have the following advantages that and the utility model has the advantages that
(1) TV software system itself of the invention does not have the interface of replacement start-up picture, prevents the booting of television set Picture is distorted by common mode, is replaced, and can be facilitated using dedicated replacement start-up picture software tool UpdateLogo.apk The replacement of start-up picture is realized on ground, while ensure that the safety of TV set software.
(2) data of start-up picture are embedded into inside UpdateLogo.apk after encryption, guarantee each version UpdateLogo.apk corresponds to a fixed start-up picture, and picture is once tampered or replaces, and software fails at once, ensure that The safety of start-up picture.
(3) Encryption Tool and the UpdateLogo.apk first edition exploitation after the completion of, behind increase newly replacement open topic picture demand When, it is only necessary to specified special messenger replaces the picture in UpdateLogo.apk, signs, and replacement process generally only needs A few minutes, UpdateLogo.apk generally only have 1M or so, are conducive to save and transmission, the installation of UpdateLogo.apk probably need Want can be completed within 1 minute, it is easy to operate.
Detailed description of the invention
Fig. 1 is the production flow diagram of UpdateLogo.apk of the invention;
Fig. 2 is that start-up picture of the invention replaces process.
Specific embodiment
The present invention is described in further detail below with reference to embodiment, embodiments of the present invention are not limited thereto.
Embodiment 1:
A method of safety replacement smart television start-up picture, comprising:
Step S100: making the UpdateLogo.apk for replacing start-up picture, it is specific as shown in Figure 1,
Step S110: user applies for replacement start-up picture, and submits original image;
Step S120: judging whether platform has docked start-up picture replacement function, no if yes then enter step S130 Then, new platform start-up picture replacement function is docked, such as below step S121- step S125:
Step S121: creating updatelogo catalogue under platform catalogue, creates XX.cpp file, generates jni interface, uses In docking of the realization to c layers;
Step S122: updatelogo is compiled into library file;
Step S123: by library file be put into UpdateLogo soft project libs under armeabi catalogue;
Step S124: catalogue XX.UpdateLogo, new files are created in UpdateLogo soft project Jni.java generates Java layers of docking class package com.changhong.jni.UpdateLogo;
Step S125: calling jni in the Java file of UpdateLogo soft project, calls directly bottom at Java layers Interface replaces start-up picture;
Step S130: handling the jpg file for default size for original image and the alpha layer for removing picture file obtains Start-up picture file carries out MD5 code encryption, fractionation and combination to booting picture file, generates new encryption data, and will encryption Data are built under UpdateLogo soft project assets catalogue;
Step S140: compiling UpdateLogo soft project generates new UpdateLogo.apk;
Step S150: after doing digital signature to UpdateLogo.apk file, software publication is carried out;
Step S200: the USB interface of the USB flash disk insertion smart television of UpdateLogo.apk, operation will be mounted with UpdateLogo.apk, starting start-up picture replaces process, specific as shown in Figure 2:
Step S210:U disk installs UpdateLogo.apk, and UpdateLogo.apk is run on smart television;
Step S220: selection enters " importing start-up picture ";
Step S230: obtaining platform information, and match with built-in replacement start-up picture, specific as follows:
A, UpdateLogo.apk obtains the bottom code of each platform, is docked one by one, and the special of each platform is formed Use library file;
B, the dedicated library file is embedded into UpdateLogo.apk, using jni interface mode, calls directly bottom c Interface, the replacement for start-up picture;
If C, successful match enters in next step;Otherwise S250 is entered step;
Step S240: decrypting the encryption data, and be replaced start-up picture, when replacement is completed, pops up and successfully believes Breath;
Step S250: UpdateLogo.apk is exited by return key;
Step S260:UpdateLogo.apk is voluntarily destroyed, and is not remained on application and data television set.Restart TV, tests Demonstrate,prove start-up picture.
Embodiment 2:
One, the start-up picture interface of platform is realized
By taking HISIV551 cassette mechanism platform start-up picture replaces interface as an example, illustrate the realization process of start-up picture interface:
1, HISIV551 software systems are opened, updatelogo catalogue, new files are created under middleware catalogue Com_changhong_jni_UpdateLogo.cpp generates jni interface, realizes the docking to c layers:
2, updatelogo is compiled and generates library file libchlogojni.so;
3, by libchlogojni.so be put into UpdateLogo soft project libs under armeabi catalogue;
4, in UpdateLogo soft project in create catalogue com.changhong.jni.UpdateLogo, create text Part jni.java generates java layers of docking class: package com.changhong.jni.UpdateLogo;
5, the calling of jni is realized in the java file of UpdateLogo soft project, realization is called directly at java layers The purpose of physical layer interface replacement start-up picture.
jni mJNI;
MJNI=new jni ();
mJNI.chtvUpdateLogo(FilePath);
Two, the image data processing of start-up picture
Using photo-editing software, new start-up picture is handled into the jpg file for 1920*1080, removes picture file Alpha layer, guarantee start-up picture replacement after can normally show;
Using specific purpose tool, MD5 code encryption, fractionation, combination are carried out to booting picture file, generate new encryption data.
Three, dedicated UpdateLogo.apk is generated
By encrypted start-up picture data, copies under UpdateLogo soft project assets catalogue, then compile UpdateLogo soft project generates new UpdateLogo.apk, then does digital signature, software publication to apk file.
Four, start-up picture is replaced
USB flash disk installs UpdateLogo.apk, puts and opens after being installed, and executes " replacement start-up picture ", UpdateLogo.apk will be automatically performed cassette mechanism platform matching, data deciphering, replacement start-up picture, after running succeeded, will pop up " start-up picture is replaced successfully dialog box!".
Five, after being replaced successfully, by return key, UpdateLogo.apk executes self and destroys.
Although reference be made herein to invention has been described for explanatory embodiment of the invention, and above-described embodiment is only this hair Bright preferable embodiment, embodiment of the present invention are not limited by the above embodiments, it should be appreciated that those skilled in the art Member can be designed that a lot of other modification and implementations, these modifications and implementations will fall in principle disclosed in the present application Within scope and spirit.

Claims (6)

1. a kind of method of safety replacement smart television start-up picture characterized by comprising
Step S100: the UpdateLogo.apk for replacing start-up picture is made;
Step S200: the USB interface of the USB flash disk insertion smart television of UpdateLogo.apk, operation will be mounted with UpdateLogo.apk, starting start-up picture replace process.
2. a kind of method of safety replacement smart television start-up picture according to claim 1, which is characterized in that the step Rapid S100 is specifically included:
Step S110: user applies for replacement start-up picture, and submits original image;
Step S120: judging whether platform has docked start-up picture replacement function, otherwise, right if yes then enter next step Connect new platform start-up picture replacement function;
Step S130: the original image is handled and is encrypted generation encryption data, and encryption data is built into Under UpdateLogo soft project assets catalogue;
Step S140: compiling UpdateLogo soft project generates new UpdateLogo.apk;
Step S150: after doing digital signature to UpdateLogo.apk file, software publication is carried out.
3. a kind of method of safety replacement smart television start-up picture according to claim 2, which is characterized in that the step The new platform start-up picture replacement function of docking in rapid S120 specifically includes:
Step S121: creating updatelogo catalogue under platform catalogue, creates XX.cpp file, generates jni interface, for real The now docking to c layers;
Step S122: updatelogo is compiled into library file;
Step S123: by library file be put into UpdateLogo soft project libs under armeabi catalogue;
Step S124: creating catalogue XX.UpdateLogo, new files jni.java in UpdateLogo soft project, raw At Java layers of docking class package com.changhong.jni.UpdateLogo;
Step S125: calling jni in the Java file of UpdateLogo soft project, calls directly physical layer interface at Java layers Replace start-up picture.
4. a kind of method of safety replacement smart television start-up picture according to claim 3, which is characterized in that the step Processing is carried out to original image in rapid S130 to specifically include: being to preset the jpg file of size and remove figure by original image processing The alpha layer of piece file obtains start-up picture file;Encryption in the step S130 specifically includes: to booting picture file into Row MD5 code encryption, fractionation and combination, generate new encryption data.
5. a kind of method of safety replacement smart television start-up picture, special according to any one of claim 2-4 Sign is that the step S200 is specifically included:
Step S210:U disk installs UpdateLogo.apk, and UpdateLogo.apk is run on smart television;
Step S220: selection enters " importing start-up picture ";
Step S230: platform information is obtained, and is matched with built-in replacement start-up picture;If successful match enters in next step;It is no Then enter step S250;
Step S240: decrypting the encryption data, and be replaced start-up picture, when replacement is completed, pops up successful information;
Step S250: UpdateLogo.apk is exited by return key;
Step S260:UpdateLogo.apk is voluntarily destroyed, and restarts TV, verifies start-up picture.
6. a kind of method of safety replacement smart television start-up picture according to claim 5, which is characterized in that the step Rapid S230 is specifically included:
Step S231:UpdateLogo.apk obtains the bottom code of each platform, is docked one by one, and each platform is formed Dedicated library file;
Step S232: the dedicated library file is embedded into UpdateLogo.apk, using jni interface mode, calls directly bottom Layer c interface, the replacement for start-up picture.
CN201811325076.6A 2018-11-08 2018-11-08 Method for safely replacing startup picture of smart television Active CN109275033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811325076.6A CN109275033B (en) 2018-11-08 2018-11-08 Method for safely replacing startup picture of smart television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811325076.6A CN109275033B (en) 2018-11-08 2018-11-08 Method for safely replacing startup picture of smart television

Publications (2)

Publication Number Publication Date
CN109275033A true CN109275033A (en) 2019-01-25
CN109275033B CN109275033B (en) 2020-11-03

Family

ID=65191743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811325076.6A Active CN109275033B (en) 2018-11-08 2018-11-08 Method for safely replacing startup picture of smart television

Country Status (1)

Country Link
CN (1) CN109275033B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111079189A (en) * 2019-12-30 2020-04-28 联想(北京)有限公司 Information processing method, electronic equipment and computer readable storage medium
CN111159765A (en) * 2019-12-30 2020-05-15 联想(北京)有限公司 Information processing method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080303826A1 (en) * 2007-06-11 2008-12-11 Adobe Systems Incorporated Methods and Systems for Animating Displayed Representations of Data Items
CN102073827A (en) * 2010-10-15 2011-05-25 福建新大陆通信科技股份有限公司 Method for ensuring security of set-top box application program
CN104536752A (en) * 2014-12-26 2015-04-22 北京京东尚科信息技术有限公司 Method and device for automatically generating APK files
CN105516805A (en) * 2016-01-14 2016-04-20 浪潮软件集团有限公司 Method for starting APK based on external storage device and set top box
CN107479939A (en) * 2017-09-29 2017-12-15 厦门天锐科技股份有限公司 A kind of APK installation kits repeat the implementation method of packing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080303826A1 (en) * 2007-06-11 2008-12-11 Adobe Systems Incorporated Methods and Systems for Animating Displayed Representations of Data Items
CN102073827A (en) * 2010-10-15 2011-05-25 福建新大陆通信科技股份有限公司 Method for ensuring security of set-top box application program
CN104536752A (en) * 2014-12-26 2015-04-22 北京京东尚科信息技术有限公司 Method and device for automatically generating APK files
CN105516805A (en) * 2016-01-14 2016-04-20 浪潮软件集团有限公司 Method for starting APK based on external storage device and set top box
CN107479939A (en) * 2017-09-29 2017-12-15 厦门天锐科技股份有限公司 A kind of APK installation kits repeat the implementation method of packing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张慧勇、李旭东: "三网融合时代的电视发展及互联网电视", 《数字传媒研究》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111079189A (en) * 2019-12-30 2020-04-28 联想(北京)有限公司 Information processing method, electronic equipment and computer readable storage medium
CN111159765A (en) * 2019-12-30 2020-05-15 联想(北京)有限公司 Information processing method and system
CN111159765B (en) * 2019-12-30 2022-07-26 联想(北京)有限公司 Information processing method and system

Also Published As

Publication number Publication date
CN109275033B (en) 2020-11-03

Similar Documents

Publication Publication Date Title
US8230222B2 (en) Method, system and computer program for deploying software packages with increased security
US10339304B2 (en) Systems and methods for generating tripwire files
US8566574B2 (en) Secure encrypted boot with simplified firmware update
EP3719635A1 (en) Methods and apparatus for in-field mitigation of firmware failures
CN107710215A (en) The method and apparatus of mobile computing device safety in test facilities
US8761400B2 (en) Hardware linked product key
CN102236764B (en) Method and monitoring system for Android system to defend against desktop information attack
TW202129564A (en) Domain module computation unit, system containing a model of an enterprise, single board computational unit, grid of computational units, method to provide propagation traceability, and non-transitory computer program product
MX2007011377A (en) Secure boot.
EP3005098A1 (en) Maintaining known dependencies for updates
CN102323930B (en) Mirroring data changes in a database system
CN107943501A (en) Embedded device upgrade method, device, computer equipment and storage medium
CN109275033A (en) A method of safety replacement smart television start-up picture
WO2021169124A1 (en) Method and apparatus for installing software package to target host, and computer device
WO2022078366A1 (en) Application protection method and apparatus, device and medium
CN109120584B (en) Terminal security protection method and system based on UEFI and WinPE
CN112052045A (en) Equipment control method and system based on IRP hook
US9189629B1 (en) Systems and methods for discouraging polymorphic malware
US10191729B2 (en) System and methodology for updating individualized system data to facilitate repair and/or replacement service provision
CN110705712A (en) Artificial intelligence basic resource and technology open platform for third-party social service
US11074324B2 (en) Preventing software application tampering
US20120166406A1 (en) Information Integrity Rules Framework
US9569205B1 (en) Systems and methods for remotely configuring applications
Bott Introducing Windows 10 for IT Professionals
US20230359741A1 (en) Trusted boot method and apparatus, electronic device, and readable storage 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
GR01 Patent grant
GR01 Patent grant