CN110569054B - Data processing method of remote control terminal, remote control terminal and storage medium - Google Patents

Data processing method of remote control terminal, remote control terminal and storage medium Download PDF

Info

Publication number
CN110569054B
CN110569054B CN201910834038.1A CN201910834038A CN110569054B CN 110569054 B CN110569054 B CN 110569054B CN 201910834038 A CN201910834038 A CN 201910834038A CN 110569054 B CN110569054 B CN 110569054B
Authority
CN
China
Prior art keywords
chip module
program data
peripheral function
main control
remote control
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
CN201910834038.1A
Other languages
Chinese (zh)
Other versions
CN110569054A (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
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910834038.1A priority Critical patent/CN110569054B/en
Publication of CN110569054A publication Critical patent/CN110569054A/en
Application granted granted Critical
Publication of CN110569054B publication Critical patent/CN110569054B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

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

Abstract

The disclosure relates to the technical field of data processing, in particular to a data processing method of a remote control terminal, the remote control terminal and a storage medium, which are used for solving the technical problem of resource waste caused by the need of eliminating the whole product when the remote control terminal is updated and iterated in the related art. The data processing method of the remote control terminal comprises the following steps: when detecting that the peripheral function chip module is connected to the remote control terminal, acquiring program data in the peripheral function chip module; comparing the program data in the peripheral function chip module with the program data in the main control chip module of the remote control terminal to obtain a comparison result; and when the comparison result represents that the program data in the peripheral function chip module is not available in the main control chip module, burning the program data in the peripheral function chip module to the main control chip module, and starting a thread corresponding to the program data in the peripheral function chip module.

Description

Data processing method of remote control terminal, remote control terminal and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a data processing method for a remote control terminal, and a storage medium.
Background
The air conditioner mate is equivalent to a universal remote controller, and when the air conditioner mate is matched with an air conditioner, a one-to-many control mechanism can be realized. Along with the popularization of air conditioner partners, the added auxiliary functions are more and more, for example, an electric quantity chip is used for counting the electricity consumption of a load, an infrared module is used for transmitting infrared signals, a receiving module is used for receiving infrared codes during infrared learning, and an audio and sound acquisition module is used for a voice function and the like.
Disclosure of Invention
The disclosure provides a data processing method of a remote control terminal, the remote control terminal and a storage medium, which are used for solving the technical problem of resource waste caused by the fact that the whole product needs to be eliminated when the remote control terminal is updated and iterated in the related art.
In order to achieve the above object, in a first aspect of the embodiments of the present disclosure, a method for processing data of a remote control terminal is provided, where the method for processing data includes:
when detecting that a peripheral function chip module is connected to the remote control terminal, acquiring program data in the peripheral function chip module;
comparing the program data in the peripheral function chip module with the program data in the main control chip module of the remote control terminal to obtain a comparison result;
when the comparison result represents that the program data in the peripheral function chip module is not available in the main control chip module, the program data in the peripheral function chip module is burnt to the main control chip module, and a thread corresponding to the program data in the peripheral function chip module is started.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the method further includes:
and when the peripheral function chip module is detected to be disconnected with the remote control terminal, suspending a thread corresponding to program data in the peripheral function chip module.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the method further includes:
and when the comparison result represents that the program data in the peripheral function chip module exists in the main control chip module, activating a thread corresponding to the program data in the peripheral function chip module.
With reference to the first aspect, the first or second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the method further includes:
and when the comparison result represents that the program data in the peripheral function chip module is the updating data in the main control chip module, updating the program data in the main control chip module.
In a second aspect of the embodiments of the present disclosure, there is provided a remote control terminal including:
a housing;
the main control chip module is arranged on the shell;
the data interface is arranged on the shell;
and the peripheral function chip module is connected with the main control chip module in a mode of inserting the data interface.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the main control chip module is configured to:
when detecting that the peripheral function chip module is accessed to the data interface, acquiring program data in the peripheral function chip module;
comparing the program data in the peripheral function chip module with the program data in the main control chip module to obtain a comparison result;
when the comparison result represents that the program data in the peripheral function chip module is not available in the main control chip module, the program data in the peripheral function chip module is burnt to the main control chip module, and a thread corresponding to the program data in the peripheral function chip module is started.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the main control chip module is further configured to:
and when the peripheral function chip module is detected to be disconnected with the data interface, suspending a thread corresponding to program data in the peripheral function chip module.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the main control chip module is further configured to:
and when the comparison result represents that the program data in the peripheral function chip module exists in the main control chip module, activating a thread corresponding to the program data in the peripheral function chip module.
With reference to the first, second, or third possible implementation manner of the first aspect, in a fourth possible implementation manner of the second aspect, the main control chip module is further configured to:
and when the comparison result represents that the program data in the peripheral function chip module is the updating data in the main control chip module, updating the program data in the main control chip module.
In a third aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps of the method of any one of the above first aspects.
By adopting the technical scheme, the following technical effects can be at least achieved:
according to the remote control terminal, the functions of the remote control terminal are subjected to modularization processing, each function is an independent module, a user can select and combine the required function modules according to the self requirement, when the user wants to add a new function to the remote control terminal, the new function module is only required to be inserted into the remote control terminal, program data in the new function module can be burnt into the main control chip module, the new function can be added without replacing the whole remote control terminal product, the technical problem that the resource is wasted due to the fact that the whole product needs to be eliminated when the remote control terminal is updated and iterated in the related art is solved, the purchase cost is saved for the user, and the product diversity is increased, so that the product is made the best use.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is a flowchart illustrating a data processing method of a remote control terminal according to an exemplary embodiment of the present disclosure.
Fig. 2 is a block diagram of a remote control terminal according to an exemplary embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating another data processing method of a remote control terminal according to an exemplary embodiment of the present disclosure.
Fig. 4 is a flowchart illustrating another data processing method of a remote control terminal according to an exemplary embodiment of the present disclosure.
Fig. 5 is a flowchart illustrating another data processing method of a remote control terminal according to an exemplary embodiment of the present disclosure.
Reference numerals:
10-a remote control terminal; 11-a housing; 12-a main control chip module; 13-a data interface; 14-peripheral function chip module.
Detailed Description
Embodiments of the present disclosure will be described in detail with reference to the accompanying drawings and examples, so that how to apply technical means to solve technical problems and achieve the corresponding technical effects can be fully understood and implemented. The embodiments and various features in the embodiments of the present application can be combined with each other without conflict, and the formed technical solutions are all within the protection scope of the present disclosure.
The inventor of the present invention has found that, in the related art, functional modules of an air conditioner partner are integrated on a PCB (Printed Circuit Board) before leaving a factory, all functions are bound together and sold as a whole, and functional requirements of each user on the air conditioner partner are different, for example, if an air conditioner in a home of some users is a general air conditioner (a function key of a mobile control interface completely corresponds to a remote controller), an infrared learning module is not needed, and therefore, if an air conditioner partner bound to a function is purchased, waste of the infrared learning module is caused, purchase cost is also increased, and as the air conditioner partner has more and more functions, previous products can only be eliminated and resource waste is caused when updating iteration is performed.
Fig. 2 is a block diagram of a remote control terminal according to an exemplary embodiment of the present disclosure. As shown in fig. 2, the remote control terminal 10 includes: a housing 11; a main control chip module 12, a data interface 13 and a peripheral function chip module 14. The remote control terminal 10 may be an air conditioner companion, or may be other types of remote controllers, such as a smart television remote controller, a refrigerator remote controller, and other home appliance remote controllers.
The main control chip module 12 may include a processor chip and a memory, among others. The main control chip module 12 is disposed on the casing 11, and the main control chip module 12 may be disposed inside the casing 11 or may be spliced to the casing 11.
Optionally, a circuit board is disposed in the housing 11, the main control chip module 12 is plugged into the circuit board, and the data interface 13 is integrated on the same circuit board. The data interface 13 may be a standardized interface, for example, a USB interface, a Type-c interface, a lightning interface, and the like may be adopted. One remote control terminal 10 may be provided with a plurality of data interfaces 13, and the types of the plurality of data interfaces 13 may be different.
In order to be able to plug a chip module without using a standardized interface onto the circuit board, a special chip pin interface, such as the HV pin interface of a PWM control chip, may also be provided on the circuit board.
The main control chip module 12 can be detachably inserted into the circuit board, so that when the processor needs to be replaced in order to improve the processing capability of the system, the old main control chip module 12 can be directly pulled out of the circuit board and replaced with the new main control chip module 12, and the purpose of updating without eliminating the whole product is achieved.
The peripheral function chip module 14 may be an electric quantity detection module for counting connected loads, or may be a relay function module for determining whether to power off by detecting a load state through an electric quantity chip, which is disclosed and not particularly limited.
The peripheral function chip module 14 is connected to the main control chip module 12 by inserting the data interface 13, when the peripheral function chip module 14 of the new version is replaced, only the peripheral function chip module 14 of the old version needs to be pulled out, and the peripheral function chip module 14 of the new version is inserted, so that the peripheral function chip module 14 of the old version can be recycled, and the purpose of updating can be achieved without eliminating the whole product.
Fig. 1 is a flowchart of a data processing method of a remote control terminal according to an exemplary embodiment of the present disclosure, so as to solve a technical problem of resource waste caused by the need to eliminate an entire product when a remote control terminal is updated and iterated in the related art. The method shown in the present embodiment may be applied to the remote control terminal 10 shown in fig. 2, and as shown in fig. 1, the method may include the following steps:
and S11, when the external functional chip module is detected to be connected to the remote control terminal, obtaining the program data in the external functional chip module.
And S12, comparing the program data in the peripheral function chip module with the program data in the main control chip module of the remote control terminal to obtain a comparison result.
And S13, when the comparison result indicates that the main control chip module does not have the program data in the peripheral function chip module, burning the program data in the peripheral function chip module to the main control chip module, and starting a thread corresponding to the program data in the peripheral function chip module.
As shown in fig. 1 and 2, in step S11, the access detection method of the peripheral function chip module 14 to the remote control terminal 10 may be: the main control chip module 12 accesses the data interface 13 by detecting whether a trigger signal of the pin exists, and if so, the external functional chip module 14 is characterized to be accessed to the data interface 13; if not, the chip module 14 without the peripheral function is characterized to be accessed to the data interface 13.
After detecting that the peripheral function chip module 14 is connected to the data interface 13, the main control chip module 12 may obtain the program data in the peripheral function chip module 14 through the data interface 13, and after obtaining the program data in the peripheral function chip module 14, execute step S12 to compare the program data in the peripheral function chip module 14 with the program data in the main control chip module 12 to obtain a comparison result.
The program assembly of the functional modules in the remote control terminal 10 may be as follows, the first mode being: when the product assembly is completed, all the functional module programs are burned onto the main control chip module 12, and corresponding threads are divided for each functional module program; the second is burning basic program on the main control chip module 12. Therefore, in step S12, the comparison result includes two types, one is that the main control chip module 12 does not have the program data in the peripheral function chip module 14, the other is that the main control chip module 12 has the program data in the peripheral function chip module 14, and the other is that the program data in the peripheral function chip module 14 is the update data in the main control chip module 14.
If the comparison result indicates that the main control chip module 12 does not have the program data in the peripheral function chip module 14, step S13 is executed to burn the program data in the peripheral function chip module 14 into the main control chip module 12, and start the thread corresponding to the program.
For example, when a user wants to add a relay function module for judging whether power is off or not to an air conditioner partner by detecting a load state through an electric quantity chip for power utilization safety, the user only needs to insert the relay function module into the data interface 13, and the main control chip module 12 compares program data in the relay function module with program data in the main control chip module 12 after detecting that the relay function module is inserted into the data interface 13. If the program data in the relay function module does not exist in the main control chip module 12, the program data in the relay function module is burned into the main control chip module 12, and a thread corresponding to the program data is started.
According to the remote control terminal, the functions of the remote control terminal are subjected to modular processing, each function is an independent module, a user can select and combine the required function modules according to the requirements of the user, when the user wants to add a new function to the remote control terminal, the user only needs to insert the new function module into the data interface, program data in the new function module can be burnt to the main control chip module through the data interface, the new function can be added without replacing the whole remote control terminal, the technical problem that the resource is wasted due to the fact that the whole product needs to be eliminated when the remote control terminal is updated and iterated in the related art is solved, the purchase cost is saved for the user, and the diversity of the product is increased, so that the product can be used to the greatest extent.
It should be noted that the method embodiment shown in fig. 1 is described as a series of acts or combinations for simplicity of description, but it should be understood by those skilled in the art that the present disclosure is not limited by the order of acts or steps described. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required in order to implement the disclosure.
Fig. 3 is a flowchart of a data processing method of a remote control terminal according to an exemplary embodiment of the present disclosure, so as to solve a technical problem of resource waste caused by the need to eliminate an entire product when a remote control terminal is updated and iterated in the related art. The method shown in the present embodiment may be applied to the remote control terminal 10 shown in fig. 2, and as shown in fig. 3, the method may include the following steps:
and S21, when the external functional chip module is detected to be connected to the remote control terminal, obtaining the program data in the external functional chip module.
And S22, comparing the program data in the peripheral function chip module with the program data in the main control chip module of the remote control terminal to obtain a comparison result.
And S23, when the comparison result indicates that the main control chip module does not have the program data in the peripheral function chip module, burning the program data in the peripheral function chip module to the main control chip module, and starting a thread corresponding to the program data in the peripheral function chip module.
And S24, when the disconnection between the peripheral function chip module and the data interface is detected, suspending the thread corresponding to the program in the peripheral function chip module.
As shown in fig. 3 and fig. 2, in step S21, the access detection method of the peripheral function chip module 14 to the remote control terminal 10 may be: the main control chip module 12 accesses the data interface 13 by detecting whether a trigger signal of the pin exists, and if so, the external functional chip module 14 is characterized to be accessed to the data interface 13; if not, the chip module 14 without the peripheral function is characterized to be accessed to the data interface 13.
After detecting that the peripheral function chip module 14 is connected to the data interface 13, the main control chip module 12 may obtain the program data in the peripheral function chip module 14 through the data interface 13, and after obtaining the program data in the peripheral function chip module 14, execute step S12 to compare the program data in the peripheral function chip module 14 with the program data in the main control chip module 12 to obtain a comparison result.
The program assembly of the functional modules in the remote control terminal 10 may be as follows, the first mode being: when the product assembly is completed, all the functional module programs are burned onto the main control chip module 12, and corresponding threads are divided for each functional module program; the second is burning basic program on the main control chip module 12. Therefore, in step S22, the comparison result includes two types, one is that the main control chip module 12 does not have the program data in the peripheral function chip module 14, the other is that the main control chip module 12 has the program data in the peripheral function chip module 14, and the other is that the program data in the peripheral function chip module 14 is the update data in the main control chip module 14.
If the comparison result indicates that the main control chip module 12 does not have the program data in the peripheral function chip module 14, step S23 is executed to burn the program data in the peripheral function chip module 14 into the main control chip module 12, and start the thread corresponding to the program data.
When the user does not want to use a certain function of the air conditioner companion, the peripheral function chip module 14 corresponding to the function may be pulled out of the data interface, and in order to save system resources and increase the operation speed, step S24 may be executed, and when it is detected that the peripheral function chip module 14 is disconnected from the data interface 13, the thread corresponding to the program data is suspended.
For example, when a user wants to add a relay function module for judging whether power is off or not to an air conditioner partner by detecting a load state through an electric quantity chip for power utilization safety, the user only needs to insert the relay function module into the data interface 13, and the main control chip module 12 compares program data in the relay function module with program data in the main control chip module 12 after detecting that the relay function module is inserted into the data interface 13. If the program data in the relay function module does not exist in the main control chip module 12, the program data in the relay function module is burned into the main control chip module 12, and a thread corresponding to the program data in the relay function module is started. When the user later feels that the relay function module is not needed on the remote control terminal, the user only needs to pull out the relay function module, and the main control chip module 12 suspends the thread corresponding to the program data when detecting that the relay function module is disconnected from the data interface 13.
According to the remote control terminal, the functions of the remote control terminal are processed in a modularized mode, each function is an independent module, a user can select and combine the required function modules according to the self requirement, and when the user unloads the function modules on the remote control terminal, the main control chip module suspends the threads corresponding to the programs in the function modules, so that system resources are saved, and the running speed is increased.
It should be noted that the method embodiment shown in fig. 3 is described as a series of acts for simplicity of description, but those skilled in the art should understand that the present disclosure is not limited by the described order of acts. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required in order to implement the disclosure.
Fig. 4 is a flowchart of a data processing method of a remote control terminal according to an exemplary embodiment of the present disclosure, so as to solve a technical problem of resource waste caused by the need to eliminate an entire product when a remote control terminal is updated and iterated in the related art. The method shown in the present embodiment may be applied to the remote control terminal 10 shown in fig. 2, and as shown in fig. 4, the method may include the following steps:
and S31, when the external functional chip module is detected to be connected to the remote control terminal, obtaining the program data in the external functional chip module.
And S32, comparing the program data in the peripheral function chip module with the program data in the main control chip module of the remote control terminal to obtain a comparison result.
And S33, when the comparison result represents that the program data in the peripheral function chip module exists in the main control chip module, activating the thread corresponding to the program data in the peripheral function chip module.
As shown in fig. 4 and fig. 2, in step S31, the access detection method of the peripheral function chip module 14 to the remote control terminal 10 may be: the main control chip module 12 accesses the data interface 13 by detecting whether a trigger signal of the pin exists, and if so, the external functional chip module 14 is characterized to be accessed to the data interface 13; if not, the chip module 14 without the peripheral function is characterized to be accessed to the data interface 13.
After detecting that the peripheral function chip module 14 is connected to the data interface 13, the main control chip module 12 may obtain the program data in the peripheral function chip module 14 through the data interface 13, and after obtaining the program data in the peripheral function chip module 14, execute step S32 to compare the program data in the peripheral function chip module 14 with the program data in the main control chip module 12 to obtain a comparison result.
The program assembly of the functional modules in the remote control terminal 10 may be as follows, the first mode being: when the product assembly is completed, all the functional module programs are burned onto the main control chip module 12, and corresponding threads are divided for each functional module program; the second is burning basic program on the main control chip module 12. Therefore, in step S32, the comparison result includes two types, one is that the main control chip module 12 does not have the program data in the peripheral function chip module 14, the other is that the main control chip module 12 has the program data in the peripheral function chip module 14, and the other is that the program data in the peripheral function chip module 14 is the update data in the main control chip module 14.
If the comparison result represents that the program data in the peripheral function chip module 14 exists in the main control chip module 12, step S33 is executed to activate the thread corresponding to the program in the peripheral function chip module 14.
For example, when a user wants to add a relay function module for judging whether power is off or not to an air conditioner partner by detecting a load state through an electric quantity chip for power utilization safety, the user only needs to insert the relay function module into the data interface 13, and the main control chip module 12 compares program data in the relay function module with program data in the main control chip module 12 after detecting that the relay function module is inserted into the data interface 13. If the program data in the relay function module exists in the main control chip module 12, the thread corresponding to the program in the relay function module is directly activated.
According to the remote control terminal, the functions of the remote control terminal are subjected to modular processing, so that each function is an independent module, a user can select and combine the required function modules according to the self requirement, when the user adds the function modules to the remote control terminal, the suspended thread can be started only by inserting the function modules into the data interface, manual upgrading of the user is not needed, and the remote control terminal can be used in a plug-and-play mode.
It should be noted that the method embodiment shown in fig. 4 is described as a series of acts for simplicity of description, but those skilled in the art should understand that the present disclosure is not limited by the described order of acts. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required in order to implement the disclosure.
Fig. 5 is a flowchart of a data processing method of a remote control terminal according to an exemplary embodiment of the present disclosure, so as to solve a technical problem of resource waste caused by the need to eliminate an entire product when a remote control terminal is updated and iterated in the related art. The method shown in the present embodiment may be applied to the remote control terminal 10 shown in fig. 2, and as shown in fig. 5, the method may include the following steps:
and S41, when the external functional chip module is detected to be connected to the remote control terminal, obtaining the program data in the external functional chip module.
And S42, comparing the program data in the peripheral function chip module with the program data in the main control chip module of the remote control terminal to obtain a comparison result.
And S43, when the comparison result represents that the program data in the peripheral function chip module is the update data in the main control chip module, updating the program data in the main control chip module.
As shown in fig. 5 and fig. 2, in step S41, the access detection method of the peripheral function chip module 14 to the remote control terminal 10 may be: the main control chip module 12 accesses the data interface 13 by detecting whether a trigger signal of the pin exists, and if so, the external functional chip module 14 is characterized to be accessed to the data interface 13; if not, the chip module 14 without the peripheral function is characterized to be accessed to the data interface 13.
After detecting that the peripheral function chip module 14 is connected to the data interface 13, the main control chip module 12 may obtain the program data in the peripheral function chip module 14 through the data interface 13, and after obtaining the program data in the peripheral function chip module 14, execute step S42 to compare the program data in the peripheral function chip module 14 with the program data in the main control chip module 12 to obtain a comparison result.
The program assembly of the functional modules in the remote control terminal 10 may be as follows, the first mode being: when the product assembly is completed, all the functional module programs are burned onto the main control chip module 12, and corresponding threads are divided for each functional module program; the second is burning basic program on the main control chip module 12. Therefore, in step S22, the comparison result includes two types, one is that the main control chip module 12 does not have the program data in the peripheral function chip module 14, the other is that the main control chip module 12 has the program data in the peripheral function chip module 14, and the other is that the program data in the peripheral function chip module 14 is the update data in the main control chip module 14.
If the comparison result indicates that the program data in the peripheral function chip module 14 is the update data in the main control chip module 14, step S43 is executed to update the program data in the main control chip module 14.
For example, when a user wants to iterate an original relay function module, that is, wants to update program data in the relay function module, the user only needs to insert a new version of the relay function module into the data interface 13, and the main control chip module 12 compares the program data in the relay function module with the program data in the main control chip module 12 after detecting that the relay function module is inserted into the data interface 13. If the program data in the relay function module is the update data in the main control chip module 12, the program data in the main control chip module 12 will be updated.
According to the method, the functions of the remote control terminal are modularized, so that each function is an independent module, a user can select and combine the required function modules according to the self requirement, when the user wants to iterate the original function modules, the user only needs to insert the function modules of the new edition into the data interface, program data in the main control chip module can be updated through the data interface, the whole product does not need to be eliminated to achieve the purpose of updating, iteration does not need to be carried out for a product developer, and only module development and program upgrading are needed, so that the development cost and time are saved.
It should be noted that for simplicity of description, the method embodiment shown in fig. 5 is described as a series of acts or combination of acts, but those skilled in the art should understand that the present disclosure is not limited by the order of acts or combination of acts described. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required in order to implement the disclosure.
The present disclosure also provides a computer-readable storage medium having stored thereon a computer program executable by one or more processors to implement a data processing method of a remote control terminal as described in the first embodiment.
The method implemented when the computer program of the data processing method of the air conditioner companion is executed may refer to a specific embodiment of the data processing method of the remote control terminal of the present disclosure, and is not described herein again.
The processor may be an integrated circuit chip having information processing capabilities. The processor may be a general-purpose processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like.
It should be understood that the disclosed methods and apparatus may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Although the embodiments disclosed in the present disclosure are described above, the descriptions are only for the convenience of understanding the present disclosure, and are not intended to limit the present disclosure. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure, and that the scope of the disclosure is to be limited only by the appended claims.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, various possible combinations will not be separately described in this disclosure.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (7)

1. A data processing method of a remote control terminal is characterized by comprising the following steps:
when detecting that a peripheral function chip module is connected to the remote control terminal, acquiring program data in the peripheral function chip module;
comparing the program data in the peripheral function chip module with the program data in the main control chip module of the remote control terminal to obtain a comparison result;
when the comparison result represents that the main control chip module does not have the program data in the peripheral function chip module, the program data in the peripheral function chip module is burned to the main control chip module, and a thread corresponding to the program data in the peripheral function chip module is started;
and when the comparison result represents that the program data in the peripheral function chip module is the updating data in the main control chip module, updating the program data in the main control chip module.
2. The method of claim 1, further comprising:
and when the peripheral function chip module is detected to be disconnected with the remote control terminal, suspending a thread corresponding to program data in the peripheral function chip module.
3. The method of claim 2, further comprising:
and when the comparison result represents that the program data in the peripheral function chip module exists in the main control chip module, activating a thread corresponding to the program data in the peripheral function chip module.
4. A remote control terminal, comprising:
a housing;
a main control chip module disposed on the housing, the main control chip module configured to:
when detecting that a peripheral function chip module is accessed to a data interface, acquiring program data in the peripheral function chip module;
comparing the program data in the peripheral function chip module with the program data in the main control chip module to obtain a comparison result;
when the comparison result represents that the main control chip module does not have the program data in the peripheral function chip module, the program data in the peripheral function chip module is burned to the main control chip module, and a thread corresponding to the program data in the peripheral function chip module is started;
when the comparison result represents that the program data in the peripheral function chip module is the updating data in the main control chip module, updating the program data in the main control chip module; the data interface is arranged on the shell; and the peripheral function chip module is connected with the main control chip module in a mode of inserting the data interface.
5. The remote control terminal of claim 4, wherein the master chip module is further configured to: and when the peripheral function chip module is detected to be disconnected with the data interface, suspending a thread corresponding to program data in the peripheral function chip module.
6. The remote control terminal of claim 5, wherein the master chip module is further configured to: and when the comparison result represents that the program data in the peripheral function chip module exists in the main control chip module, activating a thread corresponding to the program data in the peripheral function chip module.
7. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
CN201910834038.1A 2019-09-04 2019-09-04 Data processing method of remote control terminal, remote control terminal and storage medium Active CN110569054B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910834038.1A CN110569054B (en) 2019-09-04 2019-09-04 Data processing method of remote control terminal, remote control terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910834038.1A CN110569054B (en) 2019-09-04 2019-09-04 Data processing method of remote control terminal, remote control terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110569054A CN110569054A (en) 2019-12-13
CN110569054B true CN110569054B (en) 2020-10-02

Family

ID=68777808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910834038.1A Active CN110569054B (en) 2019-09-04 2019-09-04 Data processing method of remote control terminal, remote control terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110569054B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205427694U (en) * 2015-11-27 2016-08-03 深圳市普瑞吉电子有限公司 Embedded industry mainboard of no fan
CN207133976U (en) * 2017-08-25 2018-03-23 福建致易电子科技有限公司 A kind of inside plants set top box production test multi-purpose learning remote control
CN207938173U (en) * 2018-03-07 2018-10-02 华中科技大学 A kind of learning-oriented remote air conditioner terminal control unit and system based on LPWAN
CN109242055A (en) * 2018-07-13 2019-01-18 深圳市文鼎创数据科技有限公司 Smart card peripheral device, command processing method, electronic equipment and storage medium
CN109386936A (en) * 2018-09-27 2019-02-26 Tcl空调器(中山)有限公司 Burning, remote control method, air-conditioning, remote controler and the system of air conditioner electric control plate

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7353407B2 (en) * 2004-05-20 2008-04-01 Cisco Technology, Inc. Methods and apparatus for provisioning phantom power to remote devices
CN1916876A (en) * 2005-08-19 2007-02-21 鸿富锦精密工业(深圳)有限公司 Method for burning chip
US20080201572A1 (en) * 2007-02-21 2008-08-21 Inventec Corporation Method and system for uniformizing product data embedded in a computer platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205427694U (en) * 2015-11-27 2016-08-03 深圳市普瑞吉电子有限公司 Embedded industry mainboard of no fan
CN207133976U (en) * 2017-08-25 2018-03-23 福建致易电子科技有限公司 A kind of inside plants set top box production test multi-purpose learning remote control
CN207938173U (en) * 2018-03-07 2018-10-02 华中科技大学 A kind of learning-oriented remote air conditioner terminal control unit and system based on LPWAN
CN109242055A (en) * 2018-07-13 2019-01-18 深圳市文鼎创数据科技有限公司 Smart card peripheral device, command processing method, electronic equipment and storage medium
CN109386936A (en) * 2018-09-27 2019-02-26 Tcl空调器(中山)有限公司 Burning, remote control method, air-conditioning, remote controler and the system of air conditioner electric control plate

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Energy monitoring and verification control interface for split unit air conditioners;Estienne Cronjé等;《International Journal of Engineering & Technology》;20190429;第7卷(第4期);第5807-5814页 *

Also Published As

Publication number Publication date
CN110569054A (en) 2019-12-13

Similar Documents

Publication Publication Date Title
CN111697663B (en) Charging circuit and charging cable
CN108710515B (en) Application preloading method and device, storage medium and terminal
US20050030680A1 (en) Electric outlet for stanby power interruption and power saving, control method thereof, and power saving system
EP3972202A1 (en) Smart home system control method and apparatus, electronic device and storage medium
CN106685018B (en) Reverse charging method and device and terminal
CN105260655A (en) Application program starting protection method, device and system
CN111246199B (en) Control method and device for camera test, terminal equipment and storage medium
CN106293845A (en) A kind of terminal enters control method and the device of brush machine pattern
CN110569054B (en) Data processing method of remote control terminal, remote control terminal and storage medium
KR20190047526A (en) A method for performing communication via input output interface and a method thereof
US20020084988A1 (en) Apparatus and method for automatically detecting USB mode and PS/2 mode computer keyboard
CN110459260B (en) Automatic test switching device, method and system
US20070192638A1 (en) Controlled power sequencing for independent logic circuits
KR20210046426A (en) Application optimizing method and electronic device supporting the same
CN114117562B (en) Intelligent network card management method and device, electronic equipment and computer storage medium
CN108966079B (en) Control method and system of audio device
CN1312581C (en) External starter for pc system
CN115129351A (en) Method for upgrading slave controller, master controller and slave controller
CN110800168A (en) Method and apparatus for changing impedance of terminal included in connector
CN108415721B (en) Node equipment program upgrading method and related device
CN110008160B (en) Information processing apparatus
US20030025686A1 (en) Method of automatically refreshing the display screen of a terminal and the computer program thereof
CN111211601B (en) Charging method, Bluetooth headset and computer readable storage medium
CN111527473B (en) Software updating device and software updating method using same
CN109709858B (en) On-off control circuit, embedded equipment, method and system

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