CN115334358A - Automatic software modification method for convergence gateway and storage medium - Google Patents

Automatic software modification method for convergence gateway and storage medium Download PDF

Info

Publication number
CN115334358A
CN115334358A CN202210995201.4A CN202210995201A CN115334358A CN 115334358 A CN115334358 A CN 115334358A CN 202210995201 A CN202210995201 A CN 202210995201A CN 115334358 A CN115334358 A CN 115334358A
Authority
CN
China
Prior art keywords
gateway
top box
modification
remanufacturing
set top
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
CN202210995201.4A
Other languages
Chinese (zh)
Other versions
CN115334358B (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Wuhan Fiberhome Technical Services 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 Fiberhome Telecommunication Technologies Co Ltd, Wuhan Fiberhome Technical Services Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202210995201.4A priority Critical patent/CN115334358B/en
Publication of CN115334358A publication Critical patent/CN115334358A/en
Application granted granted Critical
Publication of CN115334358B publication Critical patent/CN115334358B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an automatic software remanufacturing method for a convergence gateway, which comprises the following steps: the set top box monitors mount broadcast of a storage medium, analyzes a reformat file, compares the reformat file with hardware information in the set top box through a reforming field hardware set in the reformat file, and starts to carry out reforming after verification is passed; the method comprises the following steps of firstly, putting a file required by the modification of the automation software into a storage medium; the upgrading package type is detected by a modifying program of the set top box, the full production mirror image update. Zip is analyzed, if the gateway mirror image is included, the gateway complete machine software modification needs to be carried out, and if the gateway mirror image is not included, only the set top box is modified. Img customized in the storage medium is directly used for modification, so that the upgrading times and restarting times are reduced, and the modification time is saved. The invention also provides a corresponding storage medium.

Description

Automatic software modification method for convergence gateway and storage medium
Technical Field
The invention belongs to the technical field of automatic software modification, and particularly relates to an automatic software modification method and a storage medium for a convergence gateway.
Background
The software modification means that the software information written into the device partition is modified and upgraded according to the requirements of the produced equipment by using a brand-new production version, so that the new requirements are met.
At present, as the demand of the fusion equipment in the market increases, the problems of inventory, production and the like also appear, and due to errors of inventory, production operation and the like, the related information and version of the produced equipment are generally required to be changed through software modification.
The software of the modified equipment cannot be refreshed in batch in a mode of being issued through a network in a production environment, and usually, after the equipment is started, an operator triggers the modification through the operation of a remote controller. And the common mode of refreshing the version can also obtain the result of whether the upgrade is successful or not by means of the mode of displaying output after the flashing is restarted, and the system is still in the production test mode after the flashing is successful and needs to manually quit the production test mode again.
In the currently published patents, such as 201910616061.3 and 202111098057.6, for a dual-system convergence device, the upgrade needs to be performed on the set-top box side first, the set-top box is restarted after the upgrade is completed, the set-top box interacts with a gateway after a network is normally acquired, the upgrade on the gateway side is performed again, and the time consumed from the start of the upgrade of the set-top box to the completion of the upgrade of the convergence gateway is long.
When there are a plurality of version models at the gateway side, operating personnel need to configure a plurality of upgrade packages, which is not favorable for the management and control of the upgrade packages, and the error rate of operation is also increased.
Disclosure of Invention
The invention aims to solve the technical problems that the automatic software modification of the fusion gateway equipment is realized, manual triggering is not needed, the progress and the result of the modification can be monitored without the help of the display output of a display or a television, the time consumption for upgrading the fusion equipment is reduced, and when a plurality of version models exist on the gateway side, the corresponding gateway mirror image can be automatically selected.
To achieve the above object, according to an aspect of the present invention, there is provided a method for automatic software modification of a convergence gateway, the method comprising the steps of:
the set top box monitors mount broadcast of a storage medium, analyzes a reformat file, compares the reformat file with hardware information in the set top box through a remanufacturing field hardware set in the reformat file, and starts to perform remanufacturing after verification is passed; the method comprises the following steps of firstly, putting a file required by the modification of the automation software into a storage medium;
the upgrading package type is detected by a modifying program of the set top box, the full production mirror image update. Zip is analyzed, if the gateway mirror image is included, the gateway complete machine software modification needs to be carried out, and if the gateway mirror image is not included, only the set top box is modified.
In an embodiment of the present invention, the automatic software reforms the required file includes: the method comprises the steps that a remanufacturing mark file is reformat and carries remanufacturing information, wherein the remanufacturing mark file comprises hardware information of current equipment, a model of the equipment to be remanufactured and hardware information; zip, mirror image update is produced in full; the fast boot program is a necessary file for recording firmware in the storage medium; img is a minimal system customized for software modification, and is used as a temporary modification, which is covered by the conventional recovery.img in update.
In one embodiment of the present invention, the design points of recovery.img are: the automatic restart is not carried out after the programming is successful; according to the set-top box modification progress, the modification result and the gateway modification result, indicating different modification results through an indicator light; and communicating with the gateway in the recovery mode, and interacting the modified result of the gateway.
In an embodiment of the present invention, when performing the complete gateway software reconfiguration, the gateway version model needs to be obtained, which specifically includes: and acquiring the version model of the gateway side, carrying out communication between the set top box and the gateway through a socket, acquiring the version model of gateway equipment, selecting a corresponding gateway mirror image from an upgrade package according to the version model, decompressing to a cache partition of the set top box, and setting a whole machine modification flag to write in the cache.
In an embodiment of the present invention, when performing the software modification of the fusion gateway complete machine, the gateway needs to be notified to download the mirror image for modification, which specifically includes: the set-top box informs the gateway of the address of the mirror image, so that the gateway downloads the mirror image, and the gateway is started to modify after the mirror image is downloaded; and the set-top box remodels the program, and writes the related information into the device partition of the equipment by using the script according to the information which needs to be remodeled and is configured in the remodeled mark file reformat.
In an embodiment of the present invention, the set-top box is modified, specifically: the set top box erases the uboot partition of the set top box and restarts the uboot partition, the set top box automatically records the fastboot and the customized recovery, and then the set top box enters a customized recovery system; in recovery, updating is started according to the burning instruction; after the burning is finished, reading a complete machine remanufacturing flag in the cache partition, and judging whether gateway remanufacturing exists currently; and marking the lamp flashing state according to the lamp control function developed in the customized recovery on the modification result of the set-top box and the modification result of the gateway at different stages of modification.
In an embodiment of the present invention, the flash status identification specifically includes: in the upgrading process, flashing the lamp to be in a state 1; if only the set top box side is modified, after the set top box is upgraded successfully, the equipment is not automatically restarted, and the lamp is flashing state 2; if the whole machine is modified, flashing the lamp state 3; waiting for a result returned by the gateway through a message, and flashing the light state 4 after the modification is successful; if the set top box side fails to be upgraded, flashing the light state 5; the gateway side fails in remanufacturing and flashes the light state 6; the set-top box and the gateway both fail, flashing light state 7; wherein the flashing light state 1-7 is preset.
In one embodiment of the invention, the method further comprises: and after the remanufacturing is finished, deleting the production test flag bit according to the remanufacturing flag file, restarting the equipment without entering a production test mode, and synchronously storing or reporting a remanufacturing result.
In one embodiment of the invention, under recovery, the network function under recovery mode is started, so that the set-top box communicates with the gateway to obtain the modification result of the gateway side.
According to another aspect of the present invention, there is also provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the convergence gateway automation software tailoring method described above.
In general, compared with the prior art, the technical scheme conceived by the invention has the following beneficial effects:
(1) According to the method, automatic software modification can be carried out as required only by a storage medium, the modification progress and result can be known clearly by flashing the light, other instruments and equipment are not needed, excessive manual operation is not needed, the modification production efficiency is improved, the factory modification environment is simplified, and the modification cost is reduced;
(2) Img customized in the storage medium is directly used for modification, so that the upgrading times and restarting times are reduced, and the modification time is saved (the set-top box needs at least 30s from recovery upgrading to completion of starting);
(3) In the invention, the set-top box and the gateway are modified simultaneously, and the modification of the set-top box and the gateway is carried out in parallel, so that the modification is more efficient; if the set-top box needs time t1 (for example, 1 minute) for upgrading, the gateway needs time t2 (for example, 2 minutes) for remanufacturing, the set-top box needs at least 30s from recovery upgrading completion to restarting completion, and the whole remanufacturing of the scheme only needs the larger of the t1 and the t 2;
(4) The invention supports the complete machine modification of the fusion equipment, can be compatible with the modification of multi-model equipment according to the type of the gateway, and reduces the error rate of selecting the upgrade package by manual operation.
Drawings
FIG. 1 is a flow diagram of a converged gateway automation software remanufacturing method of the present invention;
FIG. 2 is a functional block diagram of a converged gateway automation software message of the present invention;
FIG. 3 is a detailed flow chart of the convergence gateway automation software modification of the present invention;
FIG. 4 is a comparison diagram of the complete machine modification process of the convergence gateway of the invention;
FIG. 5 is a block diagram of the documentation required for the automated software adaptation of the convergence gateway of the invention;
fig. 6 is a message content illustration of dual system communication interaction during a converged gateway automation software remanufacturing process of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention. In addition, the technical features involved in the respective embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The invention relates to an automatic software modification technology for a gateway and set-top box integrated gateway, which comprises whole software modification at a gateway side and a set-top box side. The gateway can be a light cat or a router.
As shown in fig. 1, the present invention provides a method for automatic software modification of a convergence gateway, the method comprising:
(1) The set top box monitors mount broadcast of a storage medium, analyzes a reformat file, compares the reformat file with hardware information in the set top box through a reforming field hardware set in the reformat file, and starts to carry out reforming after verification is passed; the method comprises the following steps of putting files required by automatic software modification into a storage medium in advance:
(2) Zip, if the gateway mirror image is contained, the gateway complete machine software is required to be modified, and if the gateway mirror image is not contained, the set top box is only modified.
Further, the technical scheme of the invention is explained in detail, the invention provides an automatic software modification method for a convergence gateway, and the technical scheme of the automatic software modification is as follows:
1. packaging the needed gateway mirror images (which can comprise a plurality of gateway mirror images) into an upgrade package of the set-top box, and signing;
2. the following files required for the automatic software modification are made and put into a storage medium (such as a U disk):
1) The remodeled flag file reformat carries remodeled information, including information of hardware of the current device, the model of the device to be remodeled, hardware and the like.
2) Zip is mirror produced in full volume.
3) The fast boot program is a necessary file for recording firmware on the storage medium.
4) Img, a custom recovery, which is a minimal system customized for software adaptation, is used as a temporary adaptation, which is overridden by the conventional recovery.img in update. Img design points are: a) The automatic restart is not carried out after the programming is successful; b) According to the set-top box modification progress, the modification result and the gateway modification result, indicator lights with different frequencies and different colors are lightened to indicate different modification results; c) And communicating with the gateway during recovery, and interacting the modified result of the gateway.
3. The set top box monitors mount broadcast of a storage medium, analyzes a reformat file, compares the reformat file with hardware information in the set top box through a remanufacturing field hardware set in the reformat file, and starts to perform remanufacturing after verification is passed;
4. zip, if the gateway mirror image is contained, the gateway complete machine software is required to be modified, and if the gateway mirror image is not contained, the set top box is only modified.
For the modification of the integrated gateway software, a gateway version model is required to be acquired when the integrated gateway software is modified, a message 1getHguType () interface is defined and used for acquiring the version model of a gateway side, a set top box and a gateway are communicated through a socket to acquire the version model of gateway equipment, and according to the type, a corresponding gateway mirror image is selected from an upgrade package and decompressed to a cache partition of the set top box; setting a whole machine remanufacturing flag to write into the cache;
and need to inform gateway and download the mirror image to carry on the transformation while fusing the gateway complete machine software transformation, the invention has defined the message 2setHguReform (Stringurl) interface, the set-top box informs the address of its mirror image of the gateway, make the gateway download the mirror image, make the gateway start the transformation after finishing downloading; meanwhile, the set-top box remodelling program writes related information into the device partition of the equipment by using a script according to the information needing remodelling and configured in the remodelling mark file reformat;
5. if only the set top box is modified, the set top box erases the uboot partition of the set top box and restarts the set top box, the set top box can automatically burn the fastboot and the customized recovery, and then the set top box enters the customized recovery system. And under recovery, updating. After the burning is finished, reading a complete machine remanufacturing flag in the cache partition, and judging whether a gateway remanufacturing exists at present; for different modification stages, the modification result of the set-top box and the modification result of the gateway are marked by the flashing light state through the light control function developed in the customized recovery: in the upgrading process, flashing the lamp to a state 1; if only the set top box side is modified, after the set top box is successfully upgraded, the equipment is not automatically restarted, and the lamp flashing state is 2; if the whole machine is modified, flashing the lamp state 3; waiting for the gateway hgu to return the modification result through a message 3 gethgurereformstatus (), and flashing the light state 4 after the modification is successful; if the set top box side fails to be upgraded, flashing the lamp state 5; the gateway side fails in remanufacturing and flashes the light state 6; both the set-top box and the gateway fail, flashing the light state 7. Thus, the process and results of the remanufacturing can be monitored by a worker without the need for a display device.
Under recovery, the invention defines a message 3getHguReformStatus () interface, and enables a network function under the recovery mode, so that the set-top box communicates with the gateway to obtain a modification result at the gateway side.
6. And after the remanufacturing is finished, deleting the production testing flag bit according to the remanufacturing flag file, and restarting the equipment without entering a production testing mode. And synchronously storing/reporting the remanufacturing result, and confirming the completion of remanufacturing by a remanufacturer.
A convergence gateway automation software adaptation block diagram is shown in fig. 2. The description is as follows:
the Android system is a set top box system, the gateway hgu is a gateway system, and the customized recovery.
Message 1: getHguType (), when the remanufacturing is started, the Android system interacts with the gateway system to acquire the type of the gateway system, and the Android system is used for selecting the image file corresponding to the type of gateway and decompressing the image file to a cache directory of the set top box;
message 2: setHgurReform (String url), the Android system interacts with the gateway system, informs the gateway system of the mirror image address, allows the gateway to download the mirror image, and triggers the gateway to modify;
message 3: getHguReformStatus (), in the gateway system modification process, recovery.img needs to start the network function, interact with the gateway and obtain the gateway modification result.
Img, custom recovery, through lamp control, the process and results of the retrofit were monitored: in the process of upgrading the set-top box system, flashing the lamp to be in a state 1; if only the set top box side is modified, after the set top box is upgraded successfully, the equipment is not automatically restarted, and the lamp is flashing state 2; if the fusion gateway is completely modified, flashing the light state 3; waiting for the gateway hgu to return the modification result through a message 3 gethgurereformstatus (), and flashing the light state 4 after the modification is successful; if the set top box side fails to be upgraded, flashing the lamp state 5; the gateway side fails in remanufacturing and flashes the light state 6; both the set-top box and the gateway fail and flash state 7.
A converged gateway automation software tailoring flow diagram, as shown in fig. 3. The following is described (the storage medium is a U disk as an example):
201. the automated software modification process begins.
202. Preparing an automatic modified flag file reformat, modifying required full-scale production mirror image update.
203. Monitoring a USB flash disk mounting broadcast by a modifying program of an Android system of the set top box, acquiring a USB flash disk path, analyzing a modifying mark file reformat, reading a hardware field value in a file, reading hardware information of the convergence gateway equipment by the modifying program, comparing the hardware field value and the modifying mark file, if the contents of the two hardware fields are the same, passing the verification, and turning to 204, otherwise, failing to pass the verification, and turning to 210.
204. Analyzing whether the full production image update in the U disk contains the gateway system image or not, if so, turning to 206; if not, go to 205.
205. And (4) carrying out software modification on the set-top box by using the customized recovery.img, erasing the uboot partition of the set-top box, restarting, and automatically burning the fastboot and the customized recovery.img.
206. The set top box and the gateway communicate through a socket, the version model of the gateway is obtained through a message 1getHguType (), the gateway mirror image corresponding to the model in update. After the copying is completed, the gateway image address is notified through the message 2setHguReform (String url), so that the gateway downloads the image to the gateway system. In the process, the set-top box side writes related information into the device partition of the equipment by using a script according to the information needing to be modified and configured in the modification mark file reformat.
207. And after the gateway side finishes downloading the mirror image, the mirror image downloading of the set top box is returned, and the gateway remanufacturing is started to be executed. And after receiving the reply, the set top box side erases the uboot partition of the set top box side, restarts the set top box side, and automatically burns the fastboot and the customized recovery.
208. And under the customized recovery, updating. After the burning is finished, reading a complete machine remanufacturing flag in the cache partition, and judging whether a gateway remanufacturing exists at present; and marking the flashing light state through the lamp control function developed in the customized recovery for different stages of the modification, the modification result of the set-top box and the modification result of the gateway: in the upgrading process, flashing the lamp to a state 1; if only the set top box side is modified, after the set top box is successfully upgraded, the equipment is not automatically restarted, and the lamp flashing state is 2; if the integration gateway is completely modified, flashing the light state 3; waiting for the gateway hgu to return the remodel result through a message 3 gethgureremodlattus (), and flashing the light state 4 after the remodel is successful; if the set top box side fails to be upgraded, flashing the lamp state 5; the gateway side fails in remanufacturing and flashes the light state 6; both the set-top box and the gateway fail and flash state 7.
209. And (4) after the automatic software is reformed, deleting the production testing flag bit according to the reformed flag file, and restarting the equipment without entering a production testing mode. And synchronously storing/reporting the remanufacturing result, and confirming that remanufacturing is finished by remanufacturers.
210. And ending the automatic software modification process.
Fig. 4 shows a comparison of the convergence gateway reconfiguration process. The description is as follows:
3-1 is the basic flow chart of the integration gateway equipment upgrading in the currently published patent, the upgrading of the set-top box side is firstly carried out, after the upgrading is completed, the set-top box side is started and completed, the network is obtained, and the gateway side upgrading is carried out only after the normal interaction with the gateway can be carried out. Thus, if the upgrade at one side needs time t1 (for example, 1 minute) and the upgrade at the other side needs time t2 (for example, 2 minutes), the set top box needs at least 30s from recovery upgrade completion to start-up completion, and the overall upgrade needs at least t1+ t2+0.5 minutes;
3-2 is a flow chart of the automatic software modification of the convergence gateway, after the modification is triggered, the two are independent systems, and the modification is synchronously and respectively carried out. Thus, if the upgrade on one side requires time t1 (for example, 1 minute) and the upgrade on the other side requires time t2 (for example, 2 minutes), the set-top box needs at least 30s from recovery upgrade to startup completion, and the whole change only needs the larger of t1 and t 2.
The convergence gateway automation software reforms the required file block diagram as shown in fig. 5. The description is as follows:
(1) Zip is a modified package formed by combining a standard Android system upgrade package and a required gateway hgu mirror image (a).
(2) The required remanufacturing mark file for remanufacturing comprises hardware information of the current equipment, hardware information of the equipment to be remanufactured, the model number of the equipment and the like.
(3) Img, customized for the tailoring, its design points include: a) The automatic restart is not carried out after the programming is successful; b) According to the set top box modification progress, the modification result and the gateway modification result, indicator lights with different frequencies and different colors are lightened to indicate different modification results; c) And communicating with the gateway during recovery, and interacting the modified result of the gateway.
(4) The fast boot program fastboot.
A message content explanatory diagram of dual system communication interaction in a convergence gateway automation software remanufacturing process is shown in fig. 6. The description is as follows:
the message 1getHguType (), when the remanufacturing is started, the Android system interacts with the gateway system to acquire the type of the gateway system, and the type of the gateway system is used for selecting the image file corresponding to the type of the gateway, and the message content comprises the following steps: a message ID, a message type CmdType, information to be acquired hguttype, and a status of message communication, and the like;
message 2setHguReform (String url), the Android system interacts with the gateway system, informs the gateway system of the mirror image address, the gateway downloads the mirror image of the Android system, and triggers the gateway to modify, and the message content includes: message ID, message type CmdType, mirror address url, and state status of message communication, etc.;
a message 3getHguReformStatus (), the customized recovery interacts with the gateway to obtain a gateway modification result, and the message content comprises: message ID, message type CmdType, gateway remodel status hgurereformstatus, and status of message communication, etc.
Further, the present invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the above-mentioned method for automatic software modification of a convergence gateway.
It will be understood by those skilled in the art that the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the invention, and that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for automatically modifying software of a convergence gateway is characterized by comprising the following steps:
the set top box monitors mount broadcast of a storage medium, analyzes a reformat file, compares the reformat file with hardware information in the set top box through a remanufacturing field hardware set in the reformat file, and starts to perform remanufacturing after verification is passed; wherein, the files required by the automatic software modification are put into a storage medium in advance;
the upgrading package type is detected by a modifying program of the set top box, the full production mirror image update. Zip is analyzed, if the gateway mirror image is included, the gateway complete machine software modification needs to be carried out, and if the gateway mirror image is not included, only the set top box is modified.
2. The convergence gateway automation software tailoring method of claim 1 wherein the automation software tailoring the desired file comprises:
the method comprises the steps that a remanufacturing mark file is reformed, and remanufacturing information is carried, wherein the remanufacturing mark file comprises hardware information of current equipment, the model of the equipment to be remanufactured and the hardware information;
zip, mirror image update is produced in full;
the fast boot program is a necessary file for recording firmware in the storage medium;
img is a minimal system customized for software modification, and is used as a temporary modification, which is covered by the conventional recovery.img in update.
3. The convergence gateway automation software remanufacturing method of claim 2, wherein the design points of recovery.
The automatic restart is not carried out after the programming is successful;
according to the set-top box modification progress, the modification result and the gateway modification result, indicating different modification results through an indicator light;
and communicating with the gateway in a recovery mode, and interacting the modified result of the gateway.
4. The automatic software remanufacturing method for the fusion gateway as claimed in claim 1 or 2, wherein the gateway version model is required to be obtained when the complete software remanufacturing method for the fusion gateway is performed, and the method specifically comprises the following steps:
and acquiring the version model of the gateway side, carrying out communication between the set top box and the gateway through a socket, acquiring the version model of gateway equipment, selecting a corresponding gateway mirror image from an upgrade package according to the version model, decompressing to a cache partition of the set top box, and setting a whole machine modification flag to write in the cache.
5. The automated software remanufacturing method for the convergence gateway according to claim 1 or 2, wherein when the overall software remanufacturing method for the convergence gateway is performed, the gateway is required to be informed to download a mirror image for remanufacturing, and specifically:
the set-top box informs the gateway of the address of the mirror image, so that the gateway downloads the mirror image, and the gateway is started to modify after the downloading is finished; and the set-top box remodels the program, and writes the related information into the device partition of the equipment by using the script according to the information which is required to be remodeled and is configured in the remodeled mark file reformat.
6. The convergence gateway automation software remanufacturing method according to claim 5, wherein remanufacturing the set-top box specifically comprises:
the set top box erases the uboot partition of the set top box and restarts the uboot partition, the set top box can automatically burn the fastboot and the customized recovery, and then the set top box enters a customized recovery system; in recovery, updating is started according to the burning instruction; after the burning is finished, reading a complete machine remanufacturing flag in the cache partition, and judging whether a gateway remanufacturing exists at present; and marking the lamp flashing state according to the lamp control function developed in the customized recovery on the modification result of the set-top box and the modification result of the gateway at different stages of modification.
7. The convergence gateway automation software remanufacturing method of claim 6, wherein the flashing light state identification is specifically:
in the upgrading process, flashing the lamp to a state 1; if only the set top box side is modified, after the set top box is successfully upgraded, the equipment is not automatically restarted, and the lamp flashing state is 2; if the whole machine is modified, flashing the lamp state 3; waiting for a result returned by the gateway through a message, and flashing the light state 4 after the modification is successful; if the set top box side fails to be upgraded, flashing the light state 5; the gateway side fails in remanufacturing and flashes the light state 6; the set-top box and the gateway both fail, flashing light state 7; wherein the flashing light state 1-7 is preset.
8. The convergence gateway automation software remanufacturing method of claim 6 further comprising:
and after the modification is finished, deleting the production test flag bit according to the modified flag file, restarting the equipment without entering a production test mode, and synchronously storing or reporting a modification result.
9. The automatic software remanufacturing method for the convergence gateway according to claim 6, wherein under recovery, a network function under recovery mode is enabled, so that the set top box communicates with the gateway to obtain a remanufacturing result at a gateway side.
10. A computer-readable storage medium on which a computer program is stored, wherein the computer program, when executed by a processor, implements the convergence gateway automation software tailoring method of any one of claims 1 to 9.
CN202210995201.4A 2022-08-18 2022-08-18 Fusion gateway automation software remanufacturing method and storage medium Active CN115334358B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210995201.4A CN115334358B (en) 2022-08-18 2022-08-18 Fusion gateway automation software remanufacturing method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210995201.4A CN115334358B (en) 2022-08-18 2022-08-18 Fusion gateway automation software remanufacturing method and storage medium

Publications (2)

Publication Number Publication Date
CN115334358A true CN115334358A (en) 2022-11-11
CN115334358B CN115334358B (en) 2023-08-22

Family

ID=83925817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210995201.4A Active CN115334358B (en) 2022-08-18 2022-08-18 Fusion gateway automation software remanufacturing method and storage medium

Country Status (1)

Country Link
CN (1) CN115334358B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116088883A (en) * 2023-04-11 2023-05-09 北京朝歌数码科技股份有限公司 Terminal equipment burning method, production method, terminal equipment and external storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110055822A1 (en) * 2009-08-25 2011-03-03 Hon Hai Precision Industry Co., Ltd. Method for upgrading software of gateways
US20140075467A1 (en) * 2012-09-13 2014-03-13 Verizon Patent And Licensing Inc. Stb-driven upgrade of remote server application
CN105591825A (en) * 2016-01-21 2016-05-18 烽火通信科技股份有限公司 Method for modifying configuration in household gateway upgrading process
CN105975308A (en) * 2016-05-04 2016-09-28 烽火通信科技股份有限公司 Remote upgrading system for low-memory overheads in home gateways and remote upgrading method
CN110337038A (en) * 2019-07-09 2019-10-15 深圳市友华通信技术有限公司 The upgrade method of Convergence gateway equipment
CN110647342A (en) * 2019-09-24 2020-01-03 四川天邑康和通信股份有限公司 Gateway upgrading method and system based on USB
CN111031370A (en) * 2019-12-12 2020-04-17 四川天邑康和通信股份有限公司 Method for mutual communication of convergence gateway part and set-top box part

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110055822A1 (en) * 2009-08-25 2011-03-03 Hon Hai Precision Industry Co., Ltd. Method for upgrading software of gateways
US20140075467A1 (en) * 2012-09-13 2014-03-13 Verizon Patent And Licensing Inc. Stb-driven upgrade of remote server application
CN105591825A (en) * 2016-01-21 2016-05-18 烽火通信科技股份有限公司 Method for modifying configuration in household gateway upgrading process
CN105975308A (en) * 2016-05-04 2016-09-28 烽火通信科技股份有限公司 Remote upgrading system for low-memory overheads in home gateways and remote upgrading method
CN110337038A (en) * 2019-07-09 2019-10-15 深圳市友华通信技术有限公司 The upgrade method of Convergence gateway equipment
CN110647342A (en) * 2019-09-24 2020-01-03 四川天邑康和通信股份有限公司 Gateway upgrading method and system based on USB
CN111031370A (en) * 2019-12-12 2020-04-17 四川天邑康和通信股份有限公司 Method for mutual communication of convergence gateway part and set-top box part

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116088883A (en) * 2023-04-11 2023-05-09 北京朝歌数码科技股份有限公司 Terminal equipment burning method, production method, terminal equipment and external storage medium

