CN115334358B - Fusion gateway automation software remanufacturing method and storage medium - Google Patents

Fusion gateway automation software remanufacturing method and storage medium Download PDF

Info

Publication number
CN115334358B
CN115334358B CN202210995201.4A CN202210995201A CN115334358B CN 115334358 B CN115334358 B CN 115334358B CN 202210995201 A CN202210995201 A CN 202210995201A CN 115334358 B CN115334358 B CN 115334358B
Authority
CN
China
Prior art keywords
gateway
top box
set top
reform
modification
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.)
Active
Application number
CN202210995201.4A
Other languages
Chinese (zh)
Other versions
CN115334358A (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
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 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

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)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method for modifying fusion gateway automation software, which comprises the following steps: the set top box monitors the mount broadcast mounted on the storage medium, analyzes the form file, compares the form field hardware set in the form file with hardware information in the set top box, and starts to execute modification after verification is passed; the method comprises the steps of firstly, setting a file required by automatic software modification in a storage medium in advance; the update program of the set top box detects the type of the upgrade package, analyzes the full-volume production mirror image update. The invention directly uses the customized recovery. Img in the storage medium to reform, thereby reducing the upgrading times and restarting times and saving the reform time. The invention also provides a corresponding storage medium.

Description

Fusion gateway automation software remanufacturing method and storage medium
Technical Field
The invention belongs to the technical field of automatic software reform, and particularly relates to a fusion gateway automatic software reform method and a storage medium.
Background
The software modification means that the software information written into the device partition is modified and upgraded according to the requirement by using a brand new production version for the produced equipment so as to meet the new requirement.
At present, as the demand of fusion equipment in the market increases, problems of stock, production and the like also occur, and due to reasons of stock, production misoperation and the like, related information is changed and version is updated by software modification on the produced equipment.
Under the production environment, the modified equipment cannot refresh software in batches in a network issuing mode, and an operator usually operates the equipment through a remote controller to trigger the modification after the equipment is started. The normal version brushing mode can also obtain the result of successful or unsuccessful updating by means of the output display mode after restarting the brushing machine, and the system is still in the production mode after successful brushing, and needs to be manually withdrawn from the production mode again.
In the currently published patent, for example, 201910616061.3 and 202111098057.6, for dual-system fusion equipment, the upgrade of the dual-system fusion equipment needs to be performed on the side of the set top box, the set top box is restarted after the upgrade is completed, after the network is normally acquired, the dual-system fusion equipment interacts with the gateway, then the side of the gateway is updated, and the time required from the start of the upgrade of the set top box to the completion of the fusion gateway is long.
When the gateway side has a plurality of version models, an operator needs to configure a plurality of upgrade packages, which is not beneficial to control of the upgrade packages and increases the error rate of operation.
Disclosure of Invention
The invention aims to solve the technical problems of realizing automatic software reform of the converged gateway equipment, monitoring the progress and the result of reform without manual triggering or by means of display output of a display or a television, reducing the upgrading time consumption of the converged equipment, and automatically selecting corresponding gateway mirror images when a plurality of version models exist at the gateway side.
To achieve the above object, according to one aspect of the present invention, there is provided a fusion gateway automation software adaptation method, the method comprising the steps of:
the set top box monitors the mount broadcast mounted on the storage medium, analyzes the form file, compares the form field hardware set in the form file with hardware information in the set top box, and starts to execute modification after verification is passed; the method comprises the steps of firstly, setting a file required by automatic software modification in a storage medium in advance;
the update program of the set top box detects the type of the upgrade package, analyzes the full-volume production mirror image update.
In one embodiment of the present invention, the automation software reforms the desired file including: the reform mark file reformation carries reform information, including the hardware information of the current equipment, the model of the equipment to be reform and the hardware information; full-scale mirror update. The fast starting program fastboot is a necessary file for the storage medium to burn the firmware; the customized recovery. Img is a minimum system customized for software modification, and is used as a temporary modification, and after successful modification and restarting, the customized recovery. Img is covered by the conventional recovery. Img in the update.
In one embodiment of the present invention, the design points of the recovery. Img are: after successful programming, the device is not restarted automatically; according to the set top box reform progress, reform results and gateway reform results, different reform results are indicated through the indicator lights; and in the recovery mode, communicating with the gateway, and interacting the result of gateway modification.
In one embodiment of the invention, the version type of the gateway is required to be obtained when the integrated gateway complete machine software is modified, and the method specifically comprises the following steps: the method comprises the steps of obtaining a version model of a gateway side, communicating the set top box with the gateway through a socket, obtaining a version model of gateway equipment, selecting a corresponding gateway mirror image from an upgrade package according to the version model, decompressing the gateway mirror image to a cache partition of the set top box, setting a complete machine modification flag, and writing the flag into the cache.
In one embodiment of the invention, when the integrated gateway complete machine software is reformed, the gateway is informed to download the mirror image for reformation, specifically: the set top box informs the gateway of the mirror image address, so that the gateway downloads the mirror image, and after the downloading is finished, the gateway starts the reform; and the set top box remanufacturing program writes related information into the device partition of the device by using the script according to the information to be remanufactured configured in the remanufacturing mark file form.
In one 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, and the set top box automatically burns fastboot and customized recovery and then enters a customized recovery system; under recovery, update. Zip upgrading is started according to the burning instruction; after the burning is finished, reading the complete machine reform flag in the cache partition, and judging whether a gateway reform exists at present; and marking the set top box reform result and the gateway reform result at different reform stages through the lamp control function developed in the customized recovery.
In one embodiment of the present invention, the identification of the status of the flashing light is specifically: in the upgrading process, the flash state 1; if only the set top box side is modified, after the set top box is successfully updated, the equipment is not automatically restarted, and the flash state is 2; if the whole machine is remade, flashing light state 3; waiting for the gateway to return a result through the message, and after the modification is successful, flashing the state 4; if the upgrade of the set top box side fails, a flashing state 5; the gateway side reforms failure, flashing state 6; the set top box and the gateway fail, flash state 7; wherein the flashing light states 1-7 are preset.
In one embodiment of the invention, the method further comprises: and after the modification is finished, deleting the production testing marker bit according to the modification marker file, restarting the equipment without entering a production testing mode, and synchronously storing or reporting the modification result.
In one embodiment of the invention, under the recovery, the network function under the recovery mode is started, so that the set top box is communicated with the gateway, and the modification result of the gateway side is obtained.
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 fusion gateway automation software retrofit method described above.
In general, compared with the prior art, the above technical solution conceived by the present invention has the following beneficial effects:
(1) The method can carry out automatic software reformation according to the requirement only by using a storage medium, and the progress and the result of the reformation can be clearly known through the flashing light condition without other instruments and equipment or excessive manual operation, thereby improving the reformation production efficiency, simplifying the factory reformation environment and reducing the reformation cost;
(2) The invention directly uses the customized recovery. Img in the storage medium to reform, thereby reducing the upgrading times and restarting times and saving the reform time (the set top box needs at least 30s from recovery upgrading to starting completion);
(3) In the invention, the STB and the gateway are reformed simultaneously, and the reformation of the STB and the gateway is performed in parallel, so that the reformation is more efficient; if the set top box is updated in a time t1 (for example, 1 minute), the gateway is updated in a time t2 (for example, 2 minutes), and the set top box is at least 30s from the completion of the recovery updating to the completion of the restarting, the whole scheme is updated only by the larger one of t1 and t 2;
(4) The invention supports the complete machine reform of the fusion equipment, can be compatible with reform of multi-model equipment according to the gateway type, and reduces the error rate of manually operating and selecting the upgrade package.
Drawings
FIG. 1 is a flow diagram of a fusion gateway automation software retrofit method of the present invention;
FIG. 2 is a schematic block diagram of a converged gateway automation software message of the present invention;
FIG. 3 is a detailed flow chart of the fusion gateway automation software retrofit of the present invention;
FIG. 4 is a flow chart of the overall adaptation of the fusion gateway of the present invention;
FIG. 5 is a block diagram of files required for the fusion gateway automation software adaptation of the present invention;
fig. 6 is a message content illustration of dual system communication interactions during a converged gateway automation software retrofit process of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. In addition, the technical features of the embodiments of the present invention described below may be combined with each other as long as they do not collide with each other.
The invention relates to an automatic software reform technology of a gateway and set top box integrated gateway, which comprises complete machine software reform of a gateway side and a set top box side. The gateway may be a cat or a router.
As shown in fig. 1, the present invention provides a method for modifying fusion gateway automation software, which includes:
(1) The set top box monitors the mount broadcast mounted on the storage medium, analyzes the form file, compares the form field hardware set in the form file with hardware information in the set top box, and starts to execute modification after verification is passed; wherein, the required file of automatic software reformation is put into the storage medium in advance:
(2) The update program of the set top box detects the type of the upgrade package, analyzes the full-volume production mirror image update.
Further, to describe the technical scheme of the present invention in detail, the present invention provides a method for modifying automation software of a fusion gateway, the technical scheme of the automation software modification is as follows:
1. packaging the required gateway images (which can contain a plurality of gateway images) into an upgrade package of the set top box, and signing;
2. the following automation software is made to reform the required files and put into a storage medium (such as a U disk):
1) The reform flag file is formed and carries reform information, including hardware information of the current equipment, and information such as the model number, hardware and the like of the equipment to be reform.
2) Mirror update.
3) The fastboot is a necessary file for the storage medium to burn the firmware.
4) The customized recovery. Img, which is a minimum system customized for software modification, is used as a temporary modification, and after successful modification and restarting, is covered by the conventional recovery. Img in the update. The design points of recovery. Img are: a) After successful programming, the device is not restarted automatically; b) According to the set top box remanufacturing progress, the remanufacturing result and the gateway remanufacturing result, the indicator lamps with different frequencies and different colors are lightened to indicate different remanufacturing results; c) And (3) communicating with the gateway during recovery, and interacting the result of gateway modification.
3. The set top box monitors the mount broadcast mounted on the storage medium, analyzes the form file, compares the form field hardware set in the form file with hardware information in the set top box, and starts to execute modification after verification is passed;
4. the update program of the set top box detects the type of the upgrade package, analyzes the full-volume production mirror image update.
For the integrated gateway complete software modification, the gateway version model is required to be obtained when the integrated gateway complete software modification is carried out, the invention defines a message 1getHguType () interface for obtaining the version model of a gateway side, the set top box and the gateway communicate through a socket to obtain 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 complete machine remanufacturing flag and writing the flag into a cache;
when the integrated gateway complete software is reformed, the gateway is informed to download the mirror image for reformation, the invention defines the message 2setHguReform (String url) interface, the set top box informs the gateway of the address of the mirror image, so that the gateway downloads the mirror image, and after the download is completed, the gateway starts reformation; at the same time, the set top box remanufacturing program writes related information into the device partition of the device by using the script according to the information to be remanufactured configured in the remanufacturing mark file form;
5. if the set top box is only modified, the set top box erases the uboot partition and restarts, and the set top box automatically burns fastboot and customized recovery and then enters a customized recovery system. Under recovery, update. Zip upgrade is started according to the burning instruction. After the burning is finished, reading the complete machine reform flag in the cache partition, and judging whether a gateway reform exists at present; and (3) marking the set top box reform result and the gateway reform result at different reform stages through the lamp control function developed in the customized recovery: in the upgrading process, the flash state 1; if only the set top box side is modified, after the set top box is successfully updated, the equipment is not automatically restarted, and the flash state is 2; if the whole machine is remade, flashing light state 3; waiting for gateway hgu to return a modification result through message 3getHguReformStatus (), and after the modification is successful, flashing state 4; if the upgrade of the set top box side fails, a flashing state 5; the gateway side reforms failure, flashing state 6; both the set top box and the gateway fail, flashing state 7. Thus, the worker can monitor the progress and result of the remanufacturing without receiving a display device.
Under the recovery, the invention defines a message 3getHguReform State () interface, enables the network function under the recovery mode, enables the set top box to communicate with the gateway, and obtains the modification result of the gateway side.
6. And after the modification is finished, deleting the production testing marker bit according to the modification marker file, and restarting the equipment without entering a production testing mode. And synchronously storing/reporting the reform result, and confirming that reform is finished by reform personnel.
Fusion gateway automation software adaptation block diagram as 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. Img is a customized minimum system;
message 1: when the getHguType (), starting to execute the modification, the Android system interacts with the gateway system to obtain the type of the gateway system, and the Android system is used for selecting the mirror image file corresponding to the type of gateway and decompressing the mirror image file to the cache directory of the set top box;
message 2: setHguReform (String url), the Android system interacts with the gateway system, informs the gateway system of the mirror image address, downloads the mirror image by the gateway, and triggers the gateway modification;
message 3: in the process of modifying the gateway system, the recovery. Img needs to start the network function, interact with the gateway and acquire the result of modifying the gateway.
Custom recovery. Img monitors the progress and outcome of the remanufacturing by light control: in the upgrading process of the set top box system, a flash state 1 is adopted; if only the set top box side is modified, after the set top box is successfully updated, the equipment is not automatically restarted, and the flash state is 2; if the fusion gateway is modified, the flash state is 3; waiting for gateway hgu to return a modification result through message 3getHguReformStatus (), and after the modification is successful, flashing state 4; if the upgrade of the set top box side fails, a flashing state 5; the gateway side reforms failure, flashing state 6; both the set top box and the gateway fail, flashing state 7.
Fusion gateway automation software reforms a flowchart as shown in fig. 3. The following is described (storage medium is exemplified by a usb disk):
201. the automated software adaptation process begins.
202. Preparing an automatic remanufactured flag file reformation, remanufacturing required full-quantity production mirror image update. Zip, quickly starting a program fastboot, remanufacturing customized recovery. Img by using automatic software, and the like, putting the U disk into a USB port at the set top box side of the fusion gateway equipment, and inserting the U disk into the USB port.
203. The method comprises the steps that a remanufacturing program of an Android system of a set top box monitors USB flash disk mounting broadcast, obtains a USB flash disk path, analyzes a remanufacturing mark file form, reads hardware field values in the file, reads hardware information of fusion gateway equipment, compares the hardware field values with the hardware information of fusion gateway equipment, and if two hardware content is the same, checks to pass 204, otherwise, checks to fail 210.
204. Analyzing whether the full-quantity production mirror image update.zip in the U disk contains a gateway system mirror image, if so, turning to 206; if not, go to 205.
205. And (3) carrying out software modification on the set top box by using the customized recovery. Img, and erasing the uboot partition of the set top box, restarting, and automatically burning 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 the update. Zip is copied to a cache partition of the set top box, and a complete machine modification flag is set and written into the cache partition. After the copying is completed, the gateway mirror address is notified through message 2setHguReform (String url), so that the gateway downloads its mirror image to the gateway system. In the process, the set top box side writes relevant information into the device partition of the device by using a script according to the information to be modified configured in the modification flag file form.
207. After the gateway side downloads the mirror image, the set top box replies that the mirror image is downloaded, and the gateway reform is started to be executed. 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 fastboot and customized recovery.
208. And under the customized recovery, starting update. After the burning is finished, reading the complete machine reform flag in the cache partition, and judging whether a gateway reform exists at present; and marking the flashing state of the lamp control function developed in the customized recovery through different stages of the reconstruction, the set top box reconstruction result and the gateway reconstruction result: in the upgrading process, the flash state 1; if only the set top box side is modified, after the set top box is successfully updated, the equipment is not automatically restarted, and the flash state is 2; if the fusion gateway is modified, the flash state is 3; waiting for gateway hgu to return a modification result through message 3getHguReformStatus (), and after the modification is successful, flashing state 4; if the upgrade of the set top box side fails, a flashing state 5; the gateway side reforms failure, flashing state 6; both the set top box and the gateway fail, flashing state 7.
209. And after the automatic software is changed, deleting the production testing marker bit according to the changed marker file, and restarting the equipment without entering a production testing mode. And synchronously storing/reporting the reform result, and confirming that reform is finished by reform personnel.
210. The automated software adaptation flow ends.
The fusion gateway adaptation flow is compared with the diagram shown in fig. 4. The description is as follows:
3-1 is a basic flow chart of the upgrade of the integrated gateway equipment in the currently published patent, upgrade of the set top box side is firstly carried out, after the upgrade is completed, the set top box side is started and completed, a network is obtained, normal interaction with the gateway can be carried out, and then the upgrade of the gateway side is carried out. Thus, if one side is updated for time t1 (e.g., 1 minute) and the other side is updated for time t2 (e.g., 2 minutes), the set top box needs at least 30s from the completion of the recovery update to the completion of the start-up, and the overall update needs at least t1+t2+0.5 minutes;
3-2 is a flow chart of the fusion gateway automation software reform of the invention, and after the reform is triggered, the two are independent systems and are synchronously and respectively reform. Thus if one side upgrade takes time t1 (e.g., 1 minute) and the other side upgrade takes time t2 (e.g., 2 minutes), the set top box takes at least 30s from a recovery upgrade to a start-up completion, and the overall retrofit requires only the larger of t1 and t 2.
The fusion gateway automation software reforms the required file block diagram as shown in fig. 5. The description is as follows:
(1) The full-scale production package update.zip is a modification package formed by combining a standard Android system upgrade package and a required gateway hgu mirror image (a).
(2) The relocation flag file reformat required for relocation contains the hardware information of the current device, hardware information of the device to be relocated, the device model, and the like.
(3) The design points of the recovery. Img customized for the remanufacturing include: a) After successful programming, the device is not restarted automatically; b) According to the set top box remanufacturing progress, the remanufacturing result and the gateway remanufacturing result, the indicator lamps with different frequencies and different colors are lightened to indicate different remanufacturing results; c) And (3) communicating with the gateway during recovery, and interacting the result of gateway modification.
(4) The program fastboot is started quickly.
An illustration of message content for dual system communication interactions in a converged gateway automation software retrofit process is shown in fig. 6. The description is as follows:
and when the message 1getHguType (), and the modification 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 mirror image file corresponding to the type of gateway, wherein the message content comprises: message ID, message type CmdType, information HguType to be acquired, status of message communication, etc.;
message 2setHguReform (String url), the Android system interacts with the gateway system, informs the gateway system of the mirror address for the gateway to download its mirror image, and triggers the gateway to reform, the message content includes: message ID, message type CmdType, mirror address url, status of message communication, etc.;
message 3getHguReform status (), interacting with the gateway under the customized recovery, obtaining the result of gateway modification, the message content includes: message ID, message type CmdType, gateway retrofit status hgureformatstatus, status of messaging, etc.
Further, the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the fusion gateway automation software reform method.
It will be readily appreciated by those skilled in the art that the foregoing description is merely a preferred embodiment of the invention and is not intended to limit the invention, but any modifications, equivalents, improvements or alternatives falling within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (8)

