CN105183518A - Combined air conditioner and ordering method and device thereof - Google Patents

Combined air conditioner and ordering method and device thereof Download PDF

Info

Publication number
CN105183518A
CN105183518A CN201510585860.0A CN201510585860A CN105183518A CN 105183518 A CN105183518 A CN 105183518A CN 201510585860 A CN201510585860 A CN 201510585860A CN 105183518 A CN105183518 A CN 105183518A
Authority
CN
China
Prior art keywords
functional section
section
predetermined order
functional
order template
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510585860.0A
Other languages
Chinese (zh)
Other versions
CN105183518B (en
Inventor
袁添厦
罗晓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201510585860.0A priority Critical patent/CN105183518B/en
Publication of CN105183518A publication Critical patent/CN105183518A/en
Application granted granted Critical
Publication of CN105183518B publication Critical patent/CN105183518B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a combined air conditioner and an ordering method and device thereof. The method comprises the steps that a first functional segment is acquired, a second functional segment is acquired, and whether a first preset ordering template including the first functional segment and the second functional segment is stored in a configuration file of the combined air conditioner or not is judged; under the condition that it is judged that the first preset ordering template is stored in the configuration file, the first functional segment and the second function segment are ordered according to the first preset ordering template; under the condition that it is judged that the first ordering template is not stored in the configuration file, whether a second preset ordering template including the first function segment is stored in the configuration file or not is judged, a judgment result is obtained, and the first functional segment and the second functional segment are ordered according to the judgment result. The technical problem that the ordering mode of functional segments of a combined air conditioner in the prior art is low in efficiency is solved.

Description

Combined air conditioner and sort method thereof and device
Technical field
The present invention relates to air conditioner field, in particular to the combined air conditioner of one and sort method thereof and device.
Background technology
Combination sideboard unit is common combined air conditioner, is combined by different functional sections, and as wind inlet section, surface cooling section, power section, dedusting section etc., there is particular/special requirement functional section position, as power section must be placed in after wind inlet section.Known existing combination sideboard Selection Software, can only manual arrangement functional section, complex operation, inefficiency.
For above-mentioned problem, at present effective solution is not yet proposed.
Summary of the invention
Embodiments provide a kind of combined air conditioner and sort method thereof and device, with the inefficient technical matters of the arrangement mode of the functional section at least solving combined air conditioner in prior art.
According to an aspect of the embodiment of the present invention, provide a kind of sort method of combined air conditioner, comprising: obtain the first functional section, wherein, described first functional section is functional section to be sorted in described combined air conditioner; Obtain the second functional section, wherein, described second functional section is ordering functional section in described combined air conditioner; Judge in the configuration file of described combined air conditioner, whether to store the first predetermined order template comprising described first functional section and described second functional section; When judging to store the described first predetermined order template comprising described first functional section and described second functional section in described configuration file, according to described first predetermined order template, described first functional section and described second functional section are sorted; And when judging not store the described first predetermined order template comprising described first functional section and described second functional section in described configuration file, judge whether to store in described configuration file the second predetermined order template comprising described first functional section and obtain judged result, and according to described judged result described first functional section of arrangement and described second functional section.
Further, described judged result represents in described configuration file the described second predetermined order template storing and comprise described first functional section, comprises: from described second predetermined order template, search the objective function section adjacent with described first functional section according to described judged result described first functional section of arrangement and described second functional section; Judge whether comprise described objective function section in described second functional section; When judging that described second functional section comprises described objective function section, according to the sequencing of the first functional section described in described second predetermined order template and described objective function section, described first functional section is added into described second functional section; And when judging that described second functional section does not comprise described objective function section, add described first functional section at the end of described second functional section.
Further, described objective function section is included in the first object functional section before described first functional section and the second objective function section after described first functional section, judge that whether comprising described objective function section in described second functional section comprises: judge in described second functional section, whether to comprise described first object functional section and the second objective function section, when judging that described second functional section comprises described objective function section, according to the sequencing of the first functional section described in described second predetermined order template and described objective function section, described first functional section is added into described second functional section comprise: when judge described second functional section comprise described first object functional section do not comprise described second objective function section, according to the sequencing of the first functional section described in described second predetermined order template and described first object functional section, described first functional section is added into described second functional section, when judge described second functional section comprise described second objective function Duan Wei comprise described first object functional section, according to the sequencing of the first functional section described in described second predetermined order template and described second objective function section, described first functional section is added into described second functional section, and when judging that described second functional section comprises described first object functional section and described second objective function section, according to the sequencing of the first functional section described in described second predetermined order template and described first object functional section, described first functional section is added into described second functional section.
Further, the quantity of described second predetermined order template is multiple, following steps are repeated successively, until described first functional section is added into described second functional section: from described second predetermined order template, search the described objective function section adjacent with described first functional section according to multiple described second predetermined order template priority; Judge whether comprise described objective function section in described second functional section; When judging that described second functional section comprises described objective function section, according to the sequencing of the first functional section described in described second predetermined order template and described objective function section, described first functional section is added into described second functional section; And when judging that described second functional section does not comprise described objective function section, add described first functional section at the end of described second functional section.
Further, described judged result represents in described configuration file the described second predetermined order template not storing and comprise described first functional section, comprises according to described judged result described first functional section of arrangement and described second functional section: add described first functional section at the end of described second functional section.
Further, the quantity of described first predetermined order template is multiple, carry out sequence according to described first predetermined order template to described first functional section and described second functional section to comprise: receive stencil-chosen instruction, wherein, described stencil-chosen instruction is used for going out a described first predetermined order template as target first predetermined order template from multiple described first predetermined order stencil-chosen; And according to described target first predetermined order template, described first functional section and described second functional section are sorted.
Further, before the instruction of reception stencil-chosen, described method also comprises: sort to multiple described first predetermined order template according to priority.
Further, described method also comprises: receive template-setup instruction; And according to described template-setup instruction perform in following operation one of at least: revise described first predetermined order template, delete described first predetermined order template and increase by the three predetermined order template not identical with described first predetermined order template extremely described combined air conditioner.
According to the another aspect of the embodiment of the present invention, additionally provide a kind of collator of combined air conditioner, comprising: the first acquiring unit, for obtaining the first functional section, wherein, described first functional section is functional section to be sorted in described combined air conditioner; Second acquisition unit, for obtaining the second functional section, wherein, described second functional section is ordering functional section in described combined air conditioner; Judging unit, for judge described combined air conditioner configuration file in whether store the first predetermined order template comprising described first functional section and described second functional section; First sequencing unit, for when judging to store the described first predetermined order template comprising described first functional section and described second functional section in described configuration file, according to described first predetermined order template, described first functional section and described second functional section are sorted; And second sequencing unit, for when judging not store the described first predetermined order template comprising described first functional section and described second functional section in described configuration file, judge whether to store in described configuration file the second predetermined order template comprising described first functional section and obtain judged result, and according to described judged result described first functional section of arrangement and described second functional section.
Further, described judged result represents in described configuration file the described second predetermined order template storing and comprise described first functional section, described second sequencing unit comprises: search module, for searching the objective function section adjacent with described first functional section from described second predetermined order template; Judge module, for judging whether comprise described objective function section in described second functional section; First adds module, for when judging that described second functional section comprises described objective function section, according to the sequencing of the first functional section described in described second predetermined order template and described objective function section, described first functional section is added into described second functional section; And second adds module, for when judging that described second functional section does not comprise described objective function section, add described first functional section at the end of described second functional section.
Further, described objective function section is included in the first object functional section before described first functional section and the second objective function section after described first functional section, described judge module comprises: judge submodule, described first object functional section and the second objective function section whether is comprised in described second functional section for judging, described first adds module comprises: first adds submodule, for when judge described second functional section comprise described first object functional section do not comprise described second objective function section, according to the sequencing of the first functional section described in described second predetermined order template and described first object functional section, described first functional section is added into described second functional section, second adds submodule, for when judge described second functional section comprise described second objective function Duan Wei comprise described first object functional section, according to the sequencing of the first functional section described in described second predetermined order template and described second objective function section, described first functional section is added into described second functional section, and the 3rd adds submodule, for when judging that described second functional section comprises described first object functional section and described second objective function section, according to the sequencing of the first functional section described in described second predetermined order template and described first object functional section, described first functional section is added into described second functional section.
Further, the quantity of described second predetermined order template is multiple, search module described in described collator repeats to call according to multiple described second predetermined order template priority successively, described judge module, described first adds module and described second and add module, until described first functional section is added into described second functional section.
Further, described judged result represents in described configuration file the described second predetermined order template not storing and comprise described first functional section, described second sequencing unit comprises: the 3rd adds module, adds described first functional section for the end at described second functional section.
Further, the quantity of described first predetermined order template is multiple, described first sequencing unit comprises: receiver module, for receiving stencil-chosen instruction, wherein, described stencil-chosen instruction is used for going out a described first predetermined order template as target first predetermined order template from multiple described first predetermined order stencil-chosen; And first order module, for sorting to described first functional section and described second functional section according to described target first predetermined order template.
Further, described first sequencing unit also comprises: the second order module, for before the instruction of reception stencil-chosen, sorts to multiple described first predetermined order template according to priority.
Further, described device also comprises: receiving element, for receiving template-setup instruction; And amendment unit, for perform according to described template-setup instruction in following operation one of at least: revise described first predetermined order template, delete described first predetermined order template and increase by the three predetermined order template not identical with described first predetermined order template extremely described combined air conditioner.
In embodiments of the present invention, adopt acquisition first functional section, wherein, first functional section is functional section to be sorted in combined air conditioner, obtain the second functional section, wherein, second functional section is ordering functional section in combined air conditioner, judge whether to store in the configuration file of combined air conditioner the first predetermined order template comprising the first functional section and the second functional section, when judging to store in configuration file the first predetermined order template comprising the first functional section and the second functional section, according to the first predetermined order template, the first functional section and the second functional section are sorted, when judging not store in configuration file the first predetermined order template comprising the first functional section and the second functional section, judge whether to store in configuration file the second predetermined order template comprising the first functional section and obtain judged result, and arrange the first functional section and the second functional section according to judged result.By storing predetermined order module in configuration file, and then when treating in ranking function section and the predetermined order template matches in ranking function section and configuration file, directly according to mated predetermined order template treat ranking function section and ranking function section sort; When cannot directly mate, the predetermined order template treating ranking function section is comprised according to configuration file, treat ranking function section and ranking function section sort, achieve and auto-sequencing is carried out to the functional section of combined air conditioner, avoid manual complex operation, inefficiency that functional section is sorted, solve the inefficient technical matters of arrangement mode of the functional section of combined air conditioner in prior art.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram of the sort method of a kind of optional combined air conditioner according to the embodiment of the present invention;
Fig. 2 is the process flow diagram of the sort method according to the optional combined air conditioner of the another kind of the embodiment of the present invention;
Fig. 3 is the schematic diagram of the collator of a kind of optional combined air conditioner according to the embodiment of the present invention;
Fig. 4 is the schematic diagram of the collator according to the optional combined air conditioner of the another kind of the embodiment of the present invention; And
Fig. 5 is the schematic diagram of the collator according to the optional combined air conditioner of the another kind of the embodiment of the present invention.
Embodiment
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in instructions of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
According to the embodiment of the present invention, provide the embodiment of a kind of combined air conditioner and sort method thereof, it should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the process flow diagram of accompanying drawing, and, although show logical order in flow charts, in some cases, can be different from the step shown or described by order execution herein.
Fig. 1 is the process flow diagram of the sort method of a kind of combined air conditioner according to the embodiment of the present invention, and as shown in Figure 1, the method comprises the steps:
Step S102, obtains the first functional section, and wherein, the first functional section is functional section to be sorted in combined air conditioner.
Step S104, obtains the second functional section, and wherein, the second functional section is ordering functional section in combined air conditioner.
Step S106, judges whether to store in the configuration file of combined air conditioner the first predetermined order template comprising the first functional section and the second functional section.That is, judge whether the first functional section and the second functional section can match the predetermined order template in configuration file simultaneously, also namely judge whether predetermined order module comprises the first functional section and the second functional section simultaneously.
Step S108, when judging to store in configuration file the first predetermined order template comprising the first functional section and the second functional section, sorts to the first functional section and the second functional section according to the first predetermined order template.That is, treating ranking function section and ranking function section, can in the predetermined order template matches simultaneously and in configuration file when, directly according to mated predetermined order template treat ranking function section and ranking function section sort.
Step S110, when judging not store in configuration file the first predetermined order template comprising the first functional section and the second functional section, judge whether to store in configuration file the second predetermined order template comprising the first functional section and obtain judged result, and arrange the first functional section and the second functional section according to judged result.Treating ranking function section and ranking function section, cannot the predetermined order template simultaneously and in configuration file when directly mating, comprise the predetermined order template treating ranking function section according to configuration file, treat ranking function section and ranking function section sort.
Such as, functional section to be sorted is functional section E, then functional section E is the first functional section.The functional section sorted is functional section ABCD, then functional section ABCD is the second functional section.The configuration file of combined air conditioner can be pre-set by managerial personnel, stores several template in configuration file.Such as, store 3 kinds of templates in configuration file, be respectively FGABCDEMN, SLRWD, XDGTRN.Because functional section FGABCDEMN contains the first functional section E and the second functional section ABCD, so functional section FGABCDEMN is the first predetermined order template.In FGABCDEMN, after functional section E comes functional section ABCD, according to functional section FGABCDEMN, functional section E and functional section ABCD is sorted, obtain ranking results functional section ABCDE.
Again such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 3 kinds of templates in configuration file, be respectively FGABCHLMN, SLRWD, XDGTRN.Because these 3 kinds of templates all do not comprise the first functional section E and the second functional section ABCD simultaneously, so these 3 kinds of templates are not the first predetermined order templates, namely in configuration file, do not store the first predetermined order template.Now, find the second predetermined order template in configuration file, the second predetermined order template satisfies condition: the second predetermined order template comprises the first functional section.These 3 templates of FGABCHLMN, SLRWD, XDGTRN do not comprise the first functional section E, therefore do not store the second predetermined order template in configuration file.
The sort method of the combined air conditioner that the embodiment of the present invention provides, by storing predetermined order module in configuration file, and then when treating in ranking function section and the predetermined order template matches in ranking function section and configuration file, directly according to mated predetermined order template treat ranking function section and ranking function section sort; When cannot directly mate, the predetermined order template treating ranking function section is comprised according to configuration file, treat ranking function section and ranking function section sort, achieve and auto-sequencing is carried out to the functional section of combined air conditioner, avoid manual complex operation, inefficiency that functional section is sorted, solve the inefficient technical matters of arrangement mode of the functional section of combined air conditioner in prior art, and then reach the technique effect that functional section fast, is efficiently sorted.Meanwhile, can also reach and reduce designer's work difficulty, save the effect of designer's training cost.
Alternatively, judged result represents in configuration file the second predetermined order template storing and comprise the first functional section, arranges the first functional section and the second functional section comprises according to judged result: from the second predetermined order template, search the objective function section adjacent with the first functional section; Judge whether comprise objective function section in the second functional section; When judging that the second functional section comprises objective function section, according to the sequencing of the first functional section and objective function section in the second predetermined order template, the first functional section is added into the second functional section; And when judging that the second functional section does not comprise objective function section, add the first functional section at the end of the second functional section.Namely, look for comprising in configuration file and treat ranking function section and the predetermined order template not comprising ranking function section, look in predetermined order template and treat the functional section that ranking function section is adjacent, in predetermined order template with treat that the functional section that ranking function section is adjacent is called objective function section.Judge whether ranking function section comprises objective function section, if comprise, according to the context treating ranking function section and objective function section in predetermined order template, will treat ranking function section and ranking function section sort; If ranking function section does not comprise objective function section, treating that ranking function section directly adds the end of ranking function section to.
Such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 4 kinds of templates in configuration file, be respectively SCAN, GECDR, QBHDMKU, TTFRFHL.Because these 4 kinds of templates all do not comprise the first functional section E and the second functional section ABCD simultaneously, so these 4 kinds of templates are not the first predetermined order templates, namely in configuration file, do not store the first predetermined order template.Now, find the second predetermined order template in configuration file, the second predetermined order template satisfies condition: the second predetermined order template comprises the first functional section.Only have GECDR to satisfy condition in these 4 templates of SCAN, GECDR, QBHDMKU, TTFRFHL, therefore in configuration file, GECDR is the second predetermined order template.Functional section adjacent with E in GECDR is functional section G and functional section C, therefore functional section G and functional section C is objective function section.Second functional section ABCD comprises objective function section C.Due in the second predetermined order template GECDR, first functional section E before objective function section C, so according to the second predetermined order template, when the first functional section E is added in the second functional section ABCD, should make functional section E before functional section C, after namely having added, obtain functional section ABECD.
Again such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 4 kinds of templates in configuration file, be respectively SCAN, QBHDMKU, TTFRFHL, PSERT.These 4 kinds of templates are not the first predetermined order templates, and PSERT is the second predetermined order template.Functional section adjacent with E in PSERT is functional section S and functional section R, therefore functional section S and functional section R is objective function section.Second functional section ABCD neither comprises objective function section S, does not also comprise objective function section R, therefore, adds the first functional section E, obtain functional section ABCDE after having added at the end of the second functional section ABCD.
Alternatively, objective function section is included in the first object functional section before the first functional section and the second objective function section after the first functional section, judge that whether comprising objective function section in the second functional section comprises: judge in the second functional section, whether to comprise first object functional section and the second objective function section, when judging that the second functional section comprises objective function section, according to the sequencing of the first functional section and objective function section in the second predetermined order template, first functional section is added into the second functional section comprise: when judge the second functional section comprise first object functional section do not comprise the second objective function section, according to the sequencing of the first functional section and first object functional section in the second predetermined order template, first functional section is added into the second functional section, when judge the second functional section comprise the second objective function Duan Wei comprise first object functional section, according to the sequencing of the first functional section and the second objective function section in the second predetermined order template, the first functional section is added into the second functional section, and when judging that the second functional section comprises first object functional section and the second objective function section, according to the sequencing of the first functional section and first object functional section in the second predetermined order template, the first functional section is added into the second functional section.That is, look for comprising in configuration file and treat ranking function section and the predetermined order template not comprising ranking function section, in predetermined order template, look for objective function section.Wherein, objective function section is divided into again two kinds, and a kind of is come the objective function section treated before ranking function section, and another kind comes the objective function section treated after ranking function section.Situation one: if ranking function section comprises the objective function section coming and treat before ranking function section, do not comprise the objective function section coming and treat after ranking function section, then according to predetermined order template, will treat ranking function section and ranking function section sort.Situation two: if ranking function section comprises the objective function section coming and treat after ranking function section, do not comprise the objective function section coming and treat before ranking function section, then according to predetermined order template, will treat ranking function section and ranking function section sort.Situation three: if both comprised the objective function section coming and treat before ranking function section in ranking function section, comprise again the objective function section coming and treat after ranking function section, then according to the method for situation one, will treat ranking function section and ranking function section sort.
Such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 4 kinds of templates in configuration file, be respectively RTYUCFS, ZXDVFR, YUNG, AELMJ.These 4 kinds of templates are not the first predetermined order templates, and AELMJ is the second predetermined order template.Comprising objective function section A and objective function section L in AELMJ, wherein, before objective function section A is positioned at the first functional section E, is first object functional section, after objective function section L is positioned at the first functional section E, is the second objective function section.Functional section ABCD comprises first object functional section A, does not comprise the second objective function section L, according to the second predetermined order template AELMJ, functional section E is added in functional section ABCD, due in AELMJ, functional section A before functional section E, therefore obtains functional section AEBCD after having added.
Such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 4 kinds of templates in configuration file, be respectively RTYUCFS, ZXDVFR, YUNG, GKECS.These 4 kinds of templates are not the first predetermined order templates, and GKECS is the second predetermined order template.Comprise objective function section K and objective function section C in GKECS, wherein, objective function section K is first object functional section, and objective function section C is the second objective function section.Functional section ABCD comprises the second objective function section C, does not comprise first object functional section K, according to the second predetermined order template GKECS, functional section E is added in functional section ABCD, due in GKECS, functional section E before functional section C, therefore obtains functional section ABECD after having added.
Such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 4 kinds of templates in configuration file, be respectively RTYUCFS, ZXDVFR, YUNG, IYBED.These 4 kinds of templates are not the first predetermined order templates, and IYBED is the second predetermined order template.Comprise objective function section B and objective function section D in IYBED, wherein, objective function section B is first object functional section, and objective function section E is the second objective function section.Functional section ABCD had both comprised first object functional section B, comprise again the second objective function section D, according to the second predetermined order template IYBED, functional section E is added in functional section ABCD, due in IYBED, first functional section E after first object functional section B, therefore obtains functional section ABECD after having added.
Alternatively, the quantity of the second predetermined order template is multiple, following steps are repeated successively, until the first functional section is added into the second functional section: from the second predetermined order template, search the objective function section adjacent with the first functional section according to multiple second predetermined order template priority; Judge whether comprise objective function section in the second functional section; When judging that the second functional section comprises objective function section, according to the sequencing of the first functional section and objective function section in the second predetermined order template, the first functional section is added into the second functional section; And when judging that the second functional section does not comprise objective function section, add the first functional section at the end of the second functional section.That is, comprise and treat ranking function section and the predetermined order template not comprising ranking function section has multiple, then first find out the highest predetermined order template of priority-level.Exist in the predetermined order template that priority-level is the highest and treat the objective function section that ranking function section is adjacent, this objective function section is found in ranking function section, if find, according to the predetermined order template that priority-level is the highest, will treat ranking function section and ranking function section sort; If can not find, find out the predetermined order template that priority-level ranked second.Exist in the predetermined order template that priority-level ranked second and treat the objective function section that ranking function section is adjacent, this objective function section is found in ranking function section, if find, the predetermined order template that ranked second according to priority-level, will treat ranking function section and ranking function section sort; If can not find, find out the predetermined order template that priority-level ranked third.The rest may be inferred, if predetermined order template is all complete according to priority sequential search from high to low, ranking function section does not comprise objective function section, then treating that ranking function section adds the end of ranking function section to.
Such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 5 kinds of templates in configuration file, be respectively WPOLGTTRY, EBXAC, HGEKP, EJOIM, CEUTS.Wherein, these 5 kinds of templates are not the first predetermined order templates, and EBXAC, HGEKP, EJOIM, CEUTS are the second predetermined order templates.In these 4 the second predetermined order templates, priority is respectively from high to low: HGEKP, EJOIM, EBXAC, CEUTS.Priority can be arranged according to actual conditions by managerial personnel, and priority is high, and mean that sequence utilization rate is high, priority is low, means that sequence utilization rate is low.Because the priority of the second predetermined order template HGEKP is the highest, therefore pay the utmost attention to.In HGEKP, the objective function section adjacent with the first functional section E is objective function section G and objective function section K.Neither comprise objective function section G in second functional section ABCD and do not comprise objective function section K again.Continue the second predetermined order template EJOIM considering that the rank of priority ranked second.In EJOIM, the objective function section adjacent with the first functional section E is functional section J.Functional section J is not comprised in second functional section ABCD.Continue the second predetermined order template EBXAC considering that the rank of priority ranked third.In EBXAC, the objective function section adjacent with the first functional section E is functional section B.Comprise functional section B in second functional section ABCD, therefore according to the second predetermined order template EBXAC, functional section E is added to the second functional section ABCD, due in EBXAC, before functional section E is positioned at functional section B, therefore after having added, obtain functional section AEBCD.
Again such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 3 kinds of templates in configuration file, be respectively WPOLGTTRY, EJOIM, HGEKP.Wherein, these 3 kinds of templates are not the first predetermined order templates, EJOIM, HGEKP, are the second predetermined order templates.In these 2 the second predetermined order templates, priority is respectively from high to low: HGEKP, EJOIM.Because the priority of the second predetermined order template HGEKP is the highest, therefore pay the utmost attention to.In HGEKP, the objective function section adjacent with the first functional section E is functional section G and functional section K.Neither comprise objective function section G in second functional section ABCD and do not comprise objective function section K again.Continue the second predetermined order template EJOIM considering that the rank of priority ranked second.In EJOIM, the objective function section adjacent with the first functional section E is functional section J.Objective function section J is not comprised in second functional section ABCD.Because the second functional section ABCD does not comprise any objective function section, so during arrangement the first functional section E and the second functional section ABCD, the end that the first functional section E adds the second functional section ABCD to, obtain functional section ABCDE after having added.
Alternatively, judged result represents in configuration file the second predetermined order template not storing and comprise the first functional section, arranges the first functional section and the second functional section comprises according to judged result: add the first functional section at the end of the second functional section.That is, when not storing the predetermined order template comprised until ranking function section in configuration file, directly treating that ranking function section adds the end of ranking function section to.
Such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 3 kinds of templates in configuration file, be respectively NHBVD, OLMHN, LCDZ.Wherein, these 3 kinds of templates are not the first predetermined order templates, neither the second predetermined order template.So during arrangement the first functional section E and the second functional section ABCD, the end that the first functional section E adds the second functional section ABCD to, obtain functional section ABCDE after having added.
Alternatively, the quantity of the first predetermined order template is multiple, carry out sequence according to the first predetermined order template to the first functional section and the second functional section to comprise: receive stencil-chosen instruction, wherein, stencil-chosen instruction is used for going out a first predetermined order template as target first predetermined order template from multiple first predetermined order stencil-chosen; And according to target first predetermined order template, the first functional section and the second functional section are sorted.Namely, exist multiple when not only having comprised until ranking function section but also comprised the predetermined order template of ranking function section in configuration file, receive instruction, according to the instruction of instruction, from multiple predetermined order template, select a predetermined order template, according to this predetermined order template chosen will treat ranking function section and ranking function section sort.
Such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 3 kinds of templates in configuration file, be respectively ABCDHEN, PLOUESABCD, FEMAXWBCMD, BEOIL.Wherein, ABCDHEN, PLOUESABCD, FEMAXWBCMD are the first predetermined order templates.Stencil-chosen instruction can be arranged by managerial personnel, such as can be arranged to " please according to the first predetermined order template comprising functional block minimum, first functional section and the second functional section being sorted ", or " please according to the first predetermined order template that priority is the highest, first functional section and the second functional section are sorted ", etc.If stencil-chosen instruction is arranged to " please sorting to the first functional section and the second functional section according to the first predetermined order template comprising functional block minimum ", because ABCDHEN comprises 7 functional sections, PLOUESABCD comprises 10 functional sections, FEMAXWBCMD comprises 10 functional sections, therefore select to carry out sequence ABCD according to ABCDHEN to the first functional section E and the second functional section, the result sorted is ABCDE.
Alternatively, before the instruction of reception stencil-chosen, method also comprises: sort to multiple first predetermined order template according to priority.That is, exist multiple when not only having comprised until ranking function section but also comprised the predetermined order template of ranking function section in configuration file, according to priority order from high to low, multiple predetermined order template is sorted.
Such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 4 kinds of templates in configuration file, be respectively ABCDHEN, PLOUESABCD, FEMAXWBCMD, BEOIL.Wherein, ABCDHEN, PLOUESABCD, FEMAXWBCMD are the first predetermined order templates.Priority can be arranged according to actual conditions by managerial personnel, and priority is high, and mean that sequence utilization rate is high, priority is low, means that sequence utilization rate is low.Such as, in actual applications, the utilization rate of PLOUESABCD is the highest, and the utilization rate of ABCDHEN is secondary high, and the utilization rate of FEMAXWBCMD is lower.The order that then can arrange priority is from high to low: PLOUESABCD, ABCDHEN, FEMAXWBCMD.
Alternatively, the sort method of combined air conditioner also comprises: receive template-setup instruction; And according to template-setup instruction perform in following operation one of at least: revise the first predetermined order template, delete the first predetermined order template and increase by the three predetermined order template not identical with the first predetermined order template extremely combined air conditioner.That is, combined air conditioner can receive instruction, modifies according to instruction, deletes, adds predetermined order template, etc.
Template-setup instruction can be arranged by managerial personnel.8 kinds of templates are stored in configuration file, be respectively TYNEK, JKHDF, DJH, IOUEABCDRL, KREW, WDN, NBXZLP, IUPL, when functional section to be sorted is functional section E, when the functional section sorted is functional section ABCD, IOUEABCDRL is the first predetermined order template, managerial personnel can arrange instruction and " delete the first predetermined order template ", then IOUEABCDRL is deleted.Managerial personnel also can arrange instruction and " add the 3rd predetermined order template GNBM ", then GNBM is added in configuration file.
Fig. 2 is the process flow diagram according to the optional combined air conditioner sort method of the another kind of the embodiment of the present invention.As shown in the figure, the method comprises the steps:
S202, selects model choice functional section from functional section, in embodiments of the present invention, functional section can be selected by drag-and-drop operation, selected by functional section out be namely functional section to be sorted in combined air conditioner, that is to say the first functional section, identical with above-mentioned steps S102.
S204, obtains existing functional section in layout modules, namely obtains the functional section sorted in combined air conditioner, that is to say the second functional section, identical with above-mentioned steps S104, after completing, performs S206.
S206, adds selected functional section by existing functional section, obtains the set of functional section, after completing, performs S208.
S208, according to fixed form already present in configuration file, judge the set whether comprising selected function section in each template, namely judge whether to store in the configuration file of combined air conditioner the first predetermined order template comprising the first functional section and the second functional section, identical with above-mentioned steps S106.If there is the template comprising the set of selected function section, perform step S210; If there is not the template of the set comprising selected function section, perform step S216.
S210, judges whether to there is multiple module meeting arrangement, namely judges whether more than one of the first predetermined order template comprising the first functional section and the second functional section.If there is a more than first predetermined order template, perform step S212; If only there is a first predetermined order template, perform step S214.
S212, eject an optional list, the conventional grade according to fixed form in configuration file arranges, before what grade was high be placed on, for selecting to user.That is, when the quantity of the first predetermined order template is multiple, from multiple first predetermined order template select one, will treat ranking function section and ranking function section sort.
S214, directly arranges according to the arrangement mode of template.That is, when only there is a first predetermined order template, will treat that sequence template and the template that sorted sort according to this first predetermined order template.
S216, is put into the functional section of hauling out in configuration file and searches, obtain the functional section be inserted into that multiple (such as: three) is conventional.Hauled out for each the functional section (i.e. the first functional section) come, all can add up through server, draw multiple the most frequently used and functional section that sequence logic is correct, wherein, this multiple functional section all includes the first functional section.That is, when judging not store in configuration file the first default template comprising the first functional section and the second functional section, in configuration file, search the second predetermined order template comprising the first functional section, this second predetermined order template can be multiple.After completing, perform step S218.
S218, by multiple conventional functional section according to conventional grade, contrasts with existing functional section in order, judges whether this multiple conventional functional section includes the partial function section of ranking function section.That is, according to priority orders, from multiple second predetermined order template, search the objective function section adjacent with the first functional section, judge whether comprise objective function section in the second functional section.If there is the functional section met, perform step S220; If there is no the functional section met, performs step S222.
S220, carries out update at once, and need not continue to perform judgement.That is, when judging that the second functional section comprises objective function section, according to the sequencing of the first functional section and objective function section in the second predetermined order template, the first functional section is added into the second functional section.
S222, is judged by placement logic, inserts the insertion position that can not be caused logic error.Placement logic refers to the arrangement requirement of functional section, such as " power section must be placed in after wind inlet section " or " functional section E must be placed in functional section B before ", etc.If this position exists, perform step S226; If this position does not exist, perform step S224.
S224, acquiescence inserts the most end of functional section.
S226, carries out update at once, and need not continue to perform judgement.
Pass through above-described embodiment, predetermined order template is stored in configuration file, and then when treating in ranking function section and the predetermined order template matches in ranking function section and configuration file, directly according to mated predetermined order template treat ranking function section and ranking function section sort; When cannot directly mate, the predetermined order template treating ranking function section is comprised according to configuration file, treat ranking function section and ranking function section sort, achieve and auto-sequencing is carried out to the functional section of combined air conditioner, avoid manual complex operation, inefficiency that functional section is sorted, solve the inefficient technical matters of arrangement mode of the functional section of combined air conditioner in prior art.
According to the embodiment of the present invention, additionally provide a kind of embodiment of collator of combined air conditioner.The collator of this combined air conditioner can perform the sort method of combinations thereof type air conditioner, and the sort method of combinations thereof type air conditioner also can be implemented by the collator of this combined air conditioner.
Fig. 3 is the schematic diagram of the collator of a kind of combined air conditioner according to the embodiment of the present invention.As shown in Figure 3, the collator of this combined air conditioner comprises: the first acquiring unit 30, second acquisition unit 32, judging unit 34, first sequencing unit 36, second sequencing unit 38.
First acquiring unit 30, for obtaining the first functional section, wherein, the first functional section is functional section to be sorted in combined air conditioner.
Second acquisition unit 32, for obtaining the second functional section, wherein, the second functional section is ordering functional section in combined air conditioner.
Judging unit 34, for judge combined air conditioner configuration file in whether store the first predetermined order template comprising the first functional section and the second functional section.That is, judge whether the first functional section and the second functional section can match the predetermined order template in configuration file simultaneously, also namely judge whether predetermined order module comprises the first functional section and the second functional section simultaneously.
First sequencing unit 36, for when judging to store in configuration file the first predetermined order template comprising the first functional section and the second functional section, sorts to the first functional section and the second functional section according to the first predetermined order template.That is, treating ranking function section and ranking function section, can in the predetermined order template matches simultaneously and in configuration file when, directly according to mated predetermined order template treat ranking function section and ranking function section sort.
Second sequencing unit 38, for when judging not store in configuration file the first predetermined order template comprising the first functional section and the second functional section, judge whether to store in configuration file the second predetermined order template comprising the first functional section and obtain judged result, and arrange the first functional section and the second functional section according to judged result.Treating ranking function section and ranking function section, cannot the predetermined order template simultaneously and in configuration file when directly mating, comprise the predetermined order template treating ranking function section according to configuration file, treat ranking function section and ranking function section sort.
Such as, functional section to be sorted is functional section E, then functional section E is the first functional section.The functional section sorted is functional section ABCD, then functional section ABCD is the second functional section.The configuration file of combined air conditioner can be pre-set by managerial personnel, stores several template in configuration file.Such as, store 3 kinds of templates in configuration file, be respectively FGABCDEMN, SLRWD, XDGTRN.Because functional section FGABCDEMN contains the first functional section E and the second functional section ABCD, so functional section FGABCDEMN is the first predetermined order template.In FGABCDEMN, after functional section E comes functional section ABCD, according to functional section FGABCDEMN, functional section E and functional section ABCD is sorted, obtain ranking results functional section ABCDE.
Again such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 3 kinds of templates in configuration file, be respectively FGABCHLMN, SLRWD, XDGTRN.Because these 3 kinds of templates all do not comprise the first functional section E and the second functional section ABCD simultaneously, so these 3 kinds of templates are not the first predetermined order templates, namely in configuration file, do not store the first predetermined order template.Now, find the second predetermined order template in configuration file, the second predetermined order template satisfies condition: the second predetermined order template comprises the first functional section.These 3 templates of FGABCHLMN, SLRWD, XDGTRN do not comprise the first functional section E, therefore do not store the second predetermined order template in configuration file.
The collator of the combined air conditioner that the embodiment of the present invention provides, obtained by the first acquiring unit and second acquisition unit and treat ranking function section and ranking function section, judging unit is utilized to judge whether to there is the predetermined order template directly can mated and treat ranking function section and ranking function section, if existed, first sequencing unit according to this predetermined order template treat ranking function section and ranking function section sort, if there is no, second sequencing unit is according to comprising the predetermined order template treating ranking function section, treat ranking function section and ranking function section sort, achieve and auto-sequencing is carried out to the functional section of combined air conditioner, avoid the manual complex operation that functional section is sorted, inefficiency, solve the inefficient technical matters of arrangement mode of the functional section of combined air conditioner in prior art, and then reach functional section quick, the technique effect of efficient sequence.Meanwhile, can also reach and reduce designer's work difficulty, save the effect of designer's training cost.
Alternatively, judged result represents in configuration file the second predetermined order template storing and comprise the first functional section, and the second sequencing unit comprises: search module, for searching the objective function section adjacent with the first functional section from the second predetermined order template; Judge module, for judging whether comprise objective function section in the second functional section; First adds module, for when judging that the second functional section comprises objective function section, according to the sequencing of the first functional section and objective function section in the second predetermined order template, the first functional section is added into the second functional section; And second adds module, for when judging that the second functional section does not comprise objective function section, adds the first functional section at the end of the second functional section.Namely, look for comprising in configuration file and treat ranking function section and the predetermined order template not comprising ranking function section, look in predetermined order template and treat the functional section that ranking function section is adjacent, in predetermined order template with treat that the functional section that ranking function section is adjacent is called objective function section.Judge whether ranking function section comprises objective function section, if comprise, according to the context treating ranking function section and objective function section in predetermined order template, will treat ranking function section and ranking function section sort; If ranking function section does not comprise objective function section, treating that ranking function section directly adds the end of ranking function section to.
Such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 4 kinds of templates in configuration file, be respectively SCAN, GECDR, QBHDMKU, TTFRFHL.Because these 4 kinds of templates all do not comprise the first functional section E and the second functional section ABCD simultaneously, so these 4 kinds of templates are not the first predetermined order templates, namely in configuration file, do not store the first predetermined order template.Now, find the second predetermined order template in configuration file, the second predetermined order template satisfies condition: the second predetermined order template comprises the first functional section.Only have GECDR to satisfy condition in these 4 templates of SCAN, GECDR, QBHDMKU, TTFRFHL, therefore in configuration file, GECDR is the second predetermined order template.Functional section adjacent with E in GECDR is functional section G and functional section C, therefore functional section G and functional section C is objective function section.Second functional section ABCD comprises objective function section C.Due in the second predetermined order template GECDR, first functional section E before objective function section C, so according to the second predetermined order template, when the first functional section E is added in the second functional section ABCD, should make functional section E before functional section C, after namely having added, obtain functional section ABECD.
Again such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 4 kinds of templates in configuration file, be respectively SCAN, QBHDMKU, TTFRFHL, PSERT.These 4 kinds of templates are not the first predetermined order templates, and PSERT is the second predetermined order template.Functional section adjacent with E in PSERT is functional section S and functional section R, therefore functional section S and functional section R is objective function section.Second functional section ABCD neither comprises objective function section S, does not also comprise objective function section R, therefore, adds the first functional section E, obtain functional section ABCDE after having added at the end of the second functional section ABCD.
Alternatively, objective function section is included in the first object functional section before the first functional section and the second objective function section after the first functional section, judge module comprises: judge submodule, first object functional section and the second objective function section whether is comprised in second functional section for judging, first adds module comprises: first adds submodule, for when judge the second functional section comprise first object functional section do not comprise the second objective function section, according to the sequencing of the first functional section and first object functional section in the second predetermined order template, first functional section is added into the second functional section, second adds submodule, for when judge the second functional section comprise the second objective function Duan Wei comprise first object functional section, according to the sequencing of the first functional section and the second objective function section in the second predetermined order template, the first functional section is added into the second functional section, and the 3rd adds submodule, for when judging that the second functional section comprises first object functional section and the second objective function section, according to the sequencing of the first functional section and first object functional section in the second predetermined order template, the first functional section is added into the second functional section.That is, look for comprising in configuration file and treat ranking function section and the predetermined order template not comprising ranking function section, in predetermined order template, look for objective function section.Wherein, objective function section is divided into again two kinds, and a kind of is come the objective function section treated before ranking function section, and another kind comes the objective function section treated after ranking function section.Situation one: if ranking function section comprises the objective function section coming and treat before ranking function section, do not comprise the objective function section coming and treat after ranking function section, then according to predetermined order template, will treat ranking function section and ranking function section sort.Situation two: if ranking function section comprises the objective function section coming and treat after ranking function section, do not comprise the objective function section coming and treat before ranking function section, then according to predetermined order template, will treat ranking function section and ranking function section sort.Situation three: if both comprised the objective function section coming and treat before ranking function section in ranking function section, comprise again the objective function section coming and treat after ranking function section, then according to the method for situation one, will treat ranking function section and ranking function section sort.
Such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 4 kinds of templates in configuration file, be respectively RTYUCFS, ZXDVFR, YUNG, AELMJ.These 4 kinds of templates are not the first predetermined order templates, and AELMJ is the second predetermined order template.Comprising objective function section A and objective function section L in AELMJ, wherein, before objective function section A is positioned at the first functional section E, is first object functional section, after objective function section L is positioned at the first functional section E, is the second objective function section.Functional section ABCD comprises first object functional section A, does not comprise the second objective function section L, according to the second predetermined order template AELMJ, functional section E is added in functional section ABCD, due in AELMJ, functional section A before functional section E, therefore obtains functional section AEBCD after having added.
Such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 4 kinds of templates in configuration file, be respectively RTYUCFS, ZXDVFR, YUNG, GKECS.These 4 kinds of templates are not the first predetermined order templates, and GKECS is the second predetermined order template.Comprise objective function section K and objective function section C in GKECS, wherein, objective function section K is first object functional section, and objective function section C is the second objective function section.Functional section ABCD comprises the second objective function section C, does not comprise first object functional section K, according to the second predetermined order template GKECS, functional section E is added in functional section ABCD, due in GKECS, functional section E before functional section C, therefore obtains functional section ABECD after having added.
Such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 4 kinds of templates in configuration file, be respectively RTYUCFS, ZXDVFR, YUNG, IYBED.These 4 kinds of templates are not the first predetermined order templates, and IYBED is the second predetermined order template.Comprise objective function section B and objective function section D in IYBED, wherein, objective function section B is first object functional section, and objective function section E is the second objective function section.Functional section ABCD had both comprised first object functional section B, comprise again the second objective function section D, according to the second predetermined order template IYBED, functional section E is added in functional section ABCD, due in IYBED, first functional section E after first object functional section B, therefore obtains functional section ABECD after having added.
Alternatively, the quantity of the second predetermined order template is multiple, collator repeats to call according to multiple second predetermined order template priority successively searches module, judge module, the first interpolation module and the second interpolation module, until the first functional section is added into the second functional section.That is, comprise and treat ranking function section and the predetermined order template not comprising ranking function section has multiple, then first find out the highest predetermined order template of priority-level.Exist in the predetermined order template that priority-level is the highest and treat the objective function section that ranking function section is adjacent, this objective function section is found in ranking function section, if find, according to the predetermined order template that priority-level is the highest, will treat ranking function section and ranking function section sort; If can not find, find out the predetermined order template that priority-level ranked second.Exist in the predetermined order template that priority-level ranked second and treat the objective function section that ranking function section is adjacent, this objective function section is found in ranking function section, if find, the predetermined order template that ranked second according to priority-level, will treat ranking function section and ranking function section sort; If can not find, find out the predetermined order template that priority-level ranked third.The rest may be inferred, if predetermined order template is all complete according to priority sequential search from high to low, ranking function section does not comprise objective function section, then treating that ranking function section adds the end of ranking function section to.
Such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 5 kinds of templates in configuration file, be respectively WPOLGTTRY, EBXAC, HGEKP, EJOIM, CEUTS.Wherein, these 5 kinds of templates are not the first predetermined order templates, and EBXAC, HGEKP, EJOIM, CEUTS are the second predetermined order templates.In these 4 the second predetermined order templates, priority is respectively from high to low: HGEKP, EJOIM, EBXAC, CEUTS.Priority can be arranged according to actual conditions by managerial personnel, and priority is high, and mean that sequence utilization rate is high, priority is low, means that sequence utilization rate is low.Because the priority of the second predetermined order template HGEKP is the highest, therefore pay the utmost attention to.In HGEKP, the objective function section adjacent with the first functional section E is objective function section G and objective function section K.Neither comprise objective function section G in second functional section ABCD and do not comprise objective function section K again.Continue the second predetermined order template EJOIM considering that the rank of priority ranked second.In EJOIM, the objective function section adjacent with the first functional section E is functional section J.Functional section J is not comprised in second functional section ABCD.Continue the second predetermined order template EBXAC considering that the rank of priority ranked third.In EBXAC, the objective function section adjacent with the first functional section E is functional section B.Comprise functional section B in second functional section ABCD, therefore according to the second predetermined order template EBXAC, functional section E is added to the second functional section ABCD, due in EBXAC, before functional section E is positioned at functional section B, therefore after having added, obtain functional section AEBCD.
Again such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 3 kinds of templates in configuration file, be respectively WPOLGTTRY, EJOIM, HGEKP.Wherein, these 3 kinds of templates are not the first predetermined order templates, EJOIM, HGEKP, are the second predetermined order templates.In these 2 the second predetermined order templates, priority is respectively from high to low: HGEKP, EJOIM.Because the priority of the second predetermined order template HGEKP is the highest, therefore pay the utmost attention to.In HGEKP, the objective function section adjacent with the first functional section E is functional section G and functional section K.Neither comprise objective function section G in second functional section ABCD and do not comprise objective function section K again.Continue the second predetermined order template EJOIM considering that the rank of priority ranked second.In EJOIM, the objective function section adjacent with the first functional section E is functional section J.Objective function section J is not comprised in second functional section ABCD.Because the second functional section ABCD does not comprise any objective function section, so during arrangement the first functional section E and the second functional section ABCD, the end that the first functional section E adds the second functional section ABCD to, obtain functional section ABCDE after having added.
Alternatively, judged result represents in configuration file the second predetermined order template not storing and comprise the first functional section, and the second sequencing unit comprises: the 3rd adds module, for adding the first functional section at the end of the second functional section.That is, when not storing the predetermined order template comprised until ranking function section in configuration file, directly treating that ranking function section adds the end of ranking function section to.
Such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 3 kinds of templates in configuration file, be respectively NHBVD, OLMHN, LCDZ.Wherein, these 3 kinds of templates are not the first predetermined order templates, neither the second predetermined order template.So during arrangement the first functional section E and the second functional section ABCD, the end that the first functional section E adds the second functional section ABCD to, obtain functional section ABCDE after having added.
Alternatively, the quantity of the first predetermined order template is multiple, and the first sequencing unit comprises: receiver module, for receiving stencil-chosen instruction, wherein, stencil-chosen instruction is used for going out a first predetermined order template as target first predetermined order template from multiple first predetermined order stencil-chosen; And first order module, for sorting to the first functional section and the second functional section according to target first predetermined order template.Namely, exist multiple when not only having comprised until ranking function section but also comprised the predetermined order template of ranking function section in configuration file, receive instruction, according to the instruction of instruction, from multiple predetermined order template, select a predetermined order template, according to this predetermined order template chosen will treat ranking function section and ranking function section sort.
Such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 3 kinds of templates in configuration file, be respectively ABCDHEN, PLOUESABCD, FEMAXWBCMD, BEOIL.Wherein, ABCDHEN, PLOUESABCD, FEMAXWBCMD are the first predetermined order templates.Stencil-chosen instruction can be arranged by managerial personnel, such as can be arranged to " please according to the first predetermined order template comprising functional block minimum, first functional section and the second functional section being sorted ", or " please according to the first predetermined order template that priority is the highest, first functional section and the second functional section are sorted ", etc.If stencil-chosen instruction is arranged to " please sorting to the first functional section and the second functional section according to the first predetermined order template comprising functional block minimum ", because ABCDHEN comprises 7 functional sections, PLOUESABCD comprises 10 functional sections, FEMAXWBCMD comprises 10 functional sections, therefore select to carry out sequence ABCD according to ABCDHEN to the first functional section E and the second functional section, the result sorted is ABCDE.
Alternatively, the first sequencing unit also comprises: the second order module, for before the instruction of reception stencil-chosen, sorts to multiple first predetermined order template according to priority.That is, exist multiple when not only having comprised until ranking function section but also comprised the predetermined order template of ranking function section in configuration file, according to priority order from high to low, multiple predetermined order template is sorted.
Such as, functional section to be sorted is functional section E, and the functional section sorted is functional section ABCD.Store 4 kinds of templates in configuration file, be respectively ABCDHEN, PLOUESABCD, FEMAXWBCMD, BEOIL.Wherein, ABCDHEN, PLOUESABCD, FEMAXWBCMD are the first predetermined order templates.Priority can be arranged according to actual conditions by managerial personnel, and priority is high, and mean that sequence utilization rate is high, priority is low, means that sequence utilization rate is low.Such as, in actual applications, the utilization rate of PLOUESABCD is the highest, and the utilization rate of ABCDHEN is secondary high, and the utilization rate of FEMAXWBCMD is lower.The order that then can arrange priority is from high to low: PLOUESABCD, ABCDHEN, FEMAXWBCMD.
Alternatively, the collator of the combined air conditioner that the embodiment of the present invention provides also comprises: receiving element, for receiving template-setup instruction; And amendment unit, for perform according to template-setup instruction in following operation one of at least: revise the first predetermined order template, delete the first predetermined order template and increase by the three predetermined order template not identical with the first predetermined order template extremely combined air conditioner.That is, combined air conditioner can receive instruction, modifies according to instruction, deletes, adds predetermined order template, etc.
Template-setup instruction can be arranged by managerial personnel.8 kinds of templates are stored in configuration file, be respectively TYNEK, JKHDF, DJH, IOUEABCDRL, KREW, WDN, NBXZLP, IUPL, when functional section to be sorted is functional section E, when the functional section sorted is functional section ABCD, IOUEABCDRL is the first predetermined order template, managerial personnel can arrange instruction and " delete the first predetermined order template ", then IOUEABCDRL is deleted.Managerial personnel also can arrange instruction and " add the 3rd predetermined order template GNBM ", then GNBM is added in configuration file.
Fig. 4 is the schematic diagram of the collator according to the optional combined air conditioner of the another kind of the embodiment of the present invention, and this device comprises acquiring unit 40, dispensing unit 42, logical block 44, layout units 46.
Acquiring unit 40, treating ranking function section and ranking function section for obtaining, namely obtaining the first functional section and the second functional section, identical with the effect of second acquisition unit 32 with above-mentioned first acquiring unit 30.
Dispensing unit 42, for storing existing type selecting template and treating the most often using and the correct functional section of permutation logic of ranking function section for each, namely store the first predetermined order template comprising the first functional section and the second functional section, and store the second predetermined order template comprising the first functional section.
Logical block 44, for storing the arrangement requirement of all functions section, can self-definedly be arranged.Such as " power section must be placed in after wind inlet section " or " functional section E must be placed in functional section B before ", etc.Identical with revising unit effect with above-mentioned receiving element.
Layout units 46, for sorting to functional section, namely when judging to store in configuration file the first predetermined order template comprising the first functional section and the second functional section, according to the first predetermined order template, the first functional section and the second functional section are sorted, when judging not store in configuration file the first predetermined order template comprising the first functional section and the second functional section, judge whether to store in configuration file the second predetermined order template comprising the first functional section and obtain judged result, and arrange the first functional section and the second functional section according to judged result, identical with the effect of the second sequencing unit 38 with above-mentioned first sequencing unit 36.
According to above-described embodiment, acquiring unit obtains treats ranking function section and ranking function section, dispensing unit stores predetermined order template, arrangement requirement logically in unit, use layout units treat ranking function section and ranking function section sort, achieve and auto-sequencing is carried out to the functional section of combined air conditioner, avoid the manual complex operation that functional section is sorted, inefficiency, solve the inefficient technical matters of arrangement mode of the functional section of combined air conditioner in prior art, and then reach functional section quick, the technique effect of efficient sequence.
Fig. 5 is the schematic diagram according to the optional combined air conditioner collator of the another kind of the embodiment of the present invention, and this device comprises: storage unit 50, functional section selection unit 52, auto arrangement unit 54.
Storage unit 50, the functional section that the arrangement for storing all functions section requires and arranged, can self-definedly be arranged, as increased, deleting and change, the priority inserted by operating habit formulation list and the functional section of user.The functional section arranged is predetermined order template.The arrangement requirement of functional section can be set to " power section must be placed in after wind inlet section " or " functional section E must be placed in functional section B before ", etc.Identical with revising unit effect with above-mentioned receiving element, also identical with the effect of above-mentioned logical block 44.
Functional section selection unit 52, for storing optional functional section.Optional functional section is treats ranking function section and ranking function section, also i.e. the first functional section and the second functional section.
Auto arrangement unit 54, for the functional section that read functions section selection unit successively stores, the functional section of current reading compares with the functional section arranged above, namely according to predetermined order template, treat ranking function section and ranking function section sort.When judging to store in configuration file the first predetermined order template comprising the first functional section and the second functional section, according to the first predetermined order template, the first functional section and the second functional section are sorted, when judging not store in configuration file the first predetermined order template comprising the first functional section and the second functional section, judge whether to store in configuration file the second predetermined order template comprising the first functional section and obtain judged result, and arrange the first functional section and the second functional section according to judged result, identical with the effect of the second sequencing unit 38 with above-mentioned first sequencing unit 36, also identical with the effect of above-mentioned layout units 46.
Pass through above-described embodiment, the arrangement of cell stores all functions section requires and the functional section arranged, the storage of functional section selection unit is optional treats ranking function section, the predetermined order template that auto arrangement unit requires according to the arrangement of functional section and arranged, to treat ranking function section and ranking function section sort, achieve and auto-sequencing is carried out to the functional section of combined air conditioner, avoid the manual complex operation that functional section is sorted, inefficiency, solve the inefficient technical matters of arrangement mode of the functional section of combined air conditioner in prior art, and then reach functional section quick, the technique effect of efficient sequence.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed technology contents, the mode by other realizes.Wherein, device embodiment described above is only schematic, the such as division of described unit, can be that a kind of logic function divides, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or module or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed on multiple unit.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (16)

1. a sort method for combined air conditioner, is characterized in that, described combined air conditioner comprises multiple functional section, and described sort method comprises:
Obtain the first functional section, wherein, described first functional section is functional section to be sorted in described combined air conditioner;
Obtain the second functional section, wherein, described second functional section is ordering functional section in described combined air conditioner;
Judge in the configuration file of described combined air conditioner, whether to store the first predetermined order template comprising described first functional section and described second functional section;
When judging to store the described first predetermined order template comprising described first functional section and described second functional section in described configuration file, according to described first predetermined order template, described first functional section and described second functional section are sorted; And
When judging not store the described first predetermined order template comprising described first functional section and described second functional section in described configuration file, judge whether to store in described configuration file the second predetermined order template comprising described first functional section and obtain judged result, and according to described judged result described first functional section of arrangement and described second functional section.
2. method according to claim 1, it is characterized in that, described judged result represents in described configuration file the described second predetermined order template storing and comprise described first functional section, comprises according to described judged result described first functional section of arrangement and described second functional section:
The objective function section adjacent with described first functional section is searched from described second predetermined order template;
Judge whether comprise described objective function section in described second functional section;
When judging that described second functional section comprises described objective function section, according to the sequencing of the first functional section described in described second predetermined order template and described objective function section, described first functional section is added into described second functional section; And
When judging that described second functional section does not comprise described objective function section, add described first functional section at the end of described second functional section.
3. method according to claim 2, is characterized in that, described objective function section is included in the first object functional section before described first functional section and the second objective function section after described first functional section,
Judge that whether comprising described objective function section in described second functional section comprises:
Judge in described second functional section, whether to comprise described first object functional section and the second objective function section,
When judging that described second functional section comprises described objective function section, according to the sequencing of the first functional section described in described second predetermined order template and described objective function section, described first functional section is added into described second functional section and comprises:
When judge described second functional section comprise described first object functional section do not comprise described second objective function section, according to the sequencing of the first functional section described in described second predetermined order template and described first object functional section, described first functional section is added into described second functional section;
When judge described second functional section comprise described second objective function Duan Wei comprise described first object functional section, according to the sequencing of the first functional section described in described second predetermined order template and described second objective function section, described first functional section is added into described second functional section; And
When judging that described second functional section comprises described first object functional section and described second objective function section, according to the sequencing of the first functional section described in described second predetermined order template and described first object functional section, described first functional section is added into described second functional section.
4. method according to claim 2, it is characterized in that, the quantity of described second predetermined order template is multiple, repeats following steps successively, until described first functional section is added into described second functional section according to multiple described second predetermined order template priority:
The described objective function section adjacent with described first functional section is searched from described second predetermined order template;
Judge whether comprise described objective function section in described second functional section;
When judging that described second functional section comprises described objective function section, according to the sequencing of the first functional section described in described second predetermined order template and described objective function section, described first functional section is added into described second functional section; And
When judging that described second functional section does not comprise described objective function section, add described first functional section at the end of described second functional section.
5. method according to claim 1, it is characterized in that, described judged result represents in described configuration file the described second predetermined order template not storing and comprise described first functional section, comprises according to described judged result described first functional section of arrangement and described second functional section:
Described first functional section is added at the end of described second functional section.
6. method according to claim 1, is characterized in that, the quantity of described first predetermined order template is multiple, carries out sequence comprise according to described first predetermined order template to described first functional section and described second functional section:
Receive stencil-chosen instruction, wherein, described stencil-chosen instruction is used for going out a described first predetermined order template as target first predetermined order template from multiple described first predetermined order stencil-chosen; And
According to described target first predetermined order template, described first functional section and described second functional section are sorted.
7. method according to claim 6, is characterized in that, before the instruction of reception stencil-chosen, described method also comprises:
According to priority, multiple described first predetermined order template is sorted.
8. method according to any one of claim 1 to 7, is characterized in that, described method also comprises:
Receive template-setup instruction; And
According to described template-setup instruction perform in following operation one of at least: revise described first predetermined order template, delete described first predetermined order template and increase by the three predetermined order template not identical with described first predetermined order template extremely described combined air conditioner.
9. a collator for combined air conditioner, is characterized in that, described combined air conditioner comprises multiple functional section, and described collator comprises:
First acquiring unit, for obtaining the first functional section, wherein, described first functional section is functional section to be sorted in described combined air conditioner;
Second acquisition unit, for obtaining the second functional section, wherein, described second functional section is ordering functional section in described combined air conditioner;
Judging unit, for judge described combined air conditioner configuration file in whether store the first predetermined order template comprising described first functional section and described second functional section;
First sequencing unit, for when judging to store the described first predetermined order template comprising described first functional section and described second functional section in described configuration file, according to described first predetermined order template, described first functional section and described second functional section are sorted; And
Second sequencing unit, for when judging not store the described first predetermined order template comprising described first functional section and described second functional section in described configuration file, judge whether to store in described configuration file the second predetermined order template comprising described first functional section and obtain judged result, and according to described judged result described first functional section of arrangement and described second functional section.
10. device according to claim 9, is characterized in that, described judged result represents in described configuration file the described second predetermined order template storing and comprise described first functional section, and described second sequencing unit comprises:
Search module, for searching the objective function section adjacent with described first functional section from described second predetermined order template;
Judge module, for judging whether comprise described objective function section in described second functional section;
First adds module, for when judging that described second functional section comprises described objective function section, according to the sequencing of the first functional section described in described second predetermined order template and described objective function section, described first functional section is added into described second functional section; And
Second adds module, for when judging that described second functional section does not comprise described objective function section, adds described first functional section at the end of described second functional section.
11. devices according to claim 10, is characterized in that, described objective function section is included in the first object functional section before described first functional section and the second objective function section after described first functional section,
Described judge module comprises:
Judging submodule, whether comprising described first object functional section and the second objective function section in described second functional section for judging,
Described first adds module comprises:
First adds submodule, for when judge described second functional section comprise described first object functional section do not comprise described second objective function section, according to the sequencing of the first functional section described in described second predetermined order template and described first object functional section, described first functional section is added into described second functional section;
Second adds submodule, for when judge described second functional section comprise described second objective function Duan Wei comprise described first object functional section, according to the sequencing of the first functional section described in described second predetermined order template and described second objective function section, described first functional section is added into described second functional section; And
3rd adds submodule, for when judging that described second functional section comprises described first object functional section and described second objective function section, according to the sequencing of the first functional section described in described second predetermined order template and described first object functional section, described first functional section is added into described second functional section.
12. devices according to claim 10, it is characterized in that, the quantity of described second predetermined order template is multiple, search module described in described collator repeats to call according to multiple described second predetermined order template priority successively, described judge module, described first adds module and described second and add module, until described first functional section is added into described second functional section.
13. devices according to claim 9, is characterized in that, described judged result represents in described configuration file the described second predetermined order template not storing and comprise described first functional section, and described second sequencing unit comprises:
3rd adds module, adds described first functional section for the end at described second functional section.
14. devices according to claim 9, is characterized in that, the quantity of described first predetermined order template is multiple, and described first sequencing unit comprises:
Receiver module, for receiving stencil-chosen instruction, wherein, described stencil-chosen instruction is used for going out a described first predetermined order template as target first predetermined order template from multiple described first predetermined order stencil-chosen; And
First order module, for sorting to described first functional section and described second functional section according to described target first predetermined order template.
15. devices according to claim 14, is characterized in that, described first sequencing unit also comprises:
Second order module, for before the instruction of reception stencil-chosen, sorts to multiple described first predetermined order template according to priority.
16. devices according to any one of claim 9 to 15, it is characterized in that, described device also comprises:
Receiving element, for receiving template-setup instruction; And
Amendment unit, for perform according to described template-setup instruction in following operation one of at least: revise described first predetermined order template, delete described first predetermined order template and increase by the three predetermined order template not identical with described first predetermined order template extremely described combined air conditioner.
CN201510585860.0A 2015-09-15 2015-09-15 Combined air conditioner and its sort method and device Active CN105183518B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510585860.0A CN105183518B (en) 2015-09-15 2015-09-15 Combined air conditioner and its sort method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510585860.0A CN105183518B (en) 2015-09-15 2015-09-15 Combined air conditioner and its sort method and device

Publications (2)

Publication Number Publication Date
CN105183518A true CN105183518A (en) 2015-12-23
CN105183518B CN105183518B (en) 2018-06-01

Family

ID=54905616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510585860.0A Active CN105183518B (en) 2015-09-15 2015-09-15 Combined air conditioner and its sort method and device

Country Status (1)

Country Link
CN (1) CN105183518B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110838034A (en) * 2019-12-04 2020-02-25 珠海格力电器股份有限公司 Function segment type selection method, storage device and processor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103644600A (en) * 2013-12-09 2014-03-19 中国建筑科学研究院 Intelligent purifying and bacterium resisting air processing machine set
CN103743006A (en) * 2013-12-16 2014-04-23 北京工业大学 Efficient energy-saving air purifying device capable of removing fine particulate matter
WO2015008361A1 (en) * 2013-07-18 2015-01-22 三菱電機株式会社 Information management system, information management device, information management method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015008361A1 (en) * 2013-07-18 2015-01-22 三菱電機株式会社 Information management system, information management device, information management method, and program
CN103644600A (en) * 2013-12-09 2014-03-19 中国建筑科学研究院 Intelligent purifying and bacterium resisting air processing machine set
CN103743006A (en) * 2013-12-16 2014-04-23 北京工业大学 Efficient energy-saving air purifying device capable of removing fine particulate matter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110838034A (en) * 2019-12-04 2020-02-25 珠海格力电器股份有限公司 Function segment type selection method, storage device and processor

Also Published As

Publication number Publication date
CN105183518B (en) 2018-06-01

Similar Documents

Publication Publication Date Title
CN102968309A (en) Method and device for realizing rule matching based on rule engine
CN104580027A (en) OpenFlow message forwarding method and equipment
CN103346912A (en) Method, device and system for conducting warning correlation analysis
Holmes et al. Feature selection via the discovery of simple classification rules
TW201923667A (en) Tree search-based scheduling method and an apparatus using the same
CN105224532A (en) Data processing method and device
CN104536997A (en) Method and device for data batch processing of client interface
CN107908714A (en) A kind of aggregation of data sort method and device
CN109325032A (en) A kind of index datastore and search method, device and storage medium
CN107592399A (en) The display methods and mobile terminal of a kind of contact person
CN109409848A (en) Node intelligent recommended method, terminal device and the storage medium of open process
CN106649385B (en) Data reordering method and device based on HBase database
CN105183518A (en) Combined air conditioner and ordering method and device thereof
CN104408263A (en) Graphic element grouping and ranking method for automatically processing closed loop
CN105718145A (en) Icon display method and device
CN107729479A (en) A kind of method and device for the numbering for generating document
CN111950072B (en) Whole vehicle full configuration management method and system
CN114430829A (en) Fault case processing method, system and computer readable medium
CN114266291A (en) Method and device for determining cluster set, storage medium and electronic device
CN104408138B (en) Data search method and device
Li Arrangement of machines under spatial constraint by using a novel algorithm
CN106156187A (en) Content search method and searching system
CN106528094A (en) A similarity-based application icon classifying method and system
CN111083567B (en) Live client home page configuration system, storage medium, electronic device and method
CN106202412A (en) Data retrieval method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant