CN113115417B - Wireless upgrading method and device for remote controller program, remote controller and electric appliance system - Google Patents

Wireless upgrading method and device for remote controller program, remote controller and electric appliance system Download PDF

Info

Publication number
CN113115417B
CN113115417B CN202110306741.2A CN202110306741A CN113115417B CN 113115417 B CN113115417 B CN 113115417B CN 202110306741 A CN202110306741 A CN 202110306741A CN 113115417 B CN113115417 B CN 113115417B
Authority
CN
China
Prior art keywords
program
upgrading
remote controller
wireless communication
key
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
CN202110306741.2A
Other languages
Chinese (zh)
Other versions
CN113115417A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202110306741.2A priority Critical patent/CN113115417B/en
Publication of CN113115417A publication Critical patent/CN113115417A/en
Application granted granted Critical
Publication of CN113115417B publication Critical patent/CN113115417B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0254Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Selective Calling Equipment (AREA)
  • Stored Programmes (AREA)

Abstract

The application relates to a method and a device for wireless upgrading of a remote controller program, a remote controller and an electric appliance system. The remote controller comprises a wireless communication module for carrying out wireless communication with controlled equipment which sends a new version program, and the wireless communication module is in a dormant state when a wireless upgrading process is not executed; based on the method, when the fact that the key on the remote controller is triggered is detected, whether paired controlled equipment exists around is judged; and judging whether the wake-up condition is met or not when the wake-up condition exists; and when the program upgrading conditions are met, the wireless communication module is awakened to execute the wireless communication action, then whether the program upgrading conditions are met or not is judged according to the communication result, and the program upgrading process is executed when the program upgrading conditions are met. Due to the arrangement, the wireless communication module is in the dormant state in a normal state, so that the power consumption of the remote controller can be effectively reduced; moreover, when the program upgrading condition is met, seamless upgrading can be realized, and the normal use of the remote controller cannot be influenced.

Description