1. A method for modifying fusion gateway automation software, the method comprising the steps of:
the set top box monitors the mount broadcast mounted on the storage medium, analyzes the form file, compares the form field hardware set in the form file with hardware information in the set top box, and starts to execute modification after verification is passed; the method comprises the steps of firstly, setting a file required by automatic software modification in a storage medium in advance; the automation software reforms the required files including: the reform mark file reformation carries reform information, including the hardware information of the current equipment, the model of the equipment to be reform and the hardware information; full-scale mirror update. The fast starting program fastboot is a necessary file for the storage medium to burn the firmware; the customized recovery. Img is a minimum system customized for software modification, is used as a temporary modification, and is covered by the conventional recovery. Img in the update. Zip after the modification is successful and restarted;
the method comprises the steps that a remanufacturing program of a set top box detects the type of an upgrade package, analyzes the update. Zip of the full-scale production mirror image, and performs overall software remanufacturing of a fusion gateway if the upgrade package comprises a gateway mirror image, and performs remanufacturing only on the set top box if the upgrade package does not comprise the gateway mirror image; the method comprises the steps of obtaining a gateway version model when the integrated gateway complete machine software is modified, and specifically comprises the following steps: the method comprises the steps of obtaining a version model of a gateway side, communicating the set top box with the gateway through a socket, obtaining a version model of gateway equipment, selecting a corresponding gateway mirror image from an upgrade package according to the version model, decompressing the gateway mirror image to a cache partition of the set top box, setting a complete machine modification flag, and writing the flag into the cache.
2. The fusion gateway automation software remanufacturing method of claim 1, wherein the design points of the recovery. Img are:
after successful programming, the device is not restarted automatically;
according to the set top box reform progress, reform results and gateway reform results, different reform results are indicated through the indicator lights;
and in the recovery mode, communicating with the gateway, and interacting the result of gateway modification.
3. The method for modifying the automation software of the fusion gateway according to claim 1, wherein the modifying of the complete software of the fusion gateway is performed by informing the gateway to download the mirror image, specifically:
the set top box informs the gateway of the mirror image address, so that the gateway downloads the mirror image, and after the downloading is finished, the gateway starts the reform; and the set top box remanufacturing program writes related information into the device partition of the device by using the script according to the information to be remanufactured configured in the remanufacturing mark file form.
4. The fusion gateway automation software modification method of claim 3, wherein the modification of the set top box is specifically:
the set top box erases the uboot partition of the set top box and restarts, and the set top box automatically burns fastboot and customized recovery and then enters a customized recovery system; under recovery, update. Zip upgrading is started according to the burning instruction; after the burning is finished, reading the complete machine reform flag in the cache partition, and judging whether a gateway reform exists at present; and marking the set top box reform result and the gateway reform result at different reform stages through the lamp control function developed in the customized recovery.
5. The fusion gateway automation software remanufacturing method of claim 4, wherein the identifying of the flashing light status is specifically:
in the upgrading process, the flash state 1; if only the set top box side is modified, after the set top box is successfully updated, the equipment is not automatically restarted, and the flash state is 2; if the whole machine is remade, flashing light state 3; waiting for the gateway to return a result through the message, and after the modification is successful, flashing the state 4; if the upgrade of the set top box side fails, a flashing state 5; the gateway side reforms failure, flashing state 6; the set top box and the gateway fail, flash state 7; wherein the flashing light states 1-7 are preset.
6. The fusion gateway automation software remanufacturing method of claim 4, wherein the method further comprises:
and after the modification is finished, deleting the production testing marker bit according to the modification marker file, restarting the equipment without entering a production testing mode, and synchronously storing or reporting the modification result.
7. The method for modifying fusion gateway automation software according to claim 4, wherein in the recovery mode, a network function in the recovery mode is enabled to enable the set top box to communicate with the gateway, and a modification result of the gateway side is obtained.
8. A computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the fusion gateway automation software retrofit method of any of claims 1-7.
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 CN115334358A (en) 2022-11-11
CN115334358B true 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)

Families Citing this family (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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997715A (en) * 2009-08-25 2011-03-30 鸿富锦精密工业(深圳)有限公司 Gateway software upgrading management method
US9075682B2 (en) * 2012-09-13 2015-07-07 Verizon Patent And Licensing Inc. STB-driven upgrade of remote server application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN115334358A (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN101557583B (en) Remote-updating and version-switching method of repeater equipment embedded software
CN109933348B (en) Method and device for updating Bootloader in electronic control unit
CN103777983B (en) A kind of On-board software is safeguarded and upgrade method in-orbit
US20120117557A1 (en) Method and system for upgrading wireless data card
CN112947977B (en) Online software upgrading method and system
CN115334358B (en) Fusion gateway automation software remanufacturing method and storage medium
CN110096290B (en) Method for upgrading software of main control board of battery simulator
CN112152846A (en) Metering instrument remote upgrading method based on Internet of things
CN114440389B (en) Air conditioner, upgrading method thereof, computer equipment and computer readable storage medium
KR20090055074A (en) Method of transaction-based firmware upgrade in mobile telephone and firmware upgrade system thereof
US7047283B1 (en) Apparatus and method of upgrading program of firmware board
CN112799683A (en) Terminal device program programming and testing method
CN100484038C (en) Network element version switching method and device
CN114443097A (en) Single-chip microcomputer firmware upgrading method used in conference unit
CN116028283A (en) Processor test system, method and device and readable storage medium
CN112667267A (en) Washing machine firmware upgrading method and washing machine
CN111831314A (en) Method and device for patching non-writable partition
CN116594661B (en) Singlechip upgrading method for ensuring matching of firmware and engineering in compiling stage
CN111949278B (en) Method, system, terminal and storage medium for automatically installing MCS system
CN110780943B (en) Method and system for unifying firmware of slave equipment
CN118394393B (en) IO module firmware updating method based on EtherCat coupler
US20220276853A1 (en) Ota master, center, system, update method, and vehicle
CN113535238B (en) Compatible method, device, storage medium and equipment for DDR
CN114625388A (en) Internet of things MCU (microprogrammed control Unit) air firmware upgrading system and method
CN109725922B (en) Small system upgrading method, system and related device

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
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.

GR01 Patent grant
GR01 Patent grant