CN105183518B - Combined air conditioner and its sort method and device - Google Patents
Combined air conditioner and its sort method and device Download PDFInfo
- Publication number
- CN105183518B CN105183518B CN201510585860.0A CN201510585860A CN105183518B CN 105183518 B CN105183518 B CN 105183518B CN 201510585860 A CN201510585860 A CN 201510585860A CN 105183518 B CN105183518 B CN 105183518B
- 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.)
- Active
Links
Landscapes
- General Factory Administration (AREA)
- Measuring Or Testing Involving Enzymes Or Micro-Organisms (AREA)
Abstract
The invention discloses a kind of combined air conditioner and its sort methods and device.Wherein, this method includes:Obtain the first functional section, obtain the second functional section, judge whether to be stored with the first predetermined order template including the first functional section and the second functional section in the configuration file of combined air conditioner, in the case of the first predetermined order template is stored in configuration file is judged, the first functional section and the second functional section are ranked up according to the first predetermined order template, in the case of not storing the first predetermined order template in configuration file is judged, judge whether to be stored with the second predetermined order template including the first functional section in configuration file and obtain judging result, and the first functional section and the second functional section are arranged according to judging result.The present invention solve the functional section of combined air conditioner in the prior art arrangement mode efficiency it is low the technical issues of.
Description
Technical field
The present invention relates to air-conditioner field, in particular to a kind of combined air conditioner and its sort method and device.
Background technology
Combination sideboard unit is common combined air conditioner, is composed of different functional sections, as wind inlet section, table are cold
Section, power section, dedusting section etc., function fragment position has particular/special requirement, as power section must be placed in behind wind inlet section.It is known existing
Combination sideboard Selection Software, can only manual arrangement functional section, cumbersome, inefficiency.
For it is above-mentioned the problem of, currently no effective solution has been proposed.
The content of the invention
An embodiment of the present invention provides a kind of combined air conditioner and its sort method and device, at least to solve existing skill
The technical issues of arrangement mode efficiency of the functional section of combined air conditioner is low in art.
One side according to embodiments of the present invention provides a kind of sort method of combined air conditioner, including:It obtains
First functional section, wherein, first functional section is functional section to be sorted in the combined air conditioner;Obtain the second function
Section, wherein, second functional section is ordering functional section in the combined air conditioner;Judge the combined air conditioner
Configuration file in whether be stored with the first predetermined order template including first functional section and second functional section;
Judge to be stored with the described first default row including first functional section and second functional section in the configuration file
In the case of sequence template, first functional section and second functional section are arranged according to the first predetermined order template
Sequence;And do not stored in the configuration file is judged including first functional section and second functional section described
In the case of one predetermined order template, it is pre- to judge whether to be stored with second including first functional section in the configuration file
If sequence template obtains judging result, and arranges first functional section and second functional section according to the judging result.
Further, the judging result represents to be stored with including described in first functional section in the configuration file
Second predetermined order template, arranging first functional section and second functional section according to the judging result includes:From institute
State the objective function section that lookup is adjacent with first functional section in the second predetermined order template;Judge in second functional section
Whether the objective function section is included;In the case where judging that second functional section includes the objective function section, press
According to the first functional section described in the second predetermined order template and the sequencing of the objective function section, by first work(
Energy section is added to second functional section;And do not include the feelings of the objective function section in second functional section is judged
Under condition, first functional section is added in the end of second functional section.
Further, the objective function section is included in first object functional section before first functional section and in institute
The second objective function section after the first functional section is stated, judges whether include the objective function section bag in second functional section
It includes:Judge whether include the first object functional section and the second objective function section in second functional section, judging
In the case of stating the second functional section and including the objective function section, according to the first work(described in the second predetermined order template
The sequencing of energy section and the objective function section, first functional section is added to second functional section includes:Sentencing
Break second functional section include the first object functional section do not include the second objective function section in the case of, press
According to the sequencing of the first functional section and the first object functional section described in the second predetermined order template, by described
One functional section is added to second functional section;Judging that second functional section includes the second objective function Duan Wei
In the case of including the first object functional section, according to the first functional section described in the second predetermined order template and described
First functional section is added to second functional section by the sequencing of the second objective function section;And judging
In the case of stating the second functional section and including the first object functional section and the second objective function section, according to described second
The sequencing of first functional section described in predetermined order template and the first object functional section adds first functional section
Add to second functional section.
Further, the quantity of the second predetermined order template is multiple, according to multiple second predetermined order moulds
Plate priority is repeated in performing following steps, until first functional section is added to second functional section:From described
The objective function section adjacent with first functional section is searched in second predetermined order template;Judge second functional section
In whether include the objective function section;In the case where judging that second functional section includes the objective function section,
According to the first functional section described in the second predetermined order template and the sequencing of the objective function section, by described first
Functional section is added to second functional section;And do not include the objective function section in second functional section is judged
In the case of, add first functional section in the end of second functional section.
Further, the judging result represents not storing including described in first functional section in the configuration file
Second predetermined order template, arranging first functional section and second functional section according to the judging result includes:Institute
Add first functional section in the end for stating the second functional section.
Further, the quantity of the first predetermined order template is multiple, according to the first predetermined order template pair
First functional section and second functional section be ranked up including:Stencil-chosen instruction is received, wherein, the stencil-chosen
It instructs to go out the first predetermined order template as target first from multiple first predetermined order stencil-chosens
Predetermined order template;And according to target the first predetermined order template to first functional section and second functional section
It is ranked up.
Further, before stencil-chosen instruction is received, the method further includes:According to priority to multiple described
One predetermined order template is ranked up.
Further, the method further includes:Receive template-setup instruction;And it instructs and performs according to the template-setup
At least one of operation below:It changes the first predetermined order template, delete the first predetermined order template and increase
With the different 3rd predetermined order template of the first predetermined order template to the combined air conditioner.
Another aspect according to embodiments of the present invention additionally provides a kind of collator of combined air conditioner, including:The
One acquiring unit, for obtaining the first functional section, wherein, it waits to sort in the first functional section combined air conditioner
Functional section;Second acquisition unit, for obtaining the second functional section, wherein, second functional section is the combined air conditioner
In ordering functional section;Judging unit, for judge whether to be stored in the configuration file of the combined air conditioner including
First predetermined order template of first functional section and second functional section;First sequencing unit, for judging
It states and the first predetermined order template including first functional section and second functional section is stored in configuration file
In the case of, first functional section and second functional section are ranked up according to the first predetermined order template;And
Second sequencing unit, for not stored in the configuration file is judged including first functional section and second function
In the case of the first predetermined order template of section, judge whether be stored in the configuration file including first function
Second predetermined order template of section obtains judging result, and arranges first functional section and described the according to the judging result
Two functional sections.
Further, the judging result represents to be stored with including described in first functional section in the configuration file
Second predetermined order template, second sequencing unit include:Searching module, for being looked into from the second predetermined order template
Look for the objective function section adjacent with first functional section;Judgment module, for judging whether include in second functional section
The objective function section;First add module, for judging that second functional section includes the objective function section
In the case of, it, will according to the first functional section described in the second predetermined order template and the sequencing of the objective function section
First functional section is added to second functional section;And second add module, for judging second function
In the case that Duan Zhongwei includes the objective function section, first functional section is added in the end of second functional section.
Further, the objective function section is included in first object functional section before first functional section and in institute
The second objective function section after the first functional section is stated, the judgment module includes:Judging submodule, for judging described second
Whether include the first object functional section and the second objective function section in functional section, first add module includes:First
Submodule is added, for judging that second functional section includes the first object functional section not including second mesh
In the case of marking functional section, according to the first functional section described in the second predetermined order template and the first object functional section
Sequencing, by first functional section be added to second functional section;Second addition submodule, for judging
State the second functional section include the second objective function Duan Wei include the first object functional section in the case of, according to described
First functional section described in second predetermined order template and the sequencing of the second objective function section, by first function
Section is added to second functional section;And the 3rd addition submodule, for judging that second functional section includes institute
In the case of stating first object functional section and the second objective function section, according to described in the second predetermined order template
First functional section is added to second functional section by the sequencing of one functional section and the first object functional section.
Further, the quantity of the second predetermined order template is multiple, and the collator is according to multiple described the
Two predetermined order template priority be repeated in calling the searching module, the judgment module, first add module and
Second add module, until first functional section is added to second functional section.
Further, the judging result represents not storing including described in first functional section in the configuration file
Second predetermined order template, second sequencing unit include:3rd add module, in the end of second functional section
Add first functional section.
Further, the quantity of the first predetermined order template is multiple that first sequencing unit includes:Receive mould
Block, for receiving stencil-chosen instruction, wherein, the stencil-chosen instructs to select from multiple first predetermined order templates
The first predetermined order template is selected out as target the first predetermined order template;And first sorting module, for pressing
First functional section and second functional section are ranked up according to target the first predetermined order template.
Further, first sequencing unit further includes:Second sorting module, for instructing it in reception stencil-chosen
Before, multiple first predetermined order templates are ranked up according to priority.
Further, described device further includes:Receiving unit, for receiving template-setup instruction;And modification unit, it uses
At least one of operation below being performed according to template-setup instruction:It changes the first predetermined order template, delete
The first predetermined order template and increase and the different 3rd predetermined order template of the first predetermined order template to institute
State combined air conditioner.
In embodiments of the present invention, using obtaining the first functional section, wherein, the first functional section is to be treated in combined air conditioner
The functional section of sequence obtains the second functional section, wherein, the second functional section is ordering functional section in combined air conditioner, is sentenced
The first predetermined order including the first functional section and the second functional section whether is stored in the configuration file of disconnected combined air conditioner
Template is stored with the feelings of the first predetermined order template including the first functional section and the second functional section in configuration file is judged
Under condition, the first functional section and the second functional section are ranked up according to the first predetermined order template, in configuration file is judged
In the case of not storing the first predetermined order template including the first functional section and the second functional section, judge in configuration file whether
It is stored with the second predetermined order template including the first functional section and obtains judging result, and the first function is arranged according to judging result
Section and the second functional section.By storing predetermined order template in configuration file, and then treating ranking function section and the work(that sorted
In the case of in predetermined order template matches in energy section and configuration file, directly treated according to the matched predetermined order template of institute
Ranking function section and ranking function section is ranked up;In the case that can not be directly matched, include treating according to configuration file
The predetermined order template of ranking function section treats ranking function section and ranking function section is ranked up, realizes to combined
The functional section of air conditioner carries out auto-sequencing, avoids cumbersome, the inefficiency being ranked up by hand to functional section, solves
The technical issues of arrangement mode efficiency of the functional section of combined air conditioner is low in the prior art.
Description of the drawings
Attached drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair
Bright schematic description and description does not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the sort method of optional combined air conditioner according to embodiments of the present invention;
Fig. 2 is the flow chart of the sort method of the optional combined air conditioner of another kind according to embodiments of the present invention;
Fig. 3 is a kind of schematic diagram of the collator of optional combined air conditioner according to embodiments of the present invention;
Fig. 4 is the schematic diagram of the collator of the optional combined air conditioner of another kind according to embodiments of the present invention;With
And
Fig. 5 is the schematic diagram of the collator of the optional combined air conditioner of another kind according to embodiments of the present invention.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present invention
The technical solution in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
Member's all other embodiments obtained without making creative work should all belong to the model that the present invention protects
It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, "
Two " etc. be the object for distinguishing similar, without being used to describe specific order or precedence.It should be appreciated that it so uses
Data can exchange in the appropriate case, so as to the embodiment of the present invention described herein can with except illustrating herein or
Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment
Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product
Or the intrinsic other steps of equipment or unit.
According to embodiments of the present invention, the embodiment of a kind of combined air conditioner and its sort method is provided, it is necessary to illustrate
, step shown in the flowchart of the accompanying drawings can hold in the computer system of such as a group of computer-executable instructions
Row, although also, show logical order in flow charts, it in some cases, can be to be different from order herein
Perform shown or described step.
Fig. 1 is a kind of flow chart of the sort method of combined air conditioner according to embodiments of the present invention, as shown in Figure 1,
This method comprises the following steps:
Step S102 obtains the first functional section, wherein, the first functional section is function to be sorted in combined air conditioner
Section.
Step S104 obtains the second functional section, wherein, the second functional section is ordering function in combined air conditioner
Section.
Step S106 judges whether be stored with including the first functional section and the second work(in the configuration file of combined air conditioner
First predetermined order template of energy section.That is, it is judged that whether the first functional section and the second functional section can match configuration text simultaneously
Predetermined order template in part namely judge predetermined order template whether and meanwhile including the first functional section and the second functional section.
It is default to be stored with first including the first functional section and the second functional section in configuration file is judged by step S108
In the case of the template that sorts, the first functional section and the second functional section are ranked up according to the first predetermined order template.That is, treating
Ranking function section and ranking function section, can simultaneously and configuration file in predetermined order template matches in the case of, directly
It connects and treats ranking function section according to the matched predetermined order template of institute and ranking function section is ranked up.
It is default not store first including the first functional section and the second functional section in configuration file is judged by step S110
In the case of the template that sorts, judge whether to be stored with the second predetermined order template including the first functional section in configuration file and obtain
Judging result, and the first functional section and the second functional section are arranged according to judging result.Treating ranking function section and ranking function
Section, predetermined order template that can not be simultaneously and in configuration file it is direct it is matched in the case of, the row for the treatment of is included according to configuration file
The predetermined order template of sequence functional section treats ranking function section and ranking function section is ranked up.
For example, functional section to be sorted is functional section E, then functional section E is the first functional section.Ranked functional section is
Functional section ABCD, then functional section ABCD is the second functional section.The configuration file of combined air conditioner can be advance by administrative staff
It sets, several template is stored in configuration file.Such as 3 kinds of templates are stored in configuration file, respectively FGABCDEMN,
SLRWD、XDGTRN.Since 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 function
Section FGABCDEMN is ranked up functional section E and functional section ABCD, obtains ranking results functional section ABCDE.
In another example functional section to be sorted is functional section E, ranked functional section is functional section ABCD.Configuration file
In store 3 kinds of templates, be respectively FGABCHLMN, SLRWD, XDGTRN.Since this 3 kinds of templates are not all simultaneously including first
Functional section E and the second functional section ABCD so this 3 kinds of templates are not the first predetermined order templates, i.e., is not deposited in configuration file
Store up the first predetermined order template.At this point, finding the second predetermined order template in configuration file, the second predetermined order template meets
Condition:Second predetermined order template includes the first functional section.FGABCHLMN, SLRWD, XDGTRN this 3 templates all do not include the
One functional section E, therefore the second predetermined order template is not stored in configuration file.
The sort method for the combined air conditioner that the embodiment of the present invention is provided, by storing default row in configuration file
Sequence template, and then the situation in the predetermined order template matches in treating ranking function section and ranking function section and configuration file
Under, directly ranking function section is treated according to the matched predetermined order template of institute and ranking function section is ranked up;Can not be straight
Connect it is matched in the case of, included treating the predetermined order template of ranking function section according to configuration file, treat ranking function section and
Ranking function section is ranked up, is realized and is carried out auto-sequencing to the functional section of combined air conditioner, avoids by hand to work(
Cumbersome, the inefficiency that energy section is ranked up solve the arrangement side of the functional section of combined air conditioner in the prior art
The technical issues of formula efficiency is low, and then technique effect quick to functional section, efficiently sort.Simultaneously, moreover it is possible to reach drop
Low designer's work difficulty saves the effect of designer's training cost.
Optionally, judging result represents to be stored with the second predetermined order template including the first functional section in configuration file,
Arranging the first functional section and the second functional section according to judging result includes:It is searched and the first function from the second predetermined order template
The objective function section of Duan Xianglin;Judge whether include objective function section in the second functional section;It is wrapped in the second functional section is judged
In the case of including objective function section, according to the first functional section and the sequencing of objective function section in the second predetermined order template,
First functional section is added to the second functional section;And do not include the situation of objective function section in the second functional section is judged
Under, add the first functional section in the end of the second functional section.That is, look for including in configuration file and treat ranking function section and do not include
The predetermined order template of ranking function section looks for the functional section adjacent with treating ranking function section in predetermined order template, presets
The functional section adjacent with treating ranking function section is known as objective function section in sequence template.Judge whether ranking function section includes mesh
Functional section is marked, if comprising according to the context for treating ranking function section and objective function section in predetermined order template, waiting to sort
Functional section and ranking function section is ranked up;If ranking function section does not include objective function section, treating ranking function Duan Zhi
Connect the end for being added to ranking function section.
For example, functional section to be sorted is functional section E, ranked functional section is functional section ABCD.In configuration file
4 kinds of templates are stored, are respectively SCAN, GECDR, QBHDMKU, TTFRFHL.Since this 4 kinds of templates are all simultaneously including the
One functional section E and the second functional section ABCD, so this 4 kinds of templates are not the first predetermined order templates, i.e., in configuration file not
Store the first predetermined order template.At this point, finding the second predetermined order template in configuration file, the second predetermined order template expires
Sufficient condition:Second predetermined order template includes the first functional section.In this 4 templates of SCAN, GECDR, QBHDMKU, TTFRFHL only
There is GECDR to meet condition, therefore GECDR is the second predetermined order template in configuration file.The functional section adjacent with E in GECDR
For functional section G and functional section C, therefore functional section G and functional section C is objective function section.Second functional section ABCD includes objective function
Section C.Since in the second predetermined order template GECDR, the first functional section E is before objective function section C, so pre- according to second
If sorting template, when the first functional section E is added in the second functional section ABCD, functional section E should be made before functional section C, i.e.,
Functional section ABECD is obtained after the completion of addition.
For another example functional section to be sorted is functional section E, ranked functional section is functional section ABCD.Configuration file
In store 4 kinds of templates, be respectively SCAN, QBHDMKU, TTFRFHL, PSERT.This 4 kinds of templates are not the first predetermined orders
Template, PSERT are the second predetermined order templates.The functional section adjacent with E is functional section S and functional section R in PSERT, therefore function
Section S and functional section R is objective function section.Second functional section ABCD neither includes objective function section S, does not also include objective function section
Therefore R, the first functional section E is added at the end of the second functional section ABCD, functional section ABCDE is obtained after the completion of addition.
Optionally, objective function section be included in first object functional section before the first functional section and the first functional section it
The second objective function section afterwards, whether judge includes objective function section in the second functional section include:Judge be in the second functional section
It is no including first object functional section and the second objective function section, in the situation judged the second functional section and include objective function section
Under, according to the first functional section and the sequencing of objective function section in the second predetermined order template, the first functional section is added to
Second functional section includes:Judging that the second functional section includes the feelings that first object functional section does not include the second objective function section
Under condition, according to the sequencing of the first functional section and first object functional section in the second predetermined order template, by the first functional section
Added to the second functional section;Judging that the second functional section includes the second objective function Duan Wei and include first object functional section
In the case of, according to the first functional section in the second predetermined order template and the sequencing of the second objective function section, by the first function
Section is added to the second functional section;And judging that the second functional section includes first object functional section and the second objective function section
In the case of, according to the sequencing of the first functional section and first object functional section in the second predetermined order template, by the first work(
Energy section is added to the second functional section.That is, look for including in configuration file and treat ranking function section and not comprising ranking function section
Predetermined order template looks for objective function section in predetermined order template.Wherein, objective function section is divided into as two kinds, and one kind is row
Objective function section before ranking function section is treated, another kind are to come the objective function section treated after ranking function section.Situation
One:If ranking function section includes coming the objective function section before treating ranking function section, do not include coming work(to be sorted
Objective function section after energy section, then according to predetermined order template, will treat ranking function section and ranking function section be ranked up.
Situation two:If ranking function section includes coming the objective function section treated after ranking function section, do not include coming the row for the treatment of
Objective function section before sequence functional section then according to predetermined order template, will treat ranking function section and ranking function section carries out
Sequence.Situation three:If not only include coming the objective function section before treating ranking function section in ranking function section, but also including row
Objective function section after ranking function section is treated then according to the method for situation one, will treat ranking function section and ranking function
Section is ranked up.
For example, functional section to be sorted is functional section E, ranked functional section is functional section ABCD.In configuration file
4 kinds of templates are stored, are respectively RTYUCFS, ZXDVFR, YUNG, AELMJ.This 4 kinds of templates are not the first predetermined order moulds
Plate, AELMJ are the second predetermined order templates.Comprising objective function section A and objective function section L in AELMJ, wherein, objective function
Section A is located at before the first functional section E, is first object functional section, and objective function section L is located at after the first functional section E, is second
Objective function section.Functional section ABCD includes first object functional section A, not including the second objective function section L, according to the second default row
Sequence template AELMJ, is added to functional section E in functional section ABCD, due in AELMJ, functional section A before functional section E, therefore
Functional section AEBCD is obtained after the completion of addition.
For example, functional section to be sorted is functional section E, ranked functional section is functional section ABCD.In configuration file
4 kinds of templates are stored, are respectively RTYUCFS, ZXDVFR, YUNG, GKECS.This 4 kinds of templates are not the first predetermined order moulds
Plate, GKECS are the second predetermined order templates.Comprising 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 includes the second objective function section
Functional section E not including first object functional section K, according to the second predetermined order template GKECS, is added to functional section ABCD by C
In, since in GKECS, functional section E obtains functional section ABECD before functional section C after the completion of adding.
For example, functional section to be sorted is functional section E, ranked functional section is functional section ABCD.In configuration file
4 kinds of templates are stored, are respectively RTYUCFS, ZXDVFR, YUNG, IYBED.This 4 kinds of templates are not the first predetermined order moulds
Plate, IYBED are the second predetermined order templates.Comprising 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 D is the second objective function section.Functional section ABCD both includes first object function
Section B, and including the second objective function section D, according to the second predetermined order template IYBED, functional section E is added to functional section ABCD
In, since in IYBED, the first functional section E obtains functional section after first object functional section B after the completion of adding
ABECD。
Optionally, the quantity of the second predetermined order template is multiple, according to multiple second predetermined order template priority according to
It is secondary to repeat following steps, until the first functional section is added to the second functional section:It is searched from the second predetermined order template
The objective function section adjacent with the first functional section;Judge whether include objective function section in the second functional section;Judging second
In the case that functional section includes objective function section, according to the first functional section in the second predetermined order template and objective function section
First functional section is added to the second functional section by sequencing;And do not include objective function in the second functional section is judged
In the case of section, the first functional section is added in the end of the second functional section.That is, comprising treating ranking function section and not comprising having sorted
The predetermined order template of functional section has multiple, then finds out the highest predetermined order template of priority-level first.In priority grade
There is the objective function section adjacent with treating ranking function section in not highest predetermined order template, found in ranking function section
This objective function section if finding, according to the highest predetermined order template of priority-level, will treat ranking function section and sort
Functional section is ranked up;If can not find, the predetermined order template that priority-level ranked second is found out.It ranked second in priority-level
Predetermined order template in exist the objective function section adjacent with treating ranking function section, this mesh is found in ranking function section
Functional section is marked, if finding, the predetermined order template that ranked second according to priority-level will treat ranking function section and ranking function
Section is ranked up;If can not find, the predetermined order template that priority-level ranked third is found out.The rest may be inferred, if predetermined order mould
Plate has all been finished according to the sequential search of priority from high to low, ranking function section all do not include objective function section, then
Treat that ranking function section is added to the end of ranking function section.
For example, functional section to be sorted is functional section E, ranked functional section is functional section ABCD.In configuration file
5 kinds of templates are stored, are respectively WPOLGTTRY, EBXAC, HGEKP, EJOIM, CEUTS.Wherein, this 5 kinds of templates are not
One predetermined order template, EBXAC, HGEKP, EJOIM, CEUTS are the second predetermined order templates.This 4 the second predetermined order moulds
In plate, priority is respectively from high to low:HGEKP、EJOIM、EBXAC、CEUTS.Priority can be by administrative staff according to reality
Border situation is configured, and priority is high, it is meant that sequence utilization rate is high, and priority is low, it is meant that sequence utilization rate is low.Due to
The highest priority of two predetermined order template HGEKP, therefore pay the utmost attention to.In HGEKP, the target work(adjacent with the first functional section E
Energy section is objective function section G and objective function section K.Not only objective function section G had not been included in second functional section ABCD but also not comprising mesh
Mark functional section K.Continue with the second predetermined order template EJOIM that the rank of priority ranked second.In EJOIM, with the first work(
Objective function section that can be adjacent section E is functional section J.Functional section J is not included in second functional section ABCD.Continue with priority
The second predetermined order template EBXAC that rank ranked third.In EBXAC, the objective function section adjacent with the first functional section E is function
Section B.Comprising functional section B in second functional section ABCD, therefore functional section E is added to the according to the second predetermined order template EBXAC
Two functional section ABCD since in EBXAC, functional section E is located at before functional section B, therefore obtain functional section after the completion of adding
AEBCD。
For another example functional section to be sorted is functional section E, ranked functional section is functional section ABCD.Configuration file
In store 3 kinds of templates, be respectively WPOLGTTRY, EJOIM, HGEKP.Wherein, this 3 kinds of templates are not the first predetermined orders
Template is the second predetermined order template EJOIM, HGEKP,.In this 2 the second predetermined order templates, priority is divided from high to low
It is not:HGEKP、EJOIM.Due to the highest priority of the second predetermined order template HGEKP, therefore pay the utmost attention to.In HGEKP, with
Objective function section adjacent first functional section E is functional section G and functional section K.Both target work(is not included in second functional section ABCD
Energy section G does not include objective function section K again.Continue with the second predetermined order template EJOIM 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 is not included in second functional section ABCD
Section J.Since the second functional section ABCD does not include any objective function section, so the first functional section E of arrangement and the second functional section
During ABCD, the first functional section E is added to the end of the second functional section ABCD, functional section ABCDE is obtained after the completion of addition.
Optionally, judging result represents not storing the second predetermined order template including the first functional section in configuration file,
Arranging the first functional section and the second functional section according to judging result includes:The first functional section is added in the end of the second functional section.
That is, do not stored in configuration file comprising when the predetermined order template of ranking function section, directly treating that ranking function section is added to
The end of ranking function section.
For example, functional section to be sorted is functional section E, ranked functional section is functional section ABCD.In configuration file
3 kinds of templates are stored, are respectively NHBVD, OLMHN, LCDZ.Wherein, this 3 kinds of templates are not the first predetermined order templates,
It is not the second predetermined order template.So during arrangement the first functional section E and the second functional section ABCD, the first functional section E is added
To the end of the second functional section ABCD, functional section ABCDE is obtained after the completion of addition.
Optionally, the quantity of the first predetermined order template is multiple, according to the first predetermined order template to the first functional section
With the second functional section be ranked up including:Stencil-chosen instruction is received, wherein, stencil-chosen instruction is for default from multiple first
Sequence stencil-chosen goes out a first predetermined order template as target the first predetermined order template;It is and pre- according to target first
If sequence template is ranked up the first functional section and the second functional section.That is, there are multiple both included in configuration file to wait to sort
Functional section includes the predetermined order template of ranking function section again when, instruction is received, according to the instruction of instruction, from multiple default rows
A predetermined order template is selected in sequence template, according to this predetermined order template chosen will treat ranking function section and
Ranking function section is ranked up.
For example, functional section to be sorted is functional section E, ranked functional section is functional section ABCD.In configuration file
3 kinds of templates are stored, are respectively ABCDHEN, PLOUESABCD, FEMAXWBCMD, BEOIL.Wherein, ABCDHEN,
PLOUESABCD, FEMAXWBCMD are the first predetermined order templates.Stencil-chosen instruction can be set by administrative staff, such as can
To be arranged to " please arrange the first functional section and the second functional section according to comprising the first minimum predetermined order template of functional block
Sequence " or " being please ranked up according to the first predetermined order template of highest priority to the first functional section and the second functional section ",
Etc..If stencil-chosen instruction is arranged to " please according to comprising the first minimum predetermined order template of functional block to the first work(
Energy section and the second functional section are ranked up ", since ABCDHEN includes 7 functional sections, PLOUESABCD includes 10 functional sections,
FEMAXWBCMD includes 10 functional sections, therefore selection is ranked up the first functional section E and the second functional section according to ABCDHEN
ABCD is having sorted the result is that ABCDE.
Optionally, before stencil-chosen instruction is received, method further includes:According to priority to multiple first predetermined orders
Template is ranked up.That is, there are multiple not only included in configuration file to treat ranking function section but also comprising the default of ranking function section
During the template that sorts, multiple predetermined order templates are ranked up according to the order of priority from high to low.
For example, functional section to be sorted is functional section E, ranked functional section is functional section ABCD.In configuration file
4 kinds of templates are stored, are respectively ABCDHEN, PLOUESABCD, FEMAXWBCMD, BEOIL.Wherein, ABCDHEN,
PLOUESABCD, FEMAXWBCMD are the first predetermined order templates.Priority can be carried out by administrative staff according to actual conditions
It sets, priority is high, it is meant that sequence utilization rate is high, and priority is low, it is meant that sequence utilization rate is low.For example, in practical application
In, the utilization rate highest of PLOUESABCD, the utilization rate time of ABCDHEN is high, and the utilization rate of FEMAXWBCMD is relatively low.It can then set
The order for putting priority is from high to low:PLOUESABCD、ABCDHEN、FEMAXWBCMD.
Optionally, the sort method of combined air conditioner further includes:Receive template-setup instruction;And according to template-setup
Instruction performs at least one of following operation:It changes the first predetermined order template, delete the first predetermined order template and increase
With the different 3rd predetermined order template of the first predetermined order template to combined air conditioner.That is, combined air conditioner can
Instruction is received, modified, deleted to predetermined order template according to instruction, added, etc..
Template-setup instruction can be set by administrative staff.8 kinds of templates are stored in configuration file, respectively TYNEK,
JKHDF, DJH, IOUEABCDRL, KREW, WDN, NBXZLP, IUPL, it is ranked when functional section to be sorted is functional section E
Functional section be functional section ABCD when, IOUEABCDRL be the first predetermined order template, administrative staff can set instruction " deletion
First predetermined order template ", then IOUEABCDRL is deleted.Administrative staff can also set instruction " the 3rd predetermined order of addition
Template GNBM ", then GNBM be added in configuration file.
Fig. 2 is the flow chart of the optional combined air conditioner sort method of another kind according to embodiments of the present invention.Such as figure
Shown, this method comprises the following steps:
S202 from functional section selecting module selection function section, in embodiments of the present invention, can be selected by drag-and-drop operation
Functional section is selected out, selected functional section out is functional section to be sorted in combined air conditioner, that is to say the first function
Section is identical with above-mentioned steps S102.
S204 obtains existing functional section in layout modules, that is, obtains functional section ranked in combined air conditioner,
It that is to say the second functional section, it is identical with above-mentioned steps S104, after finishing, perform S206.
S206 by existing functional section plus selected functional section, obtains the set of functional section, after finishing, performs S208.
S208 according to already present fixed form in configuration file, judges whether include selected function section in each template
Whether set, that is, judging to be stored in the configuration file of combined air conditioner includes the first of the first functional section and the second functional section
Predetermined order template is identical with above-mentioned steps S106.If in the presence of the template of the set comprising selected function section, step is performed
S210;If there is no the templates of the set comprising selected function section, step S216 is performed.
S210 judges whether multiple modules for meeting arrangement, that is, judges to include the first functional section and the second functional section
The first predetermined order template whether more than one.If there are more than one the first predetermined order templates, step S212 is performed;If
A first predetermined order template is only existed, performs step S214.
S212 pops up an optional list, is arranged according to the common grade of fixed form in configuration file, and grade is high
Be placed on front, for being made choice to user.That is, when the quantity of the first predetermined order template is multiple, from multiple first
One is selected in predetermined order template, ranking function section will be treated and ranking function section is ranked up.
S214 is directly arranged according to the arrangement mode of template.That is, when only existing a first predetermined order template
When, template to be sorted and the template that sorted are ranked up according to this first predetermined order template.
S216 will haul out the functional section that comes and be put into configuration file and search, obtain it is multiple (such as:Three) it is common
The functional section being inserted into.For each hauled out come functional section (i.e. the first functional section), all can by server into
Row statistics, draws the correct functional section of multiple the most frequently used and sequence logic, wherein, this multiple functional section all includes the first function
Section.That is, the situation of the first default template including the first functional section and the second functional section is not stored in configuration file is judged
Under, the second predetermined order template for including the first functional section is searched in configuration file, which can be
It is multiple.After finishing, step S218 is performed.
S218 by multiple common functional sections according to common grade, is compared with existing functional section, judged in order
Whether this multiple common functional section includes the partial function section of ranking function section.That is, according to priority orders, from multiple
The objective function section adjacent with the first functional section is searched in second predetermined order template, judges whether include mesh in the second functional section
Mark functional section.If there is the functional section met, step S220 is performed;If there is no the functional section met, step is performed
S222。
S220 carries out insertion operation at once, and without continuing to execute judgement.That is, judge the second functional section include mesh
In the case of marking functional section, according to the first functional section and the sequencing of objective function section in the second predetermined order template, by the
One functional section is added to the second functional section.
S222 is judged by placement logic, is inserted into an insertion position that will not trigger logic error.Placement logic
Refer to the arrangement requirement of functional section, such as " power section must be placed in behind wind inlet section " or " functional section E must be placed in function
Before section B ", etc..If this position exists, step S226 is performed;If this position is not present, step S224 is performed.
S224 gives tacit consent to the most end of insertions function section.
S226 carries out insertion operation at once, and without continuing to execute judgement.
By above-described embodiment, predetermined order template is stored in configuration file, and then is treating ranking function section and is arranging
In the case of in predetermined order template matches in sequence functional section and configuration file, directly according to the matched predetermined order template of institute
It treats ranking function section and ranking function section is ranked up;In the case that can not be directly matched, be wrapped according in configuration file
The predetermined order template for treating ranking function section is included, ranking function section is treated and ranking function section is ranked up, realize to group
The functional section of mould assembly air conditioner carries out auto-sequencing, avoids cumbersome, the inefficiency being ranked up by hand to functional section,
Solve the functional section of combined air conditioner in the prior art arrangement mode efficiency it is low the technical issues of.
According to embodiments of the present invention, a kind of embodiment of the collator of combined air conditioner is additionally provided.This is combined
The collator of air conditioner can perform the sort method of said combination type air conditioner, the sort method of said combination type air conditioner
It can also be implemented by the collator of the combined air conditioner.
Fig. 3 is a kind of schematic diagram of the collator of combined air conditioner according to embodiments of the present invention.As shown in figure 3,
The collator of the combined air conditioner includes:First acquisition unit 30, second acquisition unit 32, judging unit 34, first row
Sequence unit 36, the second sequencing unit 38.
First acquisition unit 30, for obtaining the first functional section, wherein, the first functional section is the row for the treatment of in combined air conditioner
The functional section of sequence.
Second acquisition unit 32, for obtaining the second functional section, wherein, the second functional section is to have been arranged in combined air conditioner
The functional section of sequence.
Judging unit 34, for judging whether to be stored in the configuration file of combined air conditioner including the first functional section and
First predetermined order template of the second functional section.That is, it is judged that whether the first functional section and the second functional section can match simultaneously
Predetermined order template in configuration file namely judge predetermined order template whether and meanwhile including the first functional section and the second function
Section.
First sequencing unit 36, for being stored in configuration file is judged including the first functional section and the second functional section
The first predetermined order template in the case of, the first functional section and the second functional section are arranged according to the first predetermined order template
Sequence.That is, ranking function section and ranking function section are being treated, it can be simultaneously and in the predetermined order template matches in configuration file
In the case of, directly ranking function section is treated according to the matched predetermined order template of institute and ranking function section is ranked up.
Second sequencing unit 38, for not stored including the first functional section and the second functional section in configuration file is judged
The first predetermined order template in the case of, judge whether to be stored with the including the first functional section second default row in configuration file
Sequence template obtains judging result, and arranges the first functional section and the second functional section according to judging result.Treat ranking function section and
Ranking function section, predetermined order template that can not be simultaneously and in configuration file it is direct it is matched in the case of, according to configuration file
Include treating the predetermined order template of ranking function section, treat ranking function section and ranking function section is ranked up.
For example, functional section to be sorted is functional section E, then functional section E is the first functional section.Ranked functional section is
Functional section ABCD, then functional section ABCD is the second functional section.The configuration file of combined air conditioner can be advance by administrative staff
It sets, several template is stored in configuration file.Such as 3 kinds of templates are stored in configuration file, respectively FGABCDEMN,
SLRWD、XDGTRN.Since 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 function
Section FGABCDEMN is ranked up functional section E and functional section ABCD, obtains ranking results functional section ABCDE.
In another example functional section to be sorted is functional section E, ranked functional section is functional section ABCD.Configuration file
In store 3 kinds of templates, be respectively FGABCHLMN, SLRWD, XDGTRN.Since this 3 kinds of templates are not all simultaneously including first
Functional section E and the second functional section ABCD so this 3 kinds of templates are not the first predetermined order templates, i.e., is not deposited in configuration file
Store up the first predetermined order template.At this point, finding the second predetermined order template in configuration file, the second predetermined order template meets
Condition:Second predetermined order template includes the first functional section.FGABCHLMN, SLRWD, XDGTRN this 3 templates all do not include the
One functional section E, therefore the second predetermined order template is not stored in configuration file.
The collator for the combined air conditioner that the embodiment of the present invention is provided is obtained by first acquisition unit and second
Ranking function section and ranking function section are treated in unit acquisition, are judged whether directly to match using judging unit and are waited to sort
The predetermined order template of functional section and ranking function section, if it does, the first sequencing unit is according to this predetermined order template pair
It treats ranking function section and ranking function section is ranked up, if it does not, the second sequencing unit is according to including treating ranking function
The predetermined order template of section, treats ranking function section and ranking function section is ranked up, realize to combined air conditioner
Functional section carries out auto-sequencing, avoids cumbersome, the inefficiency being ranked up by hand to functional section, solves existing skill
The technical issues of arrangement mode efficiency of the functional section of combined air conditioner is low in art, and then it is quick to functional section, high
Imitate the technique effect of sequence.Simultaneously, moreover it is possible to which reaching reduces designer's work difficulty, saves the effect of designer's training cost
Fruit.
Optionally, judging result represents to be stored with the second predetermined order template including the first functional section in configuration file,
Second sequencing unit includes:Searching module, for searching the target adjacent with the first functional section from the second predetermined order template
Functional section;Judgment module, for judging whether include objective function section in the second functional section;First add module, for sentencing
Break and in the case that the second functional section includes objective function section, according to the first functional section and target in the second predetermined order template
First functional section is added to the second functional section by the sequencing of functional section;And second add module, for judging
In the case of not including objective function section in two functional sections, the first functional section is added in the end of the second functional section.That is, configuring
It looks for including in file and treats ranking function section and not comprising the predetermined order template of ranking function section, looked in predetermined order template
The functional section adjacent with treating ranking function section, the functional section adjacent with treating ranking function section is known as target work(in predetermined order template
It can section.Judge that whether ranking function section is comprising objective function section, if comprising according to treating ranking function section in predetermined order template
With the context of objective function section, it will treat ranking function section and ranking function section be ranked up;If ranking function section is not
Comprising objective function section, the end treated ranking function section and be directly appended to ranking function section.
For example, functional section to be sorted is functional section E, ranked functional section is functional section ABCD.In configuration file
4 kinds of templates are stored, are respectively SCAN, GECDR, QBHDMKU, TTFRFHL.Since this 4 kinds of templates are all simultaneously including the
One functional section E and the second functional section ABCD, so this 4 kinds of templates are not the first predetermined order templates, i.e., in configuration file not
Store the first predetermined order template.At this point, finding the second predetermined order template in configuration file, the second predetermined order template expires
Sufficient condition:Second predetermined order template includes the first functional section.In this 4 templates of SCAN, GECDR, QBHDMKU, TTFRFHL only
There is GECDR to meet condition, therefore GECDR is the second predetermined order template in configuration file.The functional section adjacent with E in GECDR
For functional section G and functional section C, therefore functional section G and functional section C is objective function section.Second functional section ABCD includes objective function
Section C.Since in the second predetermined order template GECDR, the first functional section E is before objective function section C, so pre- according to second
If sorting template, when the first functional section E is added in the second functional section ABCD, functional section E should be made before functional section C, i.e.,
Functional section ABECD is obtained after the completion of addition.
For another example functional section to be sorted is functional section E, ranked functional section is functional section ABCD.Configuration file
In store 4 kinds of templates, be respectively SCAN, QBHDMKU, TTFRFHL, PSERT.This 4 kinds of templates are not the first predetermined orders
Template, PSERT are the second predetermined order templates.The functional section adjacent with E is functional section S and functional section R in PSERT, therefore function
Section S and functional section R is objective function section.Second functional section ABCD neither includes objective function section S, does not also include objective function section
Therefore R, the first functional section E is added at the end of the second functional section ABCD, functional section ABCDE is obtained after the completion of addition.
Optionally, objective function section be included in first object functional section before the first functional section and the first functional section it
The second objective function section afterwards, judgment module include:Judging submodule, for judging whether include the first mesh in the second functional section
Mark functional section and the second objective function section, the first add module include:First addition submodule, for judging the second function
Section includes first object functional section not including in the case of the second objective function section, according in the second predetermined order template first
First functional section is added to the second functional section by the sequencing of functional section and first object functional section;Second addition submodule,
For judging that the second functional section includes in the case that the second objective function Duan Wei includes first object functional section, according to the
First functional section is added to the second work(by the first functional section and the sequencing of the second objective function section in two predetermined order templates
It can section;And the 3rd addition submodule, for judging that the second functional section includes first object functional section and the second target
It, will according to the sequencing of the first functional section and first object functional section in the second predetermined order template in the case of functional section
First functional section is added to the second functional section.That is, look for including in configuration file and treat ranking function section and not comprising the work(that sorted
The predetermined order template of energy section, looks for objective function section in predetermined order template.Wherein, objective function section is divided into as two kinds, one
Kind is the objective function section come before treating ranking function section, and another kind is to come the objective function treated after ranking function section
Section.Situation one:If ranking function section includes coming the objective function section before treating ranking function section, do not include coming treating
Objective function section after ranking function section, then according to predetermined order template, will treat ranking function section and ranking function section into
Row sequence.Situation two:If ranking function section includes coming the objective function section treated after ranking function section, do not include row
Objective function section before ranking function section is treated then according to predetermined order template, will treat ranking function section and ranking function
Section is ranked up.Situation three:If not only include coming the objective function section before treating ranking function section in ranking function section, but also
Including coming the objective function section treated after ranking function section, then according to the method for situation one, it will treat ranking function section and arranged
Sequence functional section is ranked up.
For example, functional section to be sorted is functional section E, ranked functional section is functional section ABCD.In configuration file
4 kinds of templates are stored, are respectively RTYUCFS, ZXDVFR, YUNG, AELMJ.This 4 kinds of templates are not the first predetermined order moulds
Plate, AELMJ are the second predetermined order templates.Comprising objective function section A and objective function section L in AELMJ, wherein, objective function
Section A is located at before the first functional section E, is first object functional section, and objective function section L is located at after the first functional section E, is second
Objective function section.Functional section ABCD includes first object functional section A, not including the second objective function section L, according to the second default row
Sequence template AELMJ, is added to functional section E in functional section ABCD, due in AELMJ, functional section A before functional section E, therefore
Functional section AEBCD is obtained after the completion of addition.
For example, functional section to be sorted is functional section E, ranked functional section is functional section ABCD.In configuration file
4 kinds of templates are stored, are respectively RTYUCFS, ZXDVFR, YUNG, GKECS.This 4 kinds of templates are not the first predetermined order moulds
Plate, GKECS are the second predetermined order templates.Comprising 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 includes the second objective function section
Functional section E not including first object functional section K, according to the second predetermined order template GKECS, is added to functional section ABCD by C
In, since in GKECS, functional section E obtains functional section ABECD before functional section C after the completion of adding.
For example, functional section to be sorted is functional section E, ranked functional section is functional section ABCD.In configuration file
4 kinds of templates are stored, are respectively RTYUCFS, ZXDVFR, YUNG, IYBED.This 4 kinds of templates are not the first predetermined order moulds
Plate, IYBED are the second predetermined order templates.Comprising 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 D is the second objective function section.Functional section ABCD both includes first object function
Section B, and including the second objective function section D, according to the second predetermined order template IYBED, functional section E is added to functional section ABCD
In, since in IYBED, the first functional section E obtains functional section after first object functional section B after the completion of adding
ABECD。
Optionally, the quantity of the second predetermined order template is multiple that collator is according to multiple second predetermined order templates
Priority is repeated in calling searching module, judgment module, the first add module and the second add module, until by the first function
Section is added to the second functional section.That is, comprising treat ranking function section and predetermined order template not comprising ranking function section have it is more
It is a, then the highest predetermined order template of priority-level is found out first.It is deposited in the highest predetermined order template of priority-level
In the objective function section adjacent with treating ranking function section, this objective function section is found in ranking function section, if finding, is pressed
According to the highest predetermined order template of priority-level, it will treat ranking function section and ranking function section be ranked up;If can not find,
Find out the predetermined order template that priority-level ranked second.Exist in the predetermined order template that ranked second in priority-level with treating
The adjacent objective function section of ranking function section, finds this objective function section, if finding, according to preferential in ranking function section
The predetermined order template that grade rank ranked second, will treat ranking function section and ranking function section is ranked up;If can not find, find out
The predetermined order template that priority-level ranked third.The rest may be inferred, if predetermined order template all according to priority from height to
Low sequential search finishes, and ranking function section does not all include objective function section, then has sorted treating that ranking function section is added to
The end of functional section.
For example, functional section to be sorted is functional section E, ranked functional section is functional section ABCD.In configuration file
5 kinds of templates are stored, are respectively WPOLGTTRY, EBXAC, HGEKP, EJOIM, CEUTS.Wherein, this 5 kinds of templates are not
One predetermined order template, EBXAC, HGEKP, EJOIM, CEUTS are the second predetermined order templates.This 4 the second predetermined order moulds
In plate, priority is respectively from high to low:HGEKP、EJOIM、EBXAC、CEUTS.Priority can be by administrative staff according to reality
Border situation is configured, and priority is high, it is meant that sequence utilization rate is high, and priority is low, it is meant that sequence utilization rate is low.Due to
The highest priority of two predetermined order template HGEKP, therefore pay the utmost attention to.In HGEKP, the target work(adjacent with the first functional section E
Energy section is objective function section G and objective function section K.Not only objective function section G had not been included in second functional section ABCD but also not comprising mesh
Mark functional section K.Continue with the second predetermined order template EJOIM that the rank of priority ranked second.In EJOIM, with the first work(
Objective function section that can be adjacent section E is functional section J.Functional section J is not included in second functional section ABCD.Continue with priority
The second predetermined order template EBXAC that rank ranked third.In EBXAC, the objective function section adjacent with the first functional section E is function
Section B.Comprising functional section B in second functional section ABCD, therefore functional section E is added to the according to the second predetermined order template EBXAC
Two functional section ABCD since in EBXAC, functional section E is located at before functional section B, therefore obtain functional section after the completion of adding
AEBCD。
For another example functional section to be sorted is functional section E, ranked functional section is functional section ABCD.Configuration file
In store 4 kinds of templates, be respectively WPOLGTTRY, EJOIM, HGEKP.Wherein, this 3 kinds of templates are not the first predetermined orders
Template is the second predetermined order template EJOIM, HGEKP,.In this 2 the second predetermined order templates, priority is divided from high to low
It is not:HGEKP、EJOIM.Due to the highest priority of the second predetermined order template HGEKP, therefore pay the utmost attention to.In HGEKP, with
Objective function section adjacent first functional section E is functional section G and functional section K.Both target work(is not included in second functional section ABCD
Energy section G does not include objective function section K again.Continue with the second predetermined order template EJOIM 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 is not included in second functional section ABCD
Section J.Since the second functional section ABCD does not include any objective function section, so the first functional section E of arrangement and the second functional section
During ABCD, the first functional section E is added to the end of the second functional section ABCD, functional section ABCDE is obtained after the completion of addition.
Optionally, judging result represents not storing the second predetermined order template including the first functional section in configuration file,
Second sequencing unit includes:3rd add module, for adding the first functional section in the end of the second functional section.That is, configuration text
It is not stored in part comprising when the predetermined order template of ranking function section, directly treating that ranking function section is added to ranking function
The end of section.
For example, functional section to be sorted is functional section E, ranked functional section is functional section ABCD.In configuration file
3 kinds of templates are stored, are respectively NHBVD, OLMHN, LCDZ.Wherein, this 3 kinds of templates are not the first predetermined order templates,
It is not the second predetermined order template.So during arrangement the first functional section E and the second functional section ABCD, the first functional section E is added
To the end of the second functional section ABCD, functional section ABCDE is obtained after the completion of addition.
Optionally, the quantity of the first predetermined order template is multiple that first sequencing unit includes:Receiving module, for connecing
Stencil-chosen instruction is received, wherein, stencil-chosen instruction is preset for going out one first from multiple first predetermined order stencil-chosens
The template that sorts is as target the first predetermined order template;And first sorting module, for according to target the first predetermined order mould
Plate is ranked up the first functional section and the second functional section.That is, in configuration file there are it is multiple not only comprising treating ranking function section but also
During predetermined order template comprising ranking function section, instruction is received, according to the instruction of instruction, from multiple predetermined order templates
A predetermined order template is selected, will treat ranking function section according to this predetermined order template chosen and the work(that sorted
Energy section is ranked up.
For example, functional section to be sorted is functional section E, ranked functional section is functional section ABCD.In configuration file
4 kinds of templates are stored, are respectively ABCDHEN, PLOUESABCD, FEMAXWBCMD, BEOIL.Wherein, ABCDHEN,
PLOUESABCD, FEMAXWBCMD are the first predetermined order templates.Stencil-chosen instruction can be set by administrative staff, such as can
To be arranged to " please arrange the first functional section and the second functional section according to comprising the first minimum predetermined order template of functional block
Sequence " or " being please ranked up according to the first predetermined order template of highest priority to the first functional section and the second functional section ",
Etc..If stencil-chosen instruction is arranged to " please according to comprising the first minimum predetermined order template of functional block to the first work(
Energy section and the second functional section are ranked up ", since ABCDHEN includes 7 functional sections, PLOUESABCD includes 10 functional sections,
FEMAXWBCMD includes 10 functional sections, therefore selection is ranked up the first functional section E and the second functional section according to ABCDHEN
ABCD is having sorted the result is that ABCDE.
Optionally, the first sequencing unit further includes:Second sorting module, for before stencil-chosen instruction is received, pressing
Multiple first predetermined order templates are ranked up according to priority.That is, there are multiple both included in configuration file to treat ranking function
Section includes the predetermined order template of ranking function section again when, according to the order of priority from high to low to multiple predetermined order moulds
Plate is ranked up.
For example, functional section to be sorted is functional section E, ranked functional section is functional section ABCD.In configuration file
4 kinds of templates are stored, are respectively ABCDHEN, PLOUESABCD, FEMAXWBCMD, BEOIL.Wherein, ABCDHEN,
PLOUESABCD, FEMAXWBCMD are the first predetermined order templates.Priority can be carried out by administrative staff according to actual conditions
It sets, priority is high, it is meant that sequence utilization rate is high, and priority is low, it is meant that sequence utilization rate is low.For example, in practical application
In, the utilization rate highest of PLOUESABCD, the utilization rate time of ABCDHEN is high, and the utilization rate of FEMAXWBCMD is relatively low.It can then set
The order for putting priority is from high to low:PLOUESABCD、ABCDHEN、FEMAXWBCMD.
Optionally, the collator for the combined air conditioner that the embodiment of the present invention is provided further includes:Receiving unit is used for
Receive template-setup instruction;And modification unit, for performing at least one of following operation according to template-setup instruction:It repaiies
Change the first predetermined order template, delete the first predetermined order template and increase pre- with the first predetermined order template the different 3rd
If the template that sorts is to combined air conditioner.That is, combined air conditioner can receive instruction, according to instruction to predetermined order template into
Row modification, deletion, addition, etc..
Template-setup instruction can be set by administrative staff.8 kinds of templates are stored in configuration file, respectively TYNEK,
JKHDF, DJH, IOUEABCDRL, KREW, WDN, NBXZLP, IUPL, it is ranked when functional section to be sorted is functional section E
Functional section be functional section ABCD when, IOUEABCDRL be the first predetermined order template, administrative staff can set instruction " deletion
First predetermined order template ", then IOUEABCDRL is deleted.Administrative staff can also set instruction " the 3rd predetermined order of addition
Template GNBM ", then GNBM be added in configuration file.
Fig. 4 is the schematic diagram of the collator of the optional combined air conditioner of another kind according to embodiments of the present invention, should
Device includes acquiring unit 40, dispensing unit 42, logic unit 44, layout units 46.
Acquiring unit 40 treats ranking function section and ranking function section for obtaining, that is, obtains the first functional section and second
Functional section is identical with the effect of above-mentioned first acquisition unit 30 and second acquisition unit 32.
Dispensing unit 42, for storing existing type selecting template and treating the most-often used of ranking function section and row for each
The correct functional section of row logic, i.e. storage include the first predetermined order template and the storage of the first functional section and the second functional section
The second predetermined order template including the first functional section.
Logic unit 44 for storing the arrangement requirement of all functional sections, self-defined can be set.Such as " power section must
Must be placed in behind wind inlet section " or " functional section E must be placed in before functional section B ", etc..It is single with above-mentioned receiving unit and modification
Member effect is identical.
Layout units 46 for being ranked up to functional section, i.e., are stored with including the first work(in configuration file is judged
When energy section and the first predetermined order template of the second functional section, according to the first predetermined order template to the first functional section and the second work(
Can section be ranked up, when judging not storing the first predetermined order including the first functional section and the second functional section in configuration file
In the case of template, judge whether to be stored with the second predetermined order template including the first functional section in configuration file and judged
As a result, it and according to judging result the first functional section of arrangement and the second functional section, sorts with above-mentioned first sequencing unit 36 and second
The effect of unit 38 is identical.
According to above-described embodiment, ranking function section and ranking function section are treated in acquiring unit acquisition, and dispensing unit storage is pre-
If sorting template, logically the arrangement requirement in unit, ranking function section and ranking function section are treated using layout units
It is ranked up, realizes and auto-sequencing is carried out to the functional section of combined air conditioner, avoid and functional section is ranked up by hand
Cumbersome, inefficiency, solve the low skill of the arrangement mode efficiency of the functional section of combined air conditioner in the prior art
Art problem, and then technique effect quick to functional section, efficiently sort.
Fig. 5 is the schematic diagram of the optional combined air conditioner collator of another kind according to embodiments of the present invention, the dress
Put including:Storage unit 50, functional section selecting unit 52, auto arrangement unit 54.
Storage unit 50, can be self-defined for storing the arrangement requirement of all functional sections and arranged functional section
It sets, such as increases, deletes and change, custom formulates the priority of list and functional section insertion by the operation of user.It has arranged
The functional section of row is predetermined order template.The arrangement requirement of functional section could be provided as " after power section must be placed in wind inlet section
Face " or " functional section E must be placed in before functional section B ", etc..It is identical with above-mentioned receiving unit and modification unit effect, with
The effect of above-mentioned logic unit 44 is also identical.
Functional section selecting unit 52, for storing optional functional section.Optional functional section is to wait to sort
Functional section and ranking function section namely the first functional section and the second functional section.
Auto arrangement unit 54, for being successively read the functional section of functional section selecting unit storage, the function of currently reading
Section, that is, according to predetermined order template, treats ranking function section and ranking function compared with the functional section that front has arranged
Section is ranked up.The first predetermined order mould including the first functional section and the second functional section is stored in configuration file is judged
During plate, the first functional section and the second functional section are ranked up according to the first predetermined order template, when judging in configuration file
In the case of not storing the first predetermined order template including the first functional section and the second functional section, judge in configuration file whether
It is stored with the second predetermined order template including the first functional section and obtains judging result, and the first function is arranged according to judging result
Section and the second functional section, it is identical with the effect of above-mentioned first sequencing unit, 36 and second sequencing unit 38, with above-mentioned layout units
46 effect is also identical.
By above-described embodiment, storage unit stores the arrangement requirement of all functional sections and arranged functional section, work(
Can the storage of section selecting unit is optional treats ranking function section, auto arrangement unit according to functional section arrangement requirement and
The predetermined order template of arrangement will treat ranking function section and ranking function section is ranked up, realizes to combined air conditioner
Functional section carry out auto-sequencing, avoid cumbersome, the inefficiency that are ranked up to functional section by hand, solve existing
The technical issues of arrangement mode efficiency of the functional section of combined air conditioner is low in technology, and then quick to functional section,
The technique effect efficiently to sort.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, all emphasize particularly on different fields to the description of each embodiment, do not have in some embodiment
The part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei
A kind of division of logic function, can there is an other dividing mode in actual implementation, for example, multiple units or component can combine or
Person is desirably integrated into another system or some features can be ignored or does not perform.Another, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module
It connects, can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple
On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list
The form that hardware had both may be employed in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products
It embodies, which is stored in a storage medium, is used including some instructions so that a computer
Equipment (can be personal computer, server or network equipment etc.) perform each embodiment the method for the present invention whole or
Part steps.And foregoing storage medium includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can to store program code
Medium.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (16)
1. a kind of sort method of combined air conditioner, which is characterized in that the combined air conditioner includes multiple functional sections, institute
Stating sort method includes:
The first functional section is obtained, wherein, first functional section is functional section to be sorted in the combined air conditioner;
The second functional section is obtained, wherein, second functional section is ordering functional section in the combined air conditioner;
Judge whether be stored in the configuration file of the combined air conditioner including first functional section and second work(
First predetermined order template of energy section;
Being stored in the configuration file is judged includes described the first of first functional section and second functional section
In the case of predetermined order template, according to the first predetermined order template to first functional section and second functional section
It is ranked up;And
Not stored in the configuration file is judged includes described the first of first functional section and second functional section
In the case of predetermined order template, it is default to judge whether to be stored with second including first functional section in the configuration file
Sequence template obtains judging result, and arranges first functional section and second functional section according to the judging result.
2. according to the method described in claim 1, it is characterized in that, the judging result represents to be stored in the configuration file
The second predetermined order template including first functional section, according to the judging result arrange first functional section and
Second functional section includes:
The objective function section adjacent with first functional section is searched from the second predetermined order template;
Judge whether include the objective function section in second functional section;
In the case where judging that second functional section includes the objective function section, according to the second predetermined order mould
First functional section is added to second work(by the sequencing of the first functional section described in plate and the objective function section
It can section;And
In the case of not including the objective function section in second functional section is judged, at the end of second functional section
Add first functional section in end.
3. according to the method described in claim 2, it is characterized in that, the objective function section be included in first functional section it
Preceding first object functional section and the second objective function section after first functional section,
Whether judge includes the objective function section in second functional section include:
Judge whether include the first object functional section and the second objective function section in second functional section,
In the case where judging that second functional section includes the objective function section, according to the second predetermined order mould
First functional section is added to second work(by the sequencing of the first functional section described in plate and the objective function section
Energy section includes:
Judging that second functional section includes the first object functional section and do not include the second objective function section
In the case of, it is suitable according to the priority of the first functional section and the first object functional section described in the second predetermined order template
First functional section is added to second functional section by sequence;
Judging that second functional section includes the second objective function Duan Wei and include the first object functional section
In the case of, it is suitable according to the priority of the first functional section and the second objective function section described in the second predetermined order template
First functional section is added to second functional section by sequence;And
In the situation judged second functional section and include the first object functional section and the second objective function section
Under, it, will according to the sequencing of the first functional section and the first object functional section described in the second predetermined order template
First functional section is added to second functional section.
4. according to the method described in claim 2, it is characterized in that, the quantity of the second predetermined order template to be multiple, is pressed
It is repeated in performing following steps according to multiple second predetermined order template priority, until first functional section is added
To second functional section:
The objective function section adjacent with first functional section is searched from the second predetermined order template;
Judge whether include the objective function section in second functional section;
In the case where judging that second functional section includes the objective function section, according to the second predetermined order mould
First functional section is added to second work(by the sequencing of the first functional section described in plate and the objective function section
It can section;And
In the case of not including the objective function section in second functional section is judged, at the end of second functional section
Add first functional section in end.
5. according to the method described in claim 1, it is characterized in that, the judging result represents not store in the configuration file
The second predetermined order template including first functional section, according to the judging result arrange first functional section and
Second functional section includes:
First functional section is added in the end of second functional section.
6. according to the method described in claim 1, it is characterized in that, the quantity of the first predetermined order template to be multiple, is pressed
First functional section and second functional section are ranked up according to the first predetermined order template including:
Stencil-chosen instruction is received, wherein, stencil-chosen instruction is for from multiple first predetermined order stencil-chosens
Go out the first predetermined order template as target the first predetermined order template;And
First functional section and second functional section are ranked up according to target the first predetermined order template.
7. according to the method described in claim 6, it is characterized in that, before stencil-chosen instruction is received, the method is also wrapped
It includes:
Multiple first predetermined order templates are ranked up according to priority.
8. method according to any one of claim 1 to 7, which is characterized in that the method further includes:
Receive template-setup instruction;And
At least one of following operation is performed according to template-setup instruction:It changes the first predetermined order template, delete
Except the first predetermined order template and increase with the different 3rd predetermined order template of the first predetermined order template extremely
The combined air conditioner.
9. a kind of collator of combined air conditioner, which is characterized in that the combined air conditioner includes multiple functional sections, institute
Stating collator includes:
First acquisition unit, for obtaining the first functional section, wherein, first functional section is to be treated in the combined air conditioner
The functional section of sequence;
Second acquisition unit, for obtaining the second functional section, wherein, second functional section be the combined air conditioner in
The functional section of sequence;
Judging unit, for judging whether be stored with including first functional section in the configuration file of the combined air conditioner
With the first predetermined order template of second functional section;
First sequencing unit, for being stored in the configuration file is judged including first functional section and described second
In the case of the first predetermined order template of functional section, according to the first predetermined order template to first functional section
It is ranked up with second functional section;And
Second sequencing unit, for not stored in the configuration file is judged including first functional section and described second
In the case of the first predetermined order template of functional section, judge whether be stored with including described first in the configuration file
Second predetermined order template of functional section obtains judging result, and arranges first functional section and institute according to the judging result
State the second functional section.
10. device according to claim 9, which is characterized in that the judging result represents to store in the configuration file
There is the second predetermined order template including first functional section, second sequencing unit includes:
Searching module, for searching the objective function adjacent with first functional section from the second predetermined order template
Section;
Judgment module, for judging whether include the objective function section in second functional section;
First add module, in the case where judging that second functional section includes the objective function section, according to
First functional section described in the second predetermined order template and the sequencing of the objective function section, by first function
Section is added to second functional section;And
Second add module, in the case of not including the objective function section in second functional section is judged,
Add first functional section in the end of second functional section.
11. device according to claim 10, which is characterized in that the objective function section is included in first functional section
First object functional section before and the second objective function section after first functional section,
The judgment module includes:
Judging submodule, for judging whether include the first object functional section and the second target work(in second functional section
Energy section,
First add module includes:
First addition submodule, for judging that second functional section includes the first object functional section not including institute
In the case of stating the second objective function section, according to the first functional section described in the second predetermined order template and first mesh
The sequencing of functional section is marked, first functional section is added to second functional section;
Second addition submodule, for judge second functional section include the second objective function Duan Wei include institute
In the case of stating first object functional section, according to the first functional section described in the second predetermined order template and second mesh
The sequencing of functional section is marked, first functional section is added to second functional section;And
3rd addition submodule, for judging that second functional section includes the first object functional section and described the
In the case of two objective function sections, according to the first functional section described in the second predetermined order template and the first object work(
First functional section is added to second functional section by the sequencing of energy section.
12. device according to claim 10, which is characterized in that the quantity of the second predetermined order template to be multiple,
The collator is repeated in calling the searching module according to multiple second predetermined order template priority, described sentences
Disconnected module, first add module and second add module, until first functional section is added to described second
Functional section.
13. device according to claim 9, which is characterized in that the judging result represents not deposit in the configuration file
Storage includes the second predetermined order template of first functional section, and second sequencing unit includes:
3rd add module, for adding first functional section in the end of second functional section.
14. device according to claim 9, which is characterized in that the quantity of the first predetermined order template is multiple, institute
Stating the first sequencing unit includes:
Receiving module, for receiving stencil-chosen instruction, wherein, the stencil-chosen instruction is for default from multiple described first
Sequence stencil-chosen goes out the first predetermined order template as target the first predetermined order template;And
First sorting module, for according to target the first predetermined order template to first functional section and second work(
Energy section is ranked up.
15. device according to claim 14, which is characterized in that first sequencing unit further includes:
Second sorting module, for receive stencil-chosen instruction before, according to priority to multiple first predetermined orders
Template is ranked up.
16. the device according to any one of claim 9 to 15, which is characterized in that described device further includes:
Receiving unit, for receiving template-setup instruction;And
Unit is changed, for performing at least one of following operation according to template-setup instruction:It is pre- to change described first
If the template that sorts is deleted the first predetermined order template and is increased pre- with the first predetermined order template the different 3rd
If the template that sorts is to the combined air conditioner.
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 CN105183518A (en) | 2015-12-23 |
CN105183518B true 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) |
Families Citing this family (1)
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 (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103644600A (en) * | 2013-12-09 | 2014-03-19 | 中国建筑科学研究院 | Intelligent purifying and bacteriostatic air processing unit |
CN103743006A (en) * | 2013-12-16 | 2014-04-23 | 北京工业大学 | Efficient energy-saving air purifying device capable of removing fine particulate matter |
Family Cites Families (1)
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 |
-
2015
- 2015-09-15 CN CN201510585860.0A patent/CN105183518B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103644600A (en) * | 2013-12-09 | 2014-03-19 | 中国建筑科学研究院 | Intelligent purifying and bacteriostatic air processing unit |
CN103743006A (en) * | 2013-12-16 | 2014-04-23 | 北京工业大学 | Efficient energy-saving air purifying device capable of removing fine particulate matter |
Also Published As
Publication number | Publication date |
---|---|
CN105183518A (en) | 2015-12-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107424338A (en) | A kind of control method of express delivery cabinet, apparatus and system | |
CN105224532B (en) | Data processing method and device | |
CA2484009A1 (en) | Managing expressions in a database system | |
CN104580027A (en) | OpenFlow message forwarding method and equipment | |
CN104504027B (en) | The auto-screening method and device of web page contents | |
CN107209746A (en) | model parameter fusion method and device | |
CN106303745A (en) | The treating method and apparatus of barrage | |
CN110276060A (en) | The method and device of data processing | |
CN108566666A (en) | Wi-Fi Hotspot recommends method, apparatus and storage medium | |
CN105183518B (en) | Combined air conditioner and its sort method and device | |
CN110334276A (en) | Competition platform data processing method, device, equipment and storage medium | |
CN106649363A (en) | Data query method and device | |
CN103116641B (en) | Obtain method and the collator of the statistics of sequence | |
CN106648445A (en) | Data storage method and apparatus used for crawler | |
CN103577955B (en) | Distribution relation setting-up method and device | |
CN105847508B (en) | A kind of storage method of telephone number, recognition methods and device | |
CN110322201A (en) | A kind of sowing restocking method and system of commodity | |
CN106844259A (en) | USBType C interface communication between devices establishment of connection method and apparatus | |
CN107784851A (en) | A kind of stroke route recommends method, server, driver terminal and passenger terminal | |
CN106933904B (en) | The filter method and device of data | |
CN106933907A (en) | The processing method and processing device of tables of data extended counter | |
CN107231281A (en) | Air-conditioning system and its data transmission method and device | |
CN104408138B (en) | Data search method and device | |
CN108626860A (en) | The network-building method and device of multi-online air-conditioning system, air-conditioning system | |
CN106294376A (en) | Data processing 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 |