Wireless upgrading method and device for remote controller program, remote controller and electric appliance system
Technical Field
The present application relates to the technical field of wireless upgrading of remote control programs, and in particular, to a method and an apparatus for wireless upgrading of a remote control program, a remote control, and an electrical system.
Background
Many household/commercial appliances, such as an air conditioner indoor unit, are controlled by using a remote controller, and nowadays, more and more appliances provide a wireless upgrade function for a program of the remote controller.
At present, in order to implement wireless upgrade, a remote controller needs to maintain wireless connection with a device (generally, a controlled device, such as an air conditioner internal unit) for sending a new version program, that is, a wireless module of the remote controller needs to operate for a long time, so that after a wireless upgrade function is added, power consumption of the remote controller is significantly increased. And because the remote controller uses the dry battery to supply power usually, consequently, after increasing wireless upgrading function, need frequently change the battery, lead to user experience relatively poor.
Disclosure of Invention
The application provides a wireless upgrading method and device for a remote controller program, a remote controller and an electrical appliance system, and aims to solve the problem that user experience is poor due to the fact that batteries need to be frequently replaced after a wireless upgrading function is added to the remote controller.
The above object of the present application is achieved by the following technical solutions:
in a first aspect, an embodiment of the present application provides a method for wirelessly upgrading a remote controller program, where the remote controller includes a wireless communication module, and the method includes:
when detecting that a key on a remote controller is triggered, judging whether paired controlled equipment exists around;
if yes, judging whether a preset awakening condition for awakening the wireless communication module is met;
if the awakening condition is met, awakening the wireless communication module so as to enable the wireless communication module to carry out wireless communication with the controlled equipment;
judging whether a preset program upgrading condition is met or not according to a communication result;
and if the program upgrading conditions are met, executing a program upgrading process.
Optionally, the wake-up condition includes:
the time interval between the triggering of the key detected this time and the triggering of the key detected last time reaches a preset time interval; and/or the presence of a gas in the atmosphere,
and detecting that the triggered key is consistent with the preset key or the preset combined key.
Optionally, the program upgrade condition includes:
the version information of the program stored in the controlled device is different from the version information of the program currently operated by the remote controller, and the communication result comprises a requirement upgrading instruction sent by the controlled device.
Optionally, the executing program upgrading process includes:
receiving a new version of program executable file sent by the controlled device;
and after the receiving is finished, if no key is detected to be triggered within continuous first preset time, executing the program executable file to upgrade the program.
Optionally, the method further includes:
before executing the program upgrading process, the currently running program is backed up, so that the program is rolled back to the backed-up program after the program upgrading fails.
Optionally, the method further includes:
if the paired controlled equipment does not exist around, executing a pairing process, including: and continuously sending the pairing signal within a second preset time so that the peripheral controlled equipment completes pairing after detecting the pairing signal.
Optionally, the method further includes:
and if the preset number of times of continuous wireless communication with the successfully paired controlled equipment cannot be completed, re-executing the pairing process.
Optionally, the controlled device for sending the new version program is in communication connection with the server, so as to send the model information of the paired remote controllers to the server, and obtain the new version program information and the program executable file sent by the server.
Optionally, the method further includes:
and after the program upgrading process is executed, sending the upgrading result to the controlled equipment so as to enable the controlled equipment to forward the upgrading result to the server when the upgrading result is successful, and re-executing the program upgrading process when the upgrading result is unsuccessful.
In a second aspect, an embodiment of the present application further provides a device for wirelessly upgrading a remote controller program, where the remote controller includes a wireless communication module, and the device includes:
the first judgment module is used for judging whether paired controlled equipment exists around when the fact that a key on the remote controller is triggered is detected;
the second judgment module is used for judging whether a preset awakening condition for awakening the wireless communication module is met or not if the second judgment module exists;
the awakening module is used for awakening the wireless communication module if the awakening condition is met so as to enable the wireless communication module to carry out wireless communication with the controlled equipment;
the third judging module is used for judging whether the preset program upgrading condition is met or not according to the communication result;
and the execution module is used for executing the program upgrading process if the program upgrading conditions are met.
In a third aspect, an embodiment of the present application further provides a remote controller, which includes a controller;
the controller comprises a memory and a processor connected with the memory;
the memory for storing a program for implementing at least the method of any one of the first aspect;
the processor is used for calling and executing the program stored in the memory.
In a fourth aspect, an embodiment of the present application further provides an electrical appliance system, which includes a controlled device and the remote controller described in the third aspect.
Optionally, the controlled device is an air conditioner internal unit.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
according to the technical scheme provided by the embodiment of the application, the wireless communication module used for acquiring the upgrading information on the remote controller is set to be in a dormant state when the program upgrading process is not executed, and based on the dormant state, when the fact that a key on the remote controller is triggered is detected, whether paired controlled equipment exists around is judged; and judging whether the wake-up condition is met or not when the wake-up condition exists; and when the program upgrading conditions are met, the wireless communication module is awakened to execute the wireless communication action, then whether the program upgrading conditions are met or not is judged according to the communication result, and the program upgrading process is executed when the program upgrading conditions are met. Due to the arrangement, the wireless communication module is in the dormant state in a normal state, so that the power consumption of the remote controller can be effectively reduced; moreover, when the program upgrading condition is met, seamless upgrading can be realized, and the normal use of the remote controller cannot be influenced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic flowchart of a method for wirelessly upgrading a remote control program according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a wireless upgrading apparatus for a remote controller program according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a remote controller according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In order to solve the problems mentioned in the background art, namely, after the wireless upgrading function is added, the battery needs to be frequently replaced, so that the user experience is poor, the application provides a wireless upgrading scheme of a remote controller program, the program can be upgraded according to the actual use condition of remote controller equipment as required, and therefore the power consumption of the remote controller after the wireless upgrading function is added can be effectively reduced, and the remote controller can be upgraded seamlessly, so that the normal use is not influenced. The embodiments of the present application are described in detail below by way of examples.
Examples
For convenience of explanation, the overall configuration of a remote controller to which the present invention can be applied will be briefly described. The remote controller at least comprises a main controller and a wireless communication module for wireless upgrade, and it is understood that in a specific application, the remote controller further comprises a power supply module for managing power supply, a control signal sending module for sending a control signal to a controlled device, and a storage module for storing a program text. The remote controller is in a standby state by default, and only the display screen is refreshed at regular time. And the wireless communication module is in a dormant state when the wireless upgrading process is not executed, and the dormant state can be realized by controlling the power supply module to cut off the power supply of the wireless communication module by the main controller. In addition, the control signal sending module is preferably an infrared sending module which is a commonly used control signal sending module in a remote controller, the infrared sending module is selected to ensure compatibility with a machine type with an infrared receiving head, and energy consumption can be saved by utilizing infrared rays for remote control.
On the basis of the remote controller, referring to fig. 1, fig. 1 is a schematic flow chart of a method for wirelessly upgrading a remote controller program according to an embodiment of the present application. Wherein the method is performed by a master controller of the remote control. As shown in fig. 1, the method comprises at least the following steps:
s101: when detecting that a key on a remote controller is triggered, judging whether paired controlled equipment exists around;
specifically, the triggering of the key in this step means that any key on the remote controller is pressed/touched by the user, where the key includes an entity key and a virtual key on the touch screen. When the key of the remote controller is triggered, a control signal is sent outwards to indicate that the user wants to control the controlled equipment, and the controlled equipment needs to be in a power-on state. At this time, the main controller determines whether there is a paired controlled device around, that is, determines whether the remote controller has been successfully paired with the controlled device, and the successfully paired controlled device is currently in an operating state (otherwise, the controlled device cannot be detected). More specifically, taking the wireless communication module as the most common bluetooth module in the wireless upgrade function as an example, the paired controlled device refers to a controlled device that has been successfully paired in advance, and in this case, when the wireless bluetooth module is awakened, it can directly and quickly perform bluetooth connection with the controlled device.
S102: if yes, judging whether a preset awakening condition for awakening the wireless communication module is met;
specifically, if there are paired controlled devices around, it is indicated that the conditions for wireless communication are met, and at this time, it is continuously determined whether wireless upgrade of the remote control program is required under the current conditions.
Wherein, in some embodiments, the wake-up condition comprises: the time interval between the triggering of the key detected this time and the triggering of the key detected last time reaches a preset time interval; and/or detecting that the triggered key is consistent with a preset key or a preset combined key.
That is, the wake-up condition is that the time interval between the last two times of pressing the key reaches a preset time interval, for example, 0.5 hour, in this case, it indicates that the control frequency of the controlled device by the user is low, and at this time, when the wireless communication module is woken up, the normal use of the remote controller by the user is not greatly affected. The second wake-up condition is that a specific key is arranged on the remote controller, and when the key is triggered, an instruction for waking up the wireless communication module is generated, or the remote controller is set to generate an instruction for waking up the wireless communication module when a plurality of specific keys are simultaneously triggered. The first wake-up condition may be referred to as a passive wake-up condition, the second wake-up condition may be referred to as an active wake-up condition, and the second wake-up condition is preferably a combination key, so that abnormal wake-up caused by false triggering of the key can be effectively avoided.
In addition, if there is no paired controlled device in the surrounding, a pairing procedure is performed, including: and continuously sending the pairing signal within a second preset time so that the peripheral controlled equipment completes pairing after detecting the pairing signal.
For example, taking a controlled device as an air conditioner internal unit and a wireless communication module of a remote controller as a bluetooth module as an example, the remote controller exposes itself at a fixed frequency point for three minutes according to a fixed name "GREEYKSJ", and the air conditioner internal unit equipped with a remote control wireless bluetooth upgrading function can search and pair surrounding devices with a name "GREEYKSJ" at any time and send data containing a local model and a local serial number to the remote controller. Once the remote controller obtains the internal machine model or the internal machine serial number which can be controlled by the remote controller, the remote controller is fixedly paired with the internal machine for communication without changing.
S103: if the awakening condition is met, awakening the wireless communication module so as to enable the wireless communication module to carry out wireless communication with the controlled equipment;
specifically, when the wake-up condition is met, the power module is connected with the power supply of the wireless communication module, and then the wireless communication module is quickly connected with the controlled equipment, so that the remote controller is in wireless communication with the controlled equipment through the wireless communication module.
And, if the wireless communication with the successfully paired controlled device for a preset number of times (for example, 10 times) cannot be completed, re-executing the pairing procedure. And after the pairing is successful, updating the information of the paired controlled equipment.
S104: judging whether a preset program upgrading condition is met or not according to a communication result;
specifically, in some embodiments, the program upgrade condition includes: the version information of the program stored in the controlled equipment is different from the version information of the program currently operated by the remote controller, and the communication result comprises a requirement upgrading instruction sent by the controlled equipment.
That is, the data of the wireless communication includes version information of the currently stored remote controller program sent by the controlled device to the remote controller, and the upgrading request command sent by the controlled device. And when the version information of the remote controller program currently stored by the controlled equipment is different from the version information of the program currently operated by the remote controller, the remote controller program with the new version is indicated to exist, and based on the result, the remote controller can carry out program upgrading when the controlled equipment requires the remote controller to carry out program upgrading.
S105: and if the program upgrading conditions are met, executing a program upgrading process.
Specifically, when the program upgrading condition is met, a program upgrading process is executed to upgrade the remote controller program.
More specifically, in step S105, the executing the program upgrading process specifically includes: receiving a new version of program executable file sent by a controlled device; and after the receiving is finished, if no key is detected to be triggered within continuous first preset time, executing the program executable file to upgrade the program.
That is to say, when the upgrade process is executed, the controlled device sends an executable file of a new version program to the remote controller through the controlled device and the wireless communication module of the remote controller, the remote controller first stores the file after receiving the file, and detects whether any key is triggered within a first preset time, that is, detects whether a user performs key operation on the remote controller within the first preset time, and if no key operation is detected, it indicates that the remote controller is currently in an idle state, at this time, chip program erasing and resetting is performed, and upgrade is completed. The first preset time may be 0.5 hour, for example.
And if the key operation is detected within the first preset time, it indicates that the remote controller is currently in a use state, the chip program erasing reset is delayed, the remote controller re-executes the wireless communication with the controlled device, and then judges whether the preset program upgrading condition is met according to the latest communication result, that is, the wireless communication process in the step S103 is returned, and the subsequent steps are executed: if the remote controller program information stored by the paired controlled equipment end is the same as the current running program information, cancelling the chip erasing reset action, and marking the data of the storage module as temporary storage for standby; and if the program information of the paired Bluetooth terminal is different from the program information in the storage module and the paired Bluetooth requires upgrading, receiving the program, storing the received program executable file in the storage module after the verification is passed, and executing an upgrading process when the remote controller is in an idle state next time.
In addition, in some embodiments, in order to avoid the failure of the upgrade to make the remote controller unable to be used normally, the method further includes: before executing the program upgrading process, the currently running program is backed up, so that the program is rolled back to the backed-up program after the program upgrading fails. That is, before erasing and resetting the chip program, the original program is backed up, and if the program is normally jumped to run after the erasing and resetting, the current program code backup is deleted; and if the program cannot jump normally after erasing and writing, rolling back to the backup program.
On the basis, after the program upgrading process is executed, the remote controller can be set to send the upgrading result to the controlled equipment, so that the program upgrading process is executed again when the upgrading result is upgrading failure. When the program upgrading process is not executed for a plurality of times (for example, three times), the received remote controller program is deleted, and the controlled device marks the corresponding remote controller program as unavailable.
In order to make the solution of the present application easier to understand, the following description is made from the controlled device side.
During specific implementation, the controlled device for sending the new version program is in communication connection with the server so as to send the model information of the paired remote controllers to the server and obtain the program information and the program executable file which are sent by the server and correspond to the paired new version program of the remote controllers.
For example, continuing to take the controlled device as an air conditioner internal unit as an example, a GPRS module is connected to an air conditioner internal unit terminal on a unit network (such as CAN or RS485), so that the internal unit CAN communicate with a server through the GPRS module on the unit network, and the communication content includes model information, program information, and a program executable file of a paired remote controller. And the internal machine is provided with a Bluetooth module, remote controller equipment is searched every two minutes, and when remote controller equipment information different from the archived remote controller equipment information is acquired, the information is recorded. When the internal machine stores a new version of remote controller program issued by the server, the internal machine sends remote controller program information and an upgrading requirement instruction to the corresponding remote controller, and if the corresponding remote controller responds to the upgrading instruction, the internal machine sends a corresponding executable file to the corresponding remote controller.
On the basis, when the upgrading result is successful, the controlled device can be set to forward the upgrading result to the server. And when the continuous multiple upgrades fail, the controlled device sends reminding information to the server to remind the server to verify.
When the upgrading process is finished, the power supply of the wireless communication module is cut off again, so that the wireless communication module is restored to the dormant state to reduce the power consumption.
Furthermore, since the remote controller usage is somewhat special, there is only a control function of transmitting a control signal (infrared signal), and there is no need to receive return data. Therefore, except for the wireless upgrading module program, the corresponding remote controller control program framework can be designed into a program version iteration mode which is only increased but not decreased, namely, the program of each version can be subjected to function increase and infrared code sequence increase on the original basis, and a remote control receiving end judges whether corresponding operation needs to be executed or not.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
according to the technical scheme provided by the embodiment of the application, the wireless communication module used for acquiring the upgrading information on the remote controller is set to be in a dormant state when the program upgrading process is not executed, and based on the dormant state, when the fact that a key on the remote controller is triggered is detected, whether paired controlled equipment exists around is judged; and judging whether the wake-up condition is met or not when the wake-up condition exists; and when the program upgrading conditions are met, the wireless communication module is awakened to execute the wireless communication action, then whether the program upgrading conditions are met or not is judged according to the communication result, and the program upgrading process is executed when the program upgrading conditions are met. Due to the arrangement, the wireless communication module is in the dormant state in a normal state, so that the power consumption of the remote controller can be effectively reduced; moreover, when the program upgrading condition is met, seamless upgrading can be realized, and the normal use of the remote controller cannot be influenced.
Based on the same inventive concept, the embodiment of the present application further provides a wireless upgrading apparatus for a remote control program, corresponding to the wireless upgrading method for a remote control program provided in the above embodiment. The device is a software-based functional module in a controller for performing the above method.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a wireless upgrade apparatus for a remote controller program according to an embodiment of the present application. As shown in fig. 2, the apparatus includes at least:
the first judging module 21 is configured to, when it is detected that a key on the remote controller is triggered, judge whether paired controlled devices exist around the remote controller;
a second determining module 22, configured to determine whether a preset wake-up condition for waking up the wireless communication module is met if the first determining module exists;
the awakening module 23 is configured to awaken the wireless communication module if the awakening condition is met, so that the wireless communication module performs wireless communication with the controlled device;
a third judging module 24, configured to judge whether a preset program upgrading condition is met according to the communication result;
and the execution module 25 is configured to execute the program upgrading process if the program upgrading condition is met.
Optionally, the wake-up condition includes:
the time interval between the triggering of the key detected this time and the triggering of the key detected last time reaches a preset time interval; and/or the presence of a gas in the gas,
the key triggered at this time is detected to be consistent with a preset key or a preset combined key.
Optionally, the program upgrade condition includes:
the version information of the program stored in the controlled device is different from the version information of the program currently operated by the remote controller, and the communication result comprises a requirement upgrading instruction sent by the controlled device.
Optionally, when the execution module 25 executes the program upgrading process, it is specifically configured to:
receiving a new version of program executable file sent by the controlled device;
and after the receiving is finished, if no key is detected to be triggered within continuous first preset time, executing the program executable file to upgrade the program.
Optionally, the apparatus further comprises:
and the backup module is used for backing up the currently running program before the program upgrading process is executed so as to roll back to the backed-up program after the program upgrading fails.
Optionally, the apparatus further comprises:
the pairing module is configured to execute a pairing procedure if there is no paired controlled device around the paired controlled device, and includes: and continuously sending the pairing signal within a second preset time so that the surrounding controlled equipment completes pairing after detecting the pairing signal.
Optionally, the pairing module is further configured to:
and if the preset number of times of continuous wireless communication with the successfully paired controlled equipment cannot be completed, re-executing the pairing process.
Optionally, the controlled device for sending the new version program is in communication connection with the server, so as to send the model information of the paired remote controllers to the server, and obtain the new version program information and the program executable file sent by the server.
Optionally, the execution module is further configured to:
and after the program upgrading process is executed, sending the upgrading result to the controlled equipment so as to enable the controlled equipment to forward the upgrading result to the server when the upgrading result is successful, and re-executing the program upgrading process when the upgrading result is unsuccessful.
For a specific implementation method of the steps executed by each module in the apparatus, reference may be made to the foregoing method embodiment, which is not described herein again.
Based on the same inventive concept, the embodiment of the present application further provides a remote controller corresponding to the method for upgrading a remote controller program provided in the above embodiment.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a remote controller according to an embodiment of the present disclosure. As shown in fig. 3, the remote controller includes a controller; the controller comprises a memory 31 and a processor 32 connected with the memory 31; the memory 31 is used for storing a program for implementing at least the wireless upgrade method of the remote controller program described in the foregoing embodiment; the processor 32 is used to call and execute the program stored in the memory 31.
For specific implementation methods of each step of the method implemented by the program, reference may be made to the foregoing method embodiments, and details are not described here again.
In addition, the embodiment of the application also provides an electric system, and the electric system comprises a controlled device and the remote controller shown in fig. 3. Optionally, the controlled device is an air conditioner internal unit.
In addition, the embodiment of the present application further provides a storage medium, on which a program is stored, and the program is used for implementing the wireless upgrade method of the remote controller program according to the foregoing embodiment when being executed by a processor.
According to the technical scheme, the program can be upgraded according to the actual use condition of the remote controller equipment as required, so that the power consumption of the remote controller with the wireless upgrading function can be effectively reduced, and the remote controller can be upgraded seamlessly without affecting normal use.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present application, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (12)

1. A method for wireless upgrading of a remote control program, the remote control comprising a wireless communication module, the method comprising:
when detecting that a key on a remote controller is triggered, judging whether paired controlled equipment exists around;
if yes, judging whether a preset awakening condition for awakening the wireless communication module is met;
if the awakening condition is met, awakening the wireless communication module so as to enable the wireless communication module to carry out wireless communication with the controlled equipment;
judging whether a preset program upgrading condition is met or not according to a communication result;
if the program upgrading conditions are met, executing a program upgrading process;
the wake-up condition comprises:
the time interval between the triggering of the key detected this time and the triggering of the key detected last time reaches a preset time interval; and/or the presence of a gas in the atmosphere,
the key triggered at this time is detected to be consistent with a preset key or a preset combined key.
2. The method of claim 1, wherein the program upgrade condition comprises:
the version information of the program stored in the controlled device is different from the version information of the program currently operated by the remote controller, and the communication result comprises a requirement upgrading instruction sent by the controlled device.
3. The method of claim 1, wherein the performing a program upgrade procedure comprises:
receiving a new version of program executable file sent by the controlled device;
and after the receiving is finished, if no key is detected to be triggered within continuous first preset time, executing the program executable file to upgrade the program.
4. The method of claim 1, further comprising:
before executing the program upgrading process, the currently running program is backed up, so that the program is rolled back to the backed-up program after the program upgrading fails.
5. The method of claim 1, further comprising:
if the paired controlled equipment does not exist around, executing a pairing process, including: and continuously sending the pairing signal within a second preset time so that the surrounding controlled equipment completes pairing after detecting the pairing signal.
6. The method of claim 1, further comprising:
and if the preset number of times of continuous wireless communication with the successfully paired controlled equipment cannot be completed, re-executing the pairing process.
7. The method according to any one of claims 1 to 6, wherein the controlled device for transmitting the new version program is in communication connection with a server so as to transmit model information of the paired remote controllers to the server and acquire the new version program information and the program executable file transmitted by the server.
8. The method of claim 7, further comprising:
and after the program upgrading process is executed, sending the upgrading result to the controlled equipment so as to enable the controlled equipment to forward the upgrading result to the server when the upgrading result is successful, and re-executing the program upgrading process when the upgrading result is unsuccessful.
9. A device for wireless upgrading of a remote control program, the remote control comprising a wireless communication module, the device comprising:
the first judgment module is used for judging whether paired controlled equipment exists around when the fact that a key on the remote controller is triggered is detected;
the second judgment module is used for judging whether a preset awakening condition for awakening the wireless communication module is met or not if the second judgment module exists;
and the awakening module is used for awakening the wireless communication module if the awakening condition is met so as to enable the wireless communication module to carry out wireless communication with the controlled equipment, and the awakening condition comprises: the time interval between the triggering of the key detected this time and the triggering of the key detected last time reaches a preset time interval; and/or detecting that the triggered key is consistent with a preset key or a preset combined key;
the third judging module is used for judging whether the preset program upgrading condition is met or not according to the communication result;
and the execution module is used for executing the program upgrading process if the program upgrading conditions are met.
10. A remote control comprising a controller;
the controller comprises a memory and a processor connected with the memory;
the memory for storing a program for implementing at least the method of any one of claims 1-8;
the processor is used for calling and executing the program stored in the memory.
11. An electrical system comprising a controlled device and a remote control as claimed in claim 10.
12. The electrical system of claim 11, wherein the controlled device is an air conditioner indoor unit.
CN202110306741.2A 2021-03-23 2021-03-23 Wireless upgrading method and device for remote controller program, remote controller and electric appliance system Active CN113115417B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110306741.2A CN113115417B (en) 2021-03-23 2021-03-23 Wireless upgrading method and device for remote controller program, remote controller and electric appliance system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110306741.2A CN113115417B (en) 2021-03-23 2021-03-23 Wireless upgrading method and device for remote controller program, remote controller and electric appliance system

Publications (2)

Publication Number Publication Date
CN113115417A CN113115417A (en) 2021-07-13
CN113115417B true CN113115417B (en) 2022-06-17

Family

ID=76711523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110306741.2A Active CN113115417B (en) 2021-03-23 2021-03-23 Wireless upgrading method and device for remote controller program, remote controller and electric appliance system

Country Status (1)

Country Link
CN (1) CN113115417B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912340A (en) * 2016-04-26 2016-08-31 江苏惠通集团有限责任公司 Primary device, remote control and overhead upgrading method of remote control
CN105979313A (en) * 2015-09-16 2016-09-28 乐视致新电子科技(天津)有限公司 Remote control upgrading method and device
CN107393275A (en) * 2017-08-17 2017-11-24 广州智航电子科技有限公司 A kind of control method for remote controller, remote control and storage medium
WO2018095218A1 (en) * 2016-11-22 2018-05-31 深圳创维数字技术有限公司 Method for remote controller upgrading test and device
CN110417871A (en) * 2019-07-05 2019-11-05 青岛海信智慧家居系统股份有限公司 A kind of smart machine upgrade method
CN110853323A (en) * 2019-11-19 2020-02-28 广东美的制冷设备有限公司 Upgrading method and device for remote control equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107895468A (en) * 2017-10-30 2018-04-10 广东美的制冷设备有限公司 Remote control matching method, device and computer-readable recording medium
CN110941442A (en) * 2019-12-04 2020-03-31 上海肇观电子科技有限公司 Automatic software upgrading method, wearable device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979313A (en) * 2015-09-16 2016-09-28 乐视致新电子科技(天津)有限公司 Remote control upgrading method and device
CN105912340A (en) * 2016-04-26 2016-08-31 江苏惠通集团有限责任公司 Primary device, remote control and overhead upgrading method of remote control
WO2018095218A1 (en) * 2016-11-22 2018-05-31 深圳创维数字技术有限公司 Method for remote controller upgrading test and device
CN107393275A (en) * 2017-08-17 2017-11-24 广州智航电子科技有限公司 A kind of control method for remote controller, remote control and storage medium
CN110417871A (en) * 2019-07-05 2019-11-05 青岛海信智慧家居系统股份有限公司 A kind of smart machine upgrade method
CN110853323A (en) * 2019-11-19 2020-02-28 广东美的制冷设备有限公司 Upgrading method and device for remote control equipment

