CN109814850A - The intelligent warehouse compartment recommender system and method for rule-based engine and geometry optimization - Google Patents

The intelligent warehouse compartment recommender system and method for rule-based engine and geometry optimization Download PDF

Info

Publication number
CN109814850A
CN109814850A CN201711158661.7A CN201711158661A CN109814850A CN 109814850 A CN109814850 A CN 109814850A CN 201711158661 A CN201711158661 A CN 201711158661A CN 109814850 A CN109814850 A CN 109814850A
Authority
CN
China
Prior art keywords
coil
rule
strip
saddle
warehouse compartment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711158661.7A
Other languages
Chinese (zh)
Inventor
许培培
杨海荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Baosight Software Co Ltd
Original Assignee
Shanghai Baosight Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Baosight Software Co Ltd filed Critical Shanghai Baosight Software Co Ltd
Priority to CN201711158661.7A priority Critical patent/CN109814850A/en
Publication of CN109814850A publication Critical patent/CN109814850A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The present invention provides the intelligent warehouse compartment recommender systems and method of a kind of rule-based engine and geometry optimization, include the fact that library and rule base are write: according to coil of strip warehouse compartment recommendation rules, writing the fact that reservoir area coil of strip is stacked library and rule base;Recommend zonule: according to factbase and rule base, rule being parsed, matched and is executed using forward reasoning mechanism;Saddle stowed location is recommended: stacking rule according to waveform saddle, judges and recommend the waveform saddle stowed location for meeting stacking condition out.It can make to recommend the disposable recommendation success rate of reservoir area zonule to reach 97% for coil of strip, recommend without repeating, the flexibility and adaptability of software system development can be improved.The storage capacity for improving reservoir area simultaneously, increases the storage capacity of reservoir area, the coil of strip storage capacity of reservoir area can be improved 15%-20%.

Description

The intelligent warehouse compartment recommender system and method for rule-based engine and geometry optimization
Technical field
The present invention relates to logistics management technical fields, and in particular, to a kind of intelligence of rule-based engine and geometry optimization It can warehouse compartment recommender system and method.
Background technique
With industry 4.0 and wisdom manufacturing philosophy proposition, modern industry in warehouse logistics intelligent management, efficiently Property operation put forward higher requirements.In steel and iron manufacturing industry, driving is the important component in its production.And with unmanned The it is proposed automatically driven a vehicle with put into operation, greatly reduce the investment of manpower, improve industrial product stream efficiency, improve and make The safety production environment in industry workshop realizes reservoir area manless production.It uses computer software control technology, according to what is received Execute instruction coil of strip raw material is put in storage, is produced, the tasks such as outbound, realize to the full-automatic management during material production. Wherein, in the storage of coil of strip raw material, full-automatic unmanned driving system (UACS) is needed to be assigned to the finger of driving coil of strip placement position It enables, target position is hoisted to by full-automatic unmanned driving, warehouse compartment when realizing to coil of strip material storage is recommended, to realize To the optimal utilization in reservoir area space.Therefore, in the model function of full-automatic unmanned driving system (UACS), when model receives When the computation requests that the warehouse compartment of coil of strip is recommended, the warehouse compartment recommended models of calling system are needed, according to coil of strip information etc. to be put in storage Recommend suitable reservoir area and location of saddle support for it, reach the optimal utilization to reservoir area storage capacity, realizes the library of high efficiency, high security Area's unmanned management.
Since in the storehouse management of coil of strip, there is a large amount of flexible and changeable for storage and managenent of the different warehouses to coil of strip Warehouse compartment recommendation rules.In traditional coil of strip warehouse compartment recommended method design, the rule recommended for coil of strip warehouse compartment changes and optimizes, It is all the variation by the function of modification software systems to adapt to rule, service logic and code logic is mixed in together, this Kind of mode there are maintenance periods it is long, at high cost, risk is big the features such as.
Summary of the invention
For the defects in the prior art, the object of the present invention is to provide the intelligence of a kind of rule-based engine and geometry optimization It can warehouse compartment recommender system and method.
The intelligent warehouse compartment recommender system of a kind of rule-based engine and geometry optimization that provide according to the present invention, comprising:
Factbase and rule base write module: according to coil of strip warehouse compartment recommendation rules, writing the fact that reservoir area coil of strip is stacked library And rule base;
Zonule recommending module: according to factbase and rule base, rule is parsed using forward reasoning mechanism, is matched And it executes;
Saddle stowed location recommending module: rule is stacked according to waveform saddle, judges and recommends to meet stacking condition out Waveform saddle stowed location.
Preferably, further include:
Bilayer stacks saddle selecting module: stacking rule according to coil of strip bilayer, judges and recommend to meet stacking condition out Saddle.
Preferably, it is to be write based on Pyke regulation engine that the factbase and rule base, which write module, factbase and rule Library is all based on prolog and writes, wherein factbase saves the coil of strip warehouse compartment recommendation rules for being directed to different coil of strip warehouses, rule What then library saved is to generate the fact that coil of strip recommends next reservoir area under conditions of satisfaction piles with a reservoir area according to factbase Example.
Preferably, the zonule recommending module reads the rule set in rule base, and rule parsing is carried out to rule set, Then factbase is matched, and agenda is imported in the state of successful match, and be ranked up to rule set by agenda, generates rule Then example, interface engine executing rule example, implementing result import application program.
Preferably, the saddle stowed location recommending module is from zonule behind the zonule for judging coil of strip placement Calibration coordinate origin start stack coil of strip, and judge coil of strip to be put in storage current location stack whether with other coil of strip phases Mutually squeeze, convert rectangular stacking problem, judge rectangle to be stacked current location place whether with stacked rectangle intersection, The X-coordinate for having stacked the upper right corner of rectangle is assigned to the X-coordinate in the lower left corner of rectangle to be stacked in the state of intersection, is changed simultaneously The coordinate for becoming rectangle to be stacked judges and selects the maximum placement position of space utilization rate.
Preferably, double-deck stack regular according to the stacking of coil of strip bilayer based on saddle selecting module includes five, It is high to Low successively by priority are as follows: to judge to whether there is lower layer's two steel to be pressed in instruction catalogue and instruction sequences table in database Whether the outer diameter difference for rolling up, judging coil of strip to be put in storage and lower layer's coil of strip meets, judges the weight and lower layer's coil of strip of coil of strip to be put in storage Whether weight difference meets, judges the width of coil of strip to be put in storage and whether the width difference of lower layer coil of strip meets, and judges wait be put in storage Whether the contract number of coil of strip is identical as the contract number of lower layer's coil of strip.
Preferably, being given up if stacking rule according to five coil of strip bilayers does not elect suitable saddle according to priority The rule of lowermost level is gone, then recommends suitable saddle out, and so on.
Preferably, further include:
Calling interface module: being communicated between full-automatic unmannedization driving system, the stacking saddle that will recommend for coil of strip The instruction that seat is set generates driving handling instruction and is sent to driving.
The intelligent warehouse compartment recommended method of a kind of rule-based engine and geometry optimization that provide according to the present invention, comprising:
Factbase and rule base write step: according to coil of strip warehouse compartment recommendation rules, writing the fact that reservoir area coil of strip is stacked library And rule base;
Zonule recommendation step: according to factbase and rule base, rule is parsed using forward reasoning mechanism, is matched And it executes.
Preferably, further include:
Saddle stowed location recommendation step: rule is stacked according to waveform saddle, judges and recommends to meet stacking condition out Waveform saddle stowed location;
Bilayer stacks saddle and selects step: stacking rule according to coil of strip bilayer, judges and recommend to meet stacking condition out Saddle.
Compared with prior art, the present invention have it is following the utility model has the advantages that
It, can by using the intelligent warehouse compartment recommender system and method for rule-based engine proposed by the present invention and geometry optimization Make to recommend the disposable recommendation success rate of reservoir area zonule to reach 97% for coil of strip, recommends without repeating, software system can be improved The flexibility and adaptability of system exploitation reduce the code revision of the increased software system function of variation because of warehouse compartment recommendation rules, Service logic is recommended to provide a kind of flexible, dynamic realization mechanism for warehouse compartment, so that the software systems have more extensive behaviour The property made and applicability.
Meanwhile the proposition of geometry optimization algorithm and the double-deck stacking mode, the storage capacity of reservoir area is improved, depositing for reservoir area is increased The coil of strip storage capacity of reservoir area can be improved 15%-20% by energy storage power.The present invention can be widely applied for possessing full-automatic unmanned It drives a vehicle in the production operation flow process of reservoir area, for diversified warehouse compartment recommendation rules, recommends optimal saddle for coil of strip to be put in storage Seat stowed location, has a good application prospect.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention, Objects and advantages will become more apparent upon:
Fig. 1 is the work flow diagram that factbase and rule base write module;
Fig. 2 is the programming flowchart of zonule recommending module;
Fig. 3 is the programming flowchart of saddle stowed location recommending module;
Fig. 4 is the double-deck rectangular selection stowed location schematic diagram for stacking saddle selecting module;
Fig. 5 is the double-deck programming flowchart for stacking saddle selecting module;
Fig. 6 is the programming flowchart of calling interface module.
Specific embodiment
The present invention is described in detail combined with specific embodiments below.Following embodiment will be helpful to the technology of this field Personnel further understand the present invention, but the invention is not limited in any way.It should be pointed out that the ordinary skill of this field For personnel, without departing from the inventive concept of the premise, several changes and improvements can also be made.These belong to the present invention Protection scope.
The intelligent warehouse compartment recommender system of a kind of rule-based engine and geometry optimization provided by the invention, is in full-automatic nothing Peopleization driving system (UACS) starts after receiving the warehouse compartment recommendation request for being put in storage coil of strip, comprising: factbase and rule base are write Module, zonule recommending module, saddle stowed location recommending module, the double-deck stacking saddle selecting module and calling interface mould Block.
Factbase and rule base write module: according to coil of strip warehouse compartment recommendation rules, writing the fact that reservoir area coil of strip is stacked library And rule base.In the present embodiment, using the working principle of regulation engine, Pyke regulation engine is selected, i.e., according to the known fact With backward reasoning rule, it is inferred to the new fact or proves target conclusion, and Python function is accumulated backward reasoning " calling sequence figure " (" conceptual scheme ") of mode.The working principle of regulation engine be the true object that will currently be submitted in engine and The rule being loaded into engine is matched, those is activated to meet the rule of facts object, to be held according to defined in rule Action is made, and triggering application program makes a response.The work flow diagram that factbase and rule base write module is as shown in Figure 1.
Pyke regulation engine possesses different types of knowledge base, they are all based on prolog and write, including Factbase, rule base, problem base.Factbase is a kind of known facts, can be used as inspection other statement whether true evidence, Factbase is saved with the document form of .kfb;Rule base is the rule base being made of if-then rule language, they are regular Set runs their if-then rule, can determine whether a certain statement is true, may include forward reasoning in rule base And backward reasoning, rule base are saved with the document form of .krb;What problem base saved is the problem of needs to customer inquiries, and The review information of inspection and display to answer, problem base are saved with the document form of .kqb.The core of regulation engine includes rule Then define, rule parsing, rule match and rule execute, wherein rule-interpreter is responsible for the compiling form of definition rule, right Rule file is verified, is parsed, is executed, and simulation adaptation is qualified rule to be filtered from rule base, and submit to Agenda, agenda are then that its priority is reconfigured and assigned to rule set.In the present embodiment, forward direction is used in rule base Reasoning checks whether it matches with known implementation that is, since first regular if sentence, and then language is entered if matching Sentence enables this rule.Forward reasoning executes sequence, is subject to its number in .krb rule base, and prolog is write Rule base in foreach and assert replace and if then.
In the present embodiment, what factbase saved is the warehouse of steel roll provided by reservoir area operative employee for different coil of strip warehouses The rule that position is recommended, what rule base saved is to realize according to factbase and generate coil of strip under conditions of satisfaction piles with a reservoir area The fact that recommend next reservoir area example.By taking following warehouse compartment recommendation rules as an example:
It is then successively A4, A6, A7, A1, A3, A5 preferentially into the area A2 when milling train output is continuous annealing closing volume;
It is then successively A3, A5, A7, A2, A4, A6 preferentially into the area A1 when milling train output is hot dip closing volume;
According to above-mentioned warehouse compartment recommendation rules, write that factbase is as follows, and with the preservation of the document form of coil_area.kfb:
# carbon steel coil of strip type
coil_information(back_closed_coil,10080)
coil_information(hot_closed_coil,10081)
# continuous annealing closing volume
coil_area_ruler(back_closed_coil,0,A2,1)
coil_area_ruler(back_closed_coil,A2,A4,2)
coil_area_ruler(back_closed_coil,A4,A6,3)
coil_area_ruler(back_closed_coil,A6,A7,4)
coil_area_ruler(back_closed_coil,A7,A1,5)
coil_area_ruler(back_closed_coil,A1,A3,6)
coil_area_ruler(back_closed_coil,A3,A5,7)
# hot galvanizing closing volume
coil_area_ruler(hot_closed_coil,0,A1,1)
coil_area_ruler(hot_closed_coil,A1,A3,2)
coil_area_ruler(hot_closed_coil,A3,A5,3)
coil_area_ruler(hot_closed_coil,A5,A7,4)
coil_area_ruler(hot_closed_coil,A7,A2,5)
coil_area_ruler(hot_closed_coil,A2,A4,6)
coil_area_ruler(hot_closed_coil,A4,A6,7)
According to coil_area_ruler, (coil of strip type recommends region 1 to the format that factbase is write, and recommends region 2, preferably Which recommends region), such as coil_area_ruler (hot_closed_coil, A7, A2,5) the sentence expression in factbase Hot galvanizing closing volume can be deposited in the region A2 in the case where the region A7 piles with, and the region A2 is hot galvanizing closing volume in warehouse compartment The alternative area of 5th recommendation in recommendation rules.
In the present embodiment, according to above-mentioned factbase, redaction rule library is as follows, and with fc_area_recommend.krb Document form save:
# recommends first alternative reservoir area region
# recommends second alternative reservoir area region
Writing for rule base is write according to F-rule, and F-rule is activated in order to assert new fact Rule base is automatic running.In the writing of rule base language, two facts in factbase are read in foreach language Library, while and verify the mark number of the position the status in factbase, that is, verify the region be which it is alternative recommend region, then give birth to At the new true language of move_area, that is, recommend the corresponding alternative recommendation region the status.
Therefore, for the warehouse compartment recommendation rules of the multiplicity of the different different types of coil of strips in coil of strip warehouse, as long as according to reservoir area The warehouse compartment recommendation rules that operative employee provides, the fact that can write current reservoir area with any text editor library and rule base, tool There are higher flexibility and adaptability.
Zonule recommending module parses rule using forward reasoning mechanism, is matched according to factbase and rule base And execute, programming flowchart is as shown in Figure 2.According to factbase and rule base, using forward reasoning mechanism to rule It parsed, matched, executed, realized that coil of strip reservoir area heap in stacking process has been piled and then recommend next reservoir area.
The rule that warehouse compartment is recommended, i.e. reading fc_area_ are mainly executed in the recommending module of zonule Rule set in recommend.krb, and rule parsing is carried out to it, then carried out with the true library in coil_area.kfb Matching, if successful match can import agenda, and is ranked up rule set files by agenda, create-rule example, interface engine Executing rule example, implementing result import application program and implementing result are imported into answering for driver.py in the present embodiment With in program.In the application program, due to needing to parse to rule base, it is therefore desirable to import pyke third party library.Benefit The example for creating regulation engine with engine=knowledge_engine.engine (_ file_), and activate rule base engine.activate("fc_area_recommend").Definition fc_test (coil_kind, external_diameter, Width, status1=1) forward reasoning analytical function, in the function, with coil of strip type, coil of strip outer diameter, width of steel coil and Initial alternative first reservoir area is used as formal parameter, before three parameters can be according to coil of strip material number to be put in storage in coil of strip letter It is read in breath tables of data.First by fc_goal=goal.compile (' coil_area.move_area ($ coil_kind, $ area, status) ') under destination folder true library and rule base be compiled, utilize fc_goal.prove (engine, coil_kind=coil_kind, status=status1) verifies the rule of rule base, and looks at it Stop verifying after to first verification result, while verification result being returned.In the present embodiment, with fc_ is utilized The form of goal.prove (engine, coil_kind=coil_kind, status=status1) as gen is by verification result It is assigned to gen, the verification result returned is read by for vars, plan in gen, it is important to var [' area '] is read, Indicate the zonule that the rule recommended according to warehouse compartment is recommended.Generally, recommending zonule out is first alternative region.? It reads after recommending region, reads the reservoir area information that library figure defines the cell in tables of data, that is, read idle saddle and occupancy The number of saddle selects the region under conditions of meeting maximum storage capacity limitation.If being more than the limitation of maximum storage capacity, in this reality It applies in example, can check whether supported bilayer is stacked for the reservoir area, if supported bilayer is stacked, selection is double by the tables of data configured Layer heap mode playback, it is real by changing status mode bit if the mode that supported bilayer is not stacked, recommends next alternative area The selection of existing next alternative area, i.e. status_1=status1+1, returnfc_test (coil_kind, External_diameter, width, status=status_1).It is returned in the module and recommends reservoir area var [' area '], The region is the mode bit status1 of which alternative area.The catch that also passes through try in the module ... has carried out program different Often protection, enhances the robustness of program, and 1001 indicate that the steel grade of coil of strip to be put in storage is not present in return value, and 1002 indicate institute There is reservoir area all full.
Saddle stowed location recommending module: rule is stacked according to waveform saddle, judges and recommends to meet stacking condition out Waveform saddle stowed location, programming flowchart is as shown in Figure 3.For the waveform saddle in reservoir area, meeting Under conditions of the adjacent spacing that coil of strip is stacked, so that it is more compact between coil of strip and coil of strip that single layer is stacked, reach maximum space Utilization rate, so that the storage capacity of reservoir area is optimal.
Due to being all the saddle layout of one object of a ground in general reservoir area, the storage capacity of such reservoir area is constant number, i.e., Store the coil of strip of constant number.In order to expand reservoir area storage capacity, increase the storage capacity of reservoir area, reservoir area saddle design is waveform saddle Seat, therefore more coil of strips how are stacked in the reservoir area of certain area as key.Since coil of strip is on waveform saddle Therefore the stacking that stacking mode is similar to rectangle proposes under conditions of area is certain, how to select rectangle in the present invention Stowed location make space utilization rate highest, so that it is optimal to reach storage capacity, i.e., as shown in Figure 4 in, the rectangle of three dotted line frames Indicating the rectangle, there are three alternative stowed locations, are placed on which position could make (S1+S2+S3)/(max_length* Max_width) maximum.The primary function defined in the module is find_suit_pos (rect, rect_list, max_ Length, max_width, area_name, current_capacity), wherein rect indicates coil of strip to be put in storage, rect_ List indicates that the coil of strip stacked in recommended region, max_length indicate the maximum length in recommended region, max_ Width indicates that the maximum width in recommended region, area_name indicate the name in recommended region, current_ Capacity indicates the current garage capacity rate in recommended region.Geometric algorithm is mainly realized in the function, in the algorithm, with number According to X-coordinate defined in library of libraries graph region data information table, Y-coordinate is absolute coordinate, i.e., entire big reservoir area is as absolutely seat Region is marked, and using the zonule divided for coil of strip stowed location as relative coordinate region.The storage for receiving coil of strip every time is asked It,, all will be from the mark in zonule when recommending specific location of saddle support for coil of strip after judging zonule that coil of strip is placed when asking Fixed coordinate origin (relative coordinate) starts to stack coil of strip, and if judge coil of strip to be put in storage current location stack whether with its His coil of strip mutual extrusion, converts rectangular stacking problem, that is, the rectangle stacked four vertex (lower left corner, the upper left corner, bottom rights Angle, the upper right corner) initial coordinate be (0,0), (0, external_diameter), (width, 0), (width, external_ Diameter) if judgement rectangle current location place whether with other rectangle intersections.If intersection, will intersect the right side of rectangle The X-coordinate at upper angle is assigned to the seat that four points of the rectangle stacked are changed simultaneously by the X-coordinate in the lower left corner of stacking rectangle Mark is realized by the movement of the position of stacking rectangle, i.e. j=cross_rect.top_right.x, rect.lower_left.x= J, rect.change_rect ().It is stacked in programming by constantly changing the coordinate realization for the rectangle stacked Rectangle and other rectangles are non-intersecting, that is, coil of strip to be put in storage is deposited in current location and does not squeeze with any coil of strip.Meeting Under the conditions of rectangle is disjoint, the rectangle on this position is denoted as new_recommend_rect, the central point of rectangle is passed through The relative coordinate of zonule, i.e., is converted into the absolute coordinate in big region by coordinate conversion, and library figure saddle in the database Corresponding saddle is found in data information table, and if calculating space utilization rate ratio_ when coil of strip is placed on the saddle Saddle, by new position rectangle and space utilization rate save and be added in list, i.e. ratio_ in the form of tuples Saddle_rect_tuple=(ratio_saddle, new_recommend_rect), new_ratio_rect_ list.append(ratio_saddle_rect_tuple).According to aforesaid operations method, change the coordinate of rectangle to be stacked, The position of rectangle is moved on X, Y-direction respectively, is judged each to the space utilization rate on placement position, and select space The maximum placement position of utilization rate.The position new_ that coil of strip in the absolute coordinate for returning to recommendation in the module is stacked Saddle_rect, garage capacity rate storage_capacity when coil of strip is stacked in the position.In the module of the present embodiment, In order to simulate the operation that coil of strip stacks reservoir area position, the stowed location of coil of strip is drawn out using pylab third party library, is increased Readability of the program in debugging process, is conducive to check problem operation result.
Bilayer stacks saddle selecting module: stacking rule according to coil of strip bilayer, judges and recommend to meet stacking condition out Saddle, programming flowchart are as shown in Figure 5.According to reservoir area demand, if it is more than limitation that reservoir area single layer coil of strip, which stacks storage capacity, When maximum storage capacity, then the double-deck stacking is opened.
The selection that bilayer stacks saddle is mainly selected according to the double-deck rule of stacking of different type coil of strip.In this hair In bright embodiment, double-deck stack of coil of strip is according to Chinese character pin-shaped stacking.By taking the double-deck stacking rule as shown in the table as an example:
Table 1 is double-deck to stack rule
According to the above-mentioned double-deck rule stacked, 5 discriminant functions, check_order_queue (coil_in_ are write Order, coil_in_orderqueue) judge in database in instruction catalogue and instruction sequences table with the presence or absence of lower layer it is to be pressed two A coil of strip;Check_outdia (coil_external_diameter, ll_coil_outdia, lr_coil_outdia) judgement Whether the outer diameter difference of coil of strip to be put in storage and lower layer's coil of strip meets;check_weight(coil_weight,ll_coil_weight, Lr_coil_weight) judge whether the weight of coil of strip to be put in storage and the weight difference of lower layer coil of strip meet;check_width (coil_width, ll_coil_width, lr_coil_width) judges the width of coil of strip to be put in storage and the width of lower layer's coil of strip Whether difference meets;Check_contract (coil_contract, ll_coil_contract, lr_coil_contract) sentences Whether the contract number of disconnected coil of strip to be put in storage is identical as the contract number of lower layer's coil of strip.In the module, principal function find_suit_ Saddle (coil_no, area_name) wherein coil_no indicate coil of strip material number, area_name indicate recommend cell The function is called if opening the double-deck stacking in this region in domain.In the function, the material number using coil of strip to be put in storage exists Coil of strip information, width, outer diameter including coil of strip, weight, contract number are read in coil of strip information table.Meanwhile library in the database All saddles of the second layer in the cell are read in figure saddle data information table, that is, read all saddles of LAYER=2 and are saved Into saddle_result_list, the second layer is traversed using the Do statement of for item insaddle_result_list Each saddle, read its saddle number, X-coordinate, Y-coordinate, lower left corner saddle number, lower right corner saddle number, and according under left and right The saddle number at angle reads the information for the coil of strip stacked thereon.By the coil of strip information on the lower left corner, lower right corner saddle and wait be put in storage Coil of strip information be compared, according to bilayer stack rule recommend suitable second layer saddle stowed location out.If according to 5 Rule does not elect suitable saddle, then according to the double-deck priority for stacking rule, casts out the rule of lowermost level, then go to recommend Suitable saddle out, and so on.What is returned in the module is the saddle number of the second layer.
Calling interface module: being communicated between full-automatic unmannedization driving system, the stacking saddle that will recommend for coil of strip The instruction that seat is set generates driving handling instruction and is sent to driving, and programming flowchart is as shown in Figure 6.Due to full-automatic nothing Peopleization driving system (UACS) is developed based on C# and C Plus Plus, in order to increase its warehouse compartment recommended method adaptability and can Transplantability selects the software development of the Python progress warehouse compartment recommended method of explanation type, object-oriented.
In the present embodiment, the design of the module is primarily to realize the finger in full-automatic unmanned driving system (UACS) Enable the communication between system and warehouse compartment recommended method, due to only instruction system issue warehouse compartment recommendation request when, just meeting Start warehouse compartment recommended models method.Instruction system is sent to the material number of warehouse compartment recommended models method coil of strip to be put in storage, and warehouse compartment pushes away Recommend other information of the model method according to the coil of strip in the material number reading database coil of strip information table, outer diameter, width such as coil of strip Degree, steel grade.In the module, principal function is recommend_stock_position (coil_no, status1=1), wherein Coil_no is coil of strip material number, and status1=1 is original state position.In the function, it is first depending on coil of strip type, utilizes rule Then engine is that coil of strip recommends the zonule stacked the double-deck heap amplification module to be called, if not having if the zonule opens the double-deck stacking Have, then geometric algorithm is called to recommend saddle placement position module.The module return recommend saddle saddle_no, and by its It sends instruction system to, and driving is assigned to by instruction system, by driving a vehicle steel coil handling to be put in storage to the saddle position recommended It sets.Also passing through try in the module ..., catch has carried out abnormal protection to program, the robustness of program is enhanced, in return value In 1003 indicate that recommended coil of strip number is not present in coil of strip information table, 1004 indicate the saddle in the saddle tables of data of reservoir area The material number of the coil of strip of upper stacking is not present in coil of strip information table.
Based on a kind of above-mentioned intelligent warehouse compartment recommender system of rule-based engine and geometry optimization, the present invention also provides one kind The intelligent warehouse compartment recommended method of rule-based engine and geometry optimization, comprising:
Factbase and rule base write step: according to coil of strip warehouse compartment recommendation rules, writing the fact that reservoir area coil of strip is stacked library And rule base;
Zonule recommendation step: according to factbase and rule base, rule is parsed using forward reasoning mechanism, is matched And it executes;
Saddle stowed location recommendation step: rule is stacked according to waveform saddle, judges and recommends to meet stacking condition out Waveform saddle stowed location;
Bilayer stacks saddle and selects step: stacking rule according to coil of strip bilayer, judges and recommend to meet stacking condition out Saddle.
On design basis proposed by the present invention, the present invention can also utilize regulation engine by changing programming language Working principle, such as realize with Java language the warehouse compartment recommender system etc. of rule-based engine.Meanwhile recommending location of saddle support Module in, can also change and optimize geometric algorithm, realize to the more optimized of reservoir area storage capacity.
One skilled in the art will appreciate that in addition to realizing system provided by the invention in a manner of pure computer readable program code It, completely can be by the way that method and step be carried out programming in logic come so that the present invention provides and its other than each device, module, unit System and its each device, module, unit with logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and embedding Enter the form of the controller that declines etc. to realize identical function.So system provided by the invention and its every device, module, list Member is considered a kind of hardware component, and to include in it can also for realizing the device of various functions, module, unit To be considered as the structure in hardware component;It can also will be considered as realizing the device of various functions, module, unit either real The software module of existing method can be the structure in hardware component again.
Specific embodiments of the present invention are described above.It is to be appreciated that the invention is not limited to above-mentioned Particular implementation, those skilled in the art can make a variety of changes or modify within the scope of the claims, this not shadow Ring substantive content of the invention.In the absence of conflict, the feature in embodiments herein and embodiment can any phase Mutually combination.

Claims (10)

1. the intelligent warehouse compartment recommender system of a kind of rule-based engine and geometry optimization characterized by comprising
Factbase and rule base write module: according to coil of strip warehouse compartment recommendation rules, writing the fact that reservoir area coil of strip is stacked library and rule Then library;
Zonule recommending module: according to factbase and rule base, rule is parsed using forward reasoning mechanism, match and It executes;
Saddle stowed location recommending module: rule is stacked according to waveform saddle, judges and recommends the wave for meeting stacking condition out Shape wave saddle stowed location.
2. the intelligent warehouse compartment recommender system of rule-based engine according to claim 1 and geometry optimization, which is characterized in that Further include:
Bilayer stacks saddle selecting module: stacking rule according to coil of strip bilayer, judges and recommend the saddle for meeting stacking condition out.
3. the intelligent warehouse compartment recommender system of rule-based engine according to claim 1 and geometry optimization, which is characterized in that It is to be write based on Pyke regulation engine that the factbase and rule base, which write module, and factbase and rule base are all based on prolog Language is write, wherein factbase saves the coil of strip warehouse compartment recommendation rules for being directed to different coil of strip warehouses, and what rule base saved is foundation Factbase generates the fact that coil of strip recommends next reservoir area under conditions of satisfaction piles with reservoir area example.
4. the intelligent warehouse compartment recommender system of rule-based engine according to claim 1 and geometry optimization, which is characterized in that The zonule recommending module reads the rule set in rule base, and carries out rule parsing to rule set, and then factbase carries out Matching, imports agenda, and be ranked up to rule set by agenda, create-rule example, interface draws in the state of successful match Executing rule example is held up, implementing result imports application program.
5. the intelligent warehouse compartment recommender system of rule-based engine according to claim 1 and geometry optimization, which is characterized in that Behind the zonule for judging coil of strip placement, coordinate origin of the saddle stowed location recommending module from the calibration in zonule Start stack coil of strip, and judge coil of strip to be put in storage current location stack whether with other coil of strip mutual extrusions, be converted into square Shape stack problem, judge rectangle to be stacked current location place whether with stacked rectangle intersection, in the state of intersection will Stacked the upper right corner of rectangle X-coordinate be assigned to rectangle to be stacked the lower left corner X-coordinate, change simultaneously rectangle to be stacked Coordinate judges and selects the maximum placement position of space utilization rate.
6. the intelligent warehouse compartment recommender system of rule-based engine according to claim 2 and geometry optimization, which is characterized in that It is described it is double-deck stack that stack rule according to coil of strip bilayer based on saddle selecting module include five, by priority it is high to Low according to It is secondary are as follows: to judge in database in instruction catalogue and instruction sequences table with the presence or absence of lower layer's two coil of strips to be pressed, judge steel to be put in storage Whether volume meet with the outer diameter difference of lower layer's coil of strip, judge whether the weight of coil of strip to be put in storage and the weight difference of lower layer's coil of strip meet, Judge whether the width of coil of strip to be put in storage and the width difference of lower layer coil of strip meet, and judges the contract number of coil of strip to be put in storage under Whether the contract number of layer coil of strip is identical.
7. the intelligent warehouse compartment recommender system of rule-based engine according to claim 6 and geometry optimization, which is characterized in that If stacking rule according to five coil of strip bilayers does not elect suitable saddle, the rule of lowermost level is cast out according to priority, Recommend suitable saddle out again, and so on.
8. the intelligent warehouse compartment recommender system of rule-based engine according to claim 1 and geometry optimization, which is characterized in that Further include:
Calling interface module: being communicated between full-automatic unmannedization driving system, the stacking saddle position that will recommend for coil of strip The instruction set generates driving handling instruction and is sent to driving.
9. the intelligent warehouse compartment recommended method of a kind of rule-based engine and geometry optimization characterized by comprising
Factbase and rule base write step: according to coil of strip warehouse compartment recommendation rules, writing the fact that reservoir area coil of strip is stacked library and rule Then library;
Zonule recommendation step: according to factbase and rule base, rule is parsed using forward reasoning mechanism, match and It executes;
Saddle stowed location recommendation step: rule is stacked according to waveform saddle, judges and recommends the wave for meeting stacking condition out Shape wave saddle stowed location.
10. the intelligent warehouse compartment recommended method of rule-based engine according to claim 8 and geometry optimization, feature exist In, further includes:
Bilayer stacks saddle and selects step: stacking rule according to coil of strip bilayer, judges and recommend the saddle for meeting stacking condition out.
CN201711158661.7A 2017-11-20 2017-11-20 The intelligent warehouse compartment recommender system and method for rule-based engine and geometry optimization Pending CN109814850A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711158661.7A CN109814850A (en) 2017-11-20 2017-11-20 The intelligent warehouse compartment recommender system and method for rule-based engine and geometry optimization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711158661.7A CN109814850A (en) 2017-11-20 2017-11-20 The intelligent warehouse compartment recommender system and method for rule-based engine and geometry optimization

Publications (1)

Publication Number Publication Date
CN109814850A true CN109814850A (en) 2019-05-28

Family

ID=66598127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711158661.7A Pending CN109814850A (en) 2017-11-20 2017-11-20 The intelligent warehouse compartment recommender system and method for rule-based engine and geometry optimization

Country Status (1)

Country Link
CN (1) CN109814850A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239038A (en) * 2014-08-26 2014-12-24 倪成胜 EHK rule engine and realization method of EHK rule
CN105427068A (en) * 2015-11-06 2016-03-23 湖南千盟物联信息技术有限公司 Intelligent recommendation method for stacking position of steel coil storeroom
CN107085517A (en) * 2017-04-12 2017-08-22 上海大学 A kind of industrial equipment software analogy method based on Pyke expert systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239038A (en) * 2014-08-26 2014-12-24 倪成胜 EHK rule engine and realization method of EHK rule
CN105427068A (en) * 2015-11-06 2016-03-23 湖南千盟物联信息技术有限公司 Intelligent recommendation method for stacking position of steel coil storeroom
CN107085517A (en) * 2017-04-12 2017-08-22 上海大学 A kind of industrial equipment software analogy method based on Pyke expert systems

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
沙烈宝: ""落料加工入库管理系统规则引擎的研究与实现"", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *

Similar Documents

Publication Publication Date Title
CN109375601A (en) Assembly line planning method and equipment based on the optimization of data-driven modeling and simulation
Andersson et al. The maritime pickup and delivery problem with time windows and split loads
Mathewson The application of program generator software and its extensions to discrete event simulation modeling
Taner et al. Layout analysis affecting strategic decisions in artificial container terminals
Park Legal strategy disrupted: Managing climate change and regulatory transformation
Zeng et al. Optimizing berth allocation and storage space in direct transshipment operations at container terminals
Min Application of a decision support system to strategic warehousing decisions
Nia et al. Dual command cycle dynamic sequencing method to consider GHG efficiency in unit-load multiple-rack automated storage and retrieval systems
Wiercx et al. Inland waterway terminal yard configuration contributing to sustainability: Modeling yard operations
Soysal et al. Toward sustainable logistics
Kim et al. Efficient stowage plan with loading and unloading operations for shipping liners using foldable containers and shift cost-sharing
Hassan Port activity simulation: an overview
CN115511151A (en) Container landing screening method and system, storage medium and electronic equipment
Lu The three-stage integrated optimization of automated container terminal scheduling based on improved genetic algorithm
Cao et al. Research on the vehicle routing problem with interval demands
Lu et al. Energy-transport scheduling for green vehicles in seaport areas: A review on operation models
CN109814850A (en) The intelligent warehouse compartment recommender system and method for rule-based engine and geometry optimization
Duan et al. Integrated scheduling of automatic guided vehicles and automatic stacking cranes in automated container terminals considering landside buffer zone
Dong et al. Solving steel coil ship stowage-planning problem using hybrid differential evolution
CN114925663A (en) Intelligent ticket forming method and system based on overhaul ticket
Wang A Business Management Resource-Scheduling Method based on Deep Learning Algorithm
Yang Two-Stage robust counterpart model for humanitarian logistics management
CN116976840B (en) Multi-person collaborative engineering quantity calculation book auditing method and system
Hou Dynamic energy consumption and emission modelling of container terminal based on multi agents
Jin et al. Mixed-Integer Linear Programming Formulations for the Inbound Container Remarshaling Problem in an Automated Container Terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190528