CN109520079A - Air conditioner and its control method, device and computer readable storage medium - Google Patents
Air conditioner and its control method, device and computer readable storage medium Download PDFInfo
- Publication number
- CN109520079A CN109520079A CN201811328056.4A CN201811328056A CN109520079A CN 109520079 A CN109520079 A CN 109520079A CN 201811328056 A CN201811328056 A CN 201811328056A CN 109520079 A CN109520079 A CN 109520079A
- Authority
- CN
- China
- Prior art keywords
- air conditioner
- kernel
- reflector
- component
- 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.)
- Granted
Links
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/56—Remote control
- F24F11/57—Remote control using telephone networks
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/30—Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
- F24F11/32—Responding to malfunctions or emergencies
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Air Conditioning Control Device (AREA)
Abstract
The invention discloses a kind of control methods of air conditioner, the air conditioner has microcontroller, the microcontroller has the first kernel and the second kernel, first kernel and second kernel have shared deposit region, the control method of the air conditioner is the following steps are included: first kernel detects that there are when Reflector in the shared deposit region, obtain the Reflector, wherein, when second kernel detects the first component failure in the air conditioner, the shared deposit region is written into the corresponding Reflector of the failure;Parse the corresponding fault message of the Reflector;The second component in the air conditioner is controlled according to the fault message.The invention also discloses a kind of air conditioner and its control devices and computer readable storage medium.Communication internuclear in the first kernel and second is realized by shared deposit region read-write mode, and air conditioner can quickly respond failure, improve troubleshooting efficiency.
Description
Technical field
The present invention relates to computer control field more particularly to air conditioner and its control methods, device and computer-readable
Storage medium.
Background technique
Currently, partially using the microcontroller of dual chip in convertible frequency air-conditioner, the master in air-conditioning system is controlled by master chip
Function is wanted, from chip controls periphery additional function, dual chip then completes all functions of frequency-conversion air-conditioning system, two chips jointly
Data are transmitted by communication protocol, it is common to cooperate.The task that master chip is shared from chip improves the work effect of air-conditioning system
Rate.
When faulty or protection signal occurs, handling failure information, two chips are being distinguished using chip each in dual chip
Between by communication transfer fault message, the response actions such as complete report barrier, remove failure, shut down, restart.However, being sent out when from chip
When raw failure, it is unable to complete failure response, then needs to send master chip to from chip fault message, it should by master chip response
Fault message.Two chip chamber transmission fault information, the time needed is long, is unfavorable for promptly responding failure, leads to event
It is lower to hinder treatment effeciency.
Summary of the invention
The main purpose of the present invention is to provide a kind of air conditioner and its control methods, device and computer-readable storage medium
Matter, it is intended to the technical issues of solving transmitting fault information, time-consuming, leads to troubleshooting low efficiency.
To achieve the above object, the present invention provides a kind of control method of air conditioner, and the air conditioner has microcontroller,
The microcontroller has the first kernel and the second kernel, and first kernel and second kernel have shared register mode area
Domain, the control method of the air conditioner the following steps are included:
First kernel detects in the shared deposit region there are when Reflector, obtains the Reflector,
Wherein, when second kernel detects the first component failure in the air conditioner, by the corresponding failure of the failure
The shared deposit region is written in mark;
Parse the corresponding fault message of the Reflector;
The second component in the air conditioner is controlled according to the fault message.
Preferably, it after the step of second component controlled according to the fault message in the air conditioner, also wraps
It includes:
First kernel removes the Reflector in the shared deposit region, for second kernel detection
After removing to the Reflector, the first component operation is controlled.
Preferably, it before the step of second component controlled according to the fault message in the air conditioner, also wraps
It includes:
First kernel detects that there are when Reflector, obtain and save described second in the shared deposit region
The operating parameter of component;
After the Reflector that first kernel removes in the shared deposit region, described the of preservation is run
The operating parameter of two components.
Preferably, the first component is the different components of the air conditioner from the second component.
Preferably, after the acquisition Reflector step, further includes:
There are numbers for the Reflector in acquisition prefixed time interval;
When the Reflector is greater than preset times there are number, the air conditioner out of service;
When the Reflector is less than or equal to preset times there are number, the parsing Reflector pair is executed
The step of fault message answered.
To achieve the above object, the present invention also provides a kind of control method of air conditioner, the air conditioner has microcontroller
Device, the microcontroller have the first kernel and the second kernel, and first kernel and second kernel have shared post
Deposit region, the control method of the air conditioner the following steps are included:
When second kernel detects fault message, first in the air conditioner is controlled according to the fault message
Part;
The shared deposit region is written into the corresponding Reflector of the fault message, for first kernel
It detects in the shared deposit region there are when the Reflector, is controlled in the air conditioner according to the Reflector
Second component.
Preferably, the control method of the air conditioner further include:
When second kernel detects fault message, the operating parameter of the first component is obtained and saved;
After detecting that the Reflector is removed, the operating parameter of the first component of preservation is run, wherein institute
After stating the second component that the first kernel is controlled according to the fault message in the air conditioner, remove in the shared deposit region
The Reflector.
In addition, to achieve the above object, the present invention also provides a kind of control devices of air conditioner, which is characterized in that described
The control device of air conditioner includes: memory, processor and is stored on the memory and can run on the processor
Air conditioner control program, the control program of the air conditioner realizes air conditioner as described above when being executed by the processor
Control method the step of.
In addition, to achieve the above object, the present invention also provides a kind of air conditioners, which is characterized in that the air conditioner has
Microcontroller, the microcontroller have the first kernel and the second kernel, and first kernel and second kernel have
Shared deposit region, the air conditioner further include: memory, processor and be stored on the memory and can be in the processing
The control program of the air conditioner run on device is realized as described above when the control program of the air conditioner is executed by the processor
Air conditioner control method the step of.
In addition, to achieve the above object, the present invention also provides a kind of computer readable storage mediums, which is characterized in that institute
The control program that air conditioner is stored on computer readable storage medium is stated, the control program of the air conditioner is executed by processor
The step of control method of Shi Shixian air conditioner as described above.
A kind of air conditioner and its control method, device and computer readable storage medium that the embodiment of the present invention proposes,
In air conditioner operational process, when the second kernel detects that the first component breaks down, the failure is written in shared deposit region
Corresponding Reflector, the first kernel detect that shared deposit region memory obtains the Reflector after Reflector, and right
Reflector is parsed, to get failure existing for the first component in the second kernel.According to the failure of the first component,
The second component of nuclear control air conditioner does corresponding response in one.By shared deposit region read-write mode realize the first kernel and
Internuclear communication in second, the transmission rate of fault-signal are higher than traditional external circuit information and transmit, and air conditioner can be quick
Failure is responded, troubleshooting efficiency is improved.
Detailed description of the invention
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the control method first embodiment of the air condition of that present invention;
Fig. 3 is the flow diagram of the control method second embodiment of the air condition of that present invention;
Fig. 4 is the flow diagram of the control method 3rd embodiment of the air condition of that present invention;
Fig. 5 is the flow diagram of the control method fourth embodiment of the air condition of that present invention;
Fig. 6 is the flow diagram of the 5th embodiment of control method of the air condition of that present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:
The air conditioner have microcontroller, the microcontroller have the first kernel and the second kernel, described first
Kernel and second kernel have a shared deposit region, the control method of the air conditioner the following steps are included:
First kernel detects in the shared deposit region there are when Reflector, obtains the Reflector,
Wherein, when second kernel detects the first component failure in the air conditioner, by the corresponding failure of the failure
The shared deposit region is written in mark;
Parse the corresponding fault message of the Reflector;
The second component in the air conditioner is controlled according to the fault message.
Due to using the fault message of dual chip processing air conditioner in the prior art, needing to pass from chip fault message
Master chip is given, when responding the fault message by master chip.Two chip chamber transmission fault information, the time needed is long, no
It is promptly responded conducive to failure, causes troubleshooting efficiency lower.
The present invention provides a solution, and in air conditioner operational process, the second kernel detects that the first component occurs
When failure, the corresponding Reflector of the failure is written in shared deposit region, the first kernel detects in shared deposit region
There are after Reflector, obtaining the Reflector, and Reflector is parsed, to get in the second kernel first
Failure existing for part.According to the failure of the first component, the second component of nuclear control air conditioner does corresponding response in first.Pass through
Shared deposit region read-write mode realizes communication internuclear in the first kernel and second, and the transmission rate of fault-signal is higher than tradition
The transmission of external circuit information, air conditioner can quickly respond failure, improve troubleshooting efficiency.
As shown in Figure 1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
The terminal of that embodiment of the invention can be air conditioner, be also possible to the controlling terminal of the air conditioners such as server, computer.
As shown in Figure 1, the terminal may include: controller 1001, such as MCU, network interface 1003, memory 1004 with
And communication bus 1002.Wherein, controller 1001 includes being total to for the first kernel, the second kernel and the first kernel and the second kernel
Deposit region (e.g., share with register) is enjoyed, the first kernel and the second kernel control the operation of each component inside air conditioner respectively.Net
Network interface 1003 optionally may include standard wireline interface and wireless interface (such as WI-FI interface), be mainly used for connection backstage
Server carries out data communication with background server.Memory 1004 can be high speed RAM memory, be also possible to stable
Memory (non-volatile memory), such as magnetic disk storage.Memory 1004 optionally can also be independently of aforementioned
The storage device of controller 1001.Communication bus 1002 is for realizing the connection communication between these components.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap
It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include operating system, double-core mould in a kind of memory 1004 of computer storage medium
The control program of block, shared registration module and air conditioner.
In terminal shown in Fig. 1, controller 1001 can be used for calling the control of the air conditioner stored in memory 1004
Processing procedure sequence, and execute following operation:
First kernel detects in the shared deposit region there are when Reflector, obtains the Reflector,
Wherein, when second kernel detects the first component failure in the air conditioner, by the corresponding failure of the failure
The shared deposit region is written in mark;
Parse the corresponding fault message of the Reflector;
The second component in the air conditioner is controlled according to the fault message.
Controller 1001 can be used for calling the control program of the air conditioner stored in memory 1004, and execute following behaviour
Make:
First kernel detects that there are when Reflector, obtain and save described second in the shared deposit region
The operating parameter of component;
Get in the shared deposit region that there are the corresponding fault clearances of the Reflector in first kernel
When mark, the operating parameter of the second component of preservation is run, wherein second kernel detects that the failure has been removed
When, the shared deposit region is written into the fault clearance mark.
Controller 1001 can be used for calling the control program of the air conditioner stored in memory 1004, and execute following behaviour
Make:
Remove the Reflector.
Controller 1001 can be used for calling the control program of the air conditioner stored in memory 1004, and execute following behaviour
Make:
When second kernel detects fault message, first in the air conditioner is controlled according to the fault message
Part;
The shared deposit region is written into the corresponding Reflector of the fault message, for first kernel
It detects in the shared deposit region there are when Reflector, second in the air conditioner is controlled according to the Reflector
Component.
Controller 1001 can be used for calling the control program of the air conditioner stored in memory 1004, and execute following behaviour
Make:
When detecting the fault clearance, the shared deposit is written into the corresponding fault clearance mark of the Reflector
Region.
Controller 1001 can be used for calling the control program of the air conditioner stored in memory 1004, and execute following behaviour
Make:
When second kernel detects fault message, the operating parameter of the first component is obtained and saved;
After detecting the fault clearance, the operating parameter of the first component of preservation is run.
Reference Fig. 2, the control method first embodiment of the air condition of that present invention, the control method of the air conditioner include:
Step S10, first kernel detect that there are when Reflector, obtain the event in the shared deposit region
Barrier mark, wherein when second kernel detects the first component failure in the air conditioner, by the corresponding institute of the failure
It states Reflector and the shared deposit region is written.
Step S20 parses the corresponding fault message of the Reflector.
Step S30 controls the second component in the air conditioner according to the fault message.
In air conditioner have microcontroller, wherein microcontroller have two kernels of the first kernel and the second kernel, two
A kernel has shared deposit region, and the first kernel and the second kernel can carry out data in the shared deposit region jointly
Storage and reading.Wherein, shared register mode area, which can be, is arranged in shared register internuclear in two, can also be total
Shared deposit region is marked off in register and deposit region that the first kernel, the second kernel are used alone.Inside air conditioner
Each component transfers to the first kernel or the second kernel to be controlled respectively, the control work of each kernel complete independently whole part system
Make.Air conditioner internal part mainly has master control, compressor, blower and PFC (Active PFC).
In air conditioner operational process, when the second kernel detects that the first component breaks down, in shared deposit region
The corresponding Reflector of the failure is written, the first kernel detects that shared deposit region memory after Reflector, obtains the event
Barrier mark, and Reflector is parsed, to get failure existing for the first component in the second kernel.According to first
The failure of part, the second component of nuclear control air conditioner does corresponding response in first.It is real by shared deposit region read-write mode
Internuclear communication in existing first kernel and second, the transmission rate of fault-signal is higher than traditional external circuit information and transmits, empty
It adjusts device that can respond to failure, improves troubleshooting efficiency.
For example, the first kernel is responsible for the control of main control task and compressor, the second kernel is mainly responsible for the drive of PFC and blower
It moves, then the corresponding operating of the first kernel separate responses master control and PFC, and the phase of the second kernel separate responses blower and compressor
It should operate.Detect that there are when failure, shared register mode area is written in the corresponding Reflector of fan trouble by blower in the second kernel
Domain, the first kernel read failure mark from shared deposit region, control master control send the instruction for reducing power, drop to compressor
The power of low compressor, avoids blower from not rotating, and compressor horsepower is excessive to lead to compressor damage.Either, when failure more
When serious, nuclear control master control implements the shutdown of air conditioner, the protections operation such as protects or restart in first.
In addition, the communication between entire air conditioner is responsible in master control, there is control effect to all parts of air conditioner, therefore, when
When blower, the compressor etc. of the control of second kernel break down, nuclear control blower or compressor shutdown in second, and the first kernel
The master control of control detects that blower or compressor are not run according to current operating parameter, it will Xiang Fengji or compressor are sent
Operating instruction causes blower or compressor to receive the instruction contradicted, may cause system crash.Therefore in the second kernel by wind
The fault message of machine or compressor is transferred to the first kernel by shared deposit region, and the first kernel is not retransmited master control is controlled
The operating instruction of blower or compressor protects the operating system of air conditioner.Therefore, the second component not singly refers to the first kernel
The component of one air conditioner of control, it is also possible to which multiple components are specifically determined by existing fault message.
It is easily understood that prestoring air conditioner all parts fault type that may be present and each event in a program
Hinder the corresponding Reflector of type, the first kernel and the second kernel have the analytic ability of fault type and Reflector.
Further, the component for the air conditioner that the first kernel and the second kernel control respectively is different, therefore the first component
It is the different components of air conditioner from second component.
In the present embodiment, in air conditioner operational process, when the second kernel detects that the first component breaks down, altogether
It enjoys and the corresponding Reflector of the failure is written in deposit region, the first kernel detects shared deposit region memory in Reflector
Afterwards, the Reflector is obtained, and Reflector is parsed, to get event existing for the first component in the second kernel
Barrier.According to the failure of the first component, the second component of nuclear control air conditioner does corresponding response in first.By sharing register mode area
Domain read-write mode realizes communication internuclear in the first kernel and second, and the transmission rate of fault-signal is higher than traditional outer circuits
Information transmission, air conditioner can quickly respond failure, improve troubleshooting efficiency.
Referring to Fig. 3, the control method second embodiment of the air condition of that present invention is based on above-mentioned first embodiment, the step
After S30, further includes:
Step S40, first kernel removes the Reflector in the shared deposit region, for described second
After kernel detects that the Reflector is removed, the first component operation is controlled.
The information being written in shared deposit region is read in the timing of first kernel, in order to be able to be obtained the second kernel in time and be passed
Defeated fault message, and according to the corresponding second component operation of fault message control or equal failure responses operation out of service.?
After first kernel carries out response operation for fault message, the Reflector in shared deposit region is removed, to avoid failure
Mark always exists, and the first kernel is caused repeatedly to read the Reflector, and failure response is repeated, meanwhile, it is posted shared
After depositing the Reflector removing in region, the second kernel can restart the first component, control first component operation.
It should be pointed out that air-conditioning system is in operating status when the first kernel carries out the removing of failure identification, if when event
When barrier response operation is that air-conditioning system is out of service, then after air-conditioning system restarts, the first kernel of control is by the failure mark
Know and removes;If failure is smaller, the influence of hardware damage or operation to air conditioner is weaker, and failure response operation does not need air-conditioning
System is out of service, then is purged immediately to Reflector after response operation.
The sweep-out method of Reflector has, and in the second kernel Write fault mark, the state for sharing deposit region is 1,
When removing Reflector, Reflector state is changed to 0.The method that can also be other clear flags, herein will no longer
It repeats one by one.
Further, if when the second kernel runs the first component, detecting the first component still after Reflector removing
There are failures, then the Reflector is written in shared deposit region again in the second kernel.First kernel reads the Reflector
Afterwards, failure response is made again, repeats the control method of the air conditioner in above-described embodiment, until failure thoroughly removes.However,
If the failure of the first component always exists, repeatedly same Reflector, air-conditioning is written in shared deposit region in the second kernel
System enters endless loop.Therefore shared deposit region memory is read in failure identification in the first kernel, it obtains in preset time
The number that the failure identification occurs in being spaced.When the Reflector is greater than preset times there are number, air conditioner out of service,
Air conditioner is protected;When the Reflector is less than or equal to preset times there are number, step S20, parsing are executed
The corresponding fault message of the Reflector, completes failure response.The prefixed time interval is 1-30 minutes desirable, preset times
The desirable positive integer greater than 3, can also be configured according to the actual conditions of each component of air conditioner, when place column without being limited thereto are preset
Between be spaced and preset times.
Control air conditioner method out of service has, and nuclear control is stored in its internal master control to blower, compression in first
The components such as machine send the operational order, etc. that revolving speed is 0.
In the present embodiment, the information being written in shared deposit region is read in the timing of the first kernel, in order to be able in time
It obtains the fault message of the second kernel transmission, and corresponding second component operation or out of service is controlled according to fault message.?
After first kernel carries out response operation for fault message, the Reflector in shared deposit region is removed, to avoid failure
Mark always exists, and the first kernel is caused repeatedly to read the Reflector, and failure response is repeated, meanwhile, it is posted shared
After depositing the Reflector removing in region, the second kernel can restart the first component, control first component operation.
Referring to Fig. 4, the control method 3rd embodiment of the air condition of that present invention is based on above-mentioned first or second embodiments, institute
Before stating step S30, further includes:
Step S50, first kernel detects in the shared deposit region there are when Reflector, obtains and saves
The operating parameter of the second component.
Step S60, after the Reflector that first kernel removes in the shared deposit region, operation is saved
The second component operating parameter.
After the first kernel carries out response operation for fault message, the Reflector in shared deposit region is removed,
The normal operation of first kernel recovery second component.For the operating status before enabling second component to restore failure response,
First kernel detects in shared deposit region there are when failure identification, obtains the operating parameter of current second component, and should
The operating parameter of second component saves, and after the first kernel removes Reflector present in shared deposit region, controls the
The operating parameter that the operation of two components saves, restores the normal operation of air conditioner, ensures the working effect of air conditioner.
Wherein, the step S50 and step S60 are before step S30, after step S10 or step S20.
In the present embodiment, detect that there are when Reflector, obtain current the in shared deposit region in the first kernel
The operating parameter of two components, and the operating parameter of the second component is saved, the first kernel will be present in shared deposit region
After Reflector is removed, the operating parameter that control second component operation saves restores the normal operation of air conditioner, ensures air conditioner
Working effect.
Reference Fig. 5, the control method fourth embodiment of the air condition of that present invention, the control method of the air conditioner include:
Step S70 when second kernel detects fault message, is controlled in the air conditioner according to the fault message
The first component.
The shared deposit region is written, for described in the corresponding Reflector of the fault message by step S80
First kernel detects in the shared deposit region there are when Reflector, controls the air conditioner according to the Reflector
In second component.
In air conditioner have microcontroller, wherein microcontroller have two kernels of the first kernel and the second kernel, two
A kernel has shared deposit region, and the first kernel and the second kernel can carry out data in the shared deposit region jointly
Storage and reading.Wherein, shared register mode area, which can be, is arranged in shared register internuclear in two, can also be total
Shared deposit region is marked off in register and deposit region that the first kernel, the second kernel are used alone.Inside air conditioner
Each component transfers to the first kernel or the second kernel to be controlled respectively, the control work of each kernel complete independently whole part system
Make.Air conditioner internal part mainly has master control, compressor, blower and PFC (Active PFC).
Detect that the first component of its control reduces running frequency there are the first component when failure, is controlled in the second kernel
Or it is out of service etc..Also, by the corresponding shared deposit region of Reflector write-in of failure existing for the first component, so that,
First kernel reads and parses the Reflector in shared deposit region, the fault message of the first component is obtained, according to first
The failure of component, the second component of nuclear control air conditioner does corresponding response in first.Pass through shared deposit region read-write mode
Realize communication internuclear in the first kernel and second, the transmission rate of fault-signal is higher than traditional external circuit information and transmits,
Air conditioner can respond failure, improve troubleshooting efficiency.
For example, the first kernel is responsible for the control of main control task and compressor, the second kernel is mainly responsible for the drive of PFC and blower
It moves, then the corresponding operating of the first kernel separate responses master control and PFC, and the phase of the second kernel separate responses blower and compressor
It should operate.Blower is detected there are when failure, stopping the rotation of blower, and by the corresponding failure mark of fan trouble in the second kernel
The shared deposit region of will write-in, the first kernel read failure mark from shared deposit region, control master control are sent to compressor
The instruction for reducing power, reduces the power of compressor, blower is avoided not rotate, compressor horsepower is excessive to lead to compressor damage.
In addition, the communication between entire air conditioner is responsible in master control, there is control effect to all parts of air conditioner, therefore, when
When blower, the compressor etc. of the control of second kernel break down, nuclear control blower or compressor shutdown in second, and the first kernel
The master control of control detects that blower or compressor are not run according to current operating parameter, it will Xiang Fengji or compressor are sent
Operating instruction causes blower or compressor to receive the instruction contradicted, may cause system crash.Therefore in the second kernel by wind
The fault message of machine or compressor is transferred to the first kernel by shared deposit region, and the first kernel is not retransmited master control is controlled
The operating instruction of blower or compressor protects the operating system of air conditioner.Therefore, the second component not singly refers to the first kernel
The component of one air conditioner of control, it is also possible to which multiple components are specifically determined according to existing fault message.
It is easily understood that prestoring air conditioner all parts fault type that may be present and each event in a program
Hinder the corresponding Reflector of type, the first kernel and the second kernel have the analytic ability of fault type and Reflector.
In the present embodiment, the second kernel detect its control the first component there are when failure, control this first
Part reduces running frequency or out of service etc..Also, the corresponding Reflector write-in of failure existing for the first component is shared and is posted
Region is deposited, so that, the first kernel reads and parses the Reflector in shared deposit region, obtains the failure of the first component
Information, according to the failure of the first component, the second component of nuclear control air conditioner does corresponding response in first.Pass through shared deposit
Region read-write mode realizes communication internuclear in the first kernel and second, and the transmission rate of fault-signal is higher than traditional external electricity
The transmission of road information, air conditioner can respond failure, improve troubleshooting efficiency.
Referring to Fig. 6, the 5th embodiment of control method of the air condition of that present invention is based on above-mentioned fourth embodiment, the step
Before S70, further includes:
Step S90 when second kernel detects fault message, obtains and saves the operation ginseng of the first component
Number;
Step S100 runs the operation ginseng of the first component of preservation after detecting that the Reflector is removed
Number, wherein after first kernel controls the second component in the air conditioner according to the fault message, remove described shared
Deposit the Reflector in region.
After the first kernel carries out response operation for fault message, the Reflector in shared deposit region is removed,
After second kernel detects that the failure identification in shared deposit region is removed, restores the operation of the first component, restore air conditioner
Normal operation, ensure the working effect of air conditioner.Therefore, detecting the first component, there are when failure, obtain and save
The operating parameter of one component, so that after Reflector is removed, the operation that the operation of the nuclear control first component saves in second is joined
Number, can rapidly and accurately restore the normal operation of the first component.
In the present embodiment, the second kernel is detecting that the first component there are when failure, obtains and save the first component
Operating parameter, and after the first kernel responds failure by it is shared deposit region in Reflector remove after, nuclear control in second
The operating parameter that first component operation saves, can rapidly and accurately restore the normal operation of the first component.
In addition, the embodiment of the present invention also proposes that a kind of control device of air conditioner, the control device of the air conditioner include:
Memory, processor and the control program for being stored in the air conditioner that can be run on the memory and on the processor, institute
State the control method that air conditioner described in as above each embodiment is realized when the control program of air conditioner is executed by the processor
The step of.
In addition, the present invention also provides a kind of air conditioner, the air conditioner has a microcontroller, and the microcontroller has the
One kernel and the second kernel, first kernel and second kernel have shared deposit region, and the air conditioner also wraps
It includes: memory, processor and the control program for being stored in the air conditioner that can be run on the memory and on the processor,
The controlling party of air conditioner described in as above each embodiment is realized when the control program of the air conditioner is executed by the processor
The step of method.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with the control program of air conditioner, as above each embodiment is realized when the control program of the air conditioner is executed by processor
The step of control method of the air conditioner.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of control method of air conditioner, which is characterized in that the air conditioner has microcontroller, and the microcontroller has
First kernel and the second kernel, first kernel and second kernel have shared deposit region, the air conditioner
Control method the following steps are included:
First kernel detects in the shared deposit region there are when Reflector, obtains the Reflector, wherein
When second kernel detects the first component failure in the air conditioner, the corresponding Reflector of the failure is write
Enter the shared deposit region;
Parse the corresponding fault message of the Reflector;
The second component in the air conditioner is controlled according to the fault message.
2. the control method of air conditioner as described in claim 1, which is characterized in that described to control institute according to the fault message
After the step of stating the second component in air conditioner, further includes:
First kernel removes the Reflector in the shared deposit region, so that second kernel detects institute
After stating Reflector removing, the first component operation is controlled.
3. the control method of air conditioner as claimed in claim 2, which is characterized in that described to control institute according to the fault message
Before the step of stating the second component in air conditioner, further includes:
First kernel detects that there are when Reflector, obtain and save the second component in the shared deposit region
Operating parameter;
After the Reflector that first kernel removes in the shared deposit region, described second of preservation is run
The operating parameter of part.
4. the control method of air conditioner as described in claim 1, which is characterized in that the first component and the second component
For the different components of the air conditioner.
5. the control method of the air conditioner as described in claim 1-4 is any, which is characterized in that described to obtain the Reflector
After step, further includes:
There are numbers for the Reflector in acquisition prefixed time interval;
When the Reflector is greater than preset times there are number, the air conditioner out of service;
When the Reflector is less than or equal to preset times there are number, it is corresponding to execute the parsing Reflector
The step of fault message.
6. a kind of control method of air conditioner, which is characterized in that the air conditioner has microcontroller, and the microcontroller has
First kernel and the second kernel, first kernel and second kernel have shared deposit region, the air conditioner
Control method the following steps are included:
When second kernel detects fault message, the first component in the air conditioner is controlled according to the fault message;
The shared deposit region is written into the corresponding Reflector of the fault message, for first kernel detection
Into the shared deposit region there are when the Reflector, second in the air conditioner is controlled according to the Reflector
Component.
7. the control method of air conditioner as claimed in claim 6, which is characterized in that described to control institute according to the fault message
Before the step of stating the first component in air conditioner, further includes:
When second kernel detects fault message, the operating parameter of the first component is obtained and saved;
After detecting that the Reflector is removed, the operating parameter of the first component of preservation is run, wherein described
After one kernel controls the second component in the air conditioner according to the fault message, the institute in the shared deposit region is removed
State Reflector.
8. a kind of control device of air conditioner, which is characterized in that the control device of the air conditioner includes: memory, processor
And it is stored in the control program for the air conditioner that can be run on the memory and on the processor, the control of the air conditioner
The step of control method of the air conditioner as described in any one of claims 1 to 7 is realized when program is executed by the processor.
9. a kind of air conditioner, which is characterized in that the air conditioner have microcontroller, the microcontroller have the first kernel with
And second kernel, first kernel and second kernel have shared deposit region, the air conditioner further include: storage
Device, processor and the control program for being stored in the air conditioner that can be run on the memory and on the processor, the sky
The control of the air conditioner as described in any one of claims 1 to 7 is realized when the control program of device being adjusted to be executed by the processor
The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with air conditioner on the computer readable storage medium
Control program, when the control program of the air conditioner is executed by processor realize as described in any one of claims 1 to 7
The step of control method of air conditioner.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811328056.4A CN109520079B (en) | 2018-11-08 | 2018-11-08 | Air conditioner, control method and device thereof, and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811328056.4A CN109520079B (en) | 2018-11-08 | 2018-11-08 | Air conditioner, control method and device thereof, and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109520079A true CN109520079A (en) | 2019-03-26 |
CN109520079B CN109520079B (en) | 2021-07-23 |
Family
ID=65774213
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811328056.4A Active CN109520079B (en) | 2018-11-08 | 2018-11-08 | Air conditioner, control method and device thereof, and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109520079B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113454613A (en) * | 2020-10-30 | 2021-09-28 | 华为技术有限公司 | Information transmission method, control device, electromagnetic signal transmitting and receiving device and signal processing equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01261770A (en) * | 1988-04-13 | 1989-10-18 | Daikin Ind Ltd | Data transmitting equipment and control device for air conditioner provided with same data transmitting equipment |
CN1928746A (en) * | 2005-09-06 | 2007-03-14 | 台达电子工业股份有限公司 | Controller with dual-processor |
CN1942859A (en) * | 2003-10-01 | 2007-04-04 | 扎鲁纳股份有限公司 | Operating systems |
CN101593097A (en) * | 2009-05-22 | 2009-12-02 | 西安交通大学 | The method for designing of embedded isomorphism symmetry double-core risc microcontroller |
CN104633858A (en) * | 2015-01-29 | 2015-05-20 | 株洲南车时代电气股份有限公司 | Air conditioner system control device |
-
2018
- 2018-11-08 CN CN201811328056.4A patent/CN109520079B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01261770A (en) * | 1988-04-13 | 1989-10-18 | Daikin Ind Ltd | Data transmitting equipment and control device for air conditioner provided with same data transmitting equipment |
CN1942859A (en) * | 2003-10-01 | 2007-04-04 | 扎鲁纳股份有限公司 | Operating systems |
CN1928746A (en) * | 2005-09-06 | 2007-03-14 | 台达电子工业股份有限公司 | Controller with dual-processor |
CN101593097A (en) * | 2009-05-22 | 2009-12-02 | 西安交通大学 | The method for designing of embedded isomorphism symmetry double-core risc microcontroller |
CN104633858A (en) * | 2015-01-29 | 2015-05-20 | 株洲南车时代电气股份有限公司 | Air conditioner system control device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113454613A (en) * | 2020-10-30 | 2021-09-28 | 华为技术有限公司 | Information transmission method, control device, electromagnetic signal transmitting and receiving device and signal processing equipment |
CN113454613B (en) * | 2020-10-30 | 2022-08-09 | 华为技术有限公司 | Information transmission method, control device, electromagnetic signal transmitting and receiving device and signal processing equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109520079B (en) | 2021-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10104176B2 (en) | Remote management for a computing device | |
CN104657228B (en) | A kind of system exception processing method and processing device of mobile terminal | |
US11277879B2 (en) | Controlling method for coexistence of dual modes, Wi-Fi chip, and communication device | |
EP2618544B1 (en) | Ethernet communication system and method based on mmc/sd interface | |
CN112015689B (en) | Method, system and device for switching serial port output paths and switch | |
CN103139018A (en) | Network card condition monitoring and transmission control protocol (TCP) communication method in dispatching and transformer substation integrated system | |
CN110708227A (en) | Automatic replay attack testing method in field bus | |
CN104579774A (en) | Switching method and device for main control equipment | |
CN105897623B (en) | A kind of transmission method and device of data | |
CN109520079A (en) | Air conditioner and its control method, device and computer readable storage medium | |
CN104468301B (en) | A kind of Safety output method based on MVB communications | |
CN105049238A (en) | Redundancy backup method and equipment for LTE (Long Term Evolution) gateway equipment exchange subsystem | |
CN109582626B (en) | Method, device and equipment for accessing bus and readable storage medium | |
CN112256525A (en) | Intelligent network card state monitoring method, system, terminal and storage medium | |
CN101707589A (en) | Automatic port switching method and device for multiport network card | |
CN103731172A (en) | Road side unit equipment and radio frequency transmit-receive method | |
CN108173786B (en) | Management monitoring system and method | |
CN115361312A (en) | Link flow based method and device for monitoring link state between ring network nodes | |
CN111865656A (en) | Network channel fault analysis method based on combination of network message and telecontrol message | |
CN105245840A (en) | Data forwarding method and device and camera | |
US20180052805A1 (en) | Microcontroller with a diagnosis module and method for accessing said module of said microcontroller | |
WO2024139743A1 (en) | Network interface card, single board, electronic device, and service switchover method | |
CN221151379U (en) | Network threat monitoring circuit and equipment | |
CN215300646U (en) | Bypass control device | |
CN202838468U (en) | Train data recorder |
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 |