Also Published As

Publication number Publication date
CN113115417A (en) 2021-07-13

Similar Documents

Publication Publication Date Title
US8543164B2 (en) Sleep method, wake method and mobile terminal device
US9430024B2 (en) Ultra low power apparatus and method to wake up a main processor
CN105573465B (en) Electronic device and method of controlling power of electronic device
KR102604735B1 (en) Apparatus and method for manegementing consumption power in a electrolic device
KR102465543B1 (en) Method and electronic device controlling applications and components
CN102098182B (en) Method for restoring allocation of distributed equipment and distributed equipment
KR20140063363A (en) Monitoring and managing processor activity in power save mode of portable electronic device and portable electronic device supporting the same
CN102314363A (en) Booting method of automobile controller and automobile controller
CN106687884B (en) System and method for system on chip subsystem external access detection and recovery
CN109582506B (en) Touch screen failure recovery method and device, host equipment and touch system
CN109388225A (en) Key triggers energy-saving control method, storage medium, control device and its terminal
CN112114887A (en) Controlled device, method for waking up controlled device and storage medium
WO2012087533A1 (en) Minimizing resource latency between processor application states in a portable computing device by using a next-active state set
CN113115417B (en) Wireless upgrading method and device for remote controller program, remote controller and electric appliance system
WO2020192669A1 (en) Gas meter intelligent controller and firmware upgrade start-up method therefor
CN113608930A (en) System chip and electronic device
CN112988246A (en) System switching method and device, electronic equipment and storage medium
CN103648029B (en) The energising guard method of intelligent television and system
CN111459034A (en) Household appliance
CN106843440B (en) A kind of mobile terminal restarts control method, device and mobile terminal
CN116414588A (en) System repairing method and device for electronic equipment, electronic equipment and storage medium
CN113848783A (en) User connection unit dormancy awakening method, device and computer readable storage medium
EP3872606B1 (en) Processor system
CN111610995B (en) Device firmware upgrading method and device, electronic device and storage medium
TWI461905B (en) Computing device capable of remote crash recovery, method for remote crash recovery of computing device, and computer readable 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
GR01 Patent grant
GR01 Patent grant