CN110390150A - A kind of scheme combination global parameter control method based on multiple units - Google Patents
A kind of scheme combination global parameter control method based on multiple units Download PDFInfo
- Publication number
- CN110390150A CN110390150A CN201910625844.8A CN201910625844A CN110390150A CN 110390150 A CN110390150 A CN 110390150A CN 201910625844 A CN201910625844 A CN 201910625844A CN 110390150 A CN110390150 A CN 110390150A
- Authority
- CN
- China
- Prior art keywords
- cabinet body
- size
- parameter
- unit
- wall
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Geometry (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Optimization (AREA)
- Computational Mathematics (AREA)
- Architecture (AREA)
- Mathematical Analysis (AREA)
- Structural Engineering (AREA)
- Pure & Applied Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Civil Engineering (AREA)
- Stored Programmes (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of, and the scheme based on multiple units combines global parameter control method, wherein the described method includes: obtaining the parameter instruction of cabinet body change in size, the cabinet body change in size parameter instruction is for controlling cabinet body change in size;Determine the quantity of the variable dimension unit in original assembled unit of the cabinet body;The size adjusting that global parameter controls the cabinet body is carried out according to the quantity of the cabinet body change in size parameter instruction, the variable dimension unit of the cabinet body.In embodiments of the present invention, when adjusting the overall dimensions of cabinet body, employment can be saved and go to calculate from the progress size adjusting of unit cabinet one by one, the difficulty of operation is thus reduced, improve working efficiency.
Description
Technical field
The present invention relates to Smart Home technical fields more particularly to a kind of scheme based on multiple units to combine global parameter
Control method.
Background technique
Traditional model structure is divided into unit cabinet, is combined into a mould group using unit cabinet, each unit cabinet band
There is the parameter of oneself, if the size that modify entire mould group so needs to be adjusted the unit of mould group one by one, efficiency is not
High and extremely easy error, seriously affects the process structure of product, complicated product mould group will also have designer higher
Level could be arranged correctly, restriction mould group convenience and popularization it is not easy to use.
Summary of the invention
It is an object of the invention to overcome the deficiencies in the prior art, and the present invention provides a kind of schemes based on multiple units
Combine global parameter control method, adjust cabinet body overall dimensions when, can save employment go calculate from unit cabinet one by one into
Thus row size adjusting reduces the difficulty of operation, improve working efficiency.
In order to solve the above-mentioned technical problem, the scheme based on multiple units that the embodiment of the invention provides a kind of combines global
Parameter control method, which comprises
The parameter instruction of cabinet body change in size is obtained, the cabinet body change in size parameter instruction is for controlling the change of cabinet body size
Change;
Determine the quantity of the variable dimension unit in original assembled unit of the cabinet body;
Global ginseng is carried out according to the quantity of the cabinet body change in size parameter instruction, the variable dimension unit of the cabinet body
Number controls the size adjusting of the cabinet body.
Optionally, the quantity of the variable dimension unit in original assembled unit of the determination cabinet body, comprising:
It determines the quantity of original assembled unit in the cabinet body, and is had based on whether there is in original assembled unit
Size can not changed factor;
Have if it exists size can not changed factor when, then original assembled unit be size can not change unit;
Quantity and the size based on original assembled unit can not change unit quantity, determine the cabinet body
The quantity of variable dimension unit in original assembled unit.
Optionally, the size can not changed factor include be not limited to drawer present in original assembled unit.
Optionally, described according to the cabinet body change in size parameter instruction, the number of the variable dimension unit of the cabinet body
Amount carries out the size adjusting that global parameter controls the cabinet body, comprising:
The overall size of the cabinet body is adjusted based on the cabinet body change in size parameter instruction, obtains cabinet adjusted
Body overall size parameter;
Judge whether cabinet body overall size parameter adjusted leans on wall;
If leaning on wall, the cabinet body overall size parameter adjusted is subtracted into preset closing in dimensional parameters, is obtained wait divide
Cabinet body overall size parameter is cut, if wall is not leaned on, using the cabinet body overall size parameter adjusted as cabinet body overall size to be split
Parameter;
The quantity of variable dimension unit based on the cabinet body carries out global parameter to cabinet body overall size parameter to be split
Control the size adjusting of the cabinet body.
It is optionally, described to judge whether cabinet body overall size parameter adjusted leans on wall, comprising:
Whether the width multilevel iudge of cabinet body overall size parameter adjusted and the wall of measurement is leaned on into wall;
It wherein, include that the left side leans on wall or the right to lean on wall by wall or the left side and the right by wall.
Optionally, the cabinet body overall size parameter to be split be equal to the cabinet body in size can not change unit size
The sum of parameter and variable dimension unit size parameter.
Optionally, the quantity of the variable dimension unit based on the cabinet body to cabinet body overall size parameter to be split into
Row global parameter controls the size adjusting of the cabinet body, comprising:
By the overall size parameter to be split subtract the cabinet body can not change unit overall size, acquisition need to divide
Overall size parameter;
The quantity of variable dimension unit based on the cabinet body carries out global parameter control to needing to divide overall size parameter
Make the size adjusting of each variable dimension unit of the cabinet body.
In embodiments of the present invention, when adjusting the overall dimensions of cabinet body, employment can be saved and go to calculate from unit one by one
Cabinet carries out size adjusting, thus reduces the difficulty of operation, improves working efficiency.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it is clear that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the process signal of the scheme combination global parameter control method based on multiple units in the embodiment of the present invention
Figure;
Fig. 2 is the structure composition of the scheme combination global parameter control device based on multiple units in the embodiment of the present invention
Schematic diagram;
Fig. 3 is the structure composition schematic diagram of the intelligent terminal in the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other
Embodiment shall fall within the protection scope of the present invention.
Embodiment
Referring to Fig. 1, Fig. 1 is the scheme combination global parameter control method based on multiple units in the embodiment of the present invention
Flow diagram.
As shown in Figure 1, a kind of scheme based on multiple units combines global parameter control method, which comprises
S11: the parameter instruction of cabinet body change in size is obtained, the cabinet body change in size parameter instruction is for controlling cabinet body size
Variation;
In specific implementation process of the present invention, which is user in the corresponding of corresponding terminal
The dimensional parameters of required adjustment on interface, then one cabinet body change in size parameter instruction of the interface auto-generating, that is, pass through
The processing such as the encapsulation instructed to the dimensional parameters that the needs of user's input adjust, form the parameter instruction of cabinet body change in size;
Further, the cabinet body change in size parameter instruction is for controlling cabinet body change in size.
S12: the quantity of the variable dimension unit in original assembled unit of the cabinet body is determined;
Variable dimension in specific implementation process of the present invention, in original assembled unit of the determination cabinet body
The quantity of unit, comprising: determine the quantity of original assembled unit in the cabinet body, and based on being in original assembled unit
It is no there are sizes can not changed factor;Have if it exists size can not changed factor when, then original assembled unit be size
It can not change unit;Quantity and the size based on original assembled unit can not change unit quantity, determine described in
The quantity of variable dimension unit in original assembled unit of cabinet body.
Further, the size can not changed factor include be not limited to drawer present in original assembled unit.
Specifically, each cabinet body is made of different assembled units, and in these assembled units there may be
Certain factors cause the size of certain assembled units that can not change, and therefore, it is necessary to first confirm that group present in the cabinet body
Close the quantity of unit, then assembled unit one by one go to be confirmed whether there are size can not changed factor, have size if it exists
Can not changed factor when, then confirm the assembled unit be size can not change unit, and be marked, finally count size
Can not change unit quantity;Then using the quantity of original assembled unit subtract size can not the quantity of change unit determine
The quantity of variable dimension unit in original assembled unit of the cabinet body.
Wherein, it is very little can not changed factor include being not limited to drawer present in original assembled unit or user is customized
Can not reason of changes situations such as.
S13: it is carried out according to the quantity of the cabinet body change in size parameter instruction, the variable dimension unit of the cabinet body complete
The size adjusting of cabinet body described in office's state modulator.
It is described according to the cabinet body change in size parameter instruction, the ruler of the cabinet body in specific implementation process of the present invention
The quantity of very little alterable unit carries out the size adjusting that global parameter controls the cabinet body, comprising: is become based on the cabinet body size
Change parameter instruction to be adjusted the overall size of the cabinet body, obtains cabinet body overall size parameter adjusted;Judge adjusted
Whether cabinet body overall size parameter leans on wall;If leaning on wall, the cabinet body overall size parameter adjusted is subtracted into preset closing in ruler
Very little parameter obtains cabinet body overall size parameter to be split, if not lean on wall, using the cabinet body overall size parameter adjusted as to
Divide cabinet body overall size parameter;The quantity of variable dimension unit based on the cabinet body to cabinet body overall size parameter to be split into
Row global parameter controls the size adjusting of the cabinet body.
Further, described to judge whether cabinet body overall size parameter adjusted leans on wall, comprising: cabinet body adjusted is total
Whether the width multilevel iudge of dimensional parameters and the wall of measurement leans on wall;Wherein, by wall include the left side by wall or the right by wall or
Wall is leaned on the left side and the right.
Further, the cabinet body overall size parameter to be split be equal to the cabinet body in size can not change unit ruler
The sum of very little parameter and variable dimension unit size parameter.
Further, the quantity of the variable dimension unit based on the cabinet body is to cabinet body overall size parameter to be split
Carry out the size adjusting that global parameter controls the cabinet body, comprising: the overall size parameter to be split is subtracted into the cabinet body
Can not change unit overall size, acquisition need to divide overall size parameter;The number of variable dimension unit based on the cabinet body
Amount carries out the size tune that global parameter controls each variable dimension unit of the cabinet body to needing to divide overall size parameter
It is whole.
Specifically, in embodiments of the present invention, being controlled all formula etc., being passed through using json global parameter
Json global parameter controls parameters of formula, and determine instruction makes corresponding Parameters variation, complete required order.
Accordingly across gate cell be may determine that mould group by wall mode and make corresponding variation of closing up, when judging one
When a unit cabinet therein leans on wall on one side, while when another direction can be judged by wall, finger is made by input judgement automatically
It enables, makes corresponding Parameters variation, order needed for completing.
Firstly, it is necessary to which more the parameter instruction of cabinet body change in size carrys out the adjustment to cabinet body progress overall dimension, if cabinet
The parameter instruction of body change in size is to increase size, then passes through the required increased size in the parameter instruction of cabinet body change in size
It is added with the original overall size of cabinet body, to obtain cabinet body overall size parameter adjusted;If cabinet body change in size is joined
Number instruction, then by the size of reduction required for the acquisition in the parameter instruction of cabinet body change in size, utilizes cabinet to reduce size
The size of reduction required for the original overall size of body subtracts is to obtain cabinet body overall size parameter adjusted.
After obtaining cabinet body overall size parameter adjusted, whether need to judge the cabinet body overall size parameter adjusted
By wall, specifically judge whether it is by sentencing cabinet body overall size parameter adjusted compared with the width of the wall of measurement by wall
It is disconnected whether to lean on wall, if cabinet body overall size parameter adjusted differ compared with the width of the wall of measurement distance less than it is preset away from
From, then be judged as by wall, and wall is leaned on the left side and the right, the preset distance be the customized distance of user, generally 50mm, if
Cabinet body overall size parameter adjusted differs distance compared with the width of the wall of measurement and is greater than preset distance, then needs to judge
The cabinet body is designed by wall design or the right by wall according to the left side, to determine the cabinet body overall size parameter adjusted for the right side
Wall or left side Kao Qiang are depended in side;Otherwise it is determined as not by wall.
It is determining after wall, is needing to subtract cabinet body overall size parameter adjusted into the preset closing in ruler by wall one side
Very little parameter obtains cabinet body overall size parameter to be split, if wall is leaned on both sides, this both sides is required to subtract preset closing in size
Parameter, if wall is not leaned on, using cabinet body overall size parameter adjusted as cabinet body overall size parameter to be split;Then according to cabinet body
The quantity of variable dimension unit global parameter carried out to cabinet body overall size parameter to be split control the size tune of the cabinet body
It is whole;That is, the overall size parameter of the immutable unit of cabinet body size is subtracted first with equal segmentation cabinet body overall size parameter, thus
To needing to divide overall size parameter, then needs to divide overall size parameter in utilization and variable dimension unit is split.
In specific implementation process of the present invention, when segmentation, needs to consider the reasonability after segmentation, if desired adjust
The size total amount increasedd or decreased in whole size is larger, then needs to consider to increase an assembled unit when segmentation or subtract
A few assembled unit.
Concrete example is as follows, accordingly across gate cell be may determine that mould group by wall mode and make corresponding closing in
Variation, when judge one unit cabinet it is therein on one side by wall when, while when can judge another direction by wall, sentenced by inputting
Break to make instructing automatically and use formula: " right ": "=0 ", " left ": "=0 " (the right 0, the left side 0) makes corresponding
Parameters variation, order needed for completing.
The width dimensions of multiple unit combinations are 3000mm, are composed of 2 units, each unit is that size is respectively
1500mm.It needs overall size to be revised as 3500mm now, it is specified that following base cabinet is constant, the Top Tank of top increases 500mm, increases
In addition wall is leaned on afterwards, then increases preset closing in 50mm automatically, former Top Tank then needs to increase a door, then carries out respectively 3450mm wide
Degree.
Wherein, Json literary style part, such as combination sideboard, wardrobe _ YGTMK58;Divide ordered series of numbers ratio be 1 to 1 to 1 ("
XXFG ": " 1,1,1 "), control cabinet ratio arranges for 3, (" SL ": " 3 "), divide formula:
Assuming that the unit cabinet parameter of first row is X1: so judging when ration of division Y is greater than some value C, then result
It is exactly some value A, is otherwise some value B, X1=if (Y > C, A, B);
Assuming that the unit cabinet parameter of secondary series is X2: so judging when ration of division Y2 is greater than some value C, then result
It is exactly some value A1, is otherwise some value B1, X2=if (Y2 > C, A1, B1);
Assuming that tertial unit cabinet parameter is X3: so judging when ration of division Y3 is greater than some value C, then result
It is exactly some value A2, is otherwise some value B2, X3=if (Y3 > C, A2, B2);
Assuming that judging the total columns proportionate relationship of scheme for Z, columns is judged for S, if columns is equal to 2 results and is equal to X1+
X2 is equal to X1+X2+X3+X4 equal to 4 with regard to X1+X2+X3 result if result is equal to 3, is otherwise 0.
Joint segmentation formula is as follows: Z=if (S=2, X1+X2, if (S=3, X1+X2+X3, if (S=4, X1+X2+X3+
X4,0)))"。
The width of first row is obtained by the parameter calculation unit cabinet of scheme
One size formula of control unit cabinet:
Assuming that cabinet width is W, judgement is that result is that ratio divides Y1 divided by certain as Mr. Yus' value A such as first row parameter X1
Value B, if otherwise wait the Mr. Yus value A such as Mr. Yus' value A1- X1, result is that otherwise ratio Y1 is certain value C divided by certain value B, then subtract
Judgement is that result is that otherwise ratio segmentation Y2 is certain value C divided by certain value B, then subtract and sentence as Mr. Yus' value A such as secondary series parameter X2
The disconnected Mr. Yus' value A such as third column parameter X3 that work as are otherwise it is certain value C, divided by total ordered series of numbers that result, which is that ratio divides Y3 divided by certain value B,
Proportionate relationship Z multiplies in ratio Y1, W=if (X1=A, Y1/B, (A1-if (X1=A, Y1/B, C)-if (X2=A, Y2/B, C)-
If (X3=A, Y3/B, C))/Z*Y1) ".
The width of secondary series is obtained by the parameter calculation unit cabinet of scheme
Two size formula of control unit cabinet:
Assuming that cabinet width is W, judgement is that result is that ratio divides Y2 divided by certain as Mr. Yus' value A such as first row parameter X2
Value B, if otherwise wait the Mr. Yus value A such as Mr. Yus' value A1- X1, result is that otherwise ratio Y1 is certain value C divided by certain value B, then subtract
Judgement is that result is that otherwise ratio segmentation Y2 is certain value C divided by certain value B, then subtract and sentence as Mr. Yus' value A such as secondary series parameter X2
The disconnected Mr. Yus' value A such as third column parameter X3 that work as are otherwise it is certain value C, divided by total ordered series of numbers that result, which is that ratio divides Y3 divided by certain value B,
Proportionate relationship Z multiplies in ratio Y2;W=if (X2=A, Y/B, (A1-if (X1=A, Y/B, C)-if (X2=A, Y2/B, C)-if
(X3=A, Y3/B, C))/Z*Y2) ".
Tertial width is obtained by the parameter calculation unit cabinet of scheme
Three size formula of control unit cabinet:
Assuming that cabinet width is W, judgement is that result is that ratio divides Y3 divided by certain as Mr. Yus' value A such as first row parameter X3
Value B, if otherwise wait the Mr. Yus value A such as Mr. Yus' value A1- X1, result is that otherwise ratio Y1 is certain value C divided by certain value B, then subtract
Judgement is that result is that otherwise ratio segmentation Y2 is certain value C divided by certain value B, then subtract and sentence as Mr. Yus' value A such as secondary series parameter X2
The disconnected Mr. Yus' value A such as third column parameter X3 that work as are otherwise it is certain value C, divided by total ordered series of numbers that result, which is that ratio divides Y3 divided by certain value B,
Proportionate relationship Z multiplies in ratio Y3;W=if (X3=A, Y/B, (A1-if (X1=A, Y/B, C)-if (X2=A, Y2/B, C)-if
(X3=A, Y3/B, C))/Z*Y3) ".
In embodiments of the present invention, when adjusting the overall dimensions of cabinet body, employment can be saved and go to calculate from unit one by one
Cabinet carries out size adjusting, thus reduces the difficulty of operation, improves working efficiency.
Embodiment
Referring to Fig. 2, Fig. 2 is the scheme combination global parameter control device based on multiple units in the embodiment of the present invention
Structure composition schematic diagram.
As shown in Fig. 2, a kind of scheme based on multiple units combines global parameter control device, described device includes:
Instruction acquisition module 21: for obtaining cabinet body change in size parameter instruction, the cabinet body change in size parameter instruction
For controlling cabinet body change in size;
In specific implementation process of the present invention, which is user in the corresponding of corresponding terminal
The dimensional parameters of required adjustment on interface, then one cabinet body change in size parameter instruction of the interface auto-generating, that is, pass through
The processing such as the encapsulation instructed to the dimensional parameters that the needs of user's input adjust, form the parameter instruction of cabinet body change in size;
Further, the cabinet body change in size parameter instruction is for controlling cabinet body change in size.
Quantity determining module 22: the number of the variable dimension unit in original assembled unit for determining the cabinet body
Amount;
Variable dimension in specific implementation process of the present invention, in original assembled unit of the determination cabinet body
The quantity of unit, comprising: determine the quantity of original assembled unit in the cabinet body, and based on being in original assembled unit
It is no there are sizes can not changed factor;Have if it exists size can not changed factor when, then original assembled unit be size
It can not change unit;Quantity and the size based on original assembled unit can not change unit quantity, determine described in
The quantity of variable dimension unit in original assembled unit of cabinet body.
Further, the size can not changed factor include be not limited to drawer present in original assembled unit.
Specifically, each cabinet body is made of different assembled units, and in these assembled units there may be
Certain factors cause the size of certain assembled units that can not change, and therefore, it is necessary to first confirm that group present in the cabinet body
Close the quantity of unit, then assembled unit one by one go to be confirmed whether there are size can not changed factor, have size if it exists
Can not changed factor when, then confirm the assembled unit be size can not change unit, and be marked, finally count size
Can not change unit quantity;Then using the quantity of original assembled unit subtract size can not the quantity of change unit determine
The quantity of variable dimension unit in original assembled unit of the cabinet body.
Wherein, it is very little can not changed factor include being not limited to drawer present in original assembled unit or user is customized
Can not reason of changes situations such as.
Size adjustment module 23: for the variable dimension according to the cabinet body change in size parameter instruction, the cabinet body
The quantity of unit carries out the size adjusting that global parameter controls the cabinet body.
It is described according to the cabinet body change in size parameter instruction, the ruler of the cabinet body in specific implementation process of the present invention
The quantity of very little alterable unit carries out the size adjusting that global parameter controls the cabinet body, comprising: is become based on the cabinet body size
Change parameter instruction to be adjusted the overall size of the cabinet body, obtains cabinet body overall size parameter adjusted;Judge adjusted
Whether cabinet body overall size parameter leans on wall;If leaning on wall, the cabinet body overall size parameter adjusted is subtracted into preset closing in ruler
Very little parameter obtains cabinet body overall size parameter to be split, if not lean on wall, using the cabinet body overall size parameter adjusted as to
Divide cabinet body overall size parameter;The quantity of variable dimension unit based on the cabinet body to cabinet body overall size parameter to be split into
Row global parameter controls the size adjusting of the cabinet body.
Further, described to judge whether cabinet body overall size parameter adjusted leans on wall, comprising: cabinet body adjusted is total
Whether the width multilevel iudge of dimensional parameters and the wall of measurement leans on wall;Wherein, by wall include the left side by wall or the right by wall or
Wall is leaned on the left side and the right.
Further, the cabinet body overall size parameter to be split be equal to the cabinet body in size can not change unit ruler
The sum of very little parameter and variable dimension unit size parameter.
Further, the quantity of the variable dimension unit based on the cabinet body is to cabinet body overall size parameter to be split
Carry out the size adjusting that global parameter controls the cabinet body, comprising: the overall size parameter to be split is subtracted into the cabinet body
Can not change unit overall size, acquisition need to divide overall size parameter;The number of variable dimension unit based on the cabinet body
Amount carries out the size tune that global parameter controls each variable dimension unit of the cabinet body to needing to divide overall size parameter
It is whole.
Specifically, in embodiments of the present invention, being controlled all formula etc., being passed through using json global parameter
Json global parameter controls parameters of formula, and determine instruction makes corresponding Parameters variation, complete required order.
Accordingly across gate cell be may determine that mould group by wall mode and make corresponding variation of closing up, when judging one
When a unit cabinet therein leans on wall on one side, while when another direction can be judged by wall, finger is made by input judgement automatically
It enables, makes corresponding Parameters variation, order needed for completing.
Firstly, it is necessary to which more the parameter instruction of cabinet body change in size carrys out the adjustment to cabinet body progress overall dimension, if cabinet
The parameter instruction of body change in size is to increase size, then passes through the required increased size in the parameter instruction of cabinet body change in size
It is added with the original overall size of cabinet body, to obtain cabinet body overall size parameter adjusted;If cabinet body change in size is joined
Number instruction, then by the size of reduction required for the acquisition in the parameter instruction of cabinet body change in size, utilizes cabinet to reduce size
The size of reduction required for the original overall size of body subtracts is to obtain cabinet body overall size parameter adjusted.
After obtaining cabinet body overall size parameter adjusted, whether need to judge the cabinet body overall size parameter adjusted
By wall, specifically judge whether it is by sentencing cabinet body overall size parameter adjusted compared with the width of the wall of measurement by wall
It is disconnected whether to lean on wall, if cabinet body overall size parameter adjusted differ compared with the width of the wall of measurement distance less than it is preset away from
From, then be judged as by wall, and wall is leaned on the left side and the right, the preset distance be the customized distance of user, generally 50mm, if
Cabinet body overall size parameter adjusted differs distance compared with the width of the wall of measurement and is greater than preset distance, then needs to judge
The cabinet body is designed by wall design or the right by wall according to the left side, to determine the cabinet body overall size parameter adjusted for the right side
Wall or left side Kao Qiang are depended in side;Otherwise it is determined as not by wall.
It is determining after wall, is needing to subtract cabinet body overall size parameter adjusted into the preset closing in ruler by wall one side
Very little parameter obtains cabinet body overall size parameter to be split, if wall is leaned on both sides, this both sides is required to subtract preset closing in size
Parameter, if wall is not leaned on, using cabinet body overall size parameter adjusted as cabinet body overall size parameter to be split;Then according to cabinet body
The quantity of variable dimension unit global parameter carried out to cabinet body overall size parameter to be split control the size tune of the cabinet body
It is whole;That is, the overall size parameter of the immutable unit of cabinet body size is subtracted first with equal segmentation cabinet body overall size parameter, thus
To needing to divide overall size parameter, then needs to divide overall size parameter in utilization and variable dimension unit is split.
In specific implementation process of the present invention, when segmentation, needs to consider the reasonability after segmentation, if desired adjust
The size total amount increasedd or decreased in whole size is larger, then needs to consider to increase an assembled unit when segmentation or subtract
A few assembled unit.
Embodiment
A kind of computer readable storage medium provided in an embodiment of the present invention stores on the computer readable storage medium
There is computer program, which realizes that the scheme combination of any one embodiment in above-described embodiment is global when being executed by processor
Parameter control method.Wherein, the computer readable storage medium includes but is not limited to that any kind of disk is (including floppy disk, hard
Disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, read-only memory), RAM (Random AcceSS
Memory, immediately memory), EPROM (EraSable Programmable Read-Only Memory, erasable programmable
Read-only memory), EEPROM (Electrically EraSable ProgrammableRead-Only Memory, electrically erasable
Programmable read only memory), flash memory, magnetic card or light card.It is, storage equipment includes by equipment (for example, calculating
Machine, mobile phone) with any medium for the form storage or transmission information that can be read, it can be read-only memory, disk or CD etc..
The embodiment of the invention also provides a kind of computer applied algorithm, the computer application on computers is run
Program is used to execute the scheme combination global parameter control method of any one embodiment among the above.
In addition, the embodiment of the invention also provides intelligent terminal, as shown in Figure 3.Intelligent terminal shown in this implementation can be with
For equipment such as PC equipment, server, tablet computer or mobile terminals.The computer equipment includes processor 302, memory
303, the devices such as input unit 304 and display unit 305.It will be understood by those skilled in the art that the device structure shown in Fig. 3
Device does not constitute the restriction to all devices, may include than illustrating more or fewer components, or the certain components of combination.
Memory 303 can be used for storing application program 301 and each functional module, and the operation of processor 302 is stored in answering for memory 303
With program 301, thereby executing the various function application and data processing of equipment.Memory can be built-in storage or external storage
Device, or including both built-in storage and external memory.Built-in storage may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory or random storage
Device.External memory may include hard disk, floppy disk, ZIP disk, USB flash disk, tape etc..Memory disclosed in this invention includes but unlimited
In the memory of these types.Memory disclosed in this invention is only used as example rather than as restriction.
Input unit 304 is used to receive the input of signal, and receives the keyword of user's input.Input unit 304 can
Including touch panel and other input equipments.Touch panel collects the touch operation of user on it or nearby and (for example uses
Family uses the operations of any suitable object or attachment on touch panel or near touch panel such as finger, stylus), and root
According to the corresponding attachment device of preset driven by program;Other input equipments can include but is not limited to physical keyboard, function
One of key (such as broadcasting control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.Display unit
305 can be used for showing the information of user's input or be supplied to the information of user and the various menus of terminal device.Display unit
305 can be used the forms such as liquid crystal display, Organic Light Emitting Diode.Processor 302 is the control centre of terminal device, using each
The various pieces of kind interface and connection whole equipment, by running or executing the software program being stored in memory 302
And/or module, and the data being stored in memory are called, perform various functions and handle data.
As one embodiment, the intelligent terminal includes: one or more processors 302, memory 303, one or
Multiple application programs 301, wherein one or more of application programs 301 be stored in memory 303 and be configured as by
One or more of processors 302 execute, and one or more of programs 301 are configured to carry out appointing in above-described embodiment
Scheme in an embodiment of anticipating pair combines global parameter control method.
In embodiments of the present invention, when adjusting the overall dimensions of cabinet body, employment can be saved and go to calculate from unit one by one
Cabinet carries out size adjusting, thus reduces the difficulty of operation, improves working efficiency.
In addition, being provided for the embodiments of the invention a kind of scheme combination global parameter control based on multiple units above
Method is described in detail, herein should use a specific example illustrates the principle and implementation of the invention,
The above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile for the one of this field
As technical staff, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, to sum up institute
It states, the contents of this specification are not to be construed as limiting the invention.
Claims (7)
1. a kind of scheme based on multiple units combines global parameter control method, which is characterized in that the described method includes:
The parameter instruction of cabinet body change in size is obtained, the cabinet body change in size parameter instruction is for controlling cabinet body change in size;
Determine the quantity of the variable dimension unit in original assembled unit of the cabinet body;
Global parameter control is carried out according to the quantity of the cabinet body change in size parameter instruction, the variable dimension unit of the cabinet body
Make the size adjusting of the cabinet body.
2. scheme according to claim 1 combines global parameter control method, which is characterized in that the determination cabinet body
Original assembled unit in variable dimension unit quantity, comprising:
It determines the quantity of original assembled unit in the cabinet body, and has size based on whether there is in original assembled unit
It can not changed factor;
Have if it exists size can not changed factor when, then original assembled unit be size can not change unit;
Quantity and the size based on original assembled unit can not change unit quantity, determine the original of the cabinet body
Assembled unit in variable dimension unit quantity.
3. scheme according to claim 2 combines global parameter control method, which is characterized in that the size can not change
The factor includes being not limited to drawer present in original assembled unit.
4. scheme according to claim 1 combines global parameter control method, which is characterized in that described according to the cabinet body
Change in size parameter instruction, the cabinet body the quantity of variable dimension unit carry out global parameter and control the size of the cabinet body
Adjustment, comprising:
The overall size of the cabinet body is adjusted based on the cabinet body change in size parameter instruction, it is total to obtain cabinet body adjusted
Dimensional parameters;
Judge whether cabinet body overall size parameter adjusted leans on wall;
If leaning on wall, the cabinet body overall size parameter adjusted is subtracted into preset closing in dimensional parameters, obtains cabinet to be split
Body overall size parameter, if wall is not leaned on, using the cabinet body overall size parameter adjusted as cabinet body overall size parameter to be split;
The quantity of variable dimension unit based on the cabinet body carries out global parameter control to cabinet body overall size parameter to be split
The size adjusting of the cabinet body.
5. scheme according to claim 4 combines global parameter control method, which is characterized in that the judgement is adjusted
Whether cabinet body overall size parameter leans on wall, comprising:
Whether the width multilevel iudge of cabinet body overall size parameter adjusted and the wall of measurement is leaned on into wall;
It wherein, include that the left side leans on wall or the right to lean on wall by wall or the left side and the right by wall.
6. scheme according to claim 4 combines global parameter control method, which is characterized in that the cabinet body to be split is total
Dimensional parameters be equal to the cabinet body in size can not change unit dimensional parameters and variable dimension unit size parameter it
With.
7. scheme according to claim 4 combines global parameter control method, which is characterized in that described to be based on the cabinet body
The quantity of variable dimension unit global parameter carried out to cabinet body overall size parameter to be split control the size tune of the cabinet body
It is whole, comprising:
By the overall size parameter to be split subtract the cabinet body can not change unit overall size, acquisition need to divide total ruler
Very little parameter;
The quantity of variable dimension unit based on the cabinet body carries out global parameter control institute to needing to divide overall size parameter
State the size adjusting of each variable dimension unit of cabinet body.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910625844.8A CN110390150B (en) | 2019-07-11 | 2019-07-11 | Scheme combination global parameter control method based on multiple units |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910625844.8A CN110390150B (en) | 2019-07-11 | 2019-07-11 | Scheme combination global parameter control method based on multiple units |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110390150A true CN110390150A (en) | 2019-10-29 |
CN110390150B CN110390150B (en) | 2023-05-12 |
Family
ID=68286479
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910625844.8A Active CN110390150B (en) | 2019-07-11 | 2019-07-11 | Scheme combination global parameter control method based on multiple units |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110390150B (en) |
Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1269040A (en) * | 1997-05-23 | 2000-10-04 | 3-设计有限公司 | Reference based parametric dimensioning method and system |
JP2007317097A (en) * | 2006-05-29 | 2007-12-06 | Dainippon Ink & Chem Inc | Design device, design method, and program and recording medium thereof |
CN102254053A (en) * | 2010-05-20 | 2011-11-23 | 北京大学 | Parameterization design method and system based on assembly assembling |
CN103544343A (en) * | 2013-10-08 | 2014-01-29 | 南京航空航天大学 | Serialized and parameterized modeling method of power chuck |
CN203423884U (en) * | 2013-08-29 | 2014-02-05 | 陕西海泰电子有限责任公司 | Modularization machine cabinet unit and combined type machine cabinet |
CN103955577A (en) * | 2014-04-24 | 2014-07-30 | 金丰(中国)机械工业有限公司 | Computer automatic design method for mechanical equipment |
CN104318042A (en) * | 2014-11-20 | 2015-01-28 | 江苏中佑石油机械科技有限责任公司 | Home design system |
CN104376152A (en) * | 2014-10-31 | 2015-02-25 | 北京宇航系统工程研究所 | Parametric modeling and labeling method |
CN104615828A (en) * | 2015-02-05 | 2015-05-13 | 北京尔宜居科技有限责任公司 | Method for generating design scheme of panel furniture |
CN104820742A (en) * | 2015-04-28 | 2015-08-05 | 王文谦 | Method for automatically drawing standard fan coil manufacturing drawings |
CN105183972A (en) * | 2015-08-31 | 2015-12-23 | 索菲亚家居股份有限公司 | Generation method and apparatus for panel-type furniture design scheme |
CN105335543A (en) * | 2014-08-08 | 2016-02-17 | 三纬国际立体列印科技股份有限公司 | 3D object segmentation method and computer system |
EP2993599A1 (en) * | 2014-09-05 | 2016-03-09 | Beijing Eryiju Technology Co., Ltd | Method for generating design scheme of kitchen |
CN105787230A (en) * | 2016-05-26 | 2016-07-20 | 河南联加网络科技有限公司 | Home simulation design system and method |
CN106096153A (en) * | 2016-06-16 | 2016-11-09 | 上海营匠网络科技有限公司 | Indoor decoration outdoor scene is experienced scene and is provided method and system |
CN107122560A (en) * | 2017-05-09 | 2017-09-01 | 深圳策动科技有限公司 | The self-service design system of online 3D box-type furnitures |
CN107315876A (en) * | 2017-06-27 | 2017-11-03 | 中建局集团建设发展有限公司 | A kind of parametric modeling production method of precast beam |
CN107615281A (en) * | 2016-02-02 | 2018-01-19 | 多曼兹株式会社 | Use the design having furniture made to order and manufacture method, system and the program for it of computer |
CN108304650A (en) * | 2018-01-31 | 2018-07-20 | 广东三维家信息科技有限公司 | A kind of cabinet wardrobe 3D design methods based on driving parameter algorithm |
-
2019
- 2019-07-11 CN CN201910625844.8A patent/CN110390150B/en active Active
Patent Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1269040A (en) * | 1997-05-23 | 2000-10-04 | 3-设计有限公司 | Reference based parametric dimensioning method and system |
JP2007317097A (en) * | 2006-05-29 | 2007-12-06 | Dainippon Ink & Chem Inc | Design device, design method, and program and recording medium thereof |
CN102254053A (en) * | 2010-05-20 | 2011-11-23 | 北京大学 | Parameterization design method and system based on assembly assembling |
CN203423884U (en) * | 2013-08-29 | 2014-02-05 | 陕西海泰电子有限责任公司 | Modularization machine cabinet unit and combined type machine cabinet |
CN103544343A (en) * | 2013-10-08 | 2014-01-29 | 南京航空航天大学 | Serialized and parameterized modeling method of power chuck |
CN103955577A (en) * | 2014-04-24 | 2014-07-30 | 金丰(中国)机械工业有限公司 | Computer automatic design method for mechanical equipment |
CN105335543A (en) * | 2014-08-08 | 2016-02-17 | 三纬国际立体列印科技股份有限公司 | 3D object segmentation method and computer system |
EP2993599A1 (en) * | 2014-09-05 | 2016-03-09 | Beijing Eryiju Technology Co., Ltd | Method for generating design scheme of kitchen |
CN104376152A (en) * | 2014-10-31 | 2015-02-25 | 北京宇航系统工程研究所 | Parametric modeling and labeling method |
CN104318042A (en) * | 2014-11-20 | 2015-01-28 | 江苏中佑石油机械科技有限责任公司 | Home design system |
CN104615828A (en) * | 2015-02-05 | 2015-05-13 | 北京尔宜居科技有限责任公司 | Method for generating design scheme of panel furniture |
CN104820742A (en) * | 2015-04-28 | 2015-08-05 | 王文谦 | Method for automatically drawing standard fan coil manufacturing drawings |
CN105183972A (en) * | 2015-08-31 | 2015-12-23 | 索菲亚家居股份有限公司 | Generation method and apparatus for panel-type furniture design scheme |
CN107615281A (en) * | 2016-02-02 | 2018-01-19 | 多曼兹株式会社 | Use the design having furniture made to order and manufacture method, system and the program for it of computer |
CN105787230A (en) * | 2016-05-26 | 2016-07-20 | 河南联加网络科技有限公司 | Home simulation design system and method |
CN106096153A (en) * | 2016-06-16 | 2016-11-09 | 上海营匠网络科技有限公司 | Indoor decoration outdoor scene is experienced scene and is provided method and system |
CN107122560A (en) * | 2017-05-09 | 2017-09-01 | 深圳策动科技有限公司 | The self-service design system of online 3D box-type furnitures |
CN107315876A (en) * | 2017-06-27 | 2017-11-03 | 中建局集团建设发展有限公司 | A kind of parametric modeling production method of precast beam |
CN108304650A (en) * | 2018-01-31 | 2018-07-20 | 广东三维家信息科技有限公司 | A kind of cabinet wardrobe 3D design methods based on driving parameter algorithm |
Non-Patent Citations (1)
Title |
---|
孙妍: "柜类板式家具参数化设计方法及应用的研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅰ辑》 * |
Also Published As
Publication number | Publication date |
---|---|
CN110390150B (en) | 2023-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Todi et al. | Sketchplore: Sketch and explore with a layout optimiser | |
CN106843739B (en) | A kind of display control method and mobile terminal of mobile terminal | |
KR101541928B1 (en) | visual feedback display | |
US20110191344A1 (en) | Automatic organization of browsing histories | |
US20120226977A1 (en) | System and method for touchscreen knob control | |
WO2010127147A2 (en) | Keyboard for a portable computing device | |
US9489365B2 (en) | User interface for visualizing resizing of table elements | |
CN106527849A (en) | Method for regulating icon position, and mobile terminal | |
CN107704157B (en) | Multi-screen interface operation method and device and storage medium | |
US11029833B2 (en) | Numerical value determination method, numerical value determination apparatus, electronic device and storage medium | |
CN109893852A (en) | Interface information processing method and processing device | |
JP2023530395A (en) | APP ICON CONTROL METHOD, APPARATUS AND ELECTRONIC DEVICE | |
CN106293428A (en) | The characters input method of touch control terminal | |
EP3508966A1 (en) | Household appliance control method and device, and washing machine | |
CN112667328A (en) | Stock quote device and method with multiple graphic user interface | |
CN110390150A (en) | A kind of scheme combination global parameter control method based on multiple units | |
Gladisch et al. | Semi‐automatic editing of graphs with customized layouts | |
CN103399662B (en) | A kind of touch-screen that processes reports the method for coordinate event, system and mobile terminal | |
CN103268189A (en) | Method and system for realizing scroll bar on user interface of player | |
US9626067B2 (en) | Modifying positions of on-canvas objects | |
US20150253980A1 (en) | Information processing method and electronic device | |
Hertzum et al. | Input techniques that dynamically change their cursor activation area: A comparison of bubble and cell cursors | |
US20170011038A1 (en) | System and method for multiple factor sorting and user interface thereof | |
CN103970291A (en) | Mobile terminal | |
CN108307044B (en) | A kind of terminal operation method and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |