CN111787378B - Software upgrading method applied to remote control device and remote control device - Google Patents

Software upgrading method applied to remote control device and remote control device Download PDF

Info

Publication number
CN111787378B
CN111787378B CN202010598831.9A CN202010598831A CN111787378B CN 111787378 B CN111787378 B CN 111787378B CN 202010598831 A CN202010598831 A CN 202010598831A CN 111787378 B CN111787378 B CN 111787378B
Authority
CN
China
Prior art keywords
controller
remote control
upgrading
upgrade file
software
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
CN202010598831.9A
Other languages
Chinese (zh)
Other versions
CN111787378A (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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202010598831.9A priority Critical patent/CN111787378B/en
Publication of CN111787378A publication Critical patent/CN111787378A/en
Application granted granted Critical
Publication of CN111787378B publication Critical patent/CN111787378B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • 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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/4222Remote control device emulator integrated into a non-television apparatus, e.g. a PDA, media center or smart toy
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42221Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally

Abstract

The embodiment of the application provides a software upgrading method applied to a remote control device and the remote control device, wherein the remote control device comprises: a primary controller and a secondary controller; when the main controller determines that software upgrading is carried out on the remote control device, a corresponding upgrading data packet is obtained from display equipment connected with the remote control device, and the upgrading data packet comprises a first upgrading file corresponding to the auxiliary controller; and the auxiliary controller acquires the first upgrading file from the main controller and carries out software upgrading on the auxiliary controller according to the acquired first upgrading file. In the application, the extended function module acquires the first upgrade file corresponding to the extended function module through the software upgrade process of the main function module, then the extended function module performs software upgrade according to the acquired first upgrade file, and software upgrade of the extended function module is realized through a multi-device nested upgrade mode.

Description

Software upgrading method applied to remote control device and remote control device
Technical Field
The present application relates to the field of electronic devices, and in particular, to a software upgrading method applied to a remote control device and a remote control device.
Background
The remote control device is one of indispensable control devices of a display device, such as a television, and in practical application, software upgrading is often required to be carried out on the remote control device in order to obtain better service performance.
However, with the development of bluetooth technology and the increasing demand of people, bluetooth-based remote control devices are becoming popular for display devices, and more extended function modules having independent functions are integrated into the bluetooth-based remote control devices. However, there is no currently feasible solution for how to upgrade software for these extended function modules.
Disclosure of Invention
The embodiment of the application provides a software upgrading method applied to a remote control device and the remote control device, so as to realize software upgrading of an extended function module of the remote control device.
In a first aspect, an embodiment of the present application provides a remote control device, including: a main controller and an auxiliary controller;
the main controller is used for determining whether to perform software upgrading on the remote control device and acquiring a corresponding upgrading data packet from display equipment connected with the remote control device when determining to perform software upgrading, wherein the upgrading data packet comprises a first upgrading file corresponding to the auxiliary controller;
The auxiliary controller is used for acquiring the first upgrading file from the main controller and upgrading software of the auxiliary controller according to the acquired first upgrading file.
In a second aspect, an embodiment of the present application provides a software upgrading method, where the method is applied to a remote control device, where the remote control device includes: a main controller and an auxiliary controller; the method comprises the following steps:
when the main controller determines to carry out software upgrading on the remote control device, acquiring a corresponding upgrading data packet from display equipment connected with the remote control device, wherein the upgrading data packet comprises a first upgrading file corresponding to the auxiliary controller;
the auxiliary controller acquires the first upgrading file from the main controller;
and the auxiliary controller carries out software upgrading on the auxiliary controller according to the first upgrading file.
The embodiment of the application provides a software upgrading method applied to a remote control device and the remote control device, wherein the method comprises the following steps: when the main controller determines to carry out software upgrading, a corresponding upgrading data packet is obtained from display equipment connected with the remote control device, and the upgrading data packet comprises a first upgrading file corresponding to the auxiliary controller; and the auxiliary controller acquires the first upgrading file from the main controller and carries out software upgrading on the auxiliary controller according to the acquired first upgrading file. In the application, the auxiliary controller of the extended function module acquires the first upgrade file corresponding to the extended function module through the software upgrade process of the main function module, then the extended function module performs software upgrade according to the acquired first upgrade file, and the software upgrade of the extended function module is realized through a multi-device nested upgrade mode.
Drawings
In order to more clearly illustrate the embodiments of the present application 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, and it is obvious that the drawings in the description below are some embodiments of the present application, and those skilled in the art can obtain other drawings based on the drawings without inventive labor.
Fig. 1A is a schematic view of an operation scenario between a display device and a remote control apparatus according to an embodiment of the present application;
fig. 1B is a block diagram of a configuration of a remote control device according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a remote control device according to an embodiment of the present application;
fig. 3A is a schematic structural diagram of a remote control device according to another embodiment of the present application;
fig. 3B is a schematic structural diagram of a remote control device according to another embodiment of the present application;
FIG. 4 is a flowchart of a software upgrade method applied to a remote control device according to an embodiment of the present application;
FIG. 5 is a flow chart of a software upgrade method applied to a remote control device according to another embodiment of the present application;
FIG. 6 is a flow chart of a software upgrade method applied to a remote control device according to another embodiment of the present application;
Fig. 7 is a flowchart of a software upgrading method applied to a remote control device according to another embodiment of the present application;
FIG. 8 is a flowchart of a software upgrade method applied to a remote control device according to another embodiment of the present application;
fig. 9 is a flowchart of a software upgrading method applied to a remote control device according to another embodiment of the present application;
fig. 10 is a flowchart illustrating a state logic of a main controller for software upgrade according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all 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 application.
Fig. 1A is a schematic view of an operation scenario between a display device and a remote control apparatus according to an embodiment of the present application. As shown in fig. 1A, the remote control device 100 and the display apparatus 200 may communicate with each other in a wired or wireless manner.
Wherein the remote control device 100 is configured to control the display apparatus 200, the remote control device 100 may receive an operation instruction input by a user and convert the operation instruction into an instruction recognizable and responsive by the display apparatus 200 to serve as an intermediary for interaction between the user and the display apparatus 200. Such as: the user responds to the channel up and down operation by operating the channel up and down keys on the remote control device 100.
The remote control device 100 may be a remote control 100A, which includes infrared protocol communication and/or bluetooth protocol communication, and other short-range communication methods, etc., and controls the display apparatus 200 in a wireless or other wired manner. The user may input a user instruction through keys on the remote control 100, voice input, control panel input, etc., to control the display apparatus 200. Such as: the user can input a corresponding control command through a volume up/down key, a channel control key, up/down/left/right movement keys, a voice input key, a menu key, a power on/off key, etc. of the remote control device 100 to implement a function of controlling the display apparatus 200.
The remote control device 100 may also be a smart device, such as a mobile terminal 100B, a tablet computer, a notebook computer, etc. For example, the display device 200 is controlled using an application program running on the smart device. The application program may provide various controls to a user through an intuitive User Interface (UI) on a screen associated with the smart device through configuration.
For example, the mobile terminal 100B may install a software application with the display device 200 to implement connection communication through a network communication protocol for the purpose of one-to-one control operation and data communication. Such as: the mobile terminal 100B may be caused to establish a control instruction protocol with the display device 200 to implement the functions of the physical keys as arranged in the remote control 100A by operating various function keys or virtual buttons of the user interface provided on the mobile terminal 100B. The audio and video content displayed on the mobile terminal 100B may also be transmitted to the display device 200, so as to implement a synchronous display function.
The display apparatus 200 may provide a network television function of a broadcast receiving function and a computer support function. The display device may be implemented as a digital television, a web television, an Internet Protocol Television (IPTV), or the like.
The display device 200 may be a liquid crystal display, an organic light emitting display, a projection device. The specific display device type, size, resolution, etc. are not limited.
The display apparatus 200 also performs data communication with the server 300 through various communication means. Here, the display apparatus 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 300 may provide various contents and interactions to the display apparatus 200. By way of example, the display device 200 may send and receive information such as: receiving Electronic Program Guide (EPG) data, receiving software program updates, or accessing a remotely stored digital media library. The servers 300 may be a group or groups of servers, and may be one or more types of servers. Other web service contents such as a video on demand and an advertisement service are provided through the server 300. For example, the server 300 may also provide the display apparatus 200 with an associated upgrade file for software upgrade of the display apparatus 200 and an associated upgrade file for software upgrade of the remote control device 100.
Fig. 1B is a block diagram of a configuration of a remote control device according to an embodiment of the present application. As shown in fig. 1B, the remote control device 100 includes a controller 110, a memory 120, a communicator 130, a user input interface 140, an output interface 150, a power supply 160, and an extended function module 170.
The controller 110 includes a Random Access Memory (RAM)111, a Read Only Memory (ROM)112, a processor 113, a communication interface, and a communication bus. The controller 110 is used to control the operation and manipulation of the remote control device 100, as well as the coordination of communications among the internal components, external and internal data processing functions.
Illustratively, when an interaction of a user pressing a key disposed on the remote controller 100A or an interaction of touching a touch panel disposed on the remote controller 100A is detected, the controller 110 may control to generate a signal corresponding to the detected interaction and transmit the signal to the display device 200.
A memory 120 for storing various operation programs, data and applications for driving and controlling the remote control device 100 under the control of the controller 110. The memory 120 may store various control signal commands input by a user.
The communicator 130 enables communication of control signals and data signals with the display apparatus 200 under the control of the controller 110. Such as: the remote control apparatus 100 transmits a control signal (e.g., a touch signal or a button signal) to the display device 200 via the communicator 130, and the remote control apparatus 100 may receive the signal transmitted by the display device 200 via the communicator 130. The communicator 130 may include an infrared signal interface 131 and a radio frequency signal interface 132. For example: when the infrared signal interface is used, the user input instruction needs to be converted into an infrared control signal according to an infrared control protocol, and the infrared control signal is sent to the display device 200 through the infrared sending module. The following steps are repeated: when the rf signal interface is used, a user input command needs to be converted into a digital signal, and then the digital signal is modulated according to the rf control signal modulation protocol and then transmitted to the display device 200 through the rf transmitting terminal.
The user input interface 140, which may include at least one of a microphone 141, a touch pad 142, a sensor 143, a key 144, and the like, so that a user can input a user instruction regarding controlling the display apparatus 200 to the remote control device 100 through voice, touch, gesture, press, and the like.
The output interface 150 outputs a user instruction received by the user input interface 140 to the display apparatus 200, or outputs an image or voice signal received by the display apparatus 200. Here, the output interface 150 may include an LED interface 151, a vibration interface 152 generating vibration, a sound output interface 153 outputting sound, a display 154 outputting an image, and the like. For example, the remote controller 100A may receive an output signal such as audio, video, or data from the output interface 150, and display the output signal in the form of an image on the display 154, in the form of audio on the sound output interface 153, or in the form of vibration on the vibration interface 152.
And a power supply 160 for providing operational power support to the elements of the remote control device 100 under the control of the controller 110. In the form of a battery and associated control circuitry.
The remote control device 100 further includes: the extended function module 170, wherein the extended function module 170 is a module with independent functions, and includes a corresponding control module 172 and a sensor assembly 171. For example: the extended function module 170 is a human body sensing module, which may include, for example, a sensor assembly capable of collecting data of heart rate, blood pressure, temperature, etc. of a human body; the extended function module 170 can collect related sensor data through the above-mentioned sensor assembly, and transmit the collected sensor data to the display apparatus 200 through a communication link between the remote control device 100 and the display apparatus 200; the display device 200 performs corresponding operations according to the received sensor data, for example, if the display device 200 determines that the current heart rate speed of the user of the handheld remote control device 100 is high according to the received heart rate data, the display device 200 may send a prompt message to the user through a corresponding display interface, or the display device 200 may also send a voice prompt message to the user.
During use, the remote control device 100 often needs to be updated with software, and conventionally, the display apparatus 200 transmits an upgrade data packet to the remote control device 100, and the remote control device 100 performs software upgrade by running the received upgrade data packet.
With the increasing demand of people, more and more extended function modules are integrated on the remote control device, the extended function modules have independent functions, and no feasible scheme exists at present for how the software upgrading is carried out on the extended function modules with the independent functions.
Therefore, the application provides a software upgrading method applied to a remote control device to realize software upgrading of the extended function module. The core idea of the software upgrading method applied to the remote control device is as follows: the software upgrading technology of the main function module in the remote control device is utilized to realize the software upgrading of the extended function module, thereby realizing the software upgrading of the multi-equipment nesting.
Specifically, the remote control device comprises a main function module and an extended function module, wherein the main function module is a main part of the remote control device, so that the extended function module can obtain an upgrade file of the extended function module through an upgrade process of the main function module, and then the extended function module performs software upgrade according to the corresponding upgrade file. By the method, the multi-device nested software upgrading can be realized.
Before the method for upgrading software of a remote control device provided by the present application is introduced, a detailed description will be given of a chip applied to a remote control device provided by the present application.
Fig. 2 is a schematic structural diagram of a remote control device according to an embodiment of the present application. Referring to fig. 2, the present embodiment provides a remote control device 300 including: a main function module 310 and an extended function module 320, the main function module 310 being connected with the extended function module 320.
The main function module 310 includes a main controller 311, and the extended function module 320 includes an auxiliary controller 321.
Specifically, the main controller 311 is, for example, a Micro Controller Unit (MCU), and the MCU may also be called a single-chip microcomputer or other name such as a single-chip microcomputer. The main controller 311 is configured to control operations and operations of the main function module, and communication cooperation between internal components, and external and internal data processing functions, for example, when the display device is a television, the main function module 310 is a television-end function module, and the main function module 310 can control the display device to perform functions such as user interface display control, channel switching, and software upgrade of a remote control device.
When the software upgrade of the remote control device is implemented, the main controller 311 is configured to determine whether to perform software upgrade on the remote control device; and when the software upgrading of the remote control device is determined, acquiring a corresponding upgrading data packet from the display equipment connected with the remote control device. For example, when the display device connected to the remote control apparatus is a television, that is, when the main controller 311 determines to perform software upgrade, the corresponding upgrade data packet is acquired from the television connected to the remote control apparatus.
In one possible implementation manner, when the display device detects that there is a new software data packet, a software upgrade request command may be sent to the main controller 311, where the software upgrade request command may include software version information of the latest upgrade data packet; the main controller 311 determines whether to perform software upgrade on the remote control device according to a software upgrade request command transmitted from the display apparatus. Specifically, the main controller 311 can determine whether to upgrade the remote control device by comparing the current software version of the remote control device with the software version of the latest upgrade data packet.
The extended function module 320 is a module with independent functions, such as: the human body sensing module can comprise a sensor component which can collect data such as heart rate, blood pressure, temperature and the like of a human body; the extended function module 320 can collect related sensor data through the sensor assembly, and transmit the collected sensor data to the display device through a communication link between the remote control device and the display device; the display device executes corresponding operations according to the received sensor data, for example, if the display device determines that the current heart rate speed of the user of the handheld remote control device is high according to the received heart rate data, the display device may send a prompt message to the user through a corresponding display interface, or the display device may also send a voice prompt message to the user.
It should be noted that the extended function module 320 is not limited to the above-mentioned modules, and all modules having independent functions are within the scope of the present application.
Specifically, the extended function module 320 includes: and an auxiliary controller 321, where the auxiliary controller 321 is a control module of the extended function module 320, and the auxiliary controller 321 is configured to control operation and operation of the extended function module 320, and communication cooperation between internal components, and external and internal data processing functions, for example, functions such as a sensing data acquisition function, transmission of sensor data, and software upgrade of the extended function module 320. For example, the auxiliary controller 321 may also be an MCU, wherein the specific model of the MCU and the specification of the MCU may be set according to the requirement of the corresponding extended function module 320, which is not limited in the embodiment of the present application.
When the software upgrade of the extended function module 320 is implemented, the auxiliary controller 321 is configured to obtain a first upgrade file corresponding to the extended function module 320 from the main controller 311, and perform software upgrade on the extended function module 320 according to the first upgrade file.
Optionally, the remote control device 300 provided in the embodiment of the present application may include one or more extended function modules 320, and the number of the extended function modules 320 in the embodiment of the present application is not limited. If the remote control device 300 includes a plurality of extended function modules 320, each extended function module 320 includes a corresponding secondary controller, and the secondary controller of each extended function module 320 is similar to the secondary controller 321 described above, reference may be made to the description of the secondary controller 321, and in the embodiment of the present application, the remote control device 300 includes one extended function module 320 as an example.
The remote control device in this embodiment includes: the remote control device comprises a main function module and an extended function module, wherein the main function module comprises a main controller, the extended function module comprises an auxiliary controller, the main controller is used for judging whether software upgrading is carried out on the remote control device or not and determining that a corresponding upgrading data packet is obtained from display equipment connected with the remote control device when the software upgrading is carried out on the remote control device, and the upgrading data packet comprises a first upgrading file corresponding to the extended function module; the auxiliary controller is used for acquiring the first upgrading file from the main controller and upgrading software of the extended function module according to the first upgrading file. In the remote control device provided by this embodiment, the extended function module obtains the first upgrade file corresponding to the extended function module through the software upgrade process of the main function module, and then the extended function module performs software upgrade according to the obtained first upgrade file, and software upgrade of the extended function module is realized through a multi-device nested upgrade manner.
Fig. 3A is a schematic structural diagram of a remote control device according to another embodiment of the present application. This embodiment is a schematic structural diagram of the memory of the secondary controller in the embodiment shown in fig. 2.
As shown in fig. 3A, the memory 322 of the secondary controller 321 includes: a first application program area 323, a first application program backup area 324, and a first upgrade file temporary storage area 325.
The first application program area 323 is used for storing the application program currently used by the extended function module; the first application program backup area 324 is used for storing backup software data packages corresponding to the extended function module; the first upgrade file temporary storage area 325 is configured to store a first upgrade file corresponding to the extended function module acquired from the main controller.
Accordingly, when software upgrade is performed on the extended function module, the secondary controller 321 acquires a first upgrade file from the primary controller, and stores the acquired first upgrade file in the first upgrade file temporary storage area 325; then, the secondary controller 321 performs software upgrade on the extended function module according to the first upgrade file stored in the first upgrade file temporary storage area 325.
In one possible implementation manner, the secondary controller 321 obtains the first upgrade file from the primary controller, and stores the obtained first upgrade file in the first upgrade file temporary storage area 325; the auxiliary controller 321 checks the first upgrade file stored in the first upgrade file temporary storage region 325 to determine the correctness of the first upgrade file; optionally, the secondary controller 321 may perform a Cyclic Redundancy Check (CRC) on the first upgrade file stored in the first upgrade file temporary storage area 325.
It should be noted that, in the following embodiments, cyclic redundancy check is taken as an example for description, and it should be understood that, in practical application, other manners may also be used to check the first upgrade file stored in the first upgrade file temporary storage region, which is not limited in this embodiment of the present application.
If the secondary controller 321 determines that the cyclic redundancy check passes, copying the first upgrade file stored in the first upgrade file temporary storage region 325 to the first application region 323; the secondary controller 321 performs software upgrade on the extended function module by running the first upgrade file stored in the first application program region 323.
In this embodiment, since an error may occur in the process of copying the first upgrade file from the main function module to the first upgrade file temporary storage region, the auxiliary controller 321 performs cyclic redundancy check on the first upgrade file stored in the first upgrade file temporary storage region 325, and if the cyclic redundancy check passes, it indicates that the first upgrade file has no error in the copying process, and the reliability of the extended function module is improved by operating the correct first upgrade file.
In some cases, if the secondary controller 321 fails to verify the first upgrade file stored in the first upgrade file temporary storage region, and the secondary controller 321 repeatedly performs the steps of retrieving the first upgrade file from the primary controller and re-verifying; if the execution is repeated N times and the verification is still failed, the secondary controller 321 may obtain the backed-up software data packet from the first application program backup area 324, and perform software upgrade on the extended function module by running the backed-up software data packet.
In this embodiment, the auxiliary controller repeatedly performs the operation of reacquiring the first upgrade file from the main controller and performing cyclic redundancy check N times, and a correct first upgrade file is still not obtained, so that, to ensure normal operation of the extended function module, the auxiliary controller acquires and operates a backed-up software data packet from the first application program backup area, thereby ensuring reliability of the extended function module.
In a possible implementation manner, after the secondary controller 321 copies the first upgrade file stored in the first upgrade file temporary storage region 325 to the first application program region 323, the secondary controller may also check the first upgrade file stored in the first application program region 323; if the verification passes, the auxiliary controller 321 runs the first upgrade file to upgrade the software of the extended function module; if the verification fails, the first application region 323 may be cleared, and the first upgrade file may be retrieved from the first upgrade file temporary region 325 and verified again.
In this embodiment, since an error may occur in the process of copying the first upgrade file from the first upgrade file temporary storage region to the first application program region, the auxiliary controller 321 verifies the first upgrade file stored in the first upgrade application program region, and if the verification passes, it indicates that the error does not occur in the copying process of the first upgrade file, and by operating the correct first upgrade file, the reliability of the extended function module is improved.
In some cases, if the secondary controller 321 fails to verify the first upgrade file stored in the first upgrade application program area, and the secondary controller 321 repeatedly retrieves the first upgrade file from the first upgrade file temporary storage area 325 and re-verifies the first upgrade file; if the execution is repeated M times and the verification is still failed, the secondary controller 321 may obtain the backed-up software data package from the first application backup area 324, and perform software upgrade on the extended function module by running the backed-up software data package.
In this embodiment, the auxiliary controller repeatedly performs the operation of reacquiring the first upgrade file from the first upgrade file temporary storage region and performing the verification again M times, and a correct first upgrade file is not yet obtained, so that, to ensure the normal operation of the extended function module, the auxiliary controller acquires and operates the backed-up software data packet from the first application program backup region, thereby ensuring the reliability of the extended function module.
Fig. 3B is a schematic structural diagram of a remote control device according to another embodiment of the present application. As shown in fig. 3B, this embodiment is a schematic structural diagram of the memory of the host controller in the embodiment shown in fig. 2.
The memory 312 of the main controller 311 includes: a system boot bootloader area 313, a second application program area 314, a second application program backup area 315, and a second upgrade file temporary area 316.
The Bootloader area 313 is used for storing a bootstrap program, namely a Bootloader program, started by hardware of the remote control device, wherein the Bootloader program is an entry of a system program; the size of the storage space of the Bootload area 313 may be set according to actual requirements, and may be, for example, 2 KB.
In addition, an application program entry stored in the second application program backup area 315 is usually reserved in the Bootloader program, and in some special cases, when a system of the remote control device cannot operate normally, the application program stored in the first application program backup area may be called by the Bootloader program when the remote control device restarts the Bootloader program, so as to ensure that the remote control device recovers to a normal operation state, thereby improving the reliability of the remote control device.
The second application area 314 is used to store the application currently used by the remote control device. Specifically, the second application area 314 is used to store an application currently used by the main function module. The size of the storage space of the second application area 314 may be set according to the application currently used by the remote control device, i.e. the application currently used by the main function module, for example, the size of the storage space of the second application area 314 may be 128 KB.
Optionally, the second application area 314 further includes: and a status area for storing the status of the application program stored in the second application program area. The states of the application programs referred to herein may include: an application state (which may also be referred to as an APP state, or a main APP state) and a software state (which may also be referred to as an OTA state, or a main OTA state). Wherein, APP state and OTA state include respectively: a check state, a success state, and an idle state. In addition, process state parameters (also referred to as OTA status flags, OTA Flag, etc.) are included, including: normal and change states, where "normal" indicates no software upgrade is required and "change" indicates a software upgrade is required.
The second application program backup area 315 is used for storing backup of an application program used by the remote control device, wherein the second application program backup area 315 can backup the application program used by the remote control device when the remote control device leaves a factory in the area; accordingly, the size of the storage space of the second application program backup area 315 may be 128KB, for example, according to the setting of the application program used by the remote control device at the time of factory shipment.
Optionally, the second application backup area 315 further includes: a status area for storing the status of the backed-up application stored in the second application backup area 315.
It should be noted that the second application program area 314 is specifically used for storing application programs of the main function module; and the second application backup area 315 is specifically used to store a backup of the application of the main function module.
The second upgrade file temporary storage area 316 is used for caching upgrade data packets sent by a display device connected to the remote control device, after the upgrade data packets are stored in the second upgrade file temporary storage area 316, the main controller 311 may check the upgrade data packets stored in the second upgrade file temporary storage area 316 to determine the correctness of the upgrade data packets, and after the main controller 311 passes the check of the upgrade data packets, the upgrade data packets may be moved to the second application program area 314, and software upgrade may be performed according to the upgrade data packets.
Optionally, the second upgrade file buffer 316 includes: a third upgrade file temporary storage area and a fourth upgrade file temporary storage area; the third upgrade file temporary storage area is an upgrade file temporary storage area corresponding to the main function module in the memory of the main controller 311; the fourth upgrade file temporary storage area is an upgrade file temporary storage area corresponding to the extended function module in the memory of the main controller 311.
After the main controller obtains the upgrade data packet from the display device, the second upgrade file corresponding to the main function module can be stored in the third upgrade file temporary storage area, and the first upgrade file corresponding to the extended function module can be stored in the fourth upgrade file temporary storage area.
Optionally, the second upgrade file temporary storage area further includes: and the state area is used for storing the state of the upgrade data packet in the second upgrade file temporary storage area. Specifically, the status area is specifically configured to store a status of a second upgrade file corresponding to the main function module and a status of a first upgrade file corresponding to the extended function module.
In this embodiment, by respectively setting the state area and the data area in the second application program area, the second application program backup area, and the second upgrade file temporary storage area, when the main function module is upgraded and the extended function module is upgraded, corresponding operations can be executed on data stored in the corresponding data area according to state information stored in the corresponding state area, thereby ensuring correct and reliable execution of a software upgrade process.
Fig. 4 is a schematic structural diagram of a remote control device according to another embodiment of the present application. As shown in fig. 4, the remote control device includes a plurality of extended function modules, and the embodiment shown in fig. 4 is different from the embodiment shown in fig. 3 in that: the fourth upgrade file temporary storage region includes a plurality of data regions, wherein the data regions and the extended function modules may correspond to each other.
Illustratively, when the chip applied to the remote control device includes a different extended function modules, the fourth application area includes a data areas, where a is an integer greater than or equal to 1. The data areas correspond to the extended function modules, and each data area is used for storing a first upgrade file of the corresponding extended function module.
In this embodiment, the corresponding upgrade file temporary storage area is set for each extended function module in the main controller, and then the extended function module may obtain the first upgrade file from the corresponding area in the fourth upgrade file temporary storage area.
It should be noted that, in the embodiment of the present application, cyclic redundancy check may be adopted for checking the first upgrade file, the second upgrade file, and the upgrade data packet, and other checking manners may also be adopted.
Based on the embodiments shown in fig. 2 to 4, a software upgrading method applied to a remote control device according to the embodiments of the present application will be described in detail, and the checks for the first upgrade file, the second upgrade file, and the upgrade data packet, which are referred to hereinafter, are all described by taking a cyclic redundancy check as an example.
Fig. 5 is a flowchart of a software upgrading method applied to a remote control device according to an embodiment of the present application. The main body for executing the method of this embodiment may also be the remote control device provided in any one of the embodiments of fig. 2 to fig. 4. As shown in fig. 5, the method of the present embodiment includes:
s501, when the main controller determines to carry out software upgrading on the remote control device, a corresponding upgrading data packet is obtained from a display device connected with the remote control device, and the upgrading data packet comprises: and the auxiliary controller corresponds to a first upgrading file.
Specifically, the display device connected to the remote control apparatus may obtain, from the corresponding server side, information related to the latest upgrade data package corresponding to the remote control apparatus, for example, version information of the latest upgrade data package, where the version information is, for example, a software version number; when the display device detects that the software version of the latest upgrade data packet is inconsistent with the current software version of the remote control device stored in the display device, the display device may send a software upgrade request command to the remote control device, where the software upgrade request command includes version information of the latest upgrade data packet corresponding to the remote control device; the main controller of the remote control device determines whether software upgrading is needed to be carried out on the remote control device according to the software upgrading request command and the current software version of the main controller; and if the main controller determines that the software upgrading is needed, the main controller can send feedback information to the display equipment so as to instruct the display equipment to start a software upgrading process.
After the software upgrading process is started, the remote control device can obtain the upgrading data packet through a communication link between the remote control device and the display equipment. For example, the remote control device obtains the upgrade data package through a bluetooth communication link with the display apparatus.
S502, the auxiliary controller obtains the first upgrading file from the main controller.
Specifically, when the main controller determines that software upgrade needs to be performed on the extended function module according to version information of a first upgrade file included in the upgrade data packet and a current software version of the extended function module, the main controller sends the first upgrade file to the auxiliary controller. Correspondingly, the auxiliary controller receives the first upgrading file sent by the main controller.
And S503, the auxiliary controller carries out software upgrading on the auxiliary controller according to the first upgrading file.
Specifically, the auxiliary controller executes the first upgrade file, thereby implementing software upgrade on the extended function module.
In this embodiment, the extended function module obtains the first upgrade file corresponding to the extended function module through the software upgrade process of the main function module, and then the extended function module performs software upgrade according to the obtained first upgrade file, and software upgrade of the extended function module is realized through a multi-device nested upgrade manner.
Fig. 6 is a flowchart of a software upgrading method applied to a remote control device according to another embodiment of the present application. As shown in fig. 6, the method of the present embodiment includes:
s601, when the main controller determines to carry out software upgrading on the remote control device, a corresponding upgrading data packet is obtained from a display device connected with the remote control device, and the upgrading data packet comprises: and expanding a first upgrading file corresponding to the functional module.
Step S601 of this embodiment is similar to step S501 of the embodiment shown in fig. 5, and reference may be made to the detailed description of the embodiment shown in fig. 5, which is not repeated herein.
S502 in the embodiment shown in fig. 5 may include S602 to S605 of the present embodiment.
S602, the main controller acquires the current software version information of the extended function module.
Specifically, the main controller may read the current software version information of the extended function module from the extended function module according to the corresponding communication protocol through a dedicated communication interface, for example, I2C, UART, SPI, or the like.
S603, the main controller judges whether the current software version of the auxiliary controller is consistent with the software version of the first upgrade file.
If the primary controller determines that the current software version of the secondary controller is higher than the software version of the first upgrade file, S604 is performed.
S604, the main controller sends the first upgrading file to the auxiliary controller.
Correspondingly, the auxiliary controller receives the first upgrading file sent by the main controller.
S605, the auxiliary controller stores the first upgrade file to the second upgrade file temporary storage area.
With reference to the structure shown in fig. 3, the first upgrade file temporary storage area is a storage area in the memory of the auxiliary controller, where the storage area is used for caching the first upgrade file corresponding to the auxiliary controller. The auxiliary controller receives the first upgrading file sent by the main controller and stores the received first upgrading file to the first upgrading file temporary storage area.
S503 of the embodiment shown in fig. 5 may include S606 to S609 of the present embodiment.
S606, the auxiliary controller conducts cyclic redundancy check on the first upgrading file stored in the first upgrading file temporary storage area.
If the cyclic redundancy check passes, S607 is performed.
If the cyclic redundancy check fails, the process returns to step S604, so that the secondary controller retrieves the first upgrade file. In one possible implementation, if the execution is repeated N times and the cyclic redundancy check fails, the software upgrade on the extended function module is ended.
The purpose of this step is: the correctness of the first upgrade file received by the secondary controller is determined. Specifically, the auxiliary controller may determine the correctness of the first upgrade file received by the auxiliary controller by performing a cyclic redundancy check on the first upgrade file stored in the first upgrade file temporary storage region. If the cyclic redundancy check passes, it indicates that no error occurs in the process of moving the first upgrade file from the main controller to the first upgrade file temporary storage area of the auxiliary controller, then S607 is executed.
S607, the auxiliary controller copies the first upgrade file stored in the first upgrade file temporary storage region to the first application program region.
Referring to fig. 3, the first application program area is a storage area in the memory of the secondary controller, where the application program is currently used by the secondary controller.
Specifically, if the cyclic redundancy check passes, it is determined that the first upgrade file received by the auxiliary controller is correct and can be used for software upgrade of the auxiliary controller, and then the auxiliary controller copies the first upgrade file stored in the first upgrade file temporary storage region to the first application program region.
And S608, the auxiliary controller performs software upgrading on the auxiliary controller according to the first upgrading file stored in the first application program area.
Specifically, the auxiliary controller executes software upgrade on the auxiliary controller by running a first upgrade file stored in a first application program area.
In this embodiment, the auxiliary controller obtains the first upgrade file through the main controller, and then the auxiliary controller performs software upgrade according to the first upgrade file, so that software upgrade of the auxiliary controller is achieved. In this embodiment, the correctness of the first upgrade file acquired by the first upgrade file temporary storage region is determined by verifying the first upgrade file stored in the first upgrade file temporary storage region, so that the reliability of software upgrade of the extended function module is ensured.
Optionally, on the basis of the embodiment shown in fig. 6, after S608, the method may further include:
and S609, the auxiliary controller sends the first software upgrading success information to the main controller.
And S610, the main controller updates the software version information of the auxiliary controller according to the first software upgrading success information.
Specifically, the auxiliary controller sends the first software upgrading success information to the main controller, and the main controller updates the software version information of the auxiliary controller, so that the main controller can obtain correct software version information of the auxiliary controller when the next software updating is performed on the auxiliary controller.
Fig. 7 is a flowchart of a software upgrading method applied to a remote control device according to another embodiment of the present application. As shown in fig. 7, in the method of this embodiment, based on the embodiment shown in fig. 6, after the first upgrade file is copied from the first upgrade file temporary storage area to the first application program area, the secondary controller performs the following operations:
s608', the secondary controller performs a cyclic redundancy check on the first upgrade file stored in the first application program area.
If the cyclic redundancy check passes, S608 is performed.
If the cyclic redundancy check fails, the process returns to step S607 to retrieve the first upgrade file from the first upgrade file temporary storage area. In one possible implementation, if the M times are repeated and the cyclic redundancy check fails, S609' is performed.
If the M times of cyclic redundancy check fails, S609 'to S613' are performed.
S609', the secondary controller obtains the backed-up software data packet from the first application program backup area, and stores the obtained backed-up software data packet in the first application program area.
Specifically, the secondary controller clears the first application program area, acquires the backed-up software data package from the first application program backup area, and stores the acquired backed-up software data package in the first application program area.
S610', the secondary controller conducts cyclic redundancy check on the obtained backup software data packet.
If the cyclic redundancy check passes, S611' is performed.
If the cyclic redundancy check fails, the process returns to step S609'.
S611', the secondary controller runs the backed up software data packet stored in the first application program area.
Specifically, the secondary controller runs the backup software data packet stored in the first application program area to perform software upgrade on the secondary controller, that is, software upgrade on the extended function module.
The version of the backed-up software data package stored in the first application program backup area of the secondary controller may be written by the secondary controller when the secondary controller leaves a factory, or may be a software version updated at a previous time, which is not limited in this embodiment. In this step, if the auxiliary controller fails to acquire the first upgrade file, the auxiliary controller acquires the backup software data packet stored in the first application backup area and runs the backup software data packet, so as to ensure the reliability of the extended function module.
Optionally, S611' may further include:
s612', the auxiliary controller sends first software upgrading failure information to the main controller.
S613', the main controller updates the software upgrading state of the auxiliary controller according to the first software upgrading failure information.
Specifically, the auxiliary controller sends first software update failure information to the main controller, wherein the first software update failure information is used for indicating that the auxiliary controller fails to update software according to the first update file, and the main controller updates the software update state in the state area of the second application program area according to the first software update failure information, so that the subsequent main controller performs other subsequent operations according to the software update state of the auxiliary controller stored in the second application program area. And then the main controller can clear the temporary storage area of the fourth upgrade file so as to carry out the next software update.
In some cases, software updates to the master controller may also be required. The software upgrading process of the main controller will be described in detail below.
Fig. 8 is a flowchart of a software upgrading method applied to a remote control device according to another embodiment of the present application. As shown in fig. 8, the method of the present embodiment includes:
S701, when the main controller determines to carry out software upgrading on the remote control device, acquiring a corresponding upgrading data packet from a display device connected with the remote control device, wherein the upgrading data packet comprises: and the main controller corresponds to a second upgrade file.
Step S701 of this embodiment is similar to step S601 of the embodiment shown in fig. 6, and can refer to the detailed description of the embodiment shown in fig. 6, which is not repeated herein. The difference is that the upgrade data packet further includes a second upgrade file corresponding to the main controller. That is, the upgrade data package may include a first upgrade file and a second upgrade file.
S702, the main controller stores the upgrade data packet to a second upgrade file temporary storage area.
Specifically, the main controller stores the second upgrade file in the upgrade data packet to a third upgrade file temporary storage region, and stores the first upgrade file to a fourth upgrade file temporary storage region.
S703, the main controller performs cyclic redundancy check on the upgrade data packet stored in the second upgrade file temporary storage area.
If the cyclic redundancy check passes, S704 is performed.
If the cyclic redundancy check fails, the process returns to step S701 to retrieve the upgrade data packet from the display device. In one possible design, if the execution is repeated L times and the cyclic redundancy check fails, the software upgrade of the remote control device, that is, the upgrade of the main controller is ended.
Wherein L is an integer greater than 1.
And S704, the main controller controls the remote control device to restart.
S705, copying the second upgrade file stored in the second upgrade file temporary storage area to a third application program area through a Bootloader program.
Specifically, after the remote controller is restarted and powered on, the Bootloader program is started to run, the memory (for example, Flash) erasing operation is started, the second application program area is cleared, and the second upgrade file stored in the third upgrade file temporary storage area is copied to the second application program area.
In a possible implementation manner, after the main controller copies the second upgrade file stored in the third upgrade file temporary storage region to the second application program region, S707 is executed; in another possible implementation manner, after the main controller copies the second upgrade file stored in the third upgrade file temporary storage area to the second application program area, S706 is performed to perform cyclic redundancy check on the second upgrade file stored in the third application program area, so as to determine the correctness of the second upgrade file stored in the third application program area.
S706, the main controller conducts cyclic redundancy check on the second upgrade file stored in the second application program area.
If the cyclic redundancy check passes, S707 is executed.
If the cyclic redundancy check fails, the process returns to S705.
And S707, the main controller runs the second upgrade file stored in the second application program area to upgrade the software of the main controller.
In this embodiment, when determining that software upgrade is required, the main controller obtains an upgrade data packet from a display device connected to the remote control device, where the upgrade data packet includes a second upgrade file corresponding to the main controller; and the main controller carries out software upgrading on the main controller according to the second upgrading file. In addition, in the embodiment, the main controller performs cyclic redundancy check on the acquired upgrade data packet, so that the correctness of the acquired software data packet is ensured, and the reliability is improved; in this embodiment, if the primary controller fails to acquire the second upgrade file, the secondary controller acquires the backup software data packet stored in the backup area of the third application program and runs the backup software data packet, so as to ensure the reliability of the primary function module.
On the basis of the embodiment shown in fig. 8, after S707, the method may further include:
and S708, the main controller sends second software upgrading success information to the display equipment.
Correspondingly, the display device receives second software upgrading success information sent by the main controller, wherein the second software upgrading success information may include current software version information of the main controller, for example, the second software upgrading success information may include software version information of a second upgrading file; and the display equipment updates the software version information of the main controller according to the second software upgrading success information so that the display equipment can obtain correct software version information of the main controller.
And S709, the display equipment updates the software version information of the main controller according to the second software upgrading success information.
Fig. 9 is a flowchart of a software upgrading method applied to a remote control device according to another embodiment of the present application. As shown in fig. 9, in the method of this embodiment, based on the embodiment shown in fig. 8, after the second upgrade file is copied from the third upgrade file temporary storage area to the second application program area, and cyclic redundancy check is performed on the second upgrade file stored in the second application program area, the following operations may also be performed:
s707', the main controller obtains the backed-up software data packet from the second application program backup area, and stores the obtained backed-up software data packet in the second application program area.
Specifically, the main controller acquires a second upgrade file from a third upgrade file temporary storage area and performs cyclic redundancy check; and if the second upgrade file is obtained from the third upgrade file temporary storage area repeatedly R times and the cyclic redundancy check fails, the main controller clears the second application program area, obtains the backup software data packet from the second application program backup area and stores the obtained backup software data packet in the second application program area.
Wherein R is an integer greater than 1.
S708', the primary controller performs a cyclic redundancy check on the backed-up software data packet stored in the second application program area.
If the cyclic redundancy check passes, S709' is executed.
If the cyclic redundancy check fails, the process returns to step S707'.
S709', the main controller runs the backed up software data packet stored in the second application program area.
The version of the backed-up software data package stored in the second application program backup area may be written by the main controller when the main controller leaves the factory, or may be a software version corresponding to a previous update, which is not limited in this embodiment. In this step, if the main controller fails to acquire the second upgrade file, the main controller acquires the backup software data packet stored in the backup area of the second application program and runs the backup software data packet, so as to ensure the reliability of the main controller.
S710', the main controller sends second software upgrading failure information to the display device.
Correspondingly, the display device receives second software upgrading failure information sent by the main controller, wherein the second software upgrading failure information is used for indicating that the main controller fails to upgrade software according to a second upgrading file, and the second software upgrading failure information can include current software version information of the main controller, namely software version information of a backed-up software data packet is obtained again by a third application program backup area; and the display equipment updates the software version information of the main controller according to the second software upgrading failure information, and the display equipment can obtain correct software version information of the main controller.
And S711', the display device updates the software version information of the main controller according to the second software upgrading failure information.
The technical solutions shown in the above embodiments may be used alone or in combination, for example, in some cases, when the main function module and the extended function module need to be upgraded at the same time, the embodiments shown in fig. 5 to 9 may be used in combination. For example, FIG. 6 is used in conjunction with the embodiment shown in FIG. 8 to implement a software upgrade that updates the primary and secondary controllers.
Fig. 10 is a flowchart illustrating a state logic of a main controller for software upgrade according to an embodiment of the present application. When the main controller is used for upgrading software, the state and logic of the software upgrading can be controlled through the states of three parameters and a counter in the Bootload area.
Wherein, the three parameters may include: program state parameters and process state parameters.
Specifically, the program state parameters include: an application state (which may also be referred to as an APP state, or a main APP state) and a software state (which may also be referred to as an OTA state, or a main OTA state). Wherein, APP state and OTA state include respectively: a check state, a success state, and an idle state.
In addition, process state parameters (which may also be referred to as OTA status flags, OTA Flag, etc.) include: normal, which means that no software upgrade is required, and changed, which means that a software upgrade is required.
In addition, a counter (OTA Check Num) is used to detect the number of times of software update.
The above variables are respectively copied in the second application program area and the second application program backup area in the process of program operation, so that abnormal write operations of the variables under various unexpected conditions can not cause program abnormality.
As shown with reference to figure 10 of the drawings,
step (1): in the initial state, the APP state is a successful state, the OTA state is an idle state, and the OTA state flag is normal;
step (2): and the main controller downloads the upgrading data packet and performs cyclic redundancy check, and after the check is passed, the OTA state is set to be a check state, and the OTA state flag is set to be changed.
And (3): the remote control device is restarted, a Bootloader program is loaded, if the OTA state flag is judged to be changed at the moment, and the OTA state is a verification state, the APP state is set to be the verification state, and the OTA state is set to be a success state;
Simultaneously, erasing the data of the second application program area, and copying a second upgrade file of the third upgrade file temporary storage area to the second application program area;
and (4): restarting the system, adding 1 to a counter, setting the APP state to be a successful state if the application program of the new main function module runs normally, namely the second upgrade file runs successfully, setting the OTA state to be an idle state, setting the OTA state flag to be normal, resetting the counter, and successfully upgrading the software of the main function module;
and (5): and otherwise, waiting for the program to run overtime and reload the Bootloader program, running the step (3), if the program is continuously overtime and the value of the counter is R, for example, R is 3, setting the OTA state to be an idle state, copying the backup software data packet stored in the second application program backup area to the second application program area, resetting the counter, and returning to the step (4) for repeated execution if the software upgrading of the main function module fails.
An embodiment of the present application further provides a readable storage medium, including: carrying out a procedure; the program is executed by a processor to perform a software upgrade method applied to a remote control device as shown in any one of the above embodiments.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (13)

1. A remote control device, comprising: a main controller and an auxiliary controller;
the main controller is used for determining whether to perform software upgrading on the remote control device and acquiring an upgrading data packet from display equipment connected with the remote control device when determining to perform software upgrading, wherein the upgrading data packet comprises a first upgrading file corresponding to the auxiliary controller;
The auxiliary controller is used for acquiring the first upgrading file from the main controller and upgrading software of the auxiliary controller according to the acquired first upgrading file;
the memory area of the main controller includes: a second upgrade file temporary storage area; the second upgrade file temporary storage area is used for caching upgrade data packets acquired from display equipment connected with the remote control device; the second upgrade file temporary storage area includes: a third upgrading file temporary storage area corresponding to the main controller and a fourth upgrading file temporary storage area corresponding to the auxiliary controller;
correspondingly, the auxiliary controller is used for acquiring the first upgrade file from a fourth upgrade file temporary storage area of the main controller.
2. The remote control apparatus of claim 1, wherein the memory of the secondary controller comprises: the auxiliary controller comprises a first application program area and a first upgrade file temporary storage area, wherein the first application program area is used for storing an application program currently used by the auxiliary controller; the first upgrade file temporary storage area is used for storing a first upgrade file acquired from the main controller;
correspondingly, the auxiliary controller is specifically configured to receive the first upgrade file sent by the main controller, and store the first upgrade file to the first upgrade file temporary storage area; and moving the first upgrade file stored in the first upgrade file temporary storage area to the first application program area, and upgrading the software of the auxiliary controller according to the first upgrade file of the first application program area.
3. The remote control device of claim 1, wherein the primary controller is further configured to obtain a current software version of the secondary controller; determining whether the current software version of the secondary controller is consistent with the software version of the first upgrade file;
and if the software version of the first upgrading file is higher than the current software version of the auxiliary controller, the main controller is further used for sending the first upgrading file to the auxiliary controller so that the auxiliary controller can obtain the first upgrading file.
4. The remote control apparatus according to claim 2, wherein the secondary controller is specifically configured to verify the first upgrade file stored in the first upgrade file temporary storage; and after the verification is passed, moving the first upgrade file stored in the first upgrade file temporary storage area to the first application program area.
5. The remote control device of claim 4, wherein if the verification fails, the secondary controller is further configured to empty the first upgrade file temporary storage area, retrieve the first upgrade file from the primary controller, and verify the retrieved first upgrade file;
If the verification is not passed, the execution is repeated.
6. The remote control device according to claim 5, wherein if the execution is repeated N times and the verification fails, the secondary controller is further configured to send a first upgrade file download failure message to the primary controller, where N is a positive integer.
7. The remote control apparatus of any of claims 1-6, wherein the memory of the secondary controller further comprises: a first application program backup area; the first application program backup area is used for storing backup software data packages corresponding to the auxiliary controller;
and the auxiliary controller is further used for acquiring the backed-up software data packet from the first application program backup area and operating the backed-up software data packet to update the software version of the auxiliary controller when the software upgrading of the auxiliary controller according to the first upgrading file fails.
8. The remote control apparatus according to claim 7, wherein the secondary controller is further configured to send first software upgrade failure information to the primary controller, where the first software upgrade failure information is used to instruct the secondary controller to fail in software upgrade according to the first upgrade file.
9. The remote control apparatus of claim 1, wherein the memory area of the master controller further comprises: the system starts a boot Bootload area, a second application program area and a second application program backup area;
the Bootload area is used for storing a boot program started by hardware of the remote control device; the second application program area is used for storing application programs used by the remote control device; the second application program backup area is used for storing backup of the application program used by the remote control device.
10. The remote control apparatus according to claim 9, wherein the second upgrade file temporary storage area, the second application area, and the second application backup area each include: a status area and a data area.
11. A remote control apparatus as claimed in any one of claims 1 to 10, wherein the secondary controller is a controller of a human body induction module.
12. A software upgrading method is applied to a remote control device, and the remote control device comprises the following steps: a main controller and an auxiliary controller; the memory area of the main controller includes: a second upgrade file temporary storage area; the second upgrade file temporary storage area includes: a third upgrading file temporary storage area corresponding to the main controller and a fourth upgrading file temporary storage area corresponding to the auxiliary controller; the method comprises the following steps:
When the main controller determines to carry out software upgrading on the remote control device, acquiring a corresponding upgrading data packet from display equipment connected with the remote control device, wherein the upgrading data packet comprises a second upgrading file corresponding to the controller and a first upgrading file corresponding to the auxiliary controller;
the main controller stores the second upgrade file to the third upgrade file temporary storage region and stores the first upgrade file to the fourth upgrade file temporary storage region;
the auxiliary controller acquires the first upgrade file from a fourth upgrade file temporary storage area of the main controller;
and the auxiliary controller carries out software upgrading on the auxiliary controller according to the first upgrading file.
13. The method of claim 12, wherein prior to the secondary controller obtaining the first upgrade file from the primary controller, the method further comprises:
the main controller obtains the current software version of the auxiliary controller;
the main controller judges whether the current software version of the auxiliary controller is consistent with the software version of the first upgrade file;
and if the software version of the first upgrading file is higher than the current software version of the auxiliary controller, the main controller sends the first upgrading file to the auxiliary controller.
CN202010598831.9A 2020-06-28 2020-06-28 Software upgrading method applied to remote control device and remote control device Active CN111787378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010598831.9A CN111787378B (en) 2020-06-28 2020-06-28 Software upgrading method applied to remote control device and remote control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010598831.9A CN111787378B (en) 2020-06-28 2020-06-28 Software upgrading method applied to remote control device and remote control device

Publications (2)

Publication Number Publication Date
CN111787378A CN111787378A (en) 2020-10-16
CN111787378B true CN111787378B (en) 2022-06-28

Family

ID=72760644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010598831.9A Active CN111787378B (en) 2020-06-28 2020-06-28 Software upgrading method applied to remote control device and remote control device

Country Status (1)

Country Link
CN (1) CN111787378B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559003B (en) * 2020-11-17 2023-03-03 东风汽车集团有限公司 Domain controller software upgrading method and device and domain controller

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030006140A (en) * 2001-07-11 2003-01-23 (주)라인게이트 Apparatus and method for updating software installed in personal computer through network
US7430735B1 (en) * 2002-05-07 2008-09-30 Lucent Technologies Inc. Method, system, and computer program product for providing a software upgrade in a network node
CN102681871A (en) * 2012-04-25 2012-09-19 广州致远电子股份有限公司 Firmware upgrading system based on communication interfaces
CN105912340A (en) * 2016-04-26 2016-08-31 江苏惠通集团有限责任公司 Primary device, remote control and overhead upgrading method of remote control
CN106293824A (en) * 2016-08-04 2017-01-04 青岛海信电器股份有限公司 A kind of from the method and device processing chip upgrade
CN107479927A (en) * 2017-08-14 2017-12-15 青岛海信宽带多媒体技术有限公司 The firmware upgrade method and device of pattern of fusion all-in-one

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100597268B1 (en) * 2004-11-23 2006-07-06 서울통신기술 주식회사 Program Upgrade Remote Control System of the Micom and Remote Control Method thereof
JP2007174220A (en) * 2005-12-21 2007-07-05 Sony Corp Device control system, remote controller, and recording/reproduction device
JP5326918B2 (en) * 2009-08-05 2013-10-30 株式会社リコー Electronic device, software update method, program, and recording medium
IT1397835B1 (en) * 2010-02-11 2013-02-04 Meliconi Spa PROCEDURE FOR UPDATING A PROGRAMMABLE REMOTE CONTROL.
CN105183525A (en) * 2015-10-09 2015-12-23 深圳市网心科技有限公司 Upgrading method of system software and electronic equipment for implementing upgrading method
CN107766064A (en) * 2016-08-17 2018-03-06 中兴通讯股份有限公司 The method and device of component upgrade
CN111045713A (en) * 2019-12-19 2020-04-21 浪潮(北京)电子信息产业有限公司 Method, system and device for upgrading computer system
CN111240720A (en) * 2020-03-27 2020-06-05 武汉光谷信息光电子创新中心有限公司 Boot program upgrading method and device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030006140A (en) * 2001-07-11 2003-01-23 (주)라인게이트 Apparatus and method for updating software installed in personal computer through network
US7430735B1 (en) * 2002-05-07 2008-09-30 Lucent Technologies Inc. Method, system, and computer program product for providing a software upgrade in a network node
CN102681871A (en) * 2012-04-25 2012-09-19 广州致远电子股份有限公司 Firmware upgrading system based on communication interfaces
CN105912340A (en) * 2016-04-26 2016-08-31 江苏惠通集团有限责任公司 Primary device, remote control and overhead upgrading method of remote control
CN106293824A (en) * 2016-08-04 2017-01-04 青岛海信电器股份有限公司 A kind of from the method and device processing chip upgrade
CN107479927A (en) * 2017-08-14 2017-12-15 青岛海信宽带多媒体技术有限公司 The firmware upgrade method and device of pattern of fusion all-in-one

Also Published As

Publication number Publication date
CN111787378A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
KR101251250B1 (en) System for performing remote control using remote device driver and method for performing the same
US20080216066A1 (en) Program upgrade system and method for ota-capable mobile terminal
CN107273160A (en) A kind of method and device of edition upgrading
US20160085538A1 (en) Over-the-air updates for ble devices
CN107066300B (en) Firmware upgrading method of storage device and storage device
WO2005116827A1 (en) A method for remotely upgrading the firmware of a target device using wireless technology
WO2019037724A1 (en) Method for upgrading application of mobile terminal, storage device, and mobile terminal
WO2014194865A1 (en) Firmware upgrade method and apparatus, and communication device
CN113760332A (en) Software upgrading method and electronic equipment
CN111787378B (en) Software upgrading method applied to remote control device and remote control device
CN111459523A (en) Image quality chip software upgrading method and device, electronic equipment and storage medium
CN110865837A (en) Method and terminal for upgrading system
KR101366993B1 (en) System for providing remote device driver and mehtod for providing remote device driver
JP2013025426A (en) Image output device and program therefor
WO2024078218A1 (en) System booting method and electronic device
CN107844318B (en) Upgrading method of operating system, mobile terminal and server
CN103902377A (en) Terminal device and operating state synchronization method of terminal device
CN115756530A (en) Equipment upgrading method and device, storage medium, electronic equipment and server
CN114398065B (en) Micro front-end system updating method and device, electronic equipment and storage medium
CN112463199A (en) System upgrading method and terminal
CN114880003A (en) System upgrading method of intelligent terminal, intelligent terminal and storage medium
CN114268930A (en) Remote control device matching method, electronic device and readable storage medium
CN114217831A (en) Multifunctional software upgrading method and system for embedded system
TWI792147B (en) Management system and device operation method with preloaded user interface
CN111338667B (en) Application program APP upgrading method and 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
GR01 Patent grant
GR01 Patent grant