CN106302697A - Analytic method, device and the air-conditioning of a kind of air-conditioning data - Google Patents
Analytic method, device and the air-conditioning of a kind of air-conditioning data Download PDFInfo
- Publication number
- CN106302697A CN106302697A CN201610657315.2A CN201610657315A CN106302697A CN 106302697 A CN106302697 A CN 106302697A CN 201610657315 A CN201610657315 A CN 201610657315A CN 106302697 A CN106302697 A CN 106302697A
- Authority
- CN
- China
- Prior art keywords
- unit
- protocol
- air
- conditioning
- parameter
- 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
Classifications
-
- 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
-
- 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
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
Abstract
The invention discloses analytic method, device and the air-conditioning of a kind of air-conditioning data, the method includes: obtain the unit communications protocol of described air-conditioning;It is identified described unit communications protocol processing;The identification information obtained according to described identifying processing, calls default resolution file generation module;By described resolution file generation module, described air-conditioning data are resolved, obtain required target resolution file.The solution of the present invention, the defect such as can overcome that treatment effeciency in prior art is low, repetitive operation amount is big and error rate is high, it is achieved the beneficial effect that treatment effeciency is high, repetitive operation amount is little and error rate is low.
Description
Technical field
The invention belongs to air-conditioning technical field, be specifically related to analytic method, device and the air-conditioning of a kind of air-conditioning data, especially
Relate to a kind of method automatically generating air-conditioning data parsing file device corresponding with the method and there is the sky of this device
Adjust.
Background technology
Air-conditioning (i.e. air conditioner), can be to the temperature of surrounding air, humidity, cleanliness factor, speed in building/structures
It is adjusted etc. parameter and controls.Along with being continuously increased of business air conditioner unit type, in order to adapt to the demand pair of different order
The frequent change of unit communications protocol, the data parsing file of application server and long-distance intelligent service centre of manufacturer also will be corresponding to
Update.The Developing status of resolution file at least includes at present:
(1) the change of unit communications protocol is frequently, the change of each unit communications protocol be required for artificial comparison more change the time right
The resolution file of application server and long-distance intelligent service centre of manufacturer is updated, inefficient.
(2) application server and long-distance intelligent service centre of manufacturer are required for adding a resolution file, and development process repeats
Sex work is more.
The most artificially carry out resolution file exploitation these information of interpolation easily to make mistakes.
In prior art, have that treatment effeciency is low, repetitive operation amount is big and the defect such as error rate is high.
Summary of the invention
It is an object of the invention to, for drawbacks described above, it is provided that analytic method, device and the air-conditioning of a kind of air-conditioning data,
Frequently result in, with unit communications protocol change in solution prior art, the problem that air-conditioning data-handling efficiency is reduced, reach to promote
The effect for the treatment of effeciency.
The present invention provides the analytic method of a kind of air-conditioning data, including: obtain the unit communications protocol of described air-conditioning;To institute
State unit communications protocol to be identified processing;The identification information obtained according to described identifying processing, calls default resolution file
Generation module;By described resolution file generation module, described air-conditioning data are resolved, obtain required target and resolve literary composition
Part.
Alternatively, before obtaining the unit communications protocol of described air-conditioning, also include: according to preset format, by dissimilar
The unit communications protocol of described air-conditioning carry out format specification process, obtain corresponding with each type of described air-conditioning and full
The described unit communications protocol of the described form of foot;Correspondingly, obtain described unit communications protocol, including: obtain described form rule
Generalized processes the described unit communications protocol obtained.
Alternatively, described identification information, including: the protocol type of described unit communications protocol;Correspondingly, call default
Before resolution file generation module, also include: customize the resolution file generation module corresponding with protocol type every kind described.
At least one alternatively, described identification information, also include: the unit model of described air-conditioning and type version;Phase
Ying Di, calls default resolution file generation module, including: call with described unit model and described type version at least it
The described resolution file generation module of one adaptation.
Alternatively, described air-conditioning data are resolved, including: when described identification information includes described unit communications protocol
Protocol type time, load the protocol parameter of the described unit communications protocol adaptive with described protocol type;By complete for described loading
The described protocol parameter become, fills perfusion extremely described resolution file generation module, generates described target resolution file.
Alternatively, described protocol parameter, including: the parameter name of described unit, the scope of described parameter, described parameter
Definition type, the precision of described parameter, the default value of described parameter, described parameter unit at least one.
Matching with said method, another aspect of the present invention provides the resolver of a kind of air-conditioning data, including: obtain single
Unit, for obtaining the unit communications protocol of described air-conditioning;Recognition unit, for being identified place to described unit communications protocol
Reason;Call unit, for the identification information obtained according to described identifying processing, calls default resolution file generation module;Solve
Described air-conditioning data, for by described resolution file generation module, are resolved by analysis unit, obtain required target and resolve
File.
Alternatively, also include: normalization unit, for according to preset format, by the unit of different types of described air-conditioning
Communications protocol carries out format specification process, obtains corresponding with each type of described air-conditioning and meets described in described form
Unit communications protocol;Correspondingly, acquiring unit obtains described unit communications protocol, including: obtain to be entered by described normalization unit
The described format specificationization of row processes the described unit communications protocol obtained.
Alternatively, described identification information, including: the protocol type of described unit communications protocol;Correspondingly, also include: fixed
Unit processed, for the resolution file generation module that customization is corresponding with protocol type every kind described.
At least one alternatively, described identification information, also include: the unit model of described air-conditioning and type version;Phase
Ying Di, call unit calls default resolution file generation module, including: call and described unit model and described type version
At least one adaptive described resolution file generation module.
Alternatively, resolution unit, including: load-on module, for including described unit communications protocol when described identification information
Protocol type time, load the protocol parameter of the described unit communications protocol adaptive with described protocol type;Generation module, is used for
The described protocol parameter described loading completed, fills perfusion extremely described resolution file generation module, generates described target and resolve
File.
Alternatively, described protocol parameter, including: the parameter name of described unit, the scope of described parameter, described parameter
Definition type, the precision of described parameter, the default value of described parameter, described parameter unit at least one.
Matching with said apparatus, further aspect of the present invention provides a kind of air-conditioning, including: above-described air-conditioning data
Resolver.
The solution of the present invention, automatically generates air-conditioning data parsing file tool by realization, solves with business air conditioner unit
The demand frequent change to unit communications protocol being continuously increased and adapting to different order of type, carries out resolution file artificial more
The state changed.
Further, the solution of the present invention, by automatically generating air-conditioning data parsing file tool, effectively adapt to commercialization
The situation that air conditioning unit communications protocol is frequently changed, and improve development efficiency, reduce the mistake artificially caused.
Further, the solution of the present invention, by importing unit communications protocol, instrument automatic identification protocol type, Set Type
Number and version, generate target resolution file, substantially increase the development efficiency of type monitor component and effectively reduce artificial exploitation
Mistake.
Thus, the solution of the present invention, by importing unit communications protocol, according to this unit communications protocol identification protocol class
Type, unit model and version, and then generate target resolution file, solve unit communications protocol change in prior art and frequently result in
The problem that air-conditioning data-handling efficiency is reduced, thus, overcome that treatment effeciency in prior art is low, repetitive operation amount big and goes out
The defect that error rate is high, it is achieved the beneficial effect that treatment effeciency is high, repetitive operation amount is little and error rate is low.
Other features and advantages of the present invention will illustrate in the following description, and, partly become from description
Obtain it is clear that or understand by implementing the present invention.
Below by drawings and Examples, technical scheme is described in further detail.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of an embodiment of the analytic method of the air-conditioning data of the present invention;
Fig. 2 be the present invention method in the schematic flow sheet of an embodiment of dissection process;
Fig. 3 is the structural representation of an embodiment of the resolver of the air-conditioning data of the present invention;
Fig. 4 is that the resolution file of an embodiment of the air-conditioning of the present invention automatically generates schematic flow sheet.
In conjunction with accompanying drawing, in the embodiment of the present invention, reference is as follows:
102-acquiring unit;104-recognition unit;106-call unit;108-resolution unit;1082-load-on module;
1084-generation module;110-normalization unit;112-customization units.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with the specific embodiment of the invention and
Technical solution of the present invention is clearly and completely described by corresponding accompanying drawing.Obviously, described embodiment is only the present invention one
Section Example rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
According to embodiments of the invention, it is provided that the analytic method of a kind of air-conditioning data, the as shown in Figure 1 method of the present invention
The schematic flow sheet of an embodiment.The analytic method of these air-conditioning data may include that
At described step S110, obtain the unit communications protocol of described air-conditioning.
Such as: imported unit communications protocol by user.
Such as: open after this automatically generates air-conditioning data parsing file tool, can select to import unit communications protocol.
Thus, by obtaining the unit communications protocol of air-conditioning, can be that the determination of air-conditioning parameter provides accurate and reliable
Processing foundation, property easy to use is good.
At described step S120, it is identified described unit communications protocol processing.
Such as: instrument automatic identification protocol type, unit model and version.
Such as: allow program be identified protocol type, unit model and version according to the unit protocol type imported.
Such as: according to the unit communications protocol imported, the protocol type of unit communications protocol, unit model and type are identified
Version.Wherein, the corresponding a unit communications protocol of each type version.
Thus, by the identification to unit communications protocol, it may be determined that air-conditioning parameter, and then be conducive to calling and air-conditioning ginseng
The resolution file generation module that number is adaptive, accuracy is good, and reliability is high.
At described step S130, the identification information obtained according to described identifying processing, call default resolution file raw
Become module.
Such as: resolution file generation module, air-conditioning data parsing file tool can be automatically generated.
Thus, it is possible to by the identification information of air-conditioning being called the resolution file generation module adaptive with air-conditioning, Jin Eryou
Being beneficial to precisely and reliably process air-conditioning data, property easy to use is good, and reliability is high.
At described step S140, by described resolution file generation module, described air-conditioning data are resolved, obtains
Required target resolution file.
Wherein, described air-conditioning data, can be the air conditioning unit data listened to by GPRS module.It addition, described sky
Adjusting data, it is also possible to be that the described air conditioning unit data listened to are compressed the compressor bank data after processing.
Such as: generate target resolution file.
In one example, unit agreement automatic identification protocol type and the type of prescribed form can be imported according to user
Version, and the corresponding target resolution file generated required for application server and long-distance intelligent service centre of manufacturer.
Thus, by identifying unit communications protocol, call resolution file generation module and air-conditioning data are resolved, obtain
Required target resolution file, can improve the treatment effeciency to air-conditioning data, it is possible to reduce carry out different types of unit
The repetitive operation amount that repeatability data process, it is also possible to reduce artificial repeatability data and process the error rate brought.
In an optional example, can be in conjunction with the stream of an embodiment of dissection process in the method for the present invention shown in Fig. 2
Journey schematic diagram, further illustrates the detailed process in step S140 resolved described air-conditioning data.
Step S210, when described identification information includes the protocol type of described unit communications protocol, loads and described association
The protocol parameter of the described unit communications protocol of view type adaptation.
Such as: according to default specification unit protocol format, the protocol parameter of autoloading group communications protocol.
Such as: the specification of corresponding protocol type, all of content of parameter in agreement is loaded.
Step S220, the described protocol parameter that described loading is completed, fill perfusion extremely described resolution file generation module,
Generate described target resolution file.
Such as: be filled with perfusion by the protocol parameter content loaded toward the template file of previous step identification selection, with
Realization automatically generates target resolution file function.
Such as: the protocol parameter that loading is obtained, fill perfusion to calling the described resolution file obtained and generate template, raw
Target resolution file needed for one-tenth.
Thus, by loading protocol parameter, and based on the protocol parameter loaded, resolution file generation module is filled with
Perfusion, the target resolution file needed for generation, it is possible to reduce the volume of the repeated code of unit type version monitor component exploitation
Write, improve the efficiency that data are processed.
Alternatively, described protocol parameter, may include that the parameter name of described unit, the scope of described parameter, described ginseng
Number definition type, the precision of described parameter, the default value of described parameter, described parameter unit at least one.
Such as: content of parameter, may include that parameter name, magnitude range, definition type, default value, unit etc..
Such as: the protocol parameter of unit communications protocol, can comprise: various parameter names, scope, precision and the list of unit
The information such as position.
Thus, by the protocol parameter of various ways, be conducive to improving accuracy and the motility that air-conditioning data process, and
Reliability is high.
In an optional embodiment, before step S110 obtains the unit communications protocol of described air-conditioning, it is also possible to
Including: according to preset format, the unit communications protocol of different types of described air-conditioning is carried out format specification process, obtain with
Each type of described air-conditioning is corresponding and meets the described unit communications protocol of described form.
Correspondingly, step S110 obtains described unit communications protocol, may include that the described format specificationization of acquisition processes
The described unit communications protocol obtained.
Thus, the unit communications protocol after being processed by format specificationization, it is adapted to business air conditioner unit communications protocol
The frequently situation of change, improves the work efficiency of developer.
In an optional embodiment, identify information described in step S130, may include that described unit communications protocol
Protocol type.
Correspondingly, before step S130 being called default resolution file generation module, it is also possible to including: customization and every kind
The resolution file generation module that described protocol type is corresponding.
In one example, customization procedure, can be the code automatically generated as required, according to duplicated code definition
Rule, carries out the formulation of automatic code generating module.
Such as: specification unit protocol format, owing in department, unit communications protocol has polytype, it is required for inhomogeneity
The unit communications protocol of type formulates corresponding form.
Such as: owing to the core of instrument is to use specific area language, carry out automatically generating of resolution file, so not
The target resolution file generated with protocol type may be the most different, so being required for during early development as every kind of protocol class
The a resolution file of type customization generates template.
Wherein, specific area language, can be the development language of the productivity being effectively improved developer by DSL.
Thus, by the resolution file generation module of protocol type custom fitting, it is possible to reduce due to people in development process
For and some program errors of causing, improve the accuracy that air-conditioning data are processed.
In an optional embodiment, identify information described in step S130, it is also possible to including: the unit of described air-conditioning
At least one model and type version.
Correspondingly, step S130 is called default resolution file generation module, may include that and call and described Set Type
Number and described type version at least one adaptive described resolution file generation module.
Such as: according to the identification information to protocol type, unit model and type version, can automatically call the solution of correspondence
Analysis file generated template (such as: early development process is that a resolution file of every kind of protocol type customization generates template).
Thus, generate template by calling the resolution file adaptive with protocol type, unit model and type version, permissible
Promote accuracy and reliability that data process further.
Through substantial amounts of verification experimental verification, use the technical scheme of the present embodiment, automatically generate air-conditioning data parsing by realization
File tool, solves being continuously increased and adapting to the demand of different order to unit communications protocol with business air conditioner unit type
Frequently change, carries out the state that resolution file is artificially changed.
According to embodiments of the invention, additionally provide the solution of a kind of air-conditioning data of analytic method corresponding to air-conditioning data
Analysis apparatus.The structural representation of one embodiment of assembly of the invention shown in Figure 3.The resolver of these air-conditioning data is permissible
Including: acquiring unit 102, recognition unit 104, call unit 106 and resolution unit 108.
In one example, acquiring unit 102, may be used for obtaining the unit communications protocol of described air-conditioning.This acquisition list
Concrete function and the process of unit 102 see step S110.
Such as: imported unit communications protocol by user.
Such as: open after this automatically generates air-conditioning data parsing file tool, can select to import unit communications protocol.
Thus, by obtaining the unit communications protocol of air-conditioning, can be that the determination of air-conditioning parameter provides accurate and reliable
Processing foundation, property easy to use is good.
In one example, recognition unit 104, may be used for being identified described unit communications protocol processing.This knowledge
Concrete function and the process of other unit 104 see step S120.
Such as: instrument automatic identification protocol type, unit model and version.
Such as: allow program be identified protocol type, unit model and version according to the unit protocol type imported.
Such as: according to the unit communications protocol imported, the protocol type of unit communications protocol, unit model and type are identified
Version.Wherein, the corresponding a unit communications protocol of each type version.
Thus, by the identification to unit communications protocol, it may be determined that air-conditioning parameter, and then be conducive to calling and air-conditioning ginseng
The resolution file generation module that number is adaptive, accuracy is good, and reliability is high.
In one example, call unit 106, may be used for the identification information obtained according to described identifying processing, call
The resolution file generation module preset.Concrete function and the process of this call unit 106 see step S130.
Such as: resolution file generation module, air-conditioning data parsing file tool can be automatically generated.
Thus, it is possible to by the identification information of air-conditioning being called the resolution file generation module adaptive with air-conditioning, Jin Eryou
Being beneficial to precisely and reliably process air-conditioning data, property easy to use is good, and reliability is high.
In one example, resolution unit 108, may be used for by described resolution file generation module, to described air-conditioning
Data resolve, and obtain required target resolution file.Concrete function and the process of this resolution unit 108 see step
S140。
Wherein, described air-conditioning data, can be the air conditioning unit data listened to by GPRS module.It addition, described sky
Adjusting data, it is also possible to be that the described air conditioning unit data listened to are compressed the compressor bank data after processing.
Such as: generate target resolution file.
In one example, unit agreement automatic identification protocol type and the type of prescribed form can be imported according to user
Version, and the corresponding target resolution file generated required for application server and long-distance intelligent service centre of manufacturer.
Thus, by identifying unit communications protocol, call resolution file generation module and air-conditioning data are resolved, obtain
Required target resolution file, can improve the treatment effeciency to air-conditioning data, it is possible to reduce carry out different types of unit
The repetitive operation amount that repeatability data process, it is also possible to reduce artificial repeatability data and process the error rate brought.
Alternatively, resolution unit 108, may include that load-on module 1082 and generation module 1084.
In an object lesson, load-on module 1082, may be used for when described identification information includes described unit communication
During the protocol type of agreement, load the protocol parameter of the described unit communications protocol adaptive with described protocol type.This loading mould
Concrete function and the process of block 1082 see step S210.
Such as: according to default specification unit protocol format, the protocol parameter of autoloading group communications protocol.
Such as: the specification of corresponding protocol type, all of content of parameter in agreement is loaded.
In an object lesson, generation module 1084, may be used for the described protocol parameter described loading completed, fill out
Charge note extremely described resolution file generation module, generate described target resolution file.The concrete function of this generation module 1084 and
Process sees step S220.
Such as: be filled with perfusion by the protocol parameter content loaded toward the template file of previous step identification selection, with
Realization automatically generates target resolution file function.
Such as: the protocol parameter that loading is obtained, fill perfusion to calling the described resolution file obtained and generate template, raw
Target resolution file needed for one-tenth.
Thus, by loading protocol parameter, and based on the protocol parameter loaded, resolution file generation module is filled with
Perfusion, the target resolution file needed for generation, it is possible to reduce the volume of the repeated code of unit type version monitor component exploitation
Write, improve the efficiency that data are processed.
Alternatively, described protocol parameter, may include that the parameter name of described unit, the scope of described parameter, described ginseng
Number definition type, the precision of described parameter, the default value of described parameter, described parameter unit at least one.
Such as: content of parameter, may include that parameter name, magnitude range, definition type, default value, unit etc..
Such as: the protocol parameter of unit communications protocol, can comprise: various parameter names, scope, precision and the list of unit
The information such as position.
Thus, by the protocol parameter of various ways, be conducive to improving accuracy and the motility that air-conditioning data process, and
Reliability is high.
In an optional embodiment, it is also possible to including: normalization unit 110.
In one example, normalization unit 110, may be used for according to preset format, by different types of described air-conditioning
Unit communications protocol carry out format specification process, obtain corresponding with each type of described air-conditioning and meet described form
Described unit communications protocol.
Correspondingly, acquiring unit 102 obtains described unit communications protocol, may include that acquisition is by described normalization unit
110 carry out described format specificationization processes the described unit communications protocol obtained.
Thus, the unit communications protocol after being processed by format specificationization, it is adapted to business air conditioner unit communications protocol
The frequently situation of change, improves the work efficiency of developer.
In an optional embodiment, the described identification information in call unit 106, may include that described unit leads to
The protocol type of news agreement.
Correspondingly, it is also possible to including: customization units 112.
In one example, customization units 112, may be used for customizing the resolution file corresponding with protocol type every kind described
Generation module.
In one example, customization procedure, can be the code automatically generated as required, according to duplicated code definition
Rule, carries out the formulation of automatic code generating module.
Such as: specification unit protocol format, owing in department, unit communications protocol has polytype, it is required for inhomogeneity
The unit communications protocol of type formulates corresponding form.
Such as: owing to the core of instrument is to use specific area language, carry out automatically generating of resolution file, so not
The target resolution file generated with protocol type may be the most different, so being required for during early development as every kind of protocol class
The a resolution file of type customization generates template.
Wherein, specific area language, can be the development language of the productivity being effectively improved developer by DSL.
Thus, by the resolution file generation module of protocol type custom fitting, it is possible to reduce due to people in development process
For and some program errors of causing, improve the accuracy that air-conditioning data are processed.
Described identification information in an optional embodiment, in call unit 106, it is also possible to including: described air-conditioning
Unit model and type version at least one.
Correspondingly, call unit 106 calls default resolution file generation module, may include that and calls and described unit
Model and described type version at least one adaptive described resolution file generation module.
Such as: according to the identification information to protocol type, unit model and type version, can automatically call the solution of correspondence
Analysis file generated template (such as: early development process is that a resolution file of every kind of protocol type customization generates template).
Thus, generate template by calling the resolution file adaptive with protocol type, unit model and type version, permissible
Promote accuracy and reliability that data process further.
The process realized due to the device of the present embodiment and function essentially correspond to the method shown in earlier figures 1 to Fig. 2
Embodiment, principle and example, therefore the most detailed part in the description of the present embodiment, may refer to speaking on somebody's behalf mutually in previous embodiment
Bright, do not repeat at this.
Through substantial amounts of verification experimental verification, use technical scheme, by automatically generating air-conditioning data parsing file work
Tool, has effectively adapted to the situation that business air conditioner unit communications protocol is frequently changed, and has improve development efficiency, reduces and artificially leads
The mistake caused.
According to embodiments of the invention, additionally provide a kind of air-conditioning of resolver corresponding to air-conditioning data.This air-conditioning
May include that the resolver of above-described air-conditioning data.
In an optional example, most of business air conditioner unit of air-conditioning manufacturer shipment, all can supporting GPRS module enter
The monitoring transmission of row unit data, and resolved transmitting the data returned by application server, the data meeting after parsing
It is transferred to long-distance intelligent service centre of manufacturer and carries out monitoring display and the maintenance of unit data.
Alternatively, GPRS module, may be used for monitoring air conditioning unit data, be transferred through compression algorithm by network and compress
Unit data.
Such as: compression algorithm, can be that initial data is compressed transmission, recipient be decompressed by preset algorithm.
Such as: the compression of zlib and decompression.
Alternatively, application server, may be used for by resolution file, the compressor bank number that dissection process transmission is returned
According to, and unit data are calculated storage in real time.
In an optional example, resolution file, may include that each type version all to there being a resolution file,
The data that GPRS module transmission is returned by resolution file for being supplied to client or application server resolve.
Alternatively, long-distance intelligent service centre of manufacturer, may be used for monitor client, and for showing the monitoring number of unit
According to and ruuning situation.
In an optional embodiment, in order to solve existing Developing status, adapt to business air conditioner unit communications protocol more
Newly, development efficiency is improved, it is proposed that one automatically generates air-conditioning data parsing file tool implementation, and it can be according to user
Import unit agreement automatic identification protocol type and the type version of prescribed form, and correspondence generates application server and manufacturer is remote
Target resolution file required for journey Intelligent Service center.
Visible, by this technical scheme, can directly remove artificial comparison unit communications protocol and carry out the weight of resolution file
Renaturation coding work, adapts to being continuously increased and adapting to the demand of different order to unit communications protocol of business air conditioner unit type
Frequent change, improve development efficiency, reduce the mistake that artificial exploitation occurs.
In an optional example, example shown in Figure 4, this air-conditioning automatically generate air-conditioning data parsing file work
The workflow of tool, can include following step:
Step 1, the formulation of unit protocol format.
Specification unit protocol format, owing in department, unit communications protocol has polytype, is required for different types of
Unit communications protocol formulates corresponding form, allows program be identified protocol type, Set Type according to the unit protocol type imported
Number and version.
In one example, it is assumed that the most a Excel document of agreement, communication between unit is comprised inside Excel document
The description of all unit data, each data comprise: parameter name, scope, precision etc., cannonical format mainly formulates unit
Each subdata position in the protocol and set form in data.
Such as: open after this automatically generates air-conditioning data parsing file tool, can select to import unit communications protocol;So
After, according to the unit communications protocol imported, identify the protocol type of unit communications protocol, unit model and type version.Wherein,
The corresponding a unit communications protocol of each type version.
Step 2, template file are formulated.
Owing to the core of instrument is to use specific area language, carry out automatically generating of resolution file, so different association
The target resolution file that view type generates may be the most different, so being required for during early development determining into every kind of protocol type
The a resolution file of system generates template.
Alternatively, specific area language, can be the development language of the productivity being effectively improved developer by DSL.
Such as: according to the identification information to protocol type, unit model and type version, can automatically call the solution of correspondence
Analysis file generated template (such as: early development process is that a resolution file of every kind of protocol type customization generates template).
Step 3, agreement load and generate target resolution file.
The specification of corresponding protocol type, loads all of content of parameter in agreement and (including: parameter name, magnitude range, fixed
Justice type, default value, unit etc.), the protocol parameter content that recycling has loaded is entered toward the template file of previous step identification selection
Row fills perfusion, to realize automatically generating target resolution file function.
Wherein, the protocol parameter of unit communications protocol, can comprise: various parameter names, scope, precision and the list of unit
The information such as position.
Such as: according to default specification unit protocol format, the protocol parameter of autoloading group communications protocol;To load
The protocol parameter obtained, fills perfusion to calling the described resolution file obtained and generates template, and the target needed for generation resolves literary composition
Part.
The process realized due to the air-conditioning of the present embodiment and function essentially correspond to the enforcement of the device shown in earlier figures 3
Example, principle and example, therefore the most detailed part in the description of the present embodiment, may refer to the related description in previous embodiment,
This does not repeats.
Through substantial amounts of verification experimental verification, using technical scheme, by importing unit communications protocol, instrument is known automatically
Other protocol type, unit model and version, generate target resolution file, substantially increase type monitor component development efficiency,
And effectively minimizing artificially develops mistake.
To sum up, skilled addressee readily understands that, on the premise of not conflicting, above-mentioned each advantageous manner can be certainly
By ground combination, superposition.
The foregoing is only embodiments of the invention, be not limited to the present invention, for those skilled in the art
For Yuan, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, any amendment of being made,
Equivalent, improvement etc., within should be included in scope of the presently claimed invention.
Claims (13)
1. the analytic method of air-conditioning data, it is characterised in that including:
Obtain the unit communications protocol of described air-conditioning;
It is identified described unit communications protocol processing;
The identification information obtained according to described identifying processing, calls default resolution file generation module;
By described resolution file generation module, described air-conditioning data are resolved, obtain required target resolution file.
Method the most according to claim 1, it is characterised in that before obtaining the unit communications protocol of described air-conditioning, also wrap
Include:
According to preset format, the unit communications protocol of different types of described air-conditioning is carried out format specification process, obtain with
Each type of described air-conditioning is corresponding and meets the described unit communications protocol of described form;
Correspondingly, obtain described unit communications protocol, including:
Obtain described format specificationization and process the described unit communications protocol obtained.
Method the most according to claim 1 and 2, it is characterised in that described identification information, including: described unit communication is assisted
The protocol type of view;
Correspondingly, before calling default resolution file generation module, also include:
Customize the resolution file generation module corresponding with protocol type every kind described.
4., according to the method one of claim 1-3 Suo Shu, it is characterised in that described identification information, also include: described air-conditioning
At least one unit model and type version;
Correspondingly, call default resolution file generation module, including:
Call with described unit model and described type version at least one adaptive described resolution file generation module.
5. according to the method one of claim 1-4 Suo Shu, it is characterised in that described air-conditioning data are resolved, including:
When described identification information includes the protocol type of described unit communications protocol, load the institute adaptive with described protocol type
State the protocol parameter of unit communications protocol;
The described protocol parameter described loading completed, fills perfusion extremely described resolution file generation module, generates described target
Resolution file.
Method the most according to claim 5, it is characterised in that described protocol parameter, including: the parameter name of described unit
Title, the definition type of the scope of described parameter, described parameter, the precision of described parameter, the default value of described parameter, described parameter
Unit at least one.
7. the resolver of air-conditioning data, it is characterised in that including:
Acquiring unit, for obtaining the unit communications protocol of described air-conditioning;
Recognition unit, for being identified process to described unit communications protocol;
Call unit, for the identification information obtained according to described identifying processing, calls default resolution file generation module;
Described air-conditioning data, for by described resolution file generation module, are resolved, obtain required mesh by resolution unit
Mark resolution file.
Device the most according to claim 7, it is characterised in that also include:
Normalization unit, for according to preset format, carries out form rule by the unit communications protocol of different types of described air-conditioning
Generalized processes, and obtains described unit communications protocol that is corresponding with each type of described air-conditioning and that meet described form;
Correspondingly, acquiring unit obtains described unit communications protocol, including:
Obtain and carried out, by described normalization unit, the described unit communications protocol that the process of described format specificationization obtains.
9. according to the device described in claim 7 or 8, it is characterised in that described identification information, including: described unit communication is assisted
The protocol type of view;
Correspondingly, also include:
Customization units, for the resolution file generation module that customization is corresponding with protocol type every kind described.
10., according to the device one of claim 7-9 Suo Shu, it is characterised in that described identification information, also include: described air-conditioning
Unit model and type version at least one;
Correspondingly, call unit calls default resolution file generation module, including:
Call with described unit model and described type version at least one adaptive described resolution file generation module.
11. according to the device one of claim 7-10 Suo Shu, it is characterised in that resolution unit, including:
Load-on module, for when described identification information includes the protocol type of described unit communications protocol, loads and described association
The protocol parameter of the described unit communications protocol of view type adaptation;
Generation module, for the described protocol parameter described loading completed, fills perfusion extremely described resolution file generation module,
Generate described target resolution file.
12. devices according to claim 11, it is characterised in that described protocol parameter, including: the parameter name of described unit
Title, the definition type of the scope of described parameter, described parameter, the precision of described parameter, the default value of described parameter, described parameter
Unit at least one.
13. 1 kinds of air-conditionings, it is characterised in that including: the resolver of the air-conditioning data as described in claim 7-12 is arbitrary.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610657315.2A CN106302697A (en) | 2016-08-11 | 2016-08-11 | Analytic method, device and the air-conditioning of a kind of air-conditioning data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610657315.2A CN106302697A (en) | 2016-08-11 | 2016-08-11 | Analytic method, device and the air-conditioning of a kind of air-conditioning data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106302697A true CN106302697A (en) | 2017-01-04 |
Family
ID=57669334
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610657315.2A Pending CN106302697A (en) | 2016-08-11 | 2016-08-11 | Analytic method, device and the air-conditioning of a kind of air-conditioning data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106302697A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714334A (en) * | 2018-12-26 | 2019-05-03 | 珠海格力电器股份有限公司 | Transmit method, apparatus, processor, circuit and the storage medium of air-conditioning data |
CN108954686B (en) * | 2018-07-27 | 2020-07-03 | 宁波奥克斯电气股份有限公司 | Air conditioner control device and method and air conditioner |
CN112714152A (en) * | 2020-12-10 | 2021-04-27 | 珠海格力电器股份有限公司 | Display panel control method and device, display panel and marine air conditioner |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1925638A (en) * | 2006-09-18 | 2007-03-07 | 华为技术有限公司 | Processing terminal, method and tracing system for short message |
CN103595717A (en) * | 2013-11-13 | 2014-02-19 | 海信集团有限公司 | Household appliance control protocol conversion method and control terminal |
CN104092659A (en) * | 2014-06-03 | 2014-10-08 | 珠海格力电器股份有限公司 | General protocol data analysis method |
US20140371878A1 (en) * | 2013-06-13 | 2014-12-18 | Samsung Electronics Co., Ltd. | Communication apparatus and method of controlling the same |
-
2016
- 2016-08-11 CN CN201610657315.2A patent/CN106302697A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1925638A (en) * | 2006-09-18 | 2007-03-07 | 华为技术有限公司 | Processing terminal, method and tracing system for short message |
US20140371878A1 (en) * | 2013-06-13 | 2014-12-18 | Samsung Electronics Co., Ltd. | Communication apparatus and method of controlling the same |
CN103595717A (en) * | 2013-11-13 | 2014-02-19 | 海信集团有限公司 | Household appliance control protocol conversion method and control terminal |
CN104092659A (en) * | 2014-06-03 | 2014-10-08 | 珠海格力电器股份有限公司 | General protocol data analysis method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108954686B (en) * | 2018-07-27 | 2020-07-03 | 宁波奥克斯电气股份有限公司 | Air conditioner control device and method and air conditioner |
CN109714334A (en) * | 2018-12-26 | 2019-05-03 | 珠海格力电器股份有限公司 | Transmit method, apparatus, processor, circuit and the storage medium of air-conditioning data |
CN109714334B (en) * | 2018-12-26 | 2020-11-24 | 珠海格力电器股份有限公司 | Method, device, processor, circuit and storage medium for transmitting air conditioner data |
CN112714152A (en) * | 2020-12-10 | 2021-04-27 | 珠海格力电器股份有限公司 | Display panel control method and device, display panel and marine air conditioner |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106302697A (en) | Analytic method, device and the air-conditioning of a kind of air-conditioning data | |
CN111038906B (en) | Order sorting method and device | |
CN109002424B (en) | File format conversion method and device, computer equipment and storage medium | |
CN107179971B (en) | Automatic coding method and system for CAN bus fault processing | |
CN110909013A (en) | Service list generation method, device, equipment and computer readable storage medium | |
CN1996878A (en) | A method for information conversion of the simple object access protocol service management interface | |
CN111222226A (en) | EMS (energy management system) to GIS (geographic information System) model conversion and access system and method based on scheduling application visual angle | |
CN107770212A (en) | Rich communication suite distribution platform, method for updating edition and system, mobile terminal | |
CN112235159A (en) | Gateway quality portrait generation method, system, network equipment and storage medium | |
CN111104214B (en) | Workflow application method and device | |
CA2539464A1 (en) | System and method for dynamic content processing with extendable provisioning | |
CN114297215A (en) | Internet of things terminal object model standardization processing method and device, computer equipment and storage medium | |
CN114398044A (en) | Vehicle control and software configuration method, device, electronic equipment and storage medium | |
CN112862593B (en) | Credit scoring card model training method, device and system and computer storage medium | |
WO2017045345A1 (en) | Resource management method and apparatus, and multi-mode soft base station unified network management | |
CN111628956A (en) | Format conversion method, device and system for network request transmission data | |
CN110837500B (en) | Data screening method and device based on socal embedded window and computer equipment | |
CN111475468A (en) | Log access method, device, equipment and storage medium of newly added system | |
CN114386853A (en) | Data auditing processing method, device and equipment based on universal auditing model | |
CN113936677A (en) | Tone conversion method, device, computer equipment and storage medium | |
CN1652510A (en) | Method and terminal for operating and maintaining telecommunication apparatus | |
CN113190562A (en) | Report generation method and device and electronic equipment | |
CN112667662A (en) | Common method for analyzing sql and nosql based on json key values | |
CN112783687A (en) | Data processing method, terminal and computer readable storage medium | |
CN109309727A (en) | A kind of SP remote access implementation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170104 |