CN109358894A - A kind of Android device upgrade method and system for supporting DVB - Google Patents

A kind of Android device upgrade method and system for supporting DVB Download PDF

Info

Publication number
CN109358894A
CN109358894A CN201811552409.9A CN201811552409A CN109358894A CN 109358894 A CN109358894 A CN 109358894A CN 201811552409 A CN201811552409 A CN 201811552409A CN 109358894 A CN109358894 A CN 109358894A
Authority
CN
China
Prior art keywords
upgrading
upgrade
android device
information
android
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
CN201811552409.9A
Other languages
Chinese (zh)
Other versions
CN109358894B (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.)
STAR SOFTWARE TECHNOLOGY CO LTD
Original Assignee
STAR SOFTWARE 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 STAR SOFTWARE TECHNOLOGY CO LTD filed Critical STAR SOFTWARE TECHNOLOGY CO LTD
Priority to CN201811552409.9A priority Critical patent/CN109358894B/en
Publication of CN109358894A publication Critical patent/CN109358894A/en
Application granted granted Critical
Publication of CN109358894B publication Critical patent/CN109358894B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of Android device upgrade method and system for supporting DVB, and the method includes being confirmed whether there is upgrading mark when Android device starting, the upgrading mark, starts the recovery system of Android device if it exists;Obtain upgrading type and upgrade information;When the upgrading type is that OTA upgrades, ascending series are obtained by corresponding signal path according to the upgrade information and upgrade Android device accordingly, the present invention can integrate OTA upgrade function in the recovery of android system, no longer needing to setting loader system can be realized OTA upgrading, upgrading mode is more flexible, perfect existing upgrading mode, makes upgrading mode easily facilitate management, while saving the hardware resource of Android device.

Description

A kind of Android device upgrade method and system for supporting DVB
Technical field
The present invention relates to digital video broadcast ing field more particularly to a kind of Android device upgrading sides for supporting DVB Method and system
Background technique
Traditional DVB equipment, such as DTV STB generally carry out DVB equipment OTA (On by Loader system The Air, aerial upgrade) software upgrading.Wherein, OTA refer to user terminal directly by signal path receive downloading mode come Upgrade software.The system that Loader system is independently of user terminal application program can carry out DVB and set in Loader system The downloading of standby upgrading data, software upgrading.
Android open source code project (AOSP) provides the recovery upgrade mode for android system. Recovery system refer to it is a kind of can the mode modified of data to Android device application program or system, Refer to the Recovery subregion of Android.Recovery system supports that carrying out OTT (On The Top) to android system upgrades, There are two types of the acquisition modes of the upgrade package of OTT upgrading: one is being obtained by network, one is pass through local SD card or external USB flash disk obtains, and such as OTT set-top box currently on the market, upgrading is exactly by way of IP network or operator visits Service carries out software upgrading to OTT set-top box in recovery system by way of local upgrade.
However it such as DVB+OTT set-top box needs that recovery is arranged for the Android device of support DVB function at present System and loader system two systems are in a manner of the two kinds of upgradings of OTT and OTA for supporting set-top box, and upgrading mode is complicated, and wave Take the hardware resource of set-top box.
Summary of the invention
It is an object of the present invention to provide a kind of Android device upgrade methods for supporting DVB.Of the invention is another It is a to be designed to provide a kind of Android device upgrade-system for supporting DVB.It is yet a further object of the present invention to provide one kind Computer equipment, another purpose of the invention is that providing a kind of readable medium.
In order to reach the goals above, one aspect of the present invention discloses a kind of Android device upgrade method for supporting DVB, Include:
When Android device starts, it is confirmed whether there is upgrading mark, the upgrading mark, starts Android if it exists The recovery system of equipment;
Obtain upgrading type and upgrade information;
When the upgrading type is that OTA upgrades, is obtained and upgraded by corresponding signal path according to the upgrade information Data are to upgrade Android device.
Preferably, when the Android device starts, it is confirmed whether that there is upgrading mark specifically includes:
When the Android device starts, the starting guiding module of Android device obtains the BCB control in MISC subregion Clamp dog information;
Indicated according to the BCB control block validation of information with the presence or absence of the upgrading.
Preferably, the method also includes formed it is described upgrading mark, OTA upgrading upgrading type and with the OTA liter The step of grade corresponding upgrade information:
Obtain the network information table of front end system transmission;
The configuration information of the upgrading description information and the Android device in the network information table is compared, if Android device meets promotion condition, then forms the upgrading type of the upgrading mark and OTA upgrading, and according to the network Information table forms upgrade information;
The upgrading mark is stored into the BCB control block of Android device, the upgrading type that the OTA is upgraded It is stored in the FLASH of Android device with the upgrade information.
Preferably, the method further includes:
When the upgrading type is that OTT upgrades, the upgrading data are obtained by internet, local SD card or USB To upgrade Android device.
Preferably, indicate the method further includes deleting the upgrading after the upgrading Android device, is described The step of upgrading type and the upgrade information.
Preferably, described to be upgraded accordingly according to the upgrade information by corresponding signal path acquisition ascending series Android device specifically includes:
The frequency point information of the upgrading data is obtained according to the upgrade information;
Front end system is accessed to obtain the upgrading data;
Verify the upgrading data;
If it is qualified to examine, it is described to upgrade to update the software data of the Android device according to the upgrading data Android device.
The invention also discloses a kind of Android device upgrade-system for supporting DVB, including starting guiding module, Recovery system and DVB module;
The starting guiding module is used to be confirmed whether there is upgrading mark, if it exists institute in Android device starting Upgrading mark is stated, the recovery system of Android device is started;
Recovery system is for obtaining upgrading type and upgrade information, when the upgrading type is that OTA upgrades, starting The DVB module;
The DVB module is used to obtain ascending series by corresponding signal path according to the upgrade information to be upgraded accordingly Android device.
Preferably, the Android device further includes upgrading monitoring module;
The upgrading monitoring module is used to obtain the network information table of front end system transmission, compares in the network information table Upgrading description information and the configuration information of the Android device form institute if Android device meets promotion condition The upgrading type of upgrading mark and OTA upgrading is stated, and upgrade information is formed according to the network information table, the upgrading is indicated It stores into the BCB control block of Android device, upgrading type that the OTA upgrades and the upgrade information is stored in In the FLASH of Android device.
Preferably, the recovery system is further used for passing through interconnection when the upgrading type is OTT upgrading Net, local SD card or USB obtain the ascending series and upgrade Android device accordingly.
Preferably, the recovery system is further used for deleting the liter after the upgrading Android device Grade mark, the upgrading type and the upgrade information.
The invention also discloses a kind of computer equipment, including memory, processor and storage are on a memory and can The computer program run on a processor,
The processor realizes method as described above when executing described program.
The invention also discloses a kind of computer-readable mediums, are stored thereon with computer program,
The program realizes method as described above when being executed by processor.
The present invention obtains upgrading mark, judges Android device according to the upgrading mark when Android device starts Whether need to upgrade, when needing to upgrade, into the recovery system of Android device, obtains and rise from Android device Grade type and upgrade information can determine corresponding when upgrading type is that OTA upgrades according to the corresponding upgrade information of OTA upgrading Signal path is obtained from front end by signal path and upgrades data into Android device, is updated according to the upgrading data of acquisition The software data of Android device is so that Android device completes OTA upgrading.The present invention passes through in android system OTA upgrade function is integrated in recovery, the Android device of DVB+OTT can be made to no longer need to setting loader system can be real Existing OTA upgrading, makes Android device that can support a variety of upgrading modes such as OTA and OTT, and upgrading mode is more flexible, perfect existing Some upgrading modes, make upgrading mode easily facilitate management, while saving the hardware resource of Android device.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 shows the structure chart of a specific embodiment of the invention;
Fig. 2 shows one of the flow charts that the present invention supports the Android device upgrade method specific embodiment of DVB;
Fig. 3 shows the two of the flow chart of the Android device upgrade method specific embodiment of present invention support DVB;
Fig. 4 shows the three of the flow chart of the Android device upgrade method specific embodiment of present invention support DVB;
Fig. 5 shows the four of the flow chart of the Android device upgrade method specific embodiment of present invention support DVB;
Fig. 6 shows the five of the flow chart of the Android device upgrade method specific embodiment of present invention support DVB;
Fig. 7 shows the six of the flow chart of the Android device upgrade method specific embodiment of present invention support DVB;
Fig. 8 shows the seven of the flow chart of the Android device upgrade method specific embodiment of present invention support DVB;
Fig. 9 shows the eight of the flow chart of the Android device upgrade method specific embodiment of present invention support DVB;
Figure 10 (a) shows the FLASH memory space distribution map of the equipment of the support OTA upgrading of the prior art;
Figure 10 (b) shows the FLASH memory space distribution map of the equipment of support OTA upgrading and the OTT upgrading of the prior art;
Figure 10 (c) shows the FLASH memory space distribution map that the present invention supports the Android device of DVB;
Figure 11 shows one of the structure chart that the present invention supports the Android device upgrade-system specific embodiment of DVB;
Figure 12 shows the two of the structure chart of the Android device upgrade-system specific embodiment of present invention support DVB;
Figure 13 shows the structural schematic diagram for being suitable for the computer equipment for being used to realize the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
According to an aspect of the present invention, present embodiment discloses a kind of Android device upgrade methods for supporting DVB. Wherein, as shown in Figure 1, in the present embodiment, DVB (Digital Video Broadcasting, digital video broadcasting) is supported Android device is set-top box, in other embodiments, can also be other any Android devices for supporting DVB.Machine The server signal that top box can be controlled with operator is connect, and device upgrade is carried out in a manner of through OTT, can also be with operator The DVB front end system signal of control connects, and device upgrade is carried out in a manner of through OTA, wherein OTA upgrading can by DVB-T, DVB-C and DVB-S obtains ascending series and upgrades Android device accordingly.
As shown in Fig. 2, in the present embodiment, which comprises
When S100:Android equipment starts, it is confirmed whether there is upgrading mark, if it exists the upgrading mark, starting The recovery system of Android device.Support DVB Android device on startup, the guiding module of Android device It can first start, obtain and identify upgrading mark by guiding module to judge to support whether the Android device of DVB has new version This needs to enter recovery system upgrade.
S200: upgrading type and upgrade information are obtained.Judge to upgrade by any mode by upgrading type, such as this In embodiment, set-top box supports two kinds of upgrading modes of OTT and OTA, can be upgraded by upgrading type judgement using which kind of mode, so Ascending series are obtained according to upgrade information afterwards and upgrade Android device accordingly.
S300: it when the upgrading type is that OTA upgrades, is obtained according to the upgrade information by corresponding signal path Ascending series upgrade Android device accordingly.
The present invention can make DVB+OTT's by integrating OTA upgrade function in the recovery of android system Android device, which no longer needs to setting loader system, can be realized OTA upgrading, make Android device that can support OTA and OTT etc. A variety of upgrading modes, upgrading mode is more flexible, and perfect existing upgrading mode makes upgrading mode easily facilitate management, together When save the hardware resource of Android device.
In a preferred embodiment, as shown in figure 3, being confirmed whether exist when Android device starts in step S100 Upgrading mark is specific can include:
S110: when the Android device starts, the starting guiding module of Android device is obtained in MISC subregion BCB controls block message.
S120: indicated according to the BCB control block validation of information with the presence or absence of the upgrading.
Specifically, system starting guiding module (BOOT module) of Android device can when Android device starting BCB (Bootloader Control Block) control block in MISC subregion being parsed, being risen according to whether there is in BCB control block Grade, which indicates, determines whether Android device needs to upgrade, and if desired upgrades, and carries out Android device into recovery system Upgrading, otherwise, BOOT module can normally start the application program of android system so that Android device operate normally, When Android device operates normally, whether sustainable monitoring Android device needs to upgrade.
In a preferred embodiment, Android device can be upgraded when Android device operates normally and is supervised Control.Specifically, as shown in figure 4, the method may also include to be formed it is described upgrading mark, OTA upgrading upgrading type and with institute State step S400, S400 that OTA upgrades corresponding upgrade information can include:
S410: the network information table (NIT) of front end system transmission is obtained.Wherein, which includes at least upgrading description letter Breath.
In a specific embodiment, when Android device needs to upgrade, the front end system of Android device can be incited somebody to action For Android device upgrading upgrade image file signed, cyclic redundancy (CRC) checking treatment, then will processing after Upgrade image documenting at TS (Transport Stream) upgrading code stream as upgrading data.Wherein, image file can To be that operator is uploaded by server.In a specific embodiment, it may include several TS packets that TS, which upgrades code stream, often A TS packet is usually the regular length of 188 bytes, the payload in packet header and 184 bytes including 4 bytes.
Meanwhile front end system also will form the upgrading description information, and the upgrading description information is stored in NIT.It is excellent Choosing, upgrading description information includes at least the sequence number of hardware version numbers, software version number, manufacturer's identity code, equipment to be upgraded Range.
Front end system can also form corresponding upgrade information, and upgrade information is also stored in NIT.It will further be stored with The NIT of upgrading description information and upgrade information is transmitted to Android device, after Android device receives NIT, parses the NIT It can be obtained the upgrading description information and upgrade information that front end system issues, the frequency point, the modulation methods that obtain upgrading data can be obtained Formula and symbol rate etc. further store the upgrade information into the FLASH of Android device, can root with when OTA upgrades According to upgrade information access front end system to obtain upgrading data.
S420: comparing the configuration information of the upgrading description information and the Android device in the network information table, if Android device meets promotion condition, then forms the upgrading type of the upgrading mark and OTA upgrading, and according to the network Information table forms upgrade information.Wherein, the judgment mode of Android device promotion condition are as follows: upgrading description information in NIT and In the configuration information of Android device, hardware version numbers, manufacturer's identity code are consistent, and the sequence number of Android device is in NIT In the range of upgrading description information sequence number, while the software version number in NIT upgrading description information is soft higher than Android device It when part version number, indicates that Android device meets promotion condition, otherwise indicates that Android device is unsatisfactory for promotion condition, it need to be after Whether continuous monitoring Android device meets promotion condition.It, can be in BCB control block if Android device meets promotion condition Setting upgrading mark, when Android device is again started up, the system of Android device starts guiding module (BOOT module) It can determine whether that entering recovery system carries out device upgrade according to the upgrading mark.
S430: the upgrading mark is stored into the BCB control block of Android device, the upgrading that the OTA is upgraded Type and the upgrade information are stored in the FLASH of Android device.Upgrading mark is stored in the BCB control block of equipment In, the upgrading type of OTA upgrading and upgrade information are stored in flash memory (FLASH), so that the data of storage on a flash exist It will not be lost in Android device restarting process.
In a preferred embodiment, as shown in figure 5, the method also includes step S500:Android equipment OTA liters The upgrading mark, upgrading type and upgrade information, repeatedly upgrading when preventing Android device from starting every time are deleted after grade.
In embodiment as one preferred, the Android device of the present embodiment also supports OTT to upgrade, when the liter When grade type is that OTT upgrades, it can upgrade accordingly Android by internet, local SD card or the USB acquisition ascending series and set It is standby.
The upgrading type further includes that OTT upgrading type can form OTT liter when Android device needs OTT to upgrade The upgrading type of grade is simultaneously stored in FLASH, can also be not provided with the upgrading type of OTT upgrading, when it is empty for upgrading type, then generation Table upgrades type as OTT upgrading, and the present invention is to this and is not construed as limiting.
When upgrading type is that OTT upgrades, upgrading data can be obtained by IP network, local SD card or USB and updated The system data of Android device is to complete the step of OTT of the Android device upgrades.
Wherein, in a preferred embodiment, the step S600 that the method also includes monitoring whether that OTT is needed to upgrade.
The S600 includes:
It when Android device operates normally, monitors whether that OTT is needed to upgrade, if desired OTT upgrades, then generates OTT liter The upgrade information that the upgrading type of grade, upgrading mark and OTT upgrade, and upgrading type, upgrading mark and the OTT that OTT is upgraded The upgrade information storage of upgrading is in a flash memory.Wherein, can be monitored in the following manner to OTT upgrading: front end can configure OTT Upgrade image file to be upgraded is uploaded to OTT upgrade server, and taking in OTT upgrade server by upgrade server Upgrade information is configured on business device, such as the version number of image file.It, can regular visit front end OTT upgrading clothes in system operation It is engaged in device, judges whether there is upgrade image file, while comparing the version number in itself version number and server, only work as clothes When the version number being engaged on device is higher than the version number of Android device, meet promotion condition.
In a preferred embodiment, as shown in fig. 6, described obtained according to the upgrade information by corresponding signal path Ascending series are taken to upgrade Android device accordingly specific can include:
S310: the frequency point information of the upgrading data is obtained according to the upgrade information.
S320: access front end system is to obtain the upgrading data.
S330: the upgrading data are verified.
S340: if examining qualification, the software data of the Android device is updated to upgrade according to the upgrading data State Android device.
In a preferred embodiment, as shown in Figure 7 and Figure 8, when determining that Android device needs to upgrade, to user Upgrade tip is fed back, when user confirms upgrading, equipment is restarted at once, and detection upgrading mark into recovery, is upgraded. When user refuses upgrading, application program is operated normally, and is restarted until next time, and detection upgrading mark into recovery, is risen Grade.
The present invention is further described below by a specific example.When Android device starts, BOOT mould Block reads and parses the BCB control block message recorded in MISC subregion, and is controlled in block message and be whether there is according to BCB Recovery upgrading, which indicates, determines whether Android device needs to upgrade, and upgrades if there is recovery and indicates, enters Recovery system is upgraded, and otherwise BOOT module, which starts corresponding application program, operates normally Android device.Into After Recovery system is upgraded, the upgrading type stored in flash memory is read, is stored on flash memory if read When the upgrading type of DVB OTA upgrading, then DVB upgrading is carried out, upgrading data are searched according to the upgrade information stored on flash memory Frequency point position obtains the upgrading data by corresponding signal path and updates the system data of Android device to complete The OTA of Android device upgrades, if read less than the upgrading type for being stored with DVB OTA upgrading on flash memory, it is determined that The upgrading type of Android device is OTT upgrading, then Recovery system can be obtained by IP network, local SD card or USB Upgrading data simultaneously update the system data of Android device to complete the OTT upgrading of the Android device.
Wherein, as shown in figure 9, the OTA upgrading of Android device can be realized by following steps:
S310: the frequency point information of the upgrading data is obtained according to the upgrade information.The upgrade information may include frequency point Information, the frequency point information may include such as the frequency point, debud mode and symbol rate that obtain upgrading data.
S320: access front end system obtains the upgrading data.In a specific example, it can be obtained by DVB module Upgrade data.Firstly, DVB module needs to initialize, the initialization of DVB module may include DEMUX initialization, tuner Tuner Initialization and graphical interfaces initialization, prepare for following Tuner frequency locking and DEMUX data receiver and showing interface.Root According to frequency point, modulation system and the symbol rate got in upgrade information, Tuner carries out frequency locking operation.After frequency locking success, DEMUX The TS for starting to receive upgrading data upgrades code stream, and wherein Demux module is a MPEG2 transmission stream parsing and demultiplexing module. After the completion of DEMUX receives data, data are integrated, final upgrading data are obtained.
S330: the upgrading data are verified.Since front end system signs to upgrade image file, CRC check, After having received data, also needs to carry out CRC check to upgrading data, upgrade in the check results and upgrade file of data and take The CRC check data of band are compared, if identical, illustrate that received upgrading data are correct, otherwise upgrade data and there is exception.
S340: if examining qualification, the software data of the Android device is updated to upgrade according to the upgrading data State Android device.Specifically, storing finally obtained upgrading data into flash memory in corresponding subregion with right The software data of Android device is updated.The upgrading type of the upgrading mark, OTA upgrading is removed after the completion of update And upgrade information.After restarting Android device, upgrading mark, the upgrading type of OTA upgrading and upgrade information are clear It removes, then Android device will not upgrade again, can normally start operation.The OTT escalation process of Android device with it is existing The OTT escalation process of Android device is consistent, and details are not described herein.
In a preferred embodiment, the method also includes Android device OTA upgrading while, to user Feed back the procedural informations such as the procedural information, such as data receiver, data check and software upgrading of OTA upgrading.
As shown in Figure 10 (a), traditional DVB equipment is realized not by android system, needed in flash memory for BOOT, Loader and other mirrored partitions distribute memory space, and as shown in Figure 10 (b), existing DVB+OTT equipment includes recovery With two upgrade-systems of Loader, flash memory need to distribute memory space for BOOT, Loader, Recovery and other mirrored partitions, And as shown in Figure 10 (c), OTA upgrading mode is integrated in Recovery by DVB+OTT equipment of the invention, flash memory only need for BOOT, Recovery and other mirrored partitions distribute memory space, do not need that Loader system is arranged again, can greatly reduce flash memory Memory space occupancy, save the memory space of flash memory, save the hardware resource of Android device.
Based on same principle, as shown in figure 11, the present embodiment also discloses a kind of Android device for supporting DVB and upgrades System.In the present embodiment, the system comprises starting guiding module, recovery system and DVB modules.Wherein, the starting Guiding module is used in Android device starting, is confirmed whether that there is upgrading indicates, if it exists the upgrading mark, starting The recovery system of Android device.Support DVB Android device on startup, the guiding module of Android device It can first start, obtain and identify upgrading mark by guiding module to judge to support whether the Android device of DVB has new version This needs to enter recovery system upgrade.
Recovery system is for obtaining upgrading type and upgrade information, when the upgrading type is that OTA upgrades, starting The DVB module.Judge to upgrade by any mode by upgrading type, such as in the present embodiment, set-top box support OTT with Two kinds of upgrading modes of OTA can be upgraded using which kind of mode by upgrading type judgement, then obtain ascending series according to upgrade information Upgrade Android device accordingly.
The DVB module is used to obtain ascending series by corresponding signal path according to the upgrade information to be upgraded accordingly Android device.
The present invention can make DVB+OTT's by integrating OTA upgrade function in the recovery of android system Android device, which no longer needs to setting loader system, can be realized OTA upgrading, make Android device that can support OTA and OTT etc. A variety of upgrading modes, upgrading mode is more flexible, and perfect existing upgrading mode makes upgrading mode easily facilitate management, together When save the hardware resource of Android device.
In a preferred embodiment, when the Android device starts, the starting guiding module of Android device is obtained It takes the BCB in MISC subregion to control block message, is indicated according to the BCB control block validation of information with the presence or absence of the upgrading.Tool Body, when Android device starting, system starting guiding module (BOOT module) of Android device can parse MISC points BCB control block in area determines whether Android device needs to upgrade according to indicating in BCB control block with the presence or absence of upgrading, if It needs to upgrade, carries out Android device upgrading into recovery system, otherwise, BOOT module can normally start Android system The application program of system is so that Android device operates normally, when Android device operates normally, sustainable monitoring Android Whether equipment, which needs, upgrades.
In a preferred embodiment, as shown in figure 12, the Android device further includes upgrading monitoring module.It is described Upgrading monitoring module is used to obtain the network information table of front end system transmission, compares the upgrading description letter in the network information table Breath and the configuration information of the Android device, if Android device meets promotion condition, formed the upgrading mark with OTA upgrading upgrading type, and according to the network information table formed upgrade information, by the upgrading mark store to In the BCB control block of Android device, upgrading type that the OTA upgrades and the upgrade information are stored in Android and set In standby FLASH.Upgrading mark is stored in the BCB control block of equipment, the upgrading type of OTA upgrading and upgrade information are deposited Storage is in flash memory (FLASH), so that the data of storage on a flash will not lose in Android device restarting process.
In a specific embodiment, when Android device needs to upgrade, the front end system of Android device can be incited somebody to action For Android device upgrading upgrade image file signed, cyclic redundancy (CRC) checking treatment, then will processing after Upgrade image documenting at TS (Transport Stream) upgrading code stream as upgrading data.In a specific embodiment In, TS upgrading code stream may include several TS packets, the regular length of each TS packet usually 188 bytes, including 4 bytes The payload in packet header and 184 bytes.
Meanwhile front end system also will form the upgrading description information, and the upgrading description information is stored in NIT.It is excellent Choosing, upgrading description information includes at least the sequence number of hardware version numbers, software version number, manufacturer's identity code, equipment to be upgraded Range.
Front end system can also form corresponding upgrade information, and upgrade information is also stored in NIT.It will further be stored with The NIT of upgrading description information and upgrade information is transmitted to Android device, after Android device receives NIT, parses the NIT It can be obtained the upgrading description information and upgrade information that front end system issues, the frequency point, the modulation methods that obtain upgrading data can be obtained Formula and symbol rate etc. further store the upgrade information into the FLASH of Android device, can root with when OTA upgrades According to upgrade information access front end system to obtain upgrading data.
Wherein, the judgment mode of Android device promotion condition are as follows: upgrading description information and Android device in NIT Configuration information in, hardware version numbers, manufacturer's identity code are consistent, and the sequence number of Android device NIT upgrade description information In the range of sequence number, at the same NIT upgrading description information in software version number be higher than Android device software version number when, It indicates that Android device meets promotion condition, otherwise indicates that Android device is unsatisfactory for promotion condition, need to continue to monitor Whether Android device meets promotion condition.If Android device meets promotion condition, it can be arranged in BCB control block and rise Grade mark, when Android device is again started up, system starting guiding module (BOOT module) of Android device can basis The upgrading mark determines whether that entering recovery system carries out device upgrade.
The recovery system be further used for deleting after the upgrading Android device upgrading mark, The upgrading type and the upgrade information, repeatedly upgrading when preventing Android device from starting every time.As a kind of preferred Embodiment in, the recovery system be further used for when the upgrading type be OTT upgrading when, by internet, Local SD card or USB obtain the ascending series and upgrade Android device accordingly.
The upgrading type further includes that OTT upgrading type can form OTT liter when Android device needs OTT to upgrade The upgrading type of grade is simultaneously stored in FLASH, can also be not provided with the upgrading type of OTT upgrading, when it is empty for upgrading type, then generation Table upgrades type as OTT upgrading, and the present invention is to this and is not construed as limiting.
When upgrading type is that OTT upgrades, upgrading data can be obtained by IP network, local SD card or USB and updated The system data of Android device is to complete the step of OTT of the Android device upgrades.
Wherein, in a preferred embodiment, the upgrading monitoring module is also used to monitor whether that OTT is needed to upgrade.
Specifically, when Android device operates normally monitoring whether that OTT is needed to upgrade, if desired OTT upgrades, then gives birth to It is marked at the upgrading type of OTT upgrading, the upgrade information of upgrading mark and OTT upgrading, and by the upgrading type of OTT upgrading, upgrading The upgrade information storage of will and OTT upgrading is in a flash memory.Wherein, OTT upgrading can be monitored in the following manner: front end meeting Upgrade image file to be upgraded is uploaded to OTT upgrade service in OTT upgrade server by configuration OTT upgrade server Device, and upgrade information is configured on the server, such as the version number of image file.It, can regular visit front end in system operation OTT upgrade server judges whether there is upgrade image file, while comparing the version in itself version number and server Number, only when the version number on server is higher than the version number of Android device, meet promotion condition.Preferably implementing In mode, the DVB can be used for being obtained according to the upgrade information it is described upgrading data frequency point information, access front end system with The upgrading data are obtained, the upgrading data are verified, if examining qualification, update the Android according to the upgrading data The software data of equipment is to upgrade the Android device.
In a preferred embodiment, as shown in Figure 7 and Figure 8, when determining that Android device needs to upgrade, to user Upgrade tip is fed back, when user confirms upgrading, equipment is restarted at once, and detection upgrading mark into recovery, is upgraded. When user refuses upgrading, application program is operated normally, and is restarted until next time, and detection upgrading mark into recovery, is risen Grade.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer equipment, specifically, computer is set It is standby for example can for personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, Media player, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment In any equipment combination.
Computer equipment specifically includes memory, processor and storage on a memory simultaneously in a typical example The computer program that can be run on a processor is realized when the processor executes described program and is held as described above by client Capable method, alternatively, the processor realizes the method executed as described above by server when executing described program.
Below with reference to Figure 13, it illustrates the structures for the computer equipment 600 for being suitable for being used to realize the embodiment of the present application to show It is intended to.
As shown in figure 13, computer equipment 600 includes central processing unit (CPU) 601, can be read-only according to being stored in Program in memory (ROM) 602 is loaded into random access storage device (RAM) from storage section 608) program in 603 And execute various work appropriate and processing.In RAM603, also it is stored with system 600 and operates required various program sum numbers According to.CPU601, ROM602 and RAM603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to Bus 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 607 of spool (CRT), liquid crystal ultramagnifier (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.; And including such as LAN card, the communications portion 609 of the network interface card of modem etc..Communications portion 609 via such as because The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 606 as needed.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon Computer program be mounted as needed such as storage section 608.
Particularly, according to an embodiment of the invention, may be implemented as computer above with reference to the process of flow chart description Software program.For example, the embodiment of the present invention includes a kind of computer program product comprising be tangibly embodied in machine readable Computer program on medium, the computer program include the program code for method shown in execution flow chart.At this In the embodiment of sample, which can be downloaded and installed from network by communications portion 609, and/or from removable Medium 611 is unloaded to be mounted.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when application.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with In the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (12)

1. a kind of Android device upgrade method for supporting DVB characterized by comprising
When Android device starts, it is confirmed whether there is upgrading mark, the upgrading mark, starts Android device if it exists Recovery system;
Obtain upgrading type and upgrade information;
When the upgrading type is that OTA upgrades, upgrading data are obtained by corresponding signal path according to the upgrade information To upgrade Android device.
2. upgrade method according to claim 1, which is characterized in that when the Android device starts, be confirmed whether to deposit It is specifically included in upgrading mark:
When the Android device starts, the starting guiding module of Android device obtains the BCB control block in MISC subregion Information;
Indicated according to the BCB control block validation of information with the presence or absence of the upgrading.
3. upgrade method according to claim 2, which is characterized in that the method also includes the formation upgradings to indicate, OTA upgrading upgrading type and with the OTA upgrade corresponding upgrade information the step of:
Obtain the network information table of front end system transmission;
The configuration information for comparing the upgrading description information and the Android device in the network information table, if Android is set It is standby to meet promotion condition, then the upgrading type of the upgrading mark and OTA upgrading is formed, and formed according to the network information table Upgrade information;
The upgrading mark is stored into the BCB control block of Android device, by the OTA upgrading type upgraded and institute Upgrade information is stated to be stored in the FLASH of Android device.
4. upgrade method according to claim 3, which is characterized in that the method further includes:
When the upgrading type is that OTT upgrades, the ascending series are obtained by internet, local SD card or USB and are risen accordingly Grade Android device.
5. upgrade method according to claim 3, which is characterized in that the method further includes the upgradings The step of upgrading mark, the upgrading type and the upgrade information are deleted after Android device.
6. upgrade method according to claim 3, which is characterized in that described to pass through corresponding letter according to the upgrade information Number channel, which obtains ascending series and upgrades Android device accordingly, to be specifically included:
The frequency point information of the upgrading data is obtained according to the upgrade information;
Front end system is accessed to obtain the upgrading data;
Verify the upgrading data;
If it is qualified to examine, the software data of the Android device is updated to upgrade the Android according to the upgrading data Equipment.
7. a kind of Android device upgrade-system for supporting DVB, which is characterized in that including starting guiding module, recovery system System and DVB module;
The starting guiding module is used to be confirmed whether there is upgrading mark, if it exists the liter in Android device starting Grade mark, starts the recovery system of Android device;
Recovery system is for obtaining upgrading type and upgrade information, when the upgrading type is that OTA upgrades, described in starting DVB module;
The DVB module is used to obtain ascending series by corresponding signal path according to the upgrade information to be upgraded accordingly Android device.
8. upgrade-system according to claim 7, which is characterized in that the Android device further includes upgrading monitoring mould Block;
The upgrading monitoring module is used to obtain the network information table of front end system transmission, compares the liter in the network information table The configuration information of grade description information and the Android device forms the liter if Android device meets promotion condition The upgrading type of grade mark and OTA upgrading, and upgrade information is formed according to the network information table, the upgrading is indicated and is stored Into the BCB control block of Android device, upgrading type that the OTA upgrades and the upgrade information are stored in Android In the FLASH of equipment.
9. upgrade-system according to claim 7, which is characterized in that the recovery system is further used for when described When upgrading type is that OTT upgrades, upgrades Android accordingly by internet, local SD card or the USB acquisition ascending series and set It is standby.
10. upgrade-system according to claim 7, which is characterized in that the recovery system is further used in institute It states upgrading Android device and deletes the upgrading mark, the upgrading type and the upgrade information later.
11. a kind of computer equipment, can run on a memory and on a processor including memory, processor and storage Computer program, which is characterized in that
The processor is realized when executing described program such as any one of claim 1-6 the method.
12. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that
It realizes when the program is executed by processor such as any one of claim 1-6 the method.
CN201811552409.9A 2018-12-18 2018-12-18 Android equipment upgrading method and system supporting DVB Active CN109358894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811552409.9A CN109358894B (en) 2018-12-18 2018-12-18 Android equipment upgrading method and system supporting DVB

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811552409.9A CN109358894B (en) 2018-12-18 2018-12-18 Android equipment upgrading method and system supporting DVB

Publications (2)

Publication Number Publication Date
CN109358894A true CN109358894A (en) 2019-02-19
CN109358894B CN109358894B (en) 2022-06-17

Family

ID=65329864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811552409.9A Active CN109358894B (en) 2018-12-18 2018-12-18 Android equipment upgrading method and system supporting DVB

Country Status (1)

Country Link
CN (1) CN109358894B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732310A (en) * 2021-01-22 2021-04-30 深圳市信义科技有限公司 Firmware upgrading method, system, equipment and medium based on embedded boot partition
CN113656051A (en) * 2021-04-27 2021-11-16 苏州佳世达电通有限公司 Automatic upgrading method for android system equipment
CN115208945A (en) * 2022-06-10 2022-10-18 深圳创维数字技术有限公司 Android system upgrading method and related equipment thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554577A (en) * 2015-12-21 2016-05-04 Tcl集团股份有限公司 Smart television over-the-air technology (OTA) upgrading method and device, smart television
CN107092513A (en) * 2017-06-29 2017-08-25 上海传英信息技术有限公司 The upgrading of Intelligent mobile equipment or rebuilt component and upgrading or restorative procedure
CN107122212A (en) * 2017-04-28 2017-09-01 环球智达科技(北京)有限公司 Firmware encrypting method
CN107544872A (en) * 2017-07-31 2018-01-05 青岛海信电器股份有限公司 A kind of method and apparatus of system upgrade
CN206946466U (en) * 2017-06-29 2018-01-30 上海传英信息技术有限公司 The upgrading of Intelligent mobile equipment or rebuilt component
CN108322825A (en) * 2018-02-28 2018-07-24 北京四达时代软件技术股份有限公司 A kind of difference upgrade method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554577A (en) * 2015-12-21 2016-05-04 Tcl集团股份有限公司 Smart television over-the-air technology (OTA) upgrading method and device, smart television
CN107122212A (en) * 2017-04-28 2017-09-01 环球智达科技(北京)有限公司 Firmware encrypting method
CN107092513A (en) * 2017-06-29 2017-08-25 上海传英信息技术有限公司 The upgrading of Intelligent mobile equipment or rebuilt component and upgrading or restorative procedure
CN206946466U (en) * 2017-06-29 2018-01-30 上海传英信息技术有限公司 The upgrading of Intelligent mobile equipment or rebuilt component
CN107544872A (en) * 2017-07-31 2018-01-05 青岛海信电器股份有限公司 A kind of method and apparatus of system upgrade
CN108322825A (en) * 2018-02-28 2018-07-24 北京四达时代软件技术股份有限公司 A kind of difference upgrade method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732310A (en) * 2021-01-22 2021-04-30 深圳市信义科技有限公司 Firmware upgrading method, system, equipment and medium based on embedded boot partition
CN113656051A (en) * 2021-04-27 2021-11-16 苏州佳世达电通有限公司 Automatic upgrading method for android system equipment
CN115208945A (en) * 2022-06-10 2022-10-18 深圳创维数字技术有限公司 Android system upgrading method and related equipment thereof

Also Published As

Publication number Publication date
CN109358894B (en) 2022-06-17

Similar Documents

Publication Publication Date Title
CN107589952A (en) Intelligent upgrade method, device and system
CN109818902B (en) Automatic service deployment method, service scheduling management module and EPG platform
CN109358894A (en) A kind of Android device upgrade method and system for supporting DVB
CN104581397B (en) The method for upgrading system and device of android set top box
CN110875850B (en) Firmware upgrading method and system, readable storage medium and terminal equipment
JP2005209195A (en) Embedded system using binary position information and remote software downloading method therein
JP6290451B2 (en) Software upgrade method and apparatus, and device
CN107104816A (en) A kind of information change monitoring method and device
CN111831297B (en) Zero-difference upgrading method and device
CN109358882A (en) A kind of television terminal carries out the method and device of firmware upgrade
CN106210827B (en) A kind of method and system of the more CA of dynamic configuration set-top box
CN106095432B (en) Method for identifying application type
CN107122207A (en) Method for upgrading software, client device and server
CN108280341B (en) Channel number adding and installation package checking method and device
CN110764812B (en) Intelligent device, intelligent wearable device and software upgrading system and method thereof
CN104301395A (en) Method, electronic equipment and system for upgrading devices automatically
US8799433B2 (en) Method and apparatus for upgrading software of digital broadcasting receiver
US20210216301A1 (en) Algorithm update method and apparatus
CN105700918A (en) System upgrading method and device
CN107391205A (en) Cable Digital TV Network conversion equipment and the method for upgrading system based on it
CN109743372A (en) Gateway attaches device updating method and device
EP2317435A1 (en) Electronic device and method for making upgraded firmware
CN111327475A (en) Method, system and device for upgrading embedded equipment
CN102629998B (en) Batch-upgradeable television and batch-upgradeable and starting-up booting method thereof
CN105656643A (en) Method and equipment for performing compatible management based on network configuration protocol

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