CN113360185B - Processing method and device of micro control unit of air conditioner external unit and micro control unit - Google Patents

Processing method and device of micro control unit of air conditioner external unit and micro control unit Download PDF

Info

Publication number
CN113360185B
CN113360185B CN202110506759.7A CN202110506759A CN113360185B CN 113360185 B CN113360185 B CN 113360185B CN 202110506759 A CN202110506759 A CN 202110506759A CN 113360185 B CN113360185 B CN 113360185B
Authority
CN
China
Prior art keywords
eeprom
control unit
micro control
virtual
target
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
CN202110506759.7A
Other languages
Chinese (zh)
Other versions
CN113360185A (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.)
TCL Air Conditioner Zhongshan Co Ltd
Original Assignee
TCL Air Conditioner Zhongshan 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 TCL Air Conditioner Zhongshan Co Ltd filed Critical TCL Air Conditioner Zhongshan Co Ltd
Priority to CN202110506759.7A priority Critical patent/CN113360185B/en
Publication of CN113360185A publication Critical patent/CN113360185A/en
Application granted granted Critical
Publication of CN113360185B publication Critical patent/CN113360185B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45591Monitoring or debugging support
    • 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
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Landscapes

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

Abstract

The application provides a processing method and device of a micro control unit of an air conditioner external unit and the micro control unit, which are used for guaranteeing stability of EEPROM (electrically erasable programmable read-Only memory) on data transmission and further shortening maintenance time of the EEPROM. The method comprises the following steps: the method comprises the steps that a virtual EEPROM is obtained through virtualization processing in a first storage space on a flash configured by a micro control unit, and the virtual EEPROM is used for simulating the function of an entity EEPROM; when the target operation parameters are triggered to be read from the EEPROM, the target operation parameters are read from the operation parameters stored in the virtual EEPROM; a second storage space for storing operation codes of different processing tasks related to the working process of the air conditioner external unit is also arranged on the flash configured by the micro control unit; acquiring a target running code of a target processing task corresponding to the target running parameter from the second storage space; the target run code and target run parameters are loaded to perform the target processing task.

Description

Processing method and device of micro control unit of air conditioner external unit and micro control unit
Technical Field
The application relates to the field of air conditioners, in particular to a processing method and device of a micro control unit of an air conditioner external unit and the micro control unit.
Background
An air conditioning apparatus includes an air conditioning outdoor unit, which is generally fixedly placed at an outdoor location where a user works, such as an air conditioning unit on an outer wall, and an air conditioning indoor unit.
Compared with the air conditioner indoor unit, the air conditioner outdoor unit is difficult to approach or inconvenient to touch due to the fact that the air conditioner outdoor unit is placed in an outdoor place and the occupied space is avoided as much as possible and the good ventilation environment is considered, so that if the air conditioner outdoor unit has maintenance requirements, the operation is inconvenient, even professional staff can often have certain difficulty, and even personal safety risks exist.
In the research process of the prior related art, the inventor finds that in the process of updating the operation parameters of the EEPROM on the electric control board in the air conditioner external unit, when the EEPROM with the new operation parameters is replaced, the data transmission is unstable frequently, which results in difficulty in completing the debugging in the first time, and in consideration of the inconvenience that the place where the air conditioner external unit is placed faces the above, obviously, the maintenance cost of the EEPROM of the air conditioner external unit is higher.
Disclosure of Invention
The application provides a processing method and device of a micro control unit of an air conditioner external unit and the micro control unit, which are used for ensuring the stability of EEPROM (electrically erasable programmable read-Only memory) on data transmission, and further shortening the maintenance time of the EEPROM to a certain extent.
In a first aspect, the present application provides a method for processing a micro control unit of an external air conditioner, where the method includes:
the method comprises the steps that a virtual EEPROM is obtained through virtualization processing in a first storage space on a flash configured by a micro control unit, and the virtual EEPROM is used for simulating the function of an entity EEPROM;
when the target operation parameters are read from the EEPROM in a triggering manner, the micro control unit reads the target operation parameters from the operation parameters stored in the virtual EEPROM;
a second storage space is further arranged on the flash configured by the micro control unit, and the second storage space is used for storing running codes of different processing tasks related to the working process of the air conditioner external unit;
the micro control unit acquires a target running code of a target processing task corresponding to the target running parameter from the second storage space;
the micro control unit loads the target running code and the target running parameters to execute the target processing task.
Micro control unit with reference to the first aspect of the present application, in a first possible implementation manner of the first aspect of the present application, after the first storage space on the flash configured by the micro control unit obtains the virtual EEPROM through virtualization processing, the method further includes:
when the micro control unit monitors that the physical EEPROM is configured, the operating parameters stored by the physical EEPROM are written into the virtual EEPROM.
With reference to the first aspect of the present application, in a second possible implementation manner of the first aspect of the present application, after the obtaining, by virtualization processing, the virtual EEPROM in the first storage space on the flash configured by the micro control unit, the method further includes:
when the micro control unit monitors that the physical EEPROM is configured and the virtual EEPROM is not configured, carrying out virtualization processing in the first storage space to obtain the virtual EEPROM, and writing the operation parameters stored by the physical EEPROM into the virtual EEPEOM.
With reference to the first or second possible implementation manners of the first aspect of the present application, in a third possible implementation manner of the first aspect of the present application, writing an operation parameter stored in the physical EEPROM into the virtual EEPROM includes:
when the micro control unit monitors that a new entity EEPROM is configured, the operating parameters stored by the entity EEPROM are written into the virtual EEPROM.
With reference to the first aspect or the second possible implementation manner of the first aspect of the present application, in a fourth possible implementation manner of the first aspect of the present application, the method further includes:
the micro control unit monitors whether the connected components scan preset identifiers carried by the entity EEPROM, the preset identifiers are configured in a storage space of the entity EEPROM, and the preset identifiers are identifiers configured for the entity EEPROM in advance.
If yes, the micro-control unit determines that the physical EEPROM is configured.
With reference to the first or second possible implementation manner of the first aspect of the present application, in a fifth possible implementation manner of the first aspect of the present application, after writing the operation parameters stored in the physical EEPROM into the virtual EEPROM, the method further includes:
when the micro control unit monitors that the physical EEPROM is abnormal or damaged, the micro control unit triggers the target operation parameters to be read from the virtual EEPROM when the target operation parameters are read from the EEPROM.
In a second aspect, the present application provides a processing apparatus for a micro control unit of an external air conditioner, the processing apparatus for the micro control unit of the external air conditioner including:
the virtual unit is used for obtaining a virtual EEPROM (electrically erasable programmable read Only memory) through virtualization processing in the first storage space on the flash configured by the micro control unit, and the virtual EEPROM is used for simulating the function of the entity EEPROM;
the micro control unit is used for reading the target operation parameters from the operation parameters stored in the virtual EEPROM when triggering the reading of the target operation parameters from the EEPROM;
the setting unit is used for setting a second storage space on the flash configured by the micro control unit, and the second storage space is used for storing operation codes of different processing tasks related to the working process of the air conditioner external unit;
the acquisition unit is used for acquiring a target running code of a target processing task corresponding to the target running parameter from the second storage space;
and the loading unit is used for loading the target running code and the target running parameters so as to execute the target processing task.
With reference to the second aspect of the present application, in a first possible implementation manner of the second aspect of the present application, the apparatus further includes a writing unit, configured to:
when the micro control unit monitors that the physical EEPROM is configured, the operating parameters stored by the physical EEPROM are written into the virtual EEPROM.
With reference to the second aspect of the present application, in a second possible implementation manner of the second aspect of the present application, the apparatus further includes a writing unit, configured to:
when the micro control unit monitors that the physical EEPROM is configured and the virtual EEPROM is not configured, carrying out virtualization processing in the first storage space to obtain the virtual EEPROM, and writing the operation parameters stored by the physical EEPROM into the virtual EEPEOM.
With reference to the first or second possible implementation manner of the second aspect of the present application, in a third possible implementation manner of the second aspect of the present application, the writing unit is specifically configured to:
when the micro control unit monitors that a new entity EEPROM is configured, the operating parameters stored by the entity EEPROM are written into the virtual EEPROM.
With reference to the first or second possible implementation manner of the second aspect of the present application, in a fourth possible implementation manner of the second aspect of the present application, the writing unit is further configured to:
the micro control unit monitors whether the connected components scan preset identifiers carried by the entity EEPROM, the preset identifiers are configured in a storage space of the entity EEPROM, and the preset identifiers are identifiers configured for the entity EEPROM in advance.
If yes, the micro-control unit determines that the physical EEPROM is configured.
With reference to the first or second possible implementation manner of the second aspect of the present application, in a fifth possible implementation manner of the second aspect of the present application, the apparatus further includes a triggering unit, configured to:
when the micro control unit monitors that the physical EEPROM is abnormal or damaged, the micro control unit triggers the target operation parameters to be read from the virtual EEPROM when the target operation parameters are read from the EEPROM.
In a third aspect, the present application further provides a micro control unit, where the micro control unit is configured to perform the method provided by the first aspect of the present application or any one of the possible implementation manners of the first aspect of the present application.
In a fourth aspect, the present application further provides an air conditioner external unit, where the air conditioner external unit includes the micro control unit provided in the third aspect of the present application.
In a fifth aspect, the present application further provides a computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the method provided by the first aspect of the present application or any one of the possible implementations of the first aspect of the present application.
From the above, the present application has the following advantages:
aiming at the maintenance of the EEPROM of the air conditioner external unit, the application framework of the novel EEPROM is provided, a virtual EEPROM is arranged on the flash of the micro control unit, when the target operation parameter is read from the EPPROM, the micro control unit can read the target operation parameter from the virtual EEPROM, so that the micro control unit can load the target operation parameter and acquire the target operation code corresponding to the target processing task from the other storage space of the flash, and execute the target processing task.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method for processing a micro control unit of an air conditioner outdoor unit according to the present application;
FIG. 2 is a schematic diagram of a scenario of a physical EEPROM of the prior art;
FIG. 3 is a schematic view of a scenario in which preset fields are configured according to the present application;
FIG. 4 is a schematic view of a scenario in which preset fields are applied in the present application;
fig. 5 is a schematic structural view of a processing device of a micro control unit of an external air conditioner.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims of the present application and in the above-described figures, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or modules is not necessarily limited to those steps or modules that are expressly listed or inherent to such process, method, article, or apparatus. The naming or numbering of the steps in the present application does not mean that the steps in the method flow must be executed according to the time/logic sequence indicated by the naming or numbering, and the execution sequence of the steps in the flow that are named or numbered may be changed according to the technical purpose to be achieved, so long as the same or similar technical effects can be achieved.
The division of the modules in the present application is a logical division, and may be implemented in another manner in practical application, for example, a plurality of modules may be combined or integrated in another system, or some features may be omitted or not implemented, and in addition, coupling or direct coupling or communication connection between the modules that are shown or discussed may be through some interfaces, and indirect coupling or communication connection between the modules may be in an electrical or other similar form, which is not limited in this application. The modules or sub-modules described as separate components may or may not be physically separate, or may be distributed in a plurality of circuit modules, and some or all of the modules may be selected according to actual needs to achieve the purposes of the present application.
First, before describing the present application, relevant contents of the present application related to application background will be described below.
The processing method, the processing device and the computer readable storage medium of the micro control unit of the air conditioner external unit can be applied to the micro control unit and used for guaranteeing the stability of the EEPROM on data transmission, and further shortening the maintenance time of the EEPROM to a certain extent.
In the processing method of the micro control unit of the air conditioner external unit, the execution main body of the processing method can be a processing device of the micro control unit of the air conditioner external unit or a micro control unit integrated with the processing device of the micro control unit of the air conditioner external unit, and the micro control unit is used for being configured in the air conditioner external unit.
The EEPROM is an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read Only Memory, EEPROM) and is used for storing operation parameters related to processing tasks, and can be called as an E-side chip; flash is a short for Flash Memory or Flash Memory (Flash Memory), and is used for storing running codes related to processing tasks; and the micro control unit (Microcontroller Unit, MCU) is loaded to execute the processing task by respectively calling the operation parameters and the operation codes from the EPPROM and the flash.
The UE may be a terminal device such as a smart phone, a tablet computer, a notebook computer, a personal digital assistant (Personal Digital Assistance, PDA), etc.
Next, a processing method of the micro control unit of the air conditioner external unit provided by the present application will be described.
Fig. 1 shows a schematic flow chart of a processing method of a micro control unit of an air conditioner external unit according to the present application, and as shown in fig. 1, the processing method of the micro control unit of the air conditioner external unit according to the present application may specifically include the following steps:
step S101, a virtual EEPROM is obtained through virtualization processing in a first storage space on a flash configured by a micro control unit, and the virtual EEPROM is used for simulating the function of an entity EEPROM;
step S102, when the target operation parameters are read from the EEPROM in a triggering manner, the micro control unit reads the target operation parameters from the operation parameters stored in the virtual EEPROM;
step S103, a second storage space is further arranged on the flash configured by the micro control unit, and the second storage space is used for storing operation codes of different processing tasks related to the working process of the air conditioner external unit;
step S104, the micro control unit acquires a target running code of a target processing task corresponding to the target running parameter from the second storage space;
in step S105, the micro control unit loads the target running code and the target running parameter to execute the target processing task.
The micro control unit can be seen from the embodiment shown in fig. 1, aiming at the maintenance of the EEPROM of the air conditioner external unit, the application framework of the novel EEPROM is provided, a virtual EEPROM is arranged on the flash of the micro control unit, when the target operation parameter is read from the EPPROM, the micro control unit can read the target operation parameter from the virtual EEPROM, thus, the micro control unit can load the target operation parameter and acquire the target operation code corresponding to the target processing task from the other storage space of the flash, the target processing task is executed, and in the process, due to the fact that the virtual EEPROM is introduced, the replacement of the entity EEPROM can be avoided when the EEPROM of the air conditioner external unit is maintained, the efficiency and the stability of the micro control unit when the operation parameter is fetched from the EEPROM are greatly improved from the virtual perspective, the maintenance time of the EEPROM is shortened to a certain extent, and the maintenance cost of the EEPROM is reduced.
The following will further describe in detail the steps shown in fig. 1 and the specific embodiments that may be adopted in practical applications:
in the present application, it can be understood that, in combination with a schematic diagram of a scenario of the entity EEPROM in the prior art shown in fig. 2, compared with the configuration of the entity EEPROM on the electric control board of the air conditioner external unit in the prior art, the present application adopts a virtual EEPROM mode to realize the normal operation of the air conditioner external unit.
The virtual EEPROM virtually obtains the virtual EEPROM in the specific storage space by dividing a part of the storage space in the flash storage space, and the virtual EEPROM can simulate the working mechanism of a normal EEPROM on the data layer through the configuration of an interface and restore the working scene of an entity EEPROM, so that the working of the EEPROM can be completed more quickly and stably on the basis of the virtual EEPROM because of the characteristics of a communication link on data under the condition of ensuring the realizable working of the complete entity EEPROM.
When the virtual EEPROM is in a maintenance scene of the EEPROM, the operation parameters related to the virtual EEPROM are updated on a data layer, or the updated operation parameters are stored into the virtual EEPROM, so that the virtual EEPROM works in consideration of the characteristics of rapidness and stability, the debugging can be more efficiently completed, the maintenance time of the virtual EEPROM is shortened, and the maintenance cost of the virtual EEPROM is reduced.
Specifically, in the maintenance process of the operation parameters on the virtual EEPROM, the operation parameters to be updated can be transmitted to the micro control unit in a wireless communication mode, so that the micro control unit updates the operation parameters on the virtual EEPROM according to the received operation parameters, and the operation parameters to be updated can be transmitted to the micro control unit in a wired communication mode.
It can be understood that if the wireless communication mode adopted, for example, the air conditioner indoor unit is generally deployed in an urban environment, the wireless communication mode has the characteristics of easy touch and approach, so that wired/wireless connection is easy to be established with the UE at hand of the user, and the operation parameters needing to be updated can be wirelessly transmitted to the air conditioner outdoor unit through the air conditioner indoor unit.
Of course, the UE at hand of the user can also directly establish wireless communication connection with the external air conditioner, and transmit the operation parameters to be updated to the external air conditioner through the wireless communication connection.
Or, the air conditioner external unit can also have an independent wireless communication function, so that the operation parameters needing to be updated can be obtained from the cloud server.
Compared with the wireless communication mode, the wired communication mode has faster and more stable transmission quality and low application cost in data transmission, so the wired transmission mode is still adopted as much as possible in consideration of the fact that the maintenance of the EEPROM of the air conditioner external unit and the updating of the operation parameters on the virtual EPPROM are less in the practical application.
The wired transmission mode may be understood as a communication transmission mode implemented through a physical interface, that is, not only may be a communication transmission mode based on a physical interface and a transmission line, for example, a wired communication connection is configured between the physical interface configured by the micro control unit and a device (UE or other type of device) with an operation parameter that needs to be updated stored outside by using the transmission line; the communication transmission mode based on the physical interface can also be used, for example, equipment with transport parameters needing to be updated stored outside can be directly connected with the physical interface configured by the micro control unit to construct wired communication connection.
The device, which is suitable for practical implementation, stores the operation parameters to be updated in the device when obtaining the operation parameters to be updated based on the wired transmission mode, and may be specifically an entity EEPROM, it may be understood that in the prior art, the operation parameters on the entity EPPROM are updated directly by replacing the entity EEPROM whenever there is an update requirement of the operation parameters.
It can be understood that the entity EPPROM is still adopted as a storage medium of the operation parameters to be updated, so that the entity EPPROM can be transplanted into the maintenance system of the original air conditioning equipment more smoothly in practical application, the maintenance efficiency can be improved, the risk is reduced under the condition of conforming to the updating mode of the original user, the original hardware resource can be utilized to realize, the entity EEPROM is recycled, and the occupation of additional communication resources and hardware resources is avoided, so that the entity EPPROM has higher application value.
For this maintenance scenario, the micro-control unit may be specifically configured to: when the micro control unit monitors that the physical EEPROM is configured, the operating parameters stored by the physical EEPROM are written into the virtual EEPROM.
When the configuration of the entity EEPROM is monitored, the operation parameters stored in the entity EEPROM can be considered as the operation parameters which need to be updated currently, and the operation parameters can be written into the virtual EEPROM for debugging and subsequent application.
Correspondingly, the virtual EEPROM can be directly configured in the flash configured by the micro control unit when the factory is set, and the virtual EEPROM can also be configured in the flash configured by the existing micro control unit, for example, during maintenance, the virtual EEPROM can be deployed in the flash of the original micro control unit which is not configured with the virtual EEPROM and updated, so that the virtual EEPROM works based on the virtual EPPROM and the debugging of operation parameters and the like in the subsequent application.
Correspondingly, when the micro control unit monitors that the physical EEPROM is configured and the virtual EEPROM is not configured, the virtual EEPROM can be obtained by carrying out virtualization processing on the first storage space of the flash of the micro control unit, and the operation parameters stored by the physical EEPROM are written into the virtual EEPEOM.
Wherein, for being more suitable for practical application, the following can be specifically defined: when the micro control unit monitors that a new entity EEPROM is configured, the operating parameters stored by the entity EEPROM are written into the virtual EEPROM.
For example, when a newly configured entity EEPROM (e.g., entity EPPROM when switching from a state without configuration EPPROM to a state with configuration EPPROM) occurs, a entity EEPROM that has not been configured for a historic period of time (e.g., a device identification of entity EPPROM with no configuration record is detected to occur) may be identified as a new entity EEPROM.
Therefore, the operation of continuously writing the running parameters stored in the configured entity EEPROM into the virtual EPPROM can be avoided, repeated processing is reduced, meanwhile, the operation of continuously scanning the entity EPPROM can be avoided, the data processing amount is further reduced, and the effective data processing is improved.
As a further implementation manner suitable for practical use, the monitoring of the entity EEPROM may be implemented specifically by the identifier carried by the entity EEPROM, it may be understood that a preset field may be configured in the EEPROM, where the configuration of the preset field may be understood as being implemented on the basis of the storage space of the entity EEPROM, and the preset field may be an original field of the EEPROM or a field obtained by additional configuration, where the entity EEPROM is located may be identified by the content of the field.
For example, the field contents of "0" and "1" may be configured to identify non-physical EEPROM and physical EEPROM, respectively; alternatively, the field contents of "non-physical EEPROM" and "physical EEPROM" may be directly configured to identify the non-physical EEPROM and the physical EEPROM, respectively.
As a preferred policy, referring to a schematic view of a scenario in which the preset field is configured in the present application shown in fig. 3, the present application may be specifically configured to: in the last address bit of the memory space of the physical EEPROM, a preset parameter date, such as any legal 2-byte 16-ary parameter other than 0x0000 and 0xFFFF, is configured.
In connection with the embodiment shown in fig. 3, reference may be continued to a schematic view of a scenario in which the preset field is applied in the present application shown in fig. 4, to understand the subsequent application of the preset field.
When the preset parameter date is detected, it is obvious that the current connection device can be considered as the entity EEPROM, otherwise, the current connection device is not the EEPROM, under the setting, the rewriting and the configuration of the preset field can be realized to the entity EEPROM more simply, and the current connection device has higher scanning efficiency in practical application, so that the current connection device can be put into practical application better.
Correspondingly, the micro-control unit monitors whether the entity EEPROM is configured, and the method can comprise the following steps:
the micro control unit monitors whether the connected components scan preset identifiers carried by the entity EEPROM, the preset identifiers are configured in a storage space of the entity EEPROM, and the preset identifiers are identifiers configured for the entity EEPROM in advance.
If yes, the micro-control unit determines that the physical EEPROM is configured.
In addition, in addition to storing the operation parameters in the currently accessed EPPROM to the virtual EEPROM in the case of maintenance with the operation parameters that currently need to be updated, another specific application scenario is also disclosed.
In the process of considering updating the original task processing based on the entity EEPROM into the task processing based on the virtual EEPROM, a certain degree of updating risk may exist, and the updating risk may be an artificial updating risk, for example, an air conditioner enterprise pauses the updating of an air conditioner external unit of a certain model, or may also be an updating risk of a machine itself, for example, the entity EEPROM is a newly configured device, and has better service performance and is not obviously affected by long-distance entity routing, so that a more gentle transplanting mechanism may be considered to be introduced when the application is transplanted, for example:
when the micro control unit monitors that the physical EEPROM is abnormal or damaged, the micro control unit triggers the target operation parameters to be read from the virtual EEPROM when the target operation parameters are read from the EEPROM.
It can be understood that the operation parameters in the physical EEPROM may be stored in the virtual EEPROM in advance, and at this time, the backup function of the operation parameters is mainly played, and the specific processing of the processing task of the air conditioner external unit by using the operation parameters in the virtual EEPROM is not implemented yet, which may be understood as the preparation processing for updating the original physical EEPROM into the virtual EEPROM in advance.
Subsequently, when the situation that the entity EEPROM is abnormal or damaged is monitored, namely when the entity EEPROM is difficult to normally finish the work, the original task processing based on the entity EEPROM is updated to the task processing based on the virtual EEPROM, so that the transplanting speed can be effectively slowed down under the condition that the processing task required to be processed can be normally finished, and the updating risk mentioned above is avoided.
In addition, under the setting, if the real-time updating requirement appears, the original task processing based on the entity EEPROM can be updated into the task processing based on the virtual EEPROM in time through an instruction or manual triggering.
The above is an explanation of the processing method of the micro control unit of the air conditioner external unit, and in order to facilitate better implementation of the processing method of the micro control unit of the air conditioner external unit provided by the application, the application also provides a processing device of the micro control unit of the air conditioner external unit.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a processing device of a micro control unit of an external air conditioner according to the present application, in which a processing device 500 of the micro control unit of the external air conditioner may specifically include the following structure:
a virtual unit 501, configured to obtain a virtual EEPROM from a first storage space on the flash configured by the micro control unit through virtualization, where the virtual EEPROM is used to simulate a function of the physical EEPROM;
the reading unit 502 is configured to read the target operation parameter from the operation parameter stored in the virtual EEPROM by the micro control unit when the target operation parameter is triggered to be read from the EEPROM;
the setting unit 503 is configured to further provide a second storage space on the flash configured by the micro control unit, where the second storage space is used to store operation codes of different processing tasks related to the external air conditioner in the working process;
an obtaining unit 504, configured to obtain, from the second storage space, a target running code of a target processing task corresponding to the target running parameter;
the loading unit 505 is configured to load the target running code and the target running parameter to execute the target processing task.
In an exemplary implementation, the apparatus further comprises a writing unit 506 for:
when the micro control unit monitors that the physical EEPROM is configured, the operating parameters stored by the physical EEPROM are written into the virtual EEPROM.
In yet another exemplary implementation, the apparatus further comprises a writing unit 506 for:
when the micro control unit monitors that the physical EEPROM is configured and the virtual EEPROM is not configured, carrying out virtualization processing in the first storage space to obtain the virtual EEPROM, and writing the operation parameters stored by the physical EEPROM into the virtual EEPEOM.
In yet another exemplary implementation, the writing unit 506 is specifically configured to:
when the micro control unit monitors that a new entity EEPROM is configured, the operating parameters stored by the entity EEPROM are written into the virtual EEPROM.
In yet another exemplary implementation, the writing unit 506 is further configured to:
the micro control unit monitors whether the connected components scan preset identifiers carried by the entity EEPROM, the preset identifiers are configured in a storage space of the entity EEPROM, and the preset identifiers are identifiers configured for the entity EEPROM in advance.
If yes, the micro-control unit determines that the physical EEPROM is configured.
In yet another exemplary implementation, the apparatus further comprises a triggering unit 507 for:
when the micro control unit monitors that the physical EEPROM is abnormal or damaged, the micro control unit triggers the target operation parameters to be read from the virtual EEPROM when the target operation parameters are read from the EEPROM.
The application also provides a micro control unit and an air conditioner external unit in air conditioning equipment comprising the micro control unit, wherein the micro control unit can realize the following functions:
the method comprises the steps that a virtual EEPROM is obtained through virtualization processing in a first storage space on a flash configured by a micro control unit, and the virtual EEPROM is used for simulating the function of an entity EEPROM;
when the target operation parameters are triggered to be read from the EEPROM, the target operation parameters are read from the operation parameters stored in the virtual EEPROM;
a second storage space is further arranged on the flash configured by the micro control unit, and the second storage space is used for storing running codes of different processing tasks related to the working process of the air conditioner external unit;
acquiring a target running code of a target processing task corresponding to the target running parameter from the second storage space;
and loading the target running code and the target running parameters to execute the target processing task.
It will be clear to those skilled in the art that, for convenience and brevity of description, the processing device of the micro control unit of the air conditioner external unit, the micro control unit, the air conditioner external unit and the specific working process of the corresponding units of the air conditioner external unit described above may refer to the description of the processing method of the micro control unit of the air conditioner external unit in the corresponding embodiment of fig. 1, and are not repeated herein.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
For this reason, the present application provides a computer readable storage medium, in which a plurality of instructions capable of being loaded by a processor are stored, so as to execute steps in a processing method of a micro control unit of an air conditioner according to a corresponding embodiment of fig. 1, and specific operations may refer to a description of a processing method of a micro control unit of an air conditioner according to a corresponding embodiment of fig. 1, which will not be repeated herein.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
Because the instructions stored in the computer readable storage medium can execute the steps in the processing method of the micro control unit of the air conditioner in the corresponding embodiment of fig. 1, the beneficial effects that can be achieved by the processing method of the micro control unit of the air conditioner in the corresponding embodiment of fig. 1 are achieved, and detailed descriptions are omitted herein.
The above describes the processing method and apparatus of the micro control unit of the air conditioner external unit, the micro control unit, the air conditioner external unit and the computer readable storage medium in detail, and specific examples are applied herein to describe the principles and embodiments of the present application, and the description of the above examples is only used to help understand the method and core ideas of the present application; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.

Claims (8)

1. A method for processing a micro control unit of an air conditioner outdoor unit, the method comprising:
the method comprises the steps that a virtual EEPROM is obtained through virtualization processing in a first storage space on a flash configured by the micro control unit, and the virtual EEPROM is used for simulating the function of an entity EEPROM;
the micro control unit reads the target operation parameters from the operation parameters stored in the virtual EEPROM in response to an instruction for reading the target operation parameters from the EEPROM;
a second storage space is further arranged on the flash configured by the micro control unit, and the second storage space is used for storing operation codes of different processing tasks related to the working process of the air conditioner external unit;
the micro control unit acquires a target running code of a target processing task corresponding to the target running parameter from the second storage space;
the micro control unit loads the target running code and the target running parameter to execute the target processing task;
after the virtual EEPROM is obtained from the first storage space on the flash configured by the micro control unit through virtualization processing, the method further comprises:
when the micro control unit monitors that the entity EEPROM is configured, the running parameters stored by the entity EEPROM are written into the virtual EEPROM;
the writing the operation parameters stored by the entity EEPROM into the virtual EEPROM comprises the following steps:
and when the micro control unit monitors that a new entity EEPROM is configured, writing the operation parameters stored by the entity EEPROM into the virtual EEPROM.
2. The method according to claim 1, wherein after the first storage space on the flash configured by the micro control unit is virtualized to obtain a virtual EEPROM, the method further comprises:
when the micro control unit monitors that the physical EEPROM is configured and the virtual EEPROM is not configured, carrying out virtualization processing on the first storage space to obtain the virtual EEPROM, and writing the operation parameters stored by the physical EEPROM into the virtual EEPROM.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
the micro control unit monitors whether the connected components scan preset identifiers carried by the entity EEPROM, the preset identifiers are configured in a storage space of the entity EEPROM, and the preset identifiers are identifiers configured for the entity EEPROM in advance;
if yes, the micro control unit determines that the entity EEPROM is configured.
4. The method according to claim 1 or 2, wherein after writing the operation parameters stored in the physical EEPROM into the virtual EEPROM, the method further comprises:
when the micro control unit monitors that the physical EEPROM is abnormal or damaged, triggering an instruction for reading target operation parameters from the EEPROM, and reading the target operation parameters from the operation parameters stored in the virtual EEPROM.
5. A processing apparatus of a micro control unit of an air conditioner outdoor unit, the apparatus comprising:
the virtual unit is used for obtaining a virtual EEPROM (electrically erasable programmable read Only memory) through virtualization processing in the first storage space on the flash configured by the micro control unit, and the virtual EEPROM is used for simulating the functions of the physical EEPROM;
the micro control unit is used for reading the target operation parameters from the operation parameters stored in the virtual EEPROM in response to an instruction for reading the target operation parameters from the EEPROM;
the setting unit is used for setting a second storage space on the flash configured by the micro control unit, and the second storage space is used for storing running codes of different processing tasks related to the working process of the air conditioner external unit;
the acquisition unit is used for acquiring a target running code of a target processing task corresponding to the target running parameter from the second storage space;
the loading unit is used for loading the target running code and the target running parameters so as to execute the target processing task;
after the device executes the first storage space on the flash configured by the micro control unit to obtain the virtual EEPROM through virtualization processing, the device is further used for:
when the micro control unit monitors that the entity EEPROM is configured, the running parameters stored by the entity EEPROM are written into the virtual EEPROM;
the writing the operation parameters stored by the entity EEPROM into the virtual EEPROM comprises the following steps:
and when the micro control unit monitors that a new entity EEPROM is configured, writing the operation parameters stored by the entity EEPROM into the virtual EEPROM.
6. A micro control unit for performing the method of any one of claims 1 to 4.
7. An air conditioner external unit, characterized in that it comprises the micro control unit according to claim 6.
8. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a micro control unit to perform the method of any one of claims 1 to 4.
CN202110506759.7A 2021-05-10 2021-05-10 Processing method and device of micro control unit of air conditioner external unit and micro control unit Active CN113360185B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110506759.7A CN113360185B (en) 2021-05-10 2021-05-10 Processing method and device of micro control unit of air conditioner external unit and micro control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110506759.7A CN113360185B (en) 2021-05-10 2021-05-10 Processing method and device of micro control unit of air conditioner external unit and micro control unit

Publications (2)

Publication Number Publication Date
CN113360185A CN113360185A (en) 2021-09-07
CN113360185B true CN113360185B (en) 2023-06-23

Family

ID=77526206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110506759.7A Active CN113360185B (en) 2021-05-10 2021-05-10 Processing method and device of micro control unit of air conditioner external unit and micro control unit

Country Status (1)

Country Link
CN (1) CN113360185B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080013528A (en) * 2006-08-09 2008-02-13 선문대학교 산학협력단 Intergration prototyping method
US9063842B1 (en) * 2013-05-10 2015-06-23 Emc Corporation Technique for integrating VTL tape pools with MTree quotas
EP3214548A1 (en) * 2016-03-04 2017-09-06 Schneider Electric USA Inc. Systems and methods for operating a virtual power environment
CN107526857A (en) * 2016-06-22 2017-12-29 中芯国际集成电路制造(天津)有限公司 EEPROM cell simulation model and eeprom array simulation model
CN109459996A (en) * 2018-12-27 2019-03-12 北京航天智造科技发展有限公司 Production line analogy method and device
CN109582525A (en) * 2018-10-19 2019-04-05 京信通信系统(中国)有限公司 Test code verification method, verifying device, equipment and storage medium
CN111223036A (en) * 2019-12-29 2020-06-02 广东浪潮大数据研究有限公司 GPU virtualization sharing method and device, electronic equipment and storage medium
CN112344524A (en) * 2020-09-28 2021-02-09 Tcl空调器(中山)有限公司 Control method of air conditioner, air conditioner and storage medium
CN112416531A (en) * 2020-12-07 2021-02-26 深圳华制智能制造技术有限公司 Digital twin system simulation method, system, computer device and storage medium
CN112463255A (en) * 2020-12-10 2021-03-09 广州极飞科技有限公司 Virtual interface loading method and device, physical network card and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8918582B2 (en) * 2012-09-11 2014-12-23 International Business Machines Corporation Simulating EEPROM in virtual distributed switches
US10922115B2 (en) * 2015-06-30 2021-02-16 Telefonaktiebolaget Lm Ericsson (Publ) Commissioning of virtualized entities
US10228964B2 (en) * 2016-12-21 2019-03-12 Netapp, Inc. Storage layer based orchestration method for virtual machine migration across disparate virtualization environments
US20200319855A1 (en) * 2019-04-02 2020-10-08 Mz Ip Holdings, Llc Parameter modification of virtual entities for client applications

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080013528A (en) * 2006-08-09 2008-02-13 선문대학교 산학협력단 Intergration prototyping method
US9063842B1 (en) * 2013-05-10 2015-06-23 Emc Corporation Technique for integrating VTL tape pools with MTree quotas
EP3214548A1 (en) * 2016-03-04 2017-09-06 Schneider Electric USA Inc. Systems and methods for operating a virtual power environment
CN107526857A (en) * 2016-06-22 2017-12-29 中芯国际集成电路制造(天津)有限公司 EEPROM cell simulation model and eeprom array simulation model
CN109582525A (en) * 2018-10-19 2019-04-05 京信通信系统(中国)有限公司 Test code verification method, verifying device, equipment and storage medium
CN109459996A (en) * 2018-12-27 2019-03-12 北京航天智造科技发展有限公司 Production line analogy method and device
CN111223036A (en) * 2019-12-29 2020-06-02 广东浪潮大数据研究有限公司 GPU virtualization sharing method and device, electronic equipment and storage medium
CN112344524A (en) * 2020-09-28 2021-02-09 Tcl空调器(中山)有限公司 Control method of air conditioner, air conditioner and storage medium
CN112416531A (en) * 2020-12-07 2021-02-26 深圳华制智能制造技术有限公司 Digital twin system simulation method, system, computer device and storage medium
CN112463255A (en) * 2020-12-10 2021-03-09 广州极飞科技有限公司 Virtual interface loading method and device, physical network card and storage medium

Also Published As

Publication number Publication date
CN113360185A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
CN108833237B (en) Intelligent home gateway and control method thereof
CN110762775B (en) Upgrading method of air conditioner and air conditioner
EP3972202A1 (en) Smart home system control method and apparatus, electronic device and storage medium
CN103559054A (en) Implementing and deleting method and device for intelligent terminal multi-operation system
CN110688172B (en) Device function mutual exclusion logic configuration method and device, electronic device and storage medium
CN106170757B (en) A kind of date storage method and device
CN102915249A (en) Method and device for remotely realizing firmware updating
CN102238265A (en) Mobile phone and method for realizing double-system mobile phone
CN109067562B (en) Dynamic configuration updating method and system based on intelligent pointer, server and medium
CN104424333A (en) Method and system for loading table data
CN111711698A (en) Intelligent equipment network access method and device and intelligent equipment control system and method
CN111124288A (en) VPD storage management method, device, equipment and readable storage medium
CN114019817A (en) Control method and control device of intelligent household equipment and Internet of things system
CN111142885A (en) eSIM device management method, device, equipment and storage medium
CN113360185B (en) Processing method and device of micro control unit of air conditioner external unit and micro control unit
CN110609692A (en) Data acquisition module, firmware upgrading method thereof and storage medium
US11828479B2 (en) Server based air conditioning system adaptor for updating control program
CN103542865A (en) Testing and controlling method and device
WO2023008161A1 (en) Air conditioner firmware updating method, air conditioner equipped with firmware updating method, and program
CN113849510A (en) Data storage method, device and equipment of air conditioner and storage medium
CN110311815B (en) Method, device, equipment and storage medium for realizing switching of Ethernet working mode
JP7243217B2 (en) Air conditioners and air conditioning systems
CN114466387A (en) Method and device for updating configuration file of base station, storage medium and electronic device
CN111464688B (en) Working mode switching method and device
CN108811180B (en) Intelligent equipment binding method, device 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