CN108508810A - A kind of more equipment competitive resource methods in automatic kitchen field based on arbitration mechanism - Google Patents
A kind of more equipment competitive resource methods in automatic kitchen field based on arbitration mechanism Download PDFInfo
- Publication number
- CN108508810A CN108508810A CN201810433685.7A CN201810433685A CN108508810A CN 108508810 A CN108508810 A CN 108508810A CN 201810433685 A CN201810433685 A CN 201810433685A CN 108508810 A CN108508810 A CN 108508810A
- Authority
- CN
- China
- Prior art keywords
- resource
- arbitration
- database
- file
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2643—Oven, cooking
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The more equipment competitive resource methods in automatic kitchen field based on arbitration mechanism that the invention discloses a kind of, include the following steps:Various key business execution state informations are recorded in file or database;Resource arbitration is handled according to the priority for reading each competitive resource in file or database;The priority of competitive resource is added as needed on, deletes or changed in file either database;In the case that unit exception powers off, is resetted or worked in the state position according to the state before file either database acquisition device powers down after device power-up.Service logic of the present invention is clear, and module coupling degree is low, can fast implement arbitration mechanism;It can easily realize the addition, deletion and modification of competitive resource;Equipment also can recover immediately scene after powering in the case of abnormal power-down and work on, and will not lead to plane collision incident;Control logic is executed without paying close attention to resource contention, resource arbitration is realized by standalone module.
Description
Technical field
The present invention relates to intelligent kitchen field, the more equipment competitions in specifically a kind of automatic kitchen field based on arbitration mechanism
Resource allocation method.
Background technology
Diversified development is presented in automated control technology at present, but there are three point problems:1) equipment is different during use
In the case of normal off electricity, in order to avoid colliding, worker needs hand-reset equipment;2) arbitration mechanism is put into and is executed in logic,
Cause Developmental Engineer that a large amount of energy is put into above arbitration process and great effort cannot be placed on and be executed above logic;
3) pervious arbitration mechanism can not easily be modified quorum resource, adds and delete.Therefore, for this present situation,
The more equipment competitive resource methods in automatic kitchen field based on arbitration mechanism that there is an urgent need to develop a kind of, to overcome currently practical answer
Deficiency in.
Invention content
The more equipment competitive resource methods in automatic kitchen field based on arbitration mechanism that the purpose of the present invention is to provide a kind of,
To solve the problems mentioned in the above background technology.
To achieve the above object, the present invention provides the following technical solutions:
A kind of more equipment competitive resource methods in automatic kitchen field based on arbitration mechanism, include the following steps:
1) various key business execution state informations are recorded in file or database;
2) resource arbitration is handled according to the priority for reading each competitive resource in file or database;
3) priority of competitive resource is added as needed on, deletes or changed in file either database;
4) in the case of unit exception power-off, the shape before device powers down is obtained after device power-up according to file or database
State is resetted or is worked in the state position.
As a further solution of the present invention:In step 2), all resource arbitration tasks are taken out from code logic
It separates out and, form an individual arbitration modules, be placed in the lower module for executing logic module, by resource contention item, preferentially
Grade and key equipment execute state be put into file either in database arbitration modules according to the number in this document or database
According to progress resource arbitration.
As a further solution of the present invention:In step 4), all resource arbitration tasks are taken out from code logic
It separates out and, form an individual arbitration modules, be placed in the lower module for executing logic module, by resource contention item, preferentially
Grade and key equipment execute state be put into file either in database arbitration modules according to the number in this document or database
According to the in-situ FTIR spectroelectrochemitry for carrying out abnormal power-down.
Compared with prior art, the beneficial effects of the invention are as follows:
1) service logic is clear, and module coupling degree is low, can fast implement arbitration mechanism;
2) arbitration mechanism can easily realize the addition, deletion and modification of competitive resource;
3) equipment also can recover immediately scene after powering in the case of abnormal power-down and work on, and will not cause to hit
Machine event occurs;
4) control logic is executed without paying close attention to resource contention, and resource arbitration is realized by standalone module.
Description of the drawings
Fig. 1 is the realization Organization Chart of the present invention.
Fig. 2 is the equipment arbitration flow chart of the present invention.
Specific implementation mode
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 describes, 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 every other
Embodiment shall fall within the protection scope of the present invention.
Please refer to Fig.1~2, in the embodiment of the present invention, a kind of more equipment competitions in automatic kitchen field based on arbitration mechanism
Resource allocation method completes a certain item task, needs to cooperate between modules, thus there is resource competing problem, resource
Arbitration it is main it is to be processed be resource competing problem between modules, solution is as follows:
1) various key business execution state informations are recorded in file or database;
2) resource arbitration is handled according to the priority for reading each competitive resource in file or database;
3) priority of competitive resource is added as needed on, deletes or changed in file either database;
4) in the case of unit exception power-off, the shape before device powers down is obtained after device power-up according to file or database
State is resetted or is worked in the state position.
As shown in Figure 1, task is issued to equipment scheduling from control centre, equipment scheduling coordinates the work between modules
Make;It executes logic and is not concerned with whether have resource contention, instruction carries out resource arbitration after reaching resource arbitration module, if resource does not have
There is conflict then to instruct arrival device end, it is on the contrary then wait for.
All resource arbitration tasks are pulled out to come from code logic, an individual arbitration modules is formed, is placed on
Execute logic module lower module in, by resource contention item, priority and key equipment execution state be put into file or
In database, the scene that arbitration modules carry out resource arbitration and abnormal power-down according to the data in this document or database is extensive
It is multiple.
Such as similar to gruel puts in storage, rice puts in storage, each equipment executes logic module and issues corresponding instruction of putting in storage.It is secondary
Module is cut out after the instruction for receiving each logic module, inquire finished product in mediate file or database transmit it is preferential
Grade, if the priority of the product than transmitting is high, the low finished product of priority stops transmission and then discharges shared resource,
Priority it is high get shared resource.After the high finished product of priority is transmitted, then shared resource is discharged, low priority
Shared resource being transmitted until low priority is obtained again, then discharges shared resource.
The more equipment competitive resource methods in automatic kitchen field based on arbitration mechanism, have the following advantages:
1) service logic is clear, and module coupling degree is low, can fast implement arbitration mechanism;
2) arbitration mechanism can easily realize the addition, deletion and modification of competitive resource;
3) equipment also can recover immediately scene after powering in the case of abnormal power-down and work on, and will not cause to hit
Machine event occurs;
4) control logic is executed without paying close attention to resource contention, and resource arbitration is realized by standalone module.
The above are merely the preferred embodiment of the present invention, it is noted that for those skilled in the art, not
Under the premise of being detached from present inventive concept, several modifications and improvements can also be made, these should also be considered as the protection model of the present invention
It encloses, these all do not interfere with the effect and patent practicability that the present invention is implemented.
Claims (3)
1. a kind of more equipment competitive resource methods in automatic kitchen field based on arbitration mechanism, which is characterized in that including following step
Suddenly:
1) various key business execution state informations are recorded in file or database;
2) resource arbitration is handled according to the priority for reading each competitive resource in file or database;
3) priority of competitive resource is added as needed on, deletes or changed in file either database;
4) in the case of unit exception power-off, the state before device powers down is obtained after device power-up according to file or database,
It is resetted or is worked in the state position.
2. automatic kitchen field more equipment competitive resource methods according to claim 1 based on arbitration mechanism, feature
It is, in step 2), all resource arbitration tasks is pulled out to come from code logic, forms an individually arbitration mould
Block is placed in the lower module for executing logic module, and resource contention item, priority and key equipment execution state are put into text
Either arbitration modules carry out resource arbitration to part according to the data in this document or database in database.
3. automatic kitchen field more equipment competitive resource methods according to claim 1 based on arbitration mechanism, feature
It is, in step 4), all resource arbitration tasks is pulled out to come from code logic, forms an individually arbitration mould
Block is placed in the lower module for executing logic module, and resource contention item, priority and key equipment execution state are put into text
Either arbitration modules carry out the in-situ FTIR spectroelectrochemitry of abnormal power-down according to the data in this document or database to part in database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810433685.7A CN108508810A (en) | 2018-05-08 | 2018-05-08 | A kind of more equipment competitive resource methods in automatic kitchen field based on arbitration mechanism |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810433685.7A CN108508810A (en) | 2018-05-08 | 2018-05-08 | A kind of more equipment competitive resource methods in automatic kitchen field based on arbitration mechanism |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108508810A true CN108508810A (en) | 2018-09-07 |
Family
ID=63399889
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810433685.7A Pending CN108508810A (en) | 2018-05-08 | 2018-05-08 | A kind of more equipment competitive resource methods in automatic kitchen field based on arbitration mechanism |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108508810A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112881592A (en) * | 2019-11-29 | 2021-06-01 | 深圳市帝迈生物技术有限公司 | Power-off processing method and device for sample analyzer, sample analyzer and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1282924A (en) * | 1999-07-29 | 2001-02-07 | 国际商业机器公司 | Enhanced bus orbitrator using variable priority and reasonableness |
CN1501255A (en) * | 2002-11-15 | 2004-06-02 | ���µ�����ҵ��ʽ���� | Apparatus, method and program for contention arbitration |
CN110161978A (en) * | 2018-02-02 | 2019-08-23 | 深圳健康小厨智能餐饮科技有限公司 | A kind of more equipment competitive resource referee methods in automatic kitchen |
-
2018
- 2018-05-08 CN CN201810433685.7A patent/CN108508810A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1282924A (en) * | 1999-07-29 | 2001-02-07 | 国际商业机器公司 | Enhanced bus orbitrator using variable priority and reasonableness |
CN1501255A (en) * | 2002-11-15 | 2004-06-02 | ���µ�����ҵ��ʽ���� | Apparatus, method and program for contention arbitration |
CN110161978A (en) * | 2018-02-02 | 2019-08-23 | 深圳健康小厨智能餐饮科技有限公司 | A kind of more equipment competitive resource referee methods in automatic kitchen |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112881592A (en) * | 2019-11-29 | 2021-06-01 | 深圳市帝迈生物技术有限公司 | Power-off processing method and device for sample analyzer, sample analyzer and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104820906A (en) | Task scheduling method, device and system | |
CN102226890B (en) | Monitoring method and device for host batch job data | |
CN202957668U (en) | Intelligent electric interaction terminal and system | |
CN106971254A (en) | A kind of service monitoring system and method | |
CN102110022A (en) | Sensor network embedded operation system based on priority scheduling | |
CN103049992A (en) | Broadcast meter-reading method for wireless intelligent meter-reading system | |
CN104122879A (en) | AGV (Automatic Guided Vehicle) calling display control system based on ZIGBEE local area network | |
CN101296466B (en) | Method for shielding alarm generated by base station | |
CN110472794A (en) | A kind of unmanned plane collaboration acceleration Logistic Scheduling optimization method | |
CN108508810A (en) | A kind of more equipment competitive resource methods in automatic kitchen field based on arbitration mechanism | |
CN109840696A (en) | A kind of traffic control overall process management-control method and system based on closed loop management | |
CN101950260A (en) | Processor program dispatching method and device | |
CN106453593A (en) | Message pushing method and device | |
CN109840725A (en) | Cargo picking method, device, electronic device and computer readable storage medium | |
CN202084026U (en) | Data monitoring system for batch operations of host | |
CN107993016A (en) | Take control management method and terminal device | |
CN110161978A (en) | A kind of more equipment competitive resource referee methods in automatic kitchen | |
CN102393820A (en) | Logical implementation method for controlling building monitoring system | |
CN106530023A (en) | Tax supervising server and anti-suspension method of tax supervising core board | |
CN205608739U (en) | RFID read -write system who possesses receiving and dispatching beacon function | |
CN102117261A (en) | Communication method between inner processors of chip | |
CN104993599B (en) | A kind of heat accumulation user interaction terminal and method | |
CN111061239A (en) | Remote programmed operation system for power grid dispatching | |
CN208314567U (en) | A kind of communication system towards explosion-proof AGV scheduling | |
CN103294774B (en) | The device and method carrying out data warehouse loading in batches based on zone |
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: 20180907 |