CN111954040A - Remote controller upgrading method and device, electronic equipment and storage medium - Google Patents

Remote controller upgrading method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111954040A
CN111954040A CN202010695532.7A CN202010695532A CN111954040A CN 111954040 A CN111954040 A CN 111954040A CN 202010695532 A CN202010695532 A CN 202010695532A CN 111954040 A CN111954040 A CN 111954040A
Authority
CN
China
Prior art keywords
information
upgrade
remote controller
upgrading
configuration file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010695532.7A
Other languages
Chinese (zh)
Inventor
文璋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen SDMC Technology Co Ltd
Original Assignee
Shenzhen SDMC Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen SDMC Technology Co Ltd filed Critical Shenzhen SDMC Technology Co Ltd
Priority to CN202010695532.7A priority Critical patent/CN111954040A/en
Publication of CN111954040A publication Critical patent/CN111954040A/en
Pending legal-status Critical Current

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25858Management of client data involving client software characteristics, e.g. OS identifier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • H04N21/4516Management of client data or end-user data involving client characteristics, e.g. Set-Top-Box type, software version or amount of memory available

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Computer Graphics (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 invention relates to the technical field of remote controller upgrading, and provides a remote controller upgrading method, a remote controller upgrading device, electronic equipment and a storage medium, wherein the method comprises the following steps: inquiring whether a prestored upgrade file exists; if the pre-stored upgrade file exists, calling and analyzing the pre-stored upgrade file to obtain upgrade firmware information and configuration file information in the pre-stored upgrade file; and if the upgrade firmware information and the configuration file information are detected to be complete and the remote controller is in a connection state, acquiring the attribute information of the remote controller, matching the attribute information with the configuration file information, and upgrading the remote controller. The flexibility of upgrading the remote controller can be improved, the workload of maintaining the upgrading process can be reduced, and the life cycle of software can be prolonged.

Description

Remote controller upgrading method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of remote controller upgrading technologies, and in particular, to a method and an apparatus for upgrading a remote controller, an electronic device, and a storage medium.
Background
The digital television is also called digital television or digital television, and the digital television system package comprises the digital television, a set-top box and a remote controller. Generally, for upgrading of the remote controller, an upgrade file and an upgrade application are directly prestored in the set-top box, and after the upgrade application detects that the remote controller is connected, the prestored upgrade file is sent to the remote controller on the premise that the remote controller meets upgrade conditions, so that the upgrade of the remote controller is realized. In the upgrading mode, the binding relationship exists between the upgrading application and the remote controller to be upgraded, the directional upgrading of the remote controller by the upgrading application is limited, the upgrading application is prestored in the set top box, when the upgrading file needs to be modified, new software needs to be burned again by all the set top boxes, and the service life of the software is limited. And when the upgrading condition needs to be modified, all set-top boxes are required to upgrade the upgrading application pairs. Therefore, in the prior art, the problems of low flexibility, large maintenance workload in the upgrading process and short software life cycle exist in the upgrading of the remote controller.
Disclosure of Invention
The embodiment of the invention provides a remote controller upgrading method which can improve the flexibility of remote controller upgrading, reduce the workload of maintenance in the upgrading process and prolong the life cycle of software.
In a first aspect, an embodiment of the present invention provides a remote controller upgrading method, including the following steps:
inquiring whether a prestored upgrade file exists;
if the pre-stored upgrade file exists, calling and analyzing the pre-stored upgrade file to obtain upgrade firmware information and configuration file information in the pre-stored upgrade file;
and if the upgrade firmware information and the configuration file information are detected to be complete and the remote controller is in a connection state, acquiring the attribute information of the remote controller, matching the attribute information with the configuration file information, and upgrading the remote controller.
In a second aspect, an embodiment of the present invention further provides an apparatus capable of implementing upgrading of a remote controller, including:
the loading module is used for inquiring whether a prestored upgrade file exists or not;
the analysis module is used for calling and analyzing the prestored upgrade file if the prestored upgrade file exists, so as to obtain upgrade firmware information and configuration file information in the prestored upgrade file;
and the upgrading module is used for acquiring the attribute information of the remote controller, matching the attribute information with the configuration file information and upgrading the remote controller if the upgrading firmware information and the configuration file information are detected to be complete and the remote controller is in a connection state.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: the remote controller upgrading method comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the steps in the remote controller upgrading method provided by the embodiment when executing the computer program.
In a fourth aspect, a computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps in the remote controller upgrade method provided by the embodiments.
In the embodiment of the invention, whether the pre-stored upgrade file exists is inquired; if the pre-stored upgrade file exists, calling and analyzing the pre-stored upgrade file to obtain upgrade firmware information and configuration file information in the pre-stored upgrade file; and if the upgrade firmware information and the configuration file information are detected to be complete and the remote controller is in a connection state, acquiring the attribute information of the remote controller, matching the attribute information with the configuration file information, and upgrading the remote controller. After the existence of the pre-stored upgrade file is detected, the pre-stored upgrade file is called to analyze to obtain corresponding upgrade firmware information and configuration file information, when the remote controller is in a connection state and the upgrade firmware information and the configuration file information are in a complete state, the attribute information of the remote controller is matched with the configuration file information, and if the matching is successful, the remote controller can be continuously upgraded, so that the upgrade application is not bound with the remote controller, only the attribute information of the remote controller is matched with the configuration file information in the upgrade file, the upgrade of the remote controllers of different models can be realized, the limitation that only the specific remote controller can be upgraded is avoided, the upgrade flexibility of the remote controller is improved, the upgrade of the remote controllers of different models can be realized through a uniform upgrade flow, and the problem that new software needs to be burned again when the upgrade file needs to be modified is avoided, the workload of maintenance in the upgrading process is reduced, and the life cycle of software is prolonged.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a remote controller upgrading system provided in an embodiment of the present invention;
fig. 2 is a specific flowchart of a remote controller upgrading method according to an embodiment of the present invention;
fig. 3 is a specific flowchart of another remote controller upgrading method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a remote controller upgrading device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another upgrading apparatus for a remote controller according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another upgrading apparatus for a remote controller according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "including" and "having," and any variations thereof, in the description and claims of this application and the description of the above figures are intended to cover non-exclusive inclusions. The terms "first," "second," and the like in the description and claims of this application or in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a remote controller upgrading system according to an embodiment of the present invention. The system 100 includes: server 101, internal storage 102, external storage 103, and remote controller 104 (remote controller 1, remote controller 2 … …, remote controller n).
The server 101, the internal storage 102, and the external storage 103 may store a pre-stored upgrade file therein, and the pre-stored upgrade file may be queried from any one of the server 101, the internal storage 102, and the external storage 103. The remote controller upgrade program in fig. 1 may refer to a pre-stored upgrade file, where the pre-stored upgrade file includes upgrade firmware information and configuration file information, and after being called from the server 101, the internal storage 102, and the external storage 103, the configuration file information may be matched with attribute information of the remote controller 104, and a matching result is fed back to the remote controller 104 to upgrade the remote controller 104.
The server 101 may respond to a data request sent from the outside, and feed back a result through calculation, search, and the like. The internal storage 102 may be internal memory provided by the system 100 itself and may include Random Access Memory (RAM), Static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), and the like. The external storage 103 may be an external storage provided outside the system 100, and includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a floppy disk, an optical disk, a magnetic disk, a removable hard disk, and the like. The internal storage 102 is characterized by: the capacity is small, the speed is extremely fast, and the data is temporarily stored. The external storage 103 is characterized in that data stored therein is maintained magnetically, and data can be stored permanently, and the external storage has a large capacity and a low speed, and can store data permanently.
The remote controller 104 includes a plurality of sub-remote controllers (the remote controller 1 and the remote controller 2 … …, remote controller n), and the attribute information is different from each other because the respective devices and the set functions of the remote controllers 1 and 2 … … are different from each other. The remote controller 104 including a plurality of sub-remote controllers may indicate that an upgrade file corresponding to any one of the remote controllers 104 is retrieved from the server 101, the internal storage 102, and the external storage 103 through one upgrade process to upgrade the remote controller. The problems of poor upgrading flexibility and large workload caused by the fact that upgrading files of upgrading applications are bound with the models of the remote controllers to be upgraded, only specific remote controllers can be upgraded when one-time upgrading process is started, and the common characteristic of upgrading of the remote controllers cannot be combined are solved.
In the embodiment of the present invention, after detecting the existence of the pre-stored upgrade file from the server 101, the internal storage 102 and the external storage 103, the pre-stored upgrade file is called to analyze to obtain the corresponding upgrade firmware information and the configuration file information, when the remote controller 104 is in the connection state and the upgrade firmware information and the configuration file information are in the complete state, the attribute information of the remote controller 104 is matched with the configuration file information, and if the matching is successful, the remote controller 104 can be continuously upgraded, so that the upgrade application is not bound with the remote controller 104, only the attribute information of the remote controller 104 needs to be matched with the configuration file information in the upgrade file, the upgrade of the remote controllers 104 of different models can be realized, the limitation that only a specific remote controller 104 can be upgraded is avoided, the upgrade flexibility of the remote controller 104 is improved, and the upgrade of the remote controllers 104 of different models can be realized through a uniform upgrade, the problem that new software needs to be burned again when the upgrade file needs to be modified is avoided, the workload of maintenance in the upgrade process is reduced, and the life cycle of the software is prolonged.
As shown in fig. 2, fig. 2 is a flowchart of a remote controller upgrading method according to an embodiment of the present invention. The method specifically comprises the following steps:
201. and inquiring whether a prestored upgrade file exists.
In the embodiment of the present invention, the electronic device on which the remote controller upgrading method operates may obtain the pre-stored upgrade file through a wired connection manner or a wireless connection manner. The Wireless connection mode may include, but is not limited to, a 3G/4G connection, a WiFi (Wireless-Fidelity) connection, a bluetooth connection, a wimax (worldwide Interoperability for Microwave access) connection, a Zigbee (low power local area network protocol) connection, a uwb (ultra wideband) connection, and other Wireless connection modes known now or developed in the future.
The server, the internal storage and the external storage can store pre-stored upgrade files, and the equipment for operating the remote controller upgrade method can inquire the pre-stored upgrade files from any one of the server, the internal storage and the external storage. The pre-stored upgrade files may refer to files for upgrading the remote controller, and the pre-stored upgrade files may be a batch of upgrade files, each pre-stored upgrade file is different from another pre-stored upgrade file, and the upgrade files may be pre-stored for different remote controllers. Any of the server, the internal storage, and the external storage may store a plurality of upgrade files. The pre-stored upgrade file may be an upgrade program of the remote controller.
202. If the pre-stored upgrade file exists, the pre-stored upgrade file is called and analyzed, and upgrade firmware information and configuration file information in the pre-stored upgrade file are obtained.
The upgrade firmware information may be upgrade firmware of the remote controller, the firmware belongs to the configuration of the remote controller itself, and the upgrade firmware is configured to upgrade the configuration of the remote controller itself, for example: a PC (personal computer) can only support the AVI movie format, and can also support the RMAB high definition format after being upgraded. Firmware is upgraded mainly to solve some bugs (bugs) and compatibility issues. Upgrading the firmware is actually rewriting Flash with a new firmware program, but is actually divided into two ways according to different chips and principles. The first way is a product using a separate USB chip, for example: the GDS30c6001 of Hyundai is relatively simple and safe to upgrade for such players, and only needs to transmit a new firmware program to Flash through a USB chip.
The configuration file information may be a configuration file for setting an upgrade condition, and the remote controller may be upgraded when the remote controller satisfies the upgrade condition. A configuration file may be a collection of settings and files that the software system will load the desired environment for the user to log into the computer or while using the software application. It may include all user-specific configuration settings, such as: program items, screen colors, network connections, printer connections, mouse settings, and window sizes and positions, etc.
When the pre-stored upgrade file is inquired in the server, the internal storage and the external storage, the upgrade file can be loaded into a system memory, the upgrade file is analyzed, and upgrade firmware information and configuration file information are extracted from the analyzed information.
203. And if the upgrade firmware information and the configuration file information are detected to be complete and the remote controller is in a connection state, acquiring the attribute information of the remote controller, matching the attribute information with the configuration file information, and upgrading the remote controller.
The detecting that the upgrade firmware information and the configuration file information are complete may be used to detect validity of the upgrade firmware information and the configuration file information, and detect whether there is missing, damage, and other information. Before upgrading the remote controller, whether the remote controller and the correspondingly controlled equipment are in a connected state needs to be detected, and attribute information of the remote controller can be acquired under the condition that the remote controller is in wireless/wired connection, wherein the attribute information can include but is not limited to the model, the electric quantity, the version and the like of the remote controller. The method and the device can match the attribute information of the remote controller with the configuration file information under the condition that the upgrade firmware information and the configuration file information are complete and the remote controller is in a connection state, and can realize the upgrade processing of the remote controller under the condition that the matching is successful.
In the embodiment of the invention, whether the pre-stored upgrade file exists is inquired; if the pre-stored upgrade file exists, calling and analyzing the pre-stored upgrade file to obtain upgrade firmware information and configuration file information in the pre-stored upgrade file; and if the upgrade firmware information and the configuration file information are detected to be complete and the remote controller is in a connection state, acquiring the attribute information of the remote controller, matching the attribute information with the configuration file information, and upgrading the remote controller. After the existence of the pre-stored upgrade file is detected, the pre-stored upgrade file is called to analyze to obtain corresponding upgrade firmware information and configuration file information, when the remote controller is in a connection state and the upgrade firmware information and the configuration file information are in a complete state, the attribute information of the remote controller is matched with the configuration file information, and if the matching is successful, the remote controller can be continuously upgraded, so that the upgrade application is not bound with the remote controller, only the attribute information of the remote controller is matched with the configuration file information in the upgrade file, the upgrade of the remote controllers of different models can be realized, the limitation that only the specific remote controller can be upgraded is avoided, the upgrade flexibility of the remote controller is improved, the upgrade of the remote controllers of different models can be realized through a uniform upgrade flow, and the problem that new software needs to be burned again when the upgrade file needs to be modified is avoided, the workload of maintenance in the upgrading process is reduced, and the life cycle of software is prolonged.
Referring to fig. 3, fig. 3 is a flowchart of another remote controller upgrading method provided in the embodiment of the present invention, which specifically includes the following steps:
301. and inquiring whether a prestored upgrade file exists.
302. And if the pre-stored upgrade file exists, acquiring the pre-stored upgrade file.
303. And analyzing the pre-stored upgrade file to obtain upgrade firmware information and configuration file information.
304. And setting upgrading conditions based on the configuration file information.
The upgrade condition may be a series of parameter thresholds, such as: the threshold value of the electric quantity is set to be 50%, and the situation that the connection of the remote controller is interrupted and the upgrading cannot be continued due to the fact that the electric quantity is too low in the upgrading process is avoided. Upgrade conditions may also include model restrictions, such as: the upgrade condition is any one of the remote controllers with the models of K1A, C1463, C1743, C1943 or C3145, and the upgrade can be continued only when the remote controller with the model to be upgraded is any one of the models.
305. And calculating the MD5 value of the upgraded firmware information through a preset algorithm, and acquiring the name of the upgraded firmware information and the configuration file information.
The preset algorithm may be an algorithm provided by an MD5 value calculator. The MD5 value, Message-Digest Algorithm 5, is used to ensure that the information transfer is complete and consistent. Is one of the hash algorithms (also known as digest algorithm and hash algorithm) widely used by computers, and the mainstream programming language is generally realized by MD 5. The operation of data (such as Chinese characters) into another fixed length value is the basic principle of the hash algorithm, and the precursors of MD5 include MD3, MD3 and MD 4. The MD5 value calculator is a tool that can generate MD5 values for files and MD5 values for strings, and can compare MD5 values to confirm the integrity of files or strings. For example: dragging the upgraded firmware information to an MD5 value window, and calculating the MD5 value of the upgraded firmware information and the size of the firmware by the program according to an internal preset algorithm. Each piece of upgrade firmware information has a respective name, which may be a unique identification code of the upgrade firmware information.
306. And comparing the MD5 value of the firmware upgrading information, the name of the firmware upgrading information and the acquired configuration file information with the prestored MD5 value of the bottom library, the name of the bottom library and the information of the bottom library configuration file, and judging whether the firmware upgrading information and the information of the configuration file are complete.
The value of the bottom library MD5, the name of the bottom library and the information of the configuration file of the bottom library are prestored in the bottom library of the system, and can be compared with the value of the MD5 of the firmware upgrading information, the name of the firmware upgrading information and the acquired information of the configuration file to judge whether the corresponding items are the same or not so as to judge whether the firmware upgrading information and the information of the configuration file are complete or not. When any one or more of the updated firmware information and the configuration file information are different, the update firmware information and the configuration file information are incomplete, and the acquired pre-stored update file can be discarded.
307. And if the firmware upgrading information and the configuration file information are complete, detecting whether the remote controller is in a connection state.
When the upgrade firmware information and the configuration file information are detected to be complete, the network connection state between the remote controller and the equipment controlled by the remote controller can be acquired. Of course, the detection of the connection state of the remote controller is not necessarily performed only after the upgrade firmware information and the configuration file information are detected to be complete, but may be performed before the upgrade firmware information and the configuration file information are detected to be complete.
308. And when the remote controller is in a connection state, acquiring the attribute information of the remote controller, and judging whether the attribute information meets the upgrading condition.
309. If the attribute information of the remote controller meets the upgrading condition, calling a corresponding standby upgrading program according to the attribute information for upgrading.
When the remote controller is in a connection state, the attribute information of the remote controller can be obtained, the attribute information is compared with the upgrading condition, and the comparison result meets the upgrading condition, so that the upgrading process can be carried out by calling remote controller upgrading programs of different manufacturers according to the type of the remote controller in the attribute information of the remote controller. After the upgrade is completed, recording the upgraded upgrade data, for example: upgraded versions, time consuming, etc.
Optionally, the method further comprises:
if any one of the conditions that the pre-stored upgrade file does not exist in the inquiry, the upgrade firmware information and the configuration file information are detected to be incomplete, the remote controller is in a non-connection state, and the attribute information is not matched with the configuration file information is met, the upgrade of the remote controller is interrupted.
Specifically, as shown in fig. 3, if it is satisfied that there is no pre-stored upgrade file for inquiry, it is detected that the upgrade firmware information and the configuration file information are incomplete, or the remote controller is in a non-connected state, or the attribute information and the configuration file information are not matched, the upgrade of the remote controller is interrupted.
In the embodiment of the invention, after the existence of the pre-stored upgrade file is detected, the pre-stored upgrade file is called to analyze to obtain the corresponding upgrade firmware information and the configuration file information, and the upgrade firmware information is judged to be complete or not by comparing the MD5 value, the upgrade firmware information name and the acquired configuration file information of the upgrade firmware information with the pre-stored bottom library MD5 value, the bottom library name and the bottom library configuration file information. And when the remote controller is in a connection state, matching the attribute information of the remote controller with the configuration file information, wherein if the matching is successful, the remote controller can be continuously upgraded. Therefore, the upgrading application and the remote controller do not need to be bound, only the attribute information of the remote controller needs to be matched with the configuration file information in the upgrading file, the upgrading of the remote controllers of different models can be realized, the limitation that only a specific remote controller can be upgraded is avoided, the upgrading flexibility of the remote controller is improved, the upgrading of the remote controllers of different models can be realized through a unified upgrading process, the problem that new software needs to be burned again when the upgrading file needs to be modified is avoided, the workload of the upgrading process maintenance is reduced, and the life cycle of the software is prolonged.
As shown in fig. 4, fig. 4 is a schematic structural diagram of a remote controller upgrading apparatus according to an embodiment of the present invention, where the remote controller upgrading apparatus 400 includes:
a loading module 401, configured to query whether a pre-stored upgrade file exists;
the analysis module 402 is configured to, if a pre-stored upgrade file exists, call and analyze the pre-stored upgrade file to obtain upgrade firmware information and configuration file information in the pre-stored upgrade file;
the upgrading module 403 is configured to, if it is detected that the firmware upgrading information and the configuration file information are complete and the remote controller is in a connected state, obtain attribute information of the remote controller, match the attribute information with the configuration file information, and upgrade the remote controller.
Optionally, as shown in fig. 5, fig. 5 is a schematic structural diagram of another remote controller upgrading apparatus provided in the embodiment of the present invention, and the parsing module 402 includes:
a first obtaining unit 4021, configured to obtain a pre-stored upgrade file if the pre-stored upgrade file exists;
the analysis unit 4022 is configured to analyze a pre-stored upgrade file to obtain upgrade firmware information and configuration file information;
a setting unit 4023, configured to set an upgrade condition based on the configuration file information.
Optionally, as shown in fig. 6, fig. 6 is a schematic structural diagram of another remote controller upgrading apparatus provided in an embodiment of the present invention, where the upgrading module 403 includes:
a second obtaining unit 4031, configured to calculate an MD5 value of the firmware upgrade information through a preset algorithm, and obtain a name and configuration file information of the firmware upgrade information;
a comparing unit 4032, configured to compare the MD5 value of the firmware updating information, the name of the firmware updating information, and the acquired configuration file information with the prestored MD5 value of the base library, the name of the base library, and the information of the base library configuration file, and determine whether the firmware updating information and the configuration file information are complete;
a detecting unit 4033, configured to detect whether the remote controller is in a connected state if the firmware upgrading information and the configuration file information are complete;
a determining unit 4034, configured to, when the remote controller is in a connected state, obtain attribute information of the remote controller, and determine whether the attribute information meets an upgrade condition;
an upgrading unit 4035, configured to call a corresponding standby upgrading program according to the attribute information to perform upgrading if the attribute information of the remote controller meets the upgrading condition.
As shown in fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device 700 includes: the memory 702, the processor 701, the network interface 703 and a computer program stored on the memory 702 and operable on the processor 701, implement the steps in the remote controller upgrading method provided by the embodiment when the processor 701 executes the computer program.
Specifically, the processor 701 is configured to perform the following steps:
inquiring whether a prestored upgrade file exists;
if the pre-stored upgrade file exists, calling and analyzing the pre-stored upgrade file to obtain upgrade firmware information and configuration file information in the pre-stored upgrade file;
and if the upgrade firmware information and the configuration file information are detected to be complete and the remote controller is in a connection state, acquiring the attribute information of the remote controller, matching the attribute information with the configuration file information, and upgrading the remote controller.
Optionally, if there is a pre-stored upgrade file, the step of calling and analyzing the pre-stored upgrade file to obtain upgrade firmware information and configuration file information in the pre-stored upgrade file, executed by the processor 701, includes:
if the pre-stored upgrade file exists, acquiring the pre-stored upgrade file;
analyzing a prestored upgrade file to obtain upgrade firmware information and configuration file information;
and setting upgrading conditions based on the configuration file information.
Optionally, if the processor 701 detects that the firmware upgrading information and the configuration file information are complete and the remote controller is in a connected state, acquiring attribute information of the remote controller, matching the attribute information with the configuration file information, and upgrading the remote controller includes:
calculating the MD5 value of the firmware upgrading information through a preset algorithm, and acquiring the name and the configuration file information of the firmware upgrading information;
comparing the MD5 value of the firmware upgrading information, the name of the firmware upgrading information and the acquired configuration file information with the prestored MD5 value of the bottom library, the name of the bottom library and the information of the bottom library configuration file, and judging whether the firmware upgrading information and the information of the configuration file are complete;
if the firmware upgrading information and the configuration file information are complete, detecting whether the remote controller is in a connection state;
when the remote controller is in a connection state, acquiring attribute information of the remote controller, and judging whether the attribute information meets an upgrading condition;
if the attribute information of the remote controller meets the upgrading condition, calling a corresponding standby upgrading program according to the attribute information for upgrading.
Optionally, after calling a corresponding standby upgrade program according to the attribute information to upgrade, the processor 701 is further configured to perform recording of upgrade data obtained after the upgrade.
Optionally, the processor 701 is further configured to:
if any one of the conditions that the pre-stored upgrade file does not exist in the inquiry, the upgrade firmware information and the configuration file information are detected to be incomplete, the remote controller is in a non-connection state, and the attribute information is not matched with the configuration file information is met, the upgrade of the remote controller is interrupted.
The electronic device 700 provided in the embodiment of the present invention can implement each implementation manner in the remote controller upgrading method embodiment, and has corresponding beneficial effects, and for avoiding repetition, details are not described here.
It is noted that only 701-703 having components are shown, but it is understood that not all of the shown components are required and that more or fewer components may alternatively be implemented. As will be understood by those skilled in the art, the electronic device 700 is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable gate array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The electronic device 700 may be a desktop computer, a notebook, a palmtop computer, or other computing device. The electronic device 700 may interact with a user via a keyboard, mouse, remote control, touch pad, or voice-activated device.
The memory 702 includes at least one type of readable storage medium including flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the storage 702 may be an internal storage unit of the electronic device 700, such as a hard disk or a memory of the electronic device 700. In other embodiments, the memory 702 may also be an external storage device of the electronic device 700, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the electronic device 700. Of course, the memory 702 may also include both internal and external memory units of the electronic device 700. In this embodiment, the memory 702 is generally used for storing an operating system installed in the electronic device 700 and various application software, such as program codes of a remote controller upgrading method. In addition, the memory 702 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 701 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 701 is generally configured to control the overall operation of the electronic device 700. In this embodiment, the processor 701 is configured to run a program code stored in the memory 702 or process data, for example, a program code for running a remote controller upgrade method.
The network interface 703 may include a wireless network interface or a wired network interface, and the network interface 703 is generally used to establish a communication connection between the electronic device 700 and other electronic devices.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by the processor 701, the computer program implements each process in the remote controller upgrading method provided in the embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It will be understood by those skilled in the art that all or part of the processes in the remote controller upgrading method according to the embodiments may be implemented by instructing the relevant hardware through a computer program, and the program may be stored in a computer-readable storage medium, and when executed, may include processes according to the embodiments of the methods. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (10)

1. A remote controller upgrading method is characterized by comprising the following steps:
inquiring whether a prestored upgrade file exists;
if the pre-stored upgrade file exists, calling and analyzing the pre-stored upgrade file to obtain upgrade firmware information and configuration file information in the pre-stored upgrade file;
and if the upgrade firmware information and the configuration file information are detected to be complete and the remote controller is in a connection state, acquiring the attribute information of the remote controller, matching the attribute information with the configuration file information, and upgrading the remote controller.
2. The method of claim 1, wherein the step of calling and parsing the pre-stored upgrade file to obtain upgrade firmware information and configuration file information in the pre-stored upgrade file if the pre-stored upgrade file exists comprises:
if the pre-stored upgrade file exists, acquiring the pre-stored upgrade file;
analyzing the pre-stored upgrade file to obtain the upgrade firmware information and configuration file information;
and setting upgrading conditions based on the configuration file information.
3. The method of claim 2, wherein if it is detected that the firmware upgrade information and the configuration file information are complete and the remote controller is in a connected state, acquiring attribute information of the remote controller, and matching the attribute information with the configuration file information, the upgrading the remote controller comprises:
calculating the MD5 value of the upgraded firmware information through a preset algorithm, and acquiring the name of the upgraded firmware information and the configuration file information;
comparing the MD5 value of the firmware upgrading information, the name of the firmware upgrading information and the acquired configuration file information with a prestored MD5 value of a bottom library, the name of the bottom library and the configuration file information of the bottom library, and judging whether the firmware upgrading information and the configuration file information are complete or not;
if the firmware upgrading information and the configuration file information are complete, detecting whether the remote controller is in a connection state;
when the remote controller is in a connection state, acquiring attribute information of the remote controller, and judging whether the attribute information meets the upgrading condition;
if the attribute information of the remote controller meets the upgrading condition, calling a corresponding standby upgrading program according to the attribute information to upgrade.
4. The method according to claim 3, wherein after the corresponding backup upgrade program is called for upgrading according to the attribute information, the method further comprises the steps of:
and recording the upgrade data obtained after upgrading.
5. The method of claim 1, wherein the method further comprises:
if any one of the conditions that no pre-stored upgrade file exists, the upgrade firmware information and the configuration file information are detected to be incomplete, the remote controller is in a non-connection state, and the attribute information is not matched with the configuration file information is inquired, the upgrade of the remote controller is interrupted.
6. A remote controller upgrade apparatus, comprising:
the loading module is used for inquiring whether a prestored upgrade file exists or not;
the analysis module is used for calling and analyzing the prestored upgrade file if the prestored upgrade file exists, so as to obtain upgrade firmware information and configuration file information in the prestored upgrade file;
and the upgrading module is used for acquiring the attribute information of the remote controller, matching the attribute information with the configuration file information and upgrading the remote controller if the upgrading firmware information and the configuration file information are detected to be complete and the remote controller is in a connection state.
7. The apparatus of claim 6, wherein the parsing module comprises:
the first obtaining unit is used for obtaining the pre-stored upgrade file if the pre-stored upgrade file exists;
the analysis unit is used for analyzing the pre-stored upgrade file to obtain the upgrade firmware information and the configuration file information;
and the setting unit is used for setting upgrading conditions based on the configuration file information.
8. The apparatus of claim 7, wherein the upgrade module comprises:
the second obtaining unit is used for calculating the MD5 value of the upgraded firmware information through a preset algorithm, and obtaining the name of the upgraded firmware information and the configuration file information;
the comparison unit is used for comparing the MD5 value of the firmware upgrading information, the name of the firmware upgrading information and the acquired configuration file information with a prestored bottom library MD5 value, bottom library name and bottom library configuration file information, and judging whether the firmware upgrading information and the configuration file information are complete or not;
the detection unit is used for detecting whether the remote controller is in a connection state or not if the firmware upgrading information and the configuration file information are complete;
the judging unit is used for acquiring the attribute information of the remote controller when the remote controller is in a connection state and judging whether the attribute information meets the upgrading condition;
and the upgrading unit is used for calling a corresponding standby upgrading program to upgrade according to the attribute information if the attribute information of the remote controller meets the upgrading condition.
9. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the steps in the remote control upgrade method according to any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the remote control upgrade method according to any one of claims 1 to 5.
CN202010695532.7A 2020-07-17 2020-07-17 Remote controller upgrading method and device, electronic equipment and storage medium Pending CN111954040A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010695532.7A CN111954040A (en) 2020-07-17 2020-07-17 Remote controller upgrading method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010695532.7A CN111954040A (en) 2020-07-17 2020-07-17 Remote controller upgrading method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111954040A true CN111954040A (en) 2020-11-17

Family

ID=73340537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010695532.7A Pending CN111954040A (en) 2020-07-17 2020-07-17 Remote controller upgrading method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111954040A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114928541A (en) * 2022-05-24 2022-08-19 阿里云计算有限公司 Version upgrading method and device and upgrading rule configuration method
CN116360809A (en) * 2023-05-31 2023-06-30 深圳市微克科技有限公司 Remote firmware upgrading method, system and medium for embedded intelligent terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279372A (en) * 2013-05-23 2013-09-04 青岛海信宽带多媒体技术有限公司 Set top box software upgrading method and set top box
CN105898490A (en) * 2016-06-22 2016-08-24 青岛海信电器股份有限公司 Upgrading method for remote controller, television and remote controller
CN105912340A (en) * 2016-04-26 2016-08-31 江苏惠通集团有限责任公司 Primary device, remote control and overhead upgrading method of remote control
CN107608701A (en) * 2017-10-20 2018-01-19 深圳市道通科技股份有限公司 A kind of method and apparatus of firmware updating
CN108897560A (en) * 2018-06-27 2018-11-27 北京小米移动软件有限公司 Firmware upgrade method, device and the storage medium of smart machine
CN110134412A (en) * 2019-03-25 2019-08-16 北京车和家信息技术有限公司 Oftware updating method, device, vehicle and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279372A (en) * 2013-05-23 2013-09-04 青岛海信宽带多媒体技术有限公司 Set top box software upgrading method and set top box
CN105912340A (en) * 2016-04-26 2016-08-31 江苏惠通集团有限责任公司 Primary device, remote control and overhead upgrading method of remote control
CN105898490A (en) * 2016-06-22 2016-08-24 青岛海信电器股份有限公司 Upgrading method for remote controller, television and remote controller
CN107608701A (en) * 2017-10-20 2018-01-19 深圳市道通科技股份有限公司 A kind of method and apparatus of firmware updating
CN108897560A (en) * 2018-06-27 2018-11-27 北京小米移动软件有限公司 Firmware upgrade method, device and the storage medium of smart machine
CN110134412A (en) * 2019-03-25 2019-08-16 北京车和家信息技术有限公司 Oftware updating method, device, vehicle and computer readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114928541A (en) * 2022-05-24 2022-08-19 阿里云计算有限公司 Version upgrading method and device and upgrading rule configuration method
CN116360809A (en) * 2023-05-31 2023-06-30 深圳市微克科技有限公司 Remote firmware upgrading method, system and medium for embedded intelligent terminal
CN116360809B (en) * 2023-05-31 2023-08-22 深圳市微克科技有限公司 Remote firmware upgrading method, system and medium for embedded intelligent terminal

Similar Documents

Publication Publication Date Title
TWI465901B (en) Method and system for verification of computerized systems for cloud testing and remote monitoring of integrated circuit devices
US20060265469A1 (en) XML based scripting framework, and methods of providing automated interactions with remote systems
CN111954040A (en) Remote controller upgrading method and device, electronic equipment and storage medium
CN104199706A (en) Firmware upgrade method and device for eMMC
CN104317667A (en) Method for synchronizing DMI (desktop management interface) and FRU (field replace unit)
CN112559354A (en) Front-end code specification detection method and device, computer equipment and storage medium
WO2021115177A1 (en) Application installation method and apparatus, terminal device, server and storage medium
WO2020010724A1 (en) Front-end static resource management method, apparatus, computer device and storage medium
CN107273145A (en) A kind of method of managing software and device, terminal
EP2664988A1 (en) Method, device and system for installing terminal software
CN112559088A (en) Configuration file optimization method, device, server and storage medium
CN106775897B (en) Method and system for starting driver of set top box
CN116382746A (en) Firmware upgrading method, device, equipment and medium
CN111381895A (en) Identification information setting method, device, equipment and computer readable storage medium
WO2021147251A1 (en) Internet of things device connection test method and apparatus, computer device and storage medium
JP2002007138A (en) Method for installing and starting application, device for executing the same, and medium and program
CN104516743B (en) The upgrade method and system of embedded device firmware based on ActiveX
CN112328272A (en) Algorithm upgrading method, device, equipment and storage medium
CN113992739B (en) Local area network OTA firmware upgrading device, method and system
CN112003837B (en) Intelligent equipment adaptation method and device based on Modbus protocol and storage medium
CN113259480B (en) Twin synchronization method based on configuration, Internet of things system and equipment and storage medium
US8762699B1 (en) System, apparatus, and method for initiating a reboot of a personal computer system by pressing a button on an attached storage device and causing the operating system on the attached storage device to be booted
CN113849229A (en) Server starting method and device, electronic equipment and readable storage medium
CN109218065B (en) Service single board management method, device, equipment and storage medium
CN112559131A (en) Method, device and equipment for updating container mirror image and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20201117