CN106568168A - Debugging method, debugger and system - Google Patents
Debugging method, debugger and system Download PDFInfo
- Publication number
- CN106568168A CN106568168A CN201610957359.7A CN201610957359A CN106568168A CN 106568168 A CN106568168 A CN 106568168A CN 201610957359 A CN201610957359 A CN 201610957359A CN 106568168 A CN106568168 A CN 106568168A
- Authority
- CN
- China
- Prior art keywords
- debugging
- message
- air
- conditioning equipment
- sent
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 86
- 238000004378 air conditioning Methods 0.000 claims abstract description 168
- 238000004891 communication Methods 0.000 claims abstract description 86
- 230000004044 response Effects 0.000 claims abstract description 84
- 230000008569 process Effects 0.000 claims abstract description 52
- 238000012545 processing Methods 0.000 claims description 13
- 238000002224 dissection Methods 0.000 claims description 9
- 230000005540 biological transmission Effects 0.000 claims description 8
- 230000008901 benefit Effects 0.000 abstract description 2
- 238000005538 encapsulation Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 10
- 230000004048 modification Effects 0.000 description 8
- 238000012986 modification Methods 0.000 description 8
- 230000009471 action Effects 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 238000012856 packing Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000007257 malfunction Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000004899 motility Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 241000256837 Apidae Species 0.000 description 1
- 241000937378 Everettia interior Species 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
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/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- 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
-
- 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/58—Remote control using Internet communication
-
- 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/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Combustion & Propulsion (AREA)
- Chemical & Material Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Medical Informatics (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a debugging method, a debugger and a system, which can receive a debugging message sent by terminal equipment, send the debugging message to corresponding air conditioning equipment in a wireless communication mode, and carry out debugging setting on the air conditioning equipment based on the debugging message; after receiving the response message sent by the air conditioning equipment in the wireless communication mode, the air conditioning equipment can also send the response message to the terminal equipment. Compared with the prior art, the remote debugging method has the advantages that workers do not need to visit the site, the air conditioner does not need to be disassembled, and the remote debugging is realized. Therefore, the debugging process of the air conditioner is simplified, the debugging efficiency of the air conditioner is improved, the debugging cost of the air conditioner is reduced, and the problems that the debugging process is more complicated, the efficiency is lower and the cost is higher in the prior art are solved.
Description
Technical field
The present invention relates to air-conditioning technical field, more particularly to a kind of adjustment method, debugger and system.
Background technology
With the continuous development of science and technology, air-conditioning has become an indispensable part in people's daily life,
For the working condition of accurate measurements air-conditioning equipment, it usually needs connect corresponding tune on the interior machine microcontroller of air-conditioning equipment
Examination device, specifically, in the industry frequently with adjustment method can be divided into it is following two:
The first, direct judgment mode, i.e. staff (such as research staff, market support staff etc.) reach the spot, and
According to the failure code of air-conditioning equipment LED (Light Emitting Diode, light emitting diode) screen display, to air-conditioning equipment
Malfunction judged.But, this debud mode needs staff to be in the action so that the failure to air-conditioning equipment
Process is complex, less efficient, relatively costly;And the failure code in LED screen is only relied only on due to this debud mode, and
The interior machine microcontroller of air-conditioning equipment cannot be tracked in real time, breakpoint cannot be also set and single step is performed, thus also
The fault type for determining can be caused not accurate enough.
Secondth, wired debud mode, i.e. staff's carrying notebook computer and wired debugger are reached the spot, and tear open
Air-conditioning equipment is unloaded, and wired debugger is passed through into serial ports or USB (Universal Serial Bus, USB (universal serial bus)) interface
It is connected on terminal unit, corresponding air-conditioning equipment is connected to by SWD (Serial Wire Debug, string line debugging) interface
Interior machine microcontroller on, the type information of the interior machine of air-conditioning equipment is checked by notebook computer, so as to air-conditioning equipment
The malfunction of interior machine judged.Although this debud mode can effectively lift the degree of accuracy of fault type, but still
Coming to personally for staff cannot be so avoided, and also needs to dismantle air-conditioning equipment, thus this debud mode is to air-conditioning equipment
Failure process it is still complex, it is less efficient that malfunction elimination is seen, cost is still higher.
In sum, existing adjustment method has that debugging process is cumbersome, less efficient and relatively costly.
The content of the invention
A kind of adjustment method, debugger and system are embodiments provided, to solve existing adjustment method institute
Cumbersome, less efficient and relatively costly etc. the problem of the debugging process of presence.
A kind of adjustment method is embodiments provided, including:
The debugging message that receiving terminal apparatus send;
The debugging message is sent to corresponding air-conditioning equipment by communication, with by the air-conditioning equipment base
Debugging setting is carried out in the debugging message;
Receive the response message that the air-conditioning equipment is sent by communication;
The response message is sent to the terminal unit.
A kind of debugger is embodiments provided, including:
Debugging message receiver module, for the debugging message that receiving terminal apparatus send;
Debugging message sending module, sets for the debugging message is sent to corresponding air-conditioning by communication
It is standby, debugging setting is carried out based on the debugging message by the air-conditioning equipment;
Response message receiver module, for receiving the response message that the air-conditioning equipment is sent by communication;
Response message sending module, for the response message is sent to the terminal unit.
Correspondingly, the embodiment of the present invention additionally provides a kind of debugging system, including terminal, air-conditioning and the embodiment of the present invention
Described in debugger, wherein:
The terminal, for sending debugging message to the debugger;And, receive the response report that the debugger sends
Text;
The debugging message for receiving the debugging message that the terminal sends, and is passed through nothing by the debugger
Line communication mode is sent to the air-conditioning;And, the response message that the air-conditioning is sent by communication is received,
And the response message is sent to the terminal;
The air-conditioning, for receiving the debugging message that the debugger is sent by communication, and is based on
The debugging message carries out debugging setting;And, the response message for generating is sent to described by communication
Debugger.
The present invention has the beneficial effect that:
Embodiments provide a kind of adjustment method, debugger and system, can receiving terminal apparatus send debugging
Message, and the debugging message can be sent to corresponding air-conditioning equipment by communication, with by the air-conditioning equipment
Debugging setting is carried out based on the debugging message;Receiving the response report that the air-conditioning equipment is sent by communication
After text, also the response message can be sent to the terminal unit.Compared to prior art, come to personally without the need for staff existing
, air-conditioning need not be more dismantled, that is, realizes remote debugging.So as to simplifying the debugging process of air-conditioning, improving the debugging of air-conditioning
Efficiency, reduces the debugging cost of air-conditioning, solve debugging process in the presence of prior art it is cumbersome, less efficient and
Relatively costly problem.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to making needed for embodiment description
Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this
For the those of ordinary skill in field, on the premise of not paying creative work, can be obtaining other according to these accompanying drawings
Accompanying drawing.
The schematic flow sheet of the adjustment method that Fig. 1 is provided in showing the embodiment of the present invention one;
The structural representation of the air-conditioning equipment that Fig. 2 is provided in showing the embodiment of the present invention one;
The internal structure schematic diagram of the wireless debugger that Fig. 3 is provided in showing the embodiment of the present invention one;
The internal structure schematic diagram of the wireless debugging module that Fig. 4 is provided in showing the embodiment of the present invention one;
The unidirectional software flow schematic diagram of the adjustment method that Fig. 5 is provided in showing the embodiment of the present invention one;
The structural representation of the debugger that Fig. 6 is provided in showing the embodiment of the present invention two;
The structural representation of the debugging system that Fig. 7 is provided in showing the embodiment of the present invention three.
Specific embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made into
One step ground is described in detail, it is clear that described embodiment is only a part of embodiment of the invention, rather than the enforcement of whole
Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made
All other embodiment, belongs to the scope of protection of the invention.
Embodiment one:
It is cumbersome, less efficient and relatively costly in order to solve debugging process existing for existing adjustment method
Problem, the embodiment of the present invention one provide a kind of adjustment method, as shown in figure 1, which is the tune described in the embodiment of the present invention one
The schematic flow sheet of method for testing.Specifically, as shown in Figure 1, the adjustment method may include following steps:
Step 101:The debugging message that receiving terminal apparatus send;
Step 102:The debugging message is sent to corresponding air-conditioning equipment by communication, with by the sky
Tune equipment carries out debugging setting based on the debugging message;
Step 103:Receive the response message that the air-conditioning equipment is sent by communication;
Step 104:The response message is sent to the terminal unit.
That is, in embodiments of the present invention, can the debugging message that sends of receiving terminal apparatus, and can be by the debugging
Message is sent to corresponding air-conditioning equipment by communication, to be carried out based on the debugging message by the air-conditioning equipment
Debugging is arranged;After the response message that the air-conditioning equipment is sent by communication is received, can also be by the sound
Message is answered to send to the terminal unit.Compared to prior art, it is in the action without the need for staff, need not more dismantles air-conditioning,
Remote debugging is realized.So as to simplifying the debugging process of air-conditioning, improving the debugging efficiency of air-conditioning, the tune of air-conditioning is reduced
Examination cost, solves the problems, such as that the debugging process in the presence of prior art is cumbersome, less efficient and relatively costly.
It should be noted that the executive agent of the adjustment method described in the embodiment of the present invention generally can be arbitrary wireless tune
Examination device, as long as the wireless receiving of the wireless transmission and response message of debugging message, the embodiment of the present invention pair can be realized
This is not limited in any way.
Under normal circumstances, the debugging message described in above-mentioned steps can be the interior machine that arbitrarily can indicate that corresponding air-conditioning equipment
Microcontroller carries out the instruction message for debugging setting, the communication debugging report of the communications status of air-conditioning equipment as described in can be detection
The temperature of the state of temperature of text, the operation debugging message of the running status of the detection air-conditioning equipment or the detection air-conditioning equipment
Degree debugging message etc., does not repeat to this.
Further, it should be noted that the air-conditioning equipment described in the embodiment of the present invention is referred to possesses and the wireless debugging
Device match (can intercommunication) wireless debugging module arbitrary air-conditioning equipment, as shown in Fig. 2 which is the embodiment of the present invention
Described in air-conditioning equipment internal structure schematic diagram.As shown in Figure 2, the air-conditioning equipment may include that air conditioner main body 21 is (i.e. empty
Adjust shell, outer machine etc., do not mark in Fig. 2), wireless debugging module 22, interior machine control module 23 (i.e. interior machine microcontroller) etc..
Specifically, the wireless debugging module 22 in the air-conditioning equipment can be and the wireless tune described in the embodiment of the present invention
The arbitrary wireless debugger that examination device matches, its concrete function can be identical with the wireless debugger with internal structure, i.e. can
Using in two identicals wireless debugger as the wireless debugger described in the embodiment of the present invention, another is used as sky
Wireless debugging module 22 in tune equipment, does not also repeat to this.
It should be noted that the wireless debugging module 22 can be integrated in the air-conditioning equipment as an integration module
It is interior, also can be as a standalone module independently of the air-conditioning equipment (now, the wireless debugging module and the air-conditioning equipment
It is closer to the distance, and be connected by corresponding serial ports, such as connected by SWD interfaces etc.).
Specifically, the communication can be WIFI (Wireless Fidelity, Wireless Fidelity) communication mode.
Wherein, the communication can also be other arbitrary communications, such as can for mobile communication,
PSTN (Public Switched Telephone Network, the public telephone Internet) communication mode, infrared communication side
Formula, Blue-tooth communication method, NFC (Near Field Communication, near field communication) modes and ZigBee (purple honeybees
Communication) mode etc..
It should be noted that when the wireless debugger (such as more than 50 meters etc.) distant with the air-conditioning equipment,
The communication is preferably WIFI communication modes, mobile communication or PSTN communication modes, so as to cause
Staff need not be in the action, without the dismounting for carrying out air-conditioning equipment, you can realize the remote debugging to air-conditioning equipment, letter
The debugging process for having changed air-conditioning, the debugging efficiency for improving air-conditioning and motility, reduce the debugging cost of air-conditioning;And, work
Make depositor, stack information that personnel can be also remotely accessed in the interior machine microcontroller of air-conditioning equipment, be also capable of achieving to set air-conditioning
In standby interior machine microcontroller, modification of memory information etc., further improves the precision of debugging;
Similarly, it is when the wireless debugger (being such as less than 50 meters etc.) closer to the distance with the air-conditioning equipment, described
Communication is preferably over the horizon communication system, Blue-tooth communication method, NFC communication mode and ZigBee communication mode.
So as to cause to carry out the dismounting of air-conditioning equipment, the process of debugging is greatly simplified, the motility of debugging is improved.
Preferably, the debugging message is sent to before corresponding air-conditioning equipment by communication, the side
Method may also include:
Process is packaged to the debugging message.
It should be noted that can be arbitrary packaged type in prior art to the packaged type of the debugging message, such as
The debugging message can be divided into into some sections first, and corresponding message segment (as message is first-class) is added in each section, then be pressed
Each section is organized according to the form of setting, so as to ensure that safety and the accuracy of the debugging message, the present invention
Embodiment is not limited in any way to this.
Further, since the wireless debugger is when the debugging message is sent, can be to the debugging message according to setting
Packing rule be packaged process, thus, the wireless debugging module 22 in the air-conditioning equipment receiving it is described debugging report
Wen Shi, need to also decapsulate the debugging message further according to the resolution rules corresponding with the packing rule, this is not made
Repeat.
Specifically, the debugging message is sent to corresponding air-conditioning equipment by communication, with by the sky
Tune equipment carries out debugging setting based on the debugging message, specifically may include:
By it is described debugging message the wireless debugging module into the air-conditioning equipment is sent by communication, with by
The wireless debugging module carries out debugging setting to the interior machine microcontroller of the air-conditioning equipment based on the debugging message.
From foregoing teachings, the air-conditioning equipment described in the embodiment of the present invention may include one for realize debugging setting
Wireless debugging module 22, thus, the radio communication between the wireless debugger and the air-conditioning equipment can substantially be described
The radio communication between wireless debugging module 22 in wireless debugger and the air-conditioning equipment.That is, of the invention real
Apply in example, the wireless debugger can send the debugging message to the wireless debugging module 22, the wireless debugging mould
Block 22 can based on it is described debugging message to the air-conditioning equipment in interior machine microcontroller carry out debugging setting, it is achieved thereby that right
The remote debugging of the interior machine microcontroller of air-conditioning equipment, does not repeat to this.
It is further preferred that the response message is sent to before the terminal unit, methods described may also include:
Dissection process is carried out to the response message.
, wherein it is desired to explanation, the dissection process refers to the processing mode corresponding with the encapsulation process, as solved
Encapsulation etc..Specifically, arbitrary analysis mode in prior art is alternatively to the analysis mode of the response message, will be such as received
To each segment information in message segment separate, and according to setting form (contrary with the setting form of encapsulation) by each section of group
Knit, so as to ensure that safety and the accuracy of the response message, the embodiment of the present invention is not made any to this yet
Limit.
Further, since the described wireless debugging module 22 in the air-conditioning equipment is when the response message is sent, can be right
The response message is packaged process according to the packing rule of setting, thus, the wireless debugger is receiving the sound
When answering message, also the debugging message need to be decapsulated further according to the resolution rules corresponding with the packing rule.Wherein,
Can be identical or different to the packing rule of the debugging message and the response message, the embodiment of the present invention is not appointed to this
What limits.
Below, by taking the wireless debugger shown in Fig. 3 as an example, the adjustment method described in the embodiment of the present invention is carried out in detail
Introduce on ground:
Specifically, it is assumed that the communication between the wireless debugger and the air-conditioning equipment is WIFI communication parties
Formula, then as shown in Figure 3, the wireless debugger generally may include USB units, MCU (Microcontroller Unit, micro-control
Unit processed), WIFI units, SWD units (under normal circumstances, without the need for arranging, thus can not marking in Fig. 3), memory element (generally
In the case of, without the need for arranging, thus can not mark in Fig. 3) etc..
Wherein, the USB units, can be used to receive the debugging message that the terminal unit sends, and the debugging are reported
Text is sent to the MCU;And, the response message that the MCU sends is received, and the response message is sent to the terminal
Equipment;
The MCU, can be used for the debugging message to receiving and is analyzed process (such as encapsulation etc.), and by analysis
The debugging message after reason is sent to the WIFI units;And, the response message to receiving carries out dissection process (as solved
Encapsulation etc.), and the response message is sent to the USB units;
The WIFI units, the debugging message that can be used to receiving is sent to corresponding air-conditioning equipment (specifically may be used
It is the WIFI submodules of the wireless debugging module being connected with the air-conditioning equipment);And, receive the air-conditioning equipment and (specifically may be used
It is the WIFI submodules of the wireless debugging module being connected with the air-conditioning equipment) response message that sends, and the response is reported
Text is sent to the MCU;
, wherein it is desired to illustrate, the interface protocol that the WIFI units can be supported based on SWD units carry out the debugging
The reception of message and the response message and transmission, do not repeat to this.
Then, by taking the wireless debugging module 22 shown in Fig. 4 as an example, the adjustment method described in the embodiment of the present invention is carried out
Introduce in detail:
Specifically, it will again be assumed that the communication between the wireless debugger and the air-conditioning equipment communicates for WIFI
Mode, then as described in Figure 4, the wireless debugging module 22 in the air-conditioning equipment may include that USB submodules (under normal circumstances, may be used
Without the need for arranging), MCU submodules, WIFI submodules, SWD submodules and sub-module stored etc..
Wherein, the WIFI submodules, can be used to receiving the wireless debugger (the concretely wireless debugger
WIFI units) the debugging message that sends, and the debugging message is sent to the MCU submodules;And, receive the MCU
The response message of transmission, and the response message is sent to the wireless debugger (the concretely wireless debugger
WIFI units);
The MCU submodules, can be used for the debugging message to receiving carries out dissection process (such as decapsulation etc.), and
Debugging message after parsing is sent to the SWD submodules;And, the response message to receiving is analyzed process (such as
Encapsulation etc.), and the response message is sent to the WIFI submodules;
The SWD submodules, can be used to receive the debugging message that the MCU submodules send, and based on the debugging report
Text carries out debugging setting to the interior machine microcontroller of the air-conditioning equipment;And, receive the interior machine microcontroller of the air-conditioning equipment
The response message that device sends, and the response message is sent to the MCU submodules;
The memory element, can be used to store latest firmware, to realize the operations such as key upgrading.
That is, wireless debugger is after the debugging message for receiving terminal unit transmission, can also be to the debugging report
Text is packaged process, afterwards, the wireless debugger can by encapsulation after the debugging message send to the air-conditioning equipment
In wireless debugging module 22;The debugging message of the wireless debugging module 22 in the air-conditioning equipment after encapsulation is received
Afterwards, can also to encapsulation after the debugging message carry out dissection process, afterwards, the wireless debugging module 22 in the air-conditioning equipment
The debugging of the interior machine microcontroller that can carry out the air-conditioning equipment based on the debugging message is arranged.
For example, it is assumed that needing to debug a certain air-conditioning equipment, then first will can set for the terminal for checking debugging result
Standby (such as computer, mobile phone and flat board etc.) is connected on corresponding wireless debugger by USB interface, test successful connection it
Afterwards, the terminal unit can send one to the wireless debugger and debug message, such as FR12345HJIYK890;The wireless tune
Examination device can be packaged to the debugging message, as encapsulated the Debugging message after FR12345HJIYK890 is received
For AAARF123, AAA45HJI and AAA YK890;The wireless debugger can be based on the interface protocol of setting (such as SWD interfaces
Agreement etc.) by encapsulation after the debugging message send to the wireless debugging module 22 of corresponding air-conditioning equipment;The air-conditioning sets
Standby wireless debugging module 22 can to encapsulation after the debugging message carry out dissection process, such as can by AAARF123,
AAA45HJI and AAA YK890 are parsed into FR12345HJIYK890;Wireless debugging module 22 in the air-conditioning equipment may be used also
Based on the debugging message, debugging setting is carried out to the interior machine microcontroller of the air-conditioning equipment, program debugging, firmware is such as carried out
Renewal, breakpoint setup, single step run, access depositor, stack information, modification internal memory etc., the embodiment of the present invention is not appointed to this
What limits.
Further, it should be noted that when staff and air-conditioning equipment are in the same area, wireless debugger with it is empty
Wireless debugging module 22 in tune equipment can generally adopt P2P (Peer-to-peer networking, peer-to-peer network) pattern
Debugged, i.e. can be using between the two it is arbitrary as wireless debugger, using remaining one as wireless debugging module;
When staff and air-conditioning equipment not in the same area when, wireless debugger is usual with the wireless debugging module 22 in air-conditioning equipment
Can be by the docking debugging of real-time performance cross-region, i.e. the wireless debugger and described is realized by communication
Being in communication with each other between wireless debugging module, does not repeat to this.
Further, as shown in figure 5, the wireless debugger (or the wireless debugging module 22 in the air-conditioning equipment)
Software configuration is mainly by kernel subsystems, WDF (Wireless Driver Framework, wireless driver framework), hardware interface
Layer composition.
Specifically, while wireless debugger (or the wireless debugging module in the air-conditioning equipment) goes up electricity first or it
Afterwards, the kernel subsystems can send create WDF frameworks MRQ (Message Request Queue, message request queue) extremely
Object module in the WDF, the object module can be created according to the classification of the MRQ and initialization apparatus object, and are
The device object creates and configures the configuration information of the WDF frameworks, such as carries out the establishment of WIFI registration connections, interaction, opens
Pass, event call-back etc., when event is triggered, can perform corresponding process according to the classification of MRQ.
For example, it is assumed that terminal unit sends a debugging message to a certain wireless debugger, then the wireless debugger exists
After being connected to the debugging message, the debugging message can be encapsulated as MRQ information by its kernel subsystems, and can be by after encapsulation
The MRQ information is sent to the object module in WDF frameworks;The object module can extract effectively letter from the MRQ information
Breath, and the effective information can be sent HTC (Host Target Communication, destination host into bottom layer driving
Communication) layer, the HTC layers can know the particular content of information, only need to send it to hardware interface layer.It is described
Hardware interface layer may have access to the WIFI units, the effective information is sent to debugged destination end by the WIFI units
(i.e. corresponding air-conditioning equipment).
It should be noted that in the wireless debugging module 22 of the air-conditioning equipment, to complete the interior machine to the air-conditioning equipment micro-
After the debugging of controller is arranged, the wireless debugging module 22 of the air-conditioning equipment can also be based on same mode by the sound for receiving
Message is answered to send to the terminal unit.
For example, it is assumed that the interior machine microcontroller of the air-conditioning equipment sends a response message to the nothing of the air-conditioning equipment
Line debugging module, then the wireless debugging module can create information first, and the response message can be sent out by hardware interface
Give the HTC layers of bottom layer driving so that the event processing module in the bottom layer driving layer detects the response message and deposits
Storage is can trigger and is interrupted in shared region, the then event processing module, and the response message is sent right into the WDF
As module, to be stored in the response message in the shared region by object module parsing, and the response message is sent out
The kernel subsystems are delivered to, the kernel subsystems can send the response message to the wireless debugger, with by institute
State wireless debugger the response message to be sent to the terminal unit, so that the staff can be based on the sound
Message is answered to carry out next step operation.
As shown in the above, in embodiments of the present invention, in the debugging process of air-conditioning equipment, can be in terminal unit sheet
Ground and the locally located at least two on all four wireless debugger of air-conditioning equipment, by described at least two wireless debuggers
Between be in communication with each other, realize in air-conditioning internal machine locally to wireless debugger of the different geographical different time points equipped with pairing
Remote debugging, firmware renewal, breakpoint setup, single step run, register access, stack information access and the behaviour such as content modification
Make.Compared to prior art, it is in the action without the need for staff, need not more dismantles air-conditioning, that is, realize remote debugging.So as to letter
The debugging process for having changed air-conditioning is, the debugging efficiency for improving air-conditioning, reduces the debugging cost of air-conditioning, solve in prior art
Cumbersome, the less efficient and relatively costly problem of existing debugging process.
It should be noted that the microcontroller described in the embodiment of the present invention is generally can be with Cortex-M as system kernel
Microprocessor controls, the embodiment of the present invention is not limited in any way to this.
The embodiment of the present invention one provides a kind of adjustment method, can the debugging message that sends of receiving terminal apparatus, and can be by
The debugging message is sent to corresponding air-conditioning equipment by communication;The air-conditioning equipment is being received by wireless
After the response message that communication mode sends, also the response message can be sent to the terminal unit.Compared to existing skill
Art, is in the action without the need for staff, need not more dismantle air-conditioning, that is, realize remote debugging.So as to simplify the debugging of air-conditioning
Process, the debugging efficiency for improving air-conditioning, reduce the debugging cost of air-conditioning, solve the debugging in the presence of prior art
Cumbersome, the less efficient and relatively costly problem of journey.
Furthermore, when debugging in the LAN, the communications band of the wireless debugger described in the embodiment of the present invention can be:
900MHZ、430MHZ;In cross-regional network, due to generally requiring large batch of data communication, thus the wireless tune
The communications band of examination device is also wider, and this is not repeated.
Embodiment two:
Based on one identical inventive concept of the embodiment of the present invention, the embodiment of the present invention two provide a kind of debugger, such as
Shown in Fig. 6, which is the structural representation of the debugger described in the embodiment of the present invention two.Specifically, it will be appreciated from fig. 6 that the tune
Examination device may include:
Debugging message receiver module 61, can be used for the debugging message of receiving terminal apparatus transmission;
Debugging message sending module 62, can be used to the debugging message is sent to corresponding sky by communication
Tune equipment, to carry out debugging setting based on the debugging message by the air-conditioning equipment;
Response message receiver module 63, can be used to receive the response report that the air-conditioning equipment is sent by communication
Text;
Response message sending module 64, can be used to the response message is sent to the terminal unit.
That is, the debugger described in the embodiment of the present invention, it may include for the debugging that receiving terminal apparatus send
The debugging message receiver module of message;For can be used for the debugging message is sent to corresponding by communication
Air-conditioning equipment, to carry out debugging the debugging message sending module of setting based on the debugging message by the air-conditioning equipment;It is available
In the response message sending module for receiving the response message that the air-conditioning equipment is sent by communication and can be used for
The response message is sent to the response message sending module of the terminal unit.Compared to prior art, need not work people
Member is in the action, and need not more dismantle air-conditioning, that is, realize remote debugging.So as to simplifying the debugging process of air-conditioning, improving sky
The debugging efficiency of tune, reduces the debugging cost of air-conditioning, solves that debugging process in the presence of prior art is cumbersome, efficiency
Relatively low and relatively costly problem.
Specifically, the communication can be Wireless Fidelity WIFI communication mode.
Further, described device may also include message processing module (MPM) 65:
The message processing module (MPM) 65, can be used to the debugging message is being sent to corresponding by communication
Before air-conditioning equipment, process is packaged to the debugging message.
Specifically, the debugging message sending module 62, specifically for:
By it is described debugging message the wireless debugging module into the air-conditioning equipment is sent by communication, with by
The wireless debugging module carries out debugging setting to the interior machine microcontroller of the air-conditioning equipment based on the debugging message.
Further, the message processing module (MPM) 65, it may also be used for set the response message is sent to the terminal
For before, dissection process is carried out to the response message.
The embodiment of the present invention two provides a kind of debugger, it may include the debugging message sent for receiving terminal apparatus
Debugging message receiver module;Set for can be used for the debugging message is sent to corresponding air-conditioning by communication
It is standby, to carry out debugging the debugging message sending module of setting based on the debugging message by the air-conditioning equipment;Can be used to receive
The response message sending module of the response message that the air-conditioning equipment is sent by communication and can be used for will be described
Response message is sent to the response message sending module of the terminal unit.Compared to prior art, come to personally without the need for staff
Scene, need not more dismantle air-conditioning, that is, realize remote debugging.So as to simplifying the debugging process of air-conditioning, improving the tune of air-conditioning
Examination efficiency, reduces the debugging cost of air-conditioning, solve debugging process in the presence of prior art it is cumbersome, it is less efficient with
And relatively costly problem.
Embodiment three:
The embodiment of the present invention three provides a kind of debugging system, as shown in fig. 7, which is described in the embodiment of the present invention three
The structural representation of debugging system.As shown in Figure 7, the debugging system may include terminal 71, air-conditioning 72 and as the present invention is real
The debugger 73 described in example two is applied, wherein:
The terminal 71, can be used to send debugging message to the debugger 73;And, receive the debugger 73 and send
Response message;
The debugger 73, can be used to receiving the debugging message of the transmission of the terminal 71, and by the debugging message
Sent to the air-conditioning 72 by communication;And, receive the institute that the air-conditioning 72 is sent by communication
Response message is stated, and the response message is sent to the terminal 71;
The air-conditioning 72, can be used to receive the debugging message that the debugger 73 is sent by communication,
And debugging setting is carried out based on the debugging message;And, the response message for generating is sent by communication
To the debugger 73.
The embodiment of the present invention three provides a kind of debugging system, it may include terminal, debugger and air-conditioning, wherein:It is described
Terminal can be used to send debugging message to the debugger;And, receive the response message that the debugger sends;The debugging
Device can be used to receiving the debugging message that the terminal sends, and by the debugging message by communication send to
The air-conditioning;And, receive the response message that the air-conditioning is sent by communication, and by the response message
Send to the terminal 71;The air-conditioning, can be used to receive the debugging that the debugger is sent by communication
Message, and debugging setting is carried out based on the debugging message;And, the response message for generating is passed through into communication
Send to the debugger.Compared to prior art, it is in the action without the need for staff, need not more dismantles air-conditioning, that is, realize
Remote debugging.So as to simplifying the debugging process of air-conditioning, improving the debugging efficiency of air-conditioning, the debugging cost of air-conditioning is reduced,
Solve the problems, such as that the debugging process in the presence of prior art is cumbersome, less efficient and relatively costly.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, device (equipment), or computer journey
Sequence product.Therefore, the present invention can adopt complete hardware embodiment, complete software embodiment or with reference to software and hardware in terms of
The form of embodiment.And, the present invention can be using the calculating for wherein including computer usable program code at one or more
The computer program implemented in machine usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow chart with reference to method according to embodiments of the present invention, device (equipment) and computer program
And/or block diagram is describing.It should be understood that can be by each flow process in computer program instructions flowchart and/or block diagram
And/or the combination of square frame and flow chart and/or flow process and/or square frame in block diagram.These computer programs can be provided to refer to
The processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is made to produce
One machine so that produced for realizing by the instruction of computer or the computing device of other programmable data processing devices
The device of the function of specifying in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to
Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or
The function of specifying in multiple square frames.
These computer program instructions can be also loaded in computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow process of flow chart or multiple flow processs and/or block diagram one
The step of function of specifying in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, claims are intended to be construed to include excellent
Select embodiment and fall into the had altered of the scope of the invention and change.
Obviously, those skilled in the art can carry out the essence of various changes and modification without deviating from the present invention to the present invention
God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising these changes and modification.
Claims (10)
1. a kind of adjustment method, it is characterised in that include:
The debugging message that receiving terminal apparatus send;
The debugging message is sent to corresponding air-conditioning equipment by communication, to be based on institute by the air-conditioning equipment
Stating debugging message carries out debugging setting;
Receive the response message that the air-conditioning equipment is sent by communication;
The response message is sent to the terminal unit.
2. adjustment method as claimed in claim 1, it is characterised in that by the debugging message by communication transmission
To before corresponding air-conditioning equipment, methods described also includes:
Process is packaged to the debugging message.
3. adjustment method as claimed in claim 1, it is characterised in that by the debugging message by communication transmission
To corresponding air-conditioning equipment, to carry out debugging setting based on the debugging message by the air-conditioning equipment, specifically include:
The debugging message is sent into the wireless debugging module into the air-conditioning equipment by communication, with by described
Wireless debugging module carries out debugging setting to the interior machine microcontroller of the air-conditioning equipment based on the debugging message.
4. adjustment method as claimed in claim 1, it is characterised in that by the response message send to the terminal unit it
Before, methods described also includes:
Dissection process is carried out to the response message.
5. adjustment method as claimed in claim 1, it is characterised in that the communication is the communication of Wireless Fidelity WIFI
Mode.
6. a kind of debugger, it is characterised in that include:
Debugging message receiver module, for the debugging message that receiving terminal apparatus send;
Debugging message sending module, for the debugging message is sent to corresponding air-conditioning equipment by communication,
Debugging setting is carried out based on the debugging message by the air-conditioning equipment;
Response message receiver module, for receiving the response message that the air-conditioning equipment is sent by communication;
Response message sending module, for the response message is sent to the terminal unit.
7. debugger as claimed in claim 6, it is characterised in that the wireless debugger also includes message processing module (MPM):
The message processing module (MPM), for the debugging message is being sent to corresponding air-conditioning equipment by communication
Before, process is packaged to the debugging message.
8. debugger as claimed in claim 6, it is characterised in that the debugging message sending module, specifically for:
The debugging message is sent into the wireless debugging module into the air-conditioning equipment by communication, with by described
Wireless debugging module carries out debugging setting to the interior machine microcontroller of the air-conditioning equipment based on the debugging message.
9. debugger as claimed in claim 6, it is characterised in that the message processing module (MPM), is additionally operable to by the response
Message is sent to before the terminal unit, carries out dissection process to the response message.
10. a kind of debugging system, it is characterised in that including terminal, air-conditioning and the tune as described in any one of claim 6~9
Examination device, wherein:
The terminal, for sending debugging message to the debugger;And, receive the response message that the debugger sends;
The debugging message for receiving the debugging message that the terminal sends, and is passed through channel radio by the debugger
Letter mode is sent to the air-conditioning;And, the response message that the air-conditioning is sent by communication is received, and will
The response message is sent to the terminal;
The air-conditioning, for receiving the debugging message that the debugger is sent by communication, and based on described
Debugging message carries out debugging setting;And, the response message for generating is sent to the debugging by communication
Device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610957359.7A CN106568168A (en) | 2016-10-27 | 2016-10-27 | Debugging method, debugger and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610957359.7A CN106568168A (en) | 2016-10-27 | 2016-10-27 | Debugging method, debugger and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106568168A true CN106568168A (en) | 2017-04-19 |
Family
ID=58535631
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610957359.7A Pending CN106568168A (en) | 2016-10-27 | 2016-10-27 | Debugging method, debugger and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106568168A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109344087A (en) * | 2018-12-03 | 2019-02-15 | 珠海格力电器股份有限公司 | Multi-terminal synchronous debugging method and system of equipment, storage medium and processor |
CN109460355A (en) * | 2018-10-18 | 2019-03-12 | 黑龙江省博凯科技开发有限公司 | The universal wireless debugger of MCU |
CN110457217A (en) * | 2019-07-31 | 2019-11-15 | 上海赫千电子科技有限公司 | A kind of cross-platform MCU debugging apparatus |
CN110457215A (en) * | 2019-07-31 | 2019-11-15 | 上海赫千电子科技有限公司 | A kind of cross-platform MCU adjustment method |
WO2020082727A1 (en) * | 2018-10-23 | 2020-04-30 | 王旭东 | Steering engine based on nfc technology and implementation method therefor |
CN111750489A (en) * | 2020-06-28 | 2020-10-09 | 珠海格力电器股份有限公司 | Unit debugging method, debugging device and unit |
CN112822081A (en) * | 2021-01-08 | 2021-05-18 | 广州视源电子科技股份有限公司 | Debugging data transmission method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3609794B2 (en) * | 2002-03-26 | 2005-01-12 | 株式会社東芝 | Trace data compression apparatus, trace data compression method, and microcomputer incorporating a trace data compression circuit |
CN101442460A (en) * | 2008-12-26 | 2009-05-27 | 厦门大学 | Industry Ethernet adapter |
CN102064984A (en) * | 2010-10-25 | 2011-05-18 | 佛山市瑞德软件科技有限公司 | Wireless data exchange and control system of white home appliances |
CN105162821A (en) * | 2015-06-27 | 2015-12-16 | 广东天际电器股份有限公司 | Intelligent air-conditioning system and application thereof |
CN105550109A (en) * | 2015-12-11 | 2016-05-04 | 四川长虹电器股份有限公司 | Equipment debugging method and electronic equipment |
-
2016
- 2016-10-27 CN CN201610957359.7A patent/CN106568168A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3609794B2 (en) * | 2002-03-26 | 2005-01-12 | 株式会社東芝 | Trace data compression apparatus, trace data compression method, and microcomputer incorporating a trace data compression circuit |
CN101442460A (en) * | 2008-12-26 | 2009-05-27 | 厦门大学 | Industry Ethernet adapter |
CN102064984A (en) * | 2010-10-25 | 2011-05-18 | 佛山市瑞德软件科技有限公司 | Wireless data exchange and control system of white home appliances |
CN105162821A (en) * | 2015-06-27 | 2015-12-16 | 广东天际电器股份有限公司 | Intelligent air-conditioning system and application thereof |
CN105550109A (en) * | 2015-12-11 | 2016-05-04 | 四川长虹电器股份有限公司 | Equipment debugging method and electronic equipment |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109460355A (en) * | 2018-10-18 | 2019-03-12 | 黑龙江省博凯科技开发有限公司 | The universal wireless debugger of MCU |
CN109460355B (en) * | 2018-10-18 | 2023-05-30 | 黑龙江省博凯科技开发有限公司 | Universal MCU wireless debugger |
WO2020082727A1 (en) * | 2018-10-23 | 2020-04-30 | 王旭东 | Steering engine based on nfc technology and implementation method therefor |
CN109344087A (en) * | 2018-12-03 | 2019-02-15 | 珠海格力电器股份有限公司 | Multi-terminal synchronous debugging method and system of equipment, storage medium and processor |
CN109344087B (en) * | 2018-12-03 | 2020-10-20 | 珠海格力电器股份有限公司 | Multi-terminal synchronous debugging method and system of equipment, storage medium and processor |
CN110457217A (en) * | 2019-07-31 | 2019-11-15 | 上海赫千电子科技有限公司 | A kind of cross-platform MCU debugging apparatus |
CN110457215A (en) * | 2019-07-31 | 2019-11-15 | 上海赫千电子科技有限公司 | A kind of cross-platform MCU adjustment method |
CN110457215B (en) * | 2019-07-31 | 2023-01-10 | 上海赫千电子科技有限公司 | Cross-platform MCU debugging method |
CN110457217B (en) * | 2019-07-31 | 2023-01-10 | 上海赫千电子科技有限公司 | Cross-platform MCU debugging device |
CN111750489A (en) * | 2020-06-28 | 2020-10-09 | 珠海格力电器股份有限公司 | Unit debugging method, debugging device and unit |
CN112822081A (en) * | 2021-01-08 | 2021-05-18 | 广州视源电子科技股份有限公司 | Debugging data transmission method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106568168A (en) | Debugging method, debugger and system | |
CN105135615B (en) | debugging method and device of air conditioner | |
CN104732603A (en) | Position coordinate-based method of checking attendance of outworkers | |
CN103139017B (en) | The test system and method for a kind of network equipment | |
RU2015149846A (en) | METHOD AND SYSTEM OF UPDATING DIALOGUE ALLOCATION IN AGREEMENT OF COMMUNICATION LINES | |
JP5483211B2 (en) | Field device setting method and field device setting system | |
CN106658756A (en) | Method and device for recognizing connection between terminal device and hotspot | |
CN110798386B (en) | Configurable CAN bus protocol transceiving test method and system | |
CN104092727B (en) | A kind of seismic instrument remote support system and method based on 3G Virtual Private Network | |
CN103634163B (en) | Method for testing interchangeability of remote communication unit of acquisition terminal | |
CN105632385B (en) | A kind of LED display blind-spot detection method and its detection device | |
CN109618363B (en) | Mobile gateway test system and method | |
CN106603332A (en) | Method for simultaneously testing internet accesses of to-be-tested product | |
CN104688176B (en) | A kind of wireless sight test means based on ZigBee | |
CN105376116A (en) | Test device and test method for data packet capturing between wireless router and mobile terminal | |
US20170104664A1 (en) | System and method to reconcile cabling test results with cabling test configurations | |
CN201191908Y (en) | Remote test diagnosis system based on wireless network | |
CN103023765A (en) | Message processing method and message processing device based on scripting language | |
CA3150968A1 (en) | Method of and system for monitoring civil air defense equipment maintenance | |
CN106789449A (en) | A kind of CAN exploitation and method of testing and system | |
CN103428305A (en) | Network equipment batch upgrading method | |
CN105242283A (en) | Excavator GPS terminal fault detection system | |
CN105352112A (en) | Method and system for transmitting operating data of air conditioning unit | |
CN106816037A (en) | A kind of navigation channel traffic density and navigation channel Meteorological Index delivery system | |
CN103237070A (en) | Method for data communication between mobile terminal and vehicle-mounted electric control unit |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170419 |
|
RJ01 | Rejection of invention patent application after publication |