Also Published As

Publication number Publication date
CN115334358B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN109189445B (en) Method for upgrading program of equipment of Internet of things
CN105808292A (en) Firmware upgrade method of embedded terminal device
CN108848418B (en) Set-top box centralized upgrading method
CN115334358A (en) Automatic software modification method for convergence gateway and storage medium
CN110515643A (en) A kind of host computer tool for writing with a brush dipped in Chinese ink BIN file
CN115357262A (en) Method for upgrading driver firmware in batch
CN103365684B (en) Updating method and multi-domain embedded system
CN109451357B (en) Method for optimizing OEM order production upgrading of smart television
US20220066768A1 (en) Software update device, update control method, and non-transitory storage medium
CN113448643A (en) Configuration data management system and method
CN111628918B (en) Control method and device of vehicle-mounted communication system and vehicle
CN112799683A (en) Terminal device program programming and testing method
CN115185958A (en) Radio frequency parameter updating system
CN115002546B (en) Upgrading method and system for Linux smart television operating system
CN116594661B (en) Singlechip upgrading method for ensuring matching of firmware and engineering in compiling stage
CN115437670B (en) Automobile controller program upgrading system based on TFTP
US20220222054A1 (en) Center, update management method, and non-transitory storage medium
US20220276853A1 (en) Ota master, center, system, update method, and vehicle
JP2001043177A (en) Data processor, print controller, data processing method, and record medium stored computer-readable program
US20220019424A1 (en) Software update apparatus, update control method, non-transitory storage medium storing update control program, server, ota master, and center
CN111949278B (en) Method, system, terminal and storage medium for automatically installing MCS system
US20220405083A1 (en) Ota master, system, method, non-transitory storage medium, and vehicle
CN117311763A (en) ECU (electronic control Unit) refreshing method, bus type upgrade network system and electronic equipment
CN113867767A (en) Server component upgrading method and server
CN116437149A (en) Modification method for complete machine configuration data after intelligent television system software upgrading

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
TA01 Transfer of patent application right

Effective date of registration: 20230321

Address after: 430000 No. 6, High-tech Fourth Road, Donghu High-tech Development Zone, Wuhan City, Hubei Province

Applicant after: FIBERHOME TELECOMMUNICATION TECHNOLOGIES Co.,Ltd.

Address before: No.4, Guanshan 2nd Road, Donghu Development Zone, Wuhan City, Hubei Province 430205

Applicant before: WUHAN FIBERHOME TECHNICAL SERVICES Co.,Ltd.

Applicant before: FIBERHOME TELECOMMUNICATION TECHNOLOGIES Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant