CN105760413B - Management method based on the RFID data of Hash table in MES system - Google Patents
Management method based on the RFID data of Hash table in MES system Download PDFInfo
- Publication number
- CN105760413B CN105760413B CN201510887645.6A CN201510887645A CN105760413B CN 105760413 B CN105760413 B CN 105760413B CN 201510887645 A CN201510887645 A CN 201510887645A CN 105760413 B CN105760413 B CN 105760413B
- Authority
- CN
- China
- Prior art keywords
- data
- hash table
- mes
- clients
- flow
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2228—Indexing structures
- G06F16/2255—Hash tables
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Theoretical Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Economics (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Multi-Process Working Machines And Systems (AREA)
Abstract
The invention discloses a kind of management methods based on the RFID data of Hash table in MES system,When MES system receives data,Judge to whether there is the data in Hash table 2,If the data are not present in Hash table 2,Continue to judge to whether there is the data in Hash table 1,If the data are also not present in Hash table 1,The data are then allowed to flow into MES system,If having existed the data in Hash table 2,Continue to judge data markers value in Hash table 2,If data markers value is TRUE in Hash table 2,Data do not flow into MES system,If data markers value is FALSE in Hash table 2,Continue to judge whether the time difference of timestamp and current time reaches setting value in Hash table 1,If the time difference is greater than or equal to setting value,Data just flow into MES system,If the time difference is less than setting value,Then abandon data,Data do not flow into MES system,It makes MES system automatically obtain accurate data.
Description
Technical field
The present invention relates to computer science and automation control area, more particularly to a kind of RFID numbers based on Hash table
According to the management method in MES system.
Background technology
In the assembly line of automated production workshop, MES system(Manufacturing execution system)It is important in Enterprise Informatization system
A part.MES system receives the order data that ERP system issues, and is produced accordingly to order, and the knot of production
Fruit returns to ERP system.MES system includes MES clients, MES page ends, MES electronic boards and MES server.MES clients
On each station, for instructing and recording production operation in station.MES page ends are used to receive the order in ERP simultaneously
Operation production ordering is issued to MES clients.ERP can know that this collection of order produces on earth by MES server simultaneously
How many progresses are as how.MES electronic boards show each order manufacturing schedule of total manufacturing schedule etc..MES server provides data
It supports.
Modernization manufacturing industry MES is an accurate implementation procedure by information management, this inevitable requirement to plan and
Execution accurately compared, data will accurate recording, this need during more carry out data acquire automatic identification, guarantor
Card plan and execution are consistent, and take timely measure adjustment to incongruent.By using RFID in factory floor assembly line
Technology, can be seamless and integrates the information that capture from RFID incessantly, at the same to Manufacturing Executive System MES send accurately, can
The real time information stream leaned on improves productivity and significantly reduces investment outlay to create added value.RFID technique is utilized and is wirelessly penetrated
Frequency mode carries out non-contact bidirectional data transfers between RFID card reader and radio-frequency card, to reach target identification and data exchange
Purpose.Compared with traditional bar code, RFID electronic label has that non-contact, rewritable, speed are fast, contain much information, no
The advantages that affected by environment, long lifespan, the advantages that multiple cards can be handled simultaneously.
On workshop assembly line, there are one RFID card readers for each station.In order to facilitate worker in MES system
Operation and preferably automation are generally defaulted as MES clients and receive the lot number that the RFID card reader of the station is sent for the first time
Data show that working plate flows into the station, which proceeds by production operation.MES clients receive the station for the second time
The lot number data that RFID card reader is sent then show that the station process operations are completed, which should flow to next station.Cause
RFID card reader is intercepted a ranging from sector region and is ceaselessly being intercepted, therefore RFID electronic label follows working plate to pass through
It can be to the incoming identical information many times of MES clients, to influence the data such as billboard inaccuracy, it is possible to meeting when crossing the region
Influence the scheduling of entire workshop.
Invention content
In view of the above-mentioned deficiencies in the prior art, it is an object of the present invention to provide it is a kind of based on the RFID data of Hash table in MES
Management method in system so that MES clients automatically obtain accurate data, and the automatic process that carries out starts, terminates, and improves production
The automatic capability of line reduces production cost.
The object of the present invention is achieved like this:A kind of manager based on the RFID data of Hash table in MES system
Method includes the following steps:
1)Two Hash tables are added in MES clients and are used to store related data, and data time is stored in Hash table 1
It stabs, data markers information is stored in Hash table 2.MES clients are mounted on each station, raw in station for instructing and recording
Production operation.FALSE/TRUE is marked for showing whether process has operated completion.
2)MES client application RFID techniques carry out data acquisition, when MES clients receive the number of RFID card reader transmission
According to when, parse data, then judge in Hash table 2 with the presence or absence of the data;
21)If the data are not present in Hash table 2, continue to judge to whether there is the data in Hash table 1, if Hash
Also the data are not present in table 1, then allow the data to flow into MES clients, while the upper time is added for the data in Hash table 1
Stamp label adds FALSE labels in Hash table 2 for the data, shows that the process operations do not complete;
22)If having existed the data in Hash table 2, continue to judge data markers value in Hash table 2;
221)If data markers value is FALSE in Hash table 2, continue to judge timestamp and current time in Hash table 1
Time difference whether reach setting value, if the time difference be greater than or equal to setting value(The setting value is the process operations time),
Data are then allowed just to flow into MES clients, while it is TRUE to delete in Hash table 1 data and change data markers in Hash table 2,
If the time difference is less than setting value, data are abandoned, data do not flow into MES clients.The data for allowing flow into MES system are should
Process produces required data.
222)If data markers value is TRUE in Hash table 2, show that the process operations have been completed, data do not flow into
MES clients.
A thread is used alone in MES clients to clear up data in Hash table, which inspects periodically Hash table 2
Whether middle data are effective, and discovery just deletes the data in vain.Invalid data refers to just the lot number number completed in the station
According to.In MES in a process after the completion of the operation of some lot number, which will automatically flow into next process.
Data in the thread cycle operation traversal Hash table 2, in the cycle of operation, if data markers in Hash table 2
Value is TRUE, then the data are deleted in Hash table 2;If data markers value is FALSE, just it is not processed.The cycle of operation one
As unit of hour, be intended merely to prevent in this table that data volume is more and more so that computer memory occupancy is too big.
As the above scheme is adopted so that only data can flow into a process on workshop assembly line twice
MES clients allow flow into the primary of MES clients statistics indicate that working plate flows into the station, can start on working plate
Product carries out relevant operation, allows flow into another time of MES clients statistics indicate that station process operations completion, the working plate
Next station should be flowed to, so that MES clients automatically obtain accurate data, and the automatic process that carries out starts, terminates, and improves
The automatic capability of production line reduces production cost.The present invention can prevent worker not according to normal operation mode(MES visitors
Family end receives data for the first time and is starting to do, and just allows MES clients to receive second of data after finishing), to influence billboard etc.
Data are inaccurate, it is possible to can influence the scheduling of entire workshop.
And the present invention stores related data using Hash table so that has when searching corresponding data and accesses speed faster
It is excessive and cause to postpone will not to should be data volume for degree.Simultaneously as data in timing cleaning Hash table, are not in because of Hash table
Middle storage data are too big and program feature is caused to decline.
Present invention will be further explained below with reference to the attached drawings and specific embodiments.
Description of the drawings
Fig. 1 is flow chart of the method for the present invention;
The flow chart of data scrubbing in the Hash table of the positions Fig. 2 present invention.
Specific implementation mode
Referring to Fig. 1, a kind of management method based on the RFID data of Hash table in MES system includes the following steps:
1)Two Hash tables are added in MES clients and are used to store related data, and data time is stored in Hash table 1
It stabs, data markers information is stored in Hash table 2.Related data is stored using Hash table so that is had when searching corresponding data
It is excessive and cause to postpone will not to should be data volume for faster access speed.Define False/TRUE labels is for showing process
It is no to have operated completion.
2)MES client application RFID techniques carry out data acquisition, and RFID card reader by it to intercepting the tooling of range
RFID electronic label on plate is intercepted, and sends data to MES clients.When MES clients receive RFID card reader hair
When the data sent, data are parsed, then judge to whether there is the data in Hash table 2;
21)If the data are not present in Hash table 2, continue to judge to whether there is the data in Hash table 1, if Hash
Also the data are not present in table 1, then allow the data to flow into MES clients, while the upper time is added for the data in Hash table 1
Stamp label adds FALSE labels in Hash table 2 for the data, shows that the process operations do not complete;
22)If having existed the data in Hash table 2, continue to judge data markers value in Hash table 2;
221)If data markers value is FALSE in Hash table 2, continue to judge timestamp and current time in Hash table 1
Time difference whether reach setting value, if the time difference be greater than or equal to setting value(The setting value is the process operations time),
Data are then allowed to flow into MES clients, while it is TRUE to delete in Hash table 1 data and change data markers in Hash table 2, such as
The fruit time difference is less than setting value, then abandons data, data do not flow into MES clients;
222)If data markers value is TRUE in Hash table 2, show that the process operations have been completed, data do not flow into
MES clients.
Referring to Fig. 2, a thread is used alone in MES clients to clear up data in Hash table.Thread periodically goes to examine
Whether effective look into data in Hash table 2, discovery just deletes the data in vain.Data in thread cycle operation traversal Hash table 2.
Concrete operations such as Fig. 2 in the cycle of operation deletes the number if data markers value is TRUE in Hash table 2 in Hash table 2
According to;If data markers value is FALSE, just it is not processed.Simultaneously as data in timing cleaning Hash table, are not in Yin Ha
Storage data cause program feature to decline very much greatly in uncommon table.
Alloing a process on workshop assembly line using above-mentioned steps, only data flow into MES client twice
End allows flow into the primary of MES clients statistics indicate that working plate flows into the station, can start to carry out product on working plate
Relevant operation allows flow into another time of MES clients statistics indicate that the station process operations are completed, which should flow to down
One station, so that MES clients automatically obtain accurate data, and the automatic process that carries out starts, terminates, and improves production line
Automatic capability reduces production cost.
The present invention is not limited solely to above-described embodiment, without departing substantially from technical solution of the present invention spirit into
The technical solution of row few modifications should fall into protection scope of the present invention.
Claims (2)
1. a kind of management method based on the RFID data of Hash table in MES system, which is characterized in that include the following steps:
1)Two Hash tables are added in MES clients and are used to store related data, and data time stamp is stored in Hash table 1, is breathed out
Data markers information is stored in uncommon table 2;
2)MES client application RFID techniques carry out data acquisition, when MES clients receive the data of RFID card reader transmission
When, judge to whether there is the data in Hash table 2;
21)If the data are not present in Hash table 2, continue to judge to whether there is the data in Hash table 1, if Hash table 1
In the data are also not present, then allow the data to flow into MES clients, while being the upper timestamp of data addition in Hash table 1
Label adds FALSE labels in Hash table 2 for the data;
22)If having existed the data in Hash table 2, continue to judge data markers value in Hash table 2;
221)If data markers value is FALSE in Hash table 2, continue to judge timestamp and current time in Hash table 1 when
Between difference whether reach setting value, if the time difference be greater than or equal to setting value, allow data flow into MES clients, delete simultaneously
Data and to change in Hash table 2 data markers be that TRUE abandons data if the time difference is less than setting value in Hash table 1,
Data do not flow into MES clients;
222)If data markers value is TRUE in Hash table 2, show that process operations have been completed, data do not flow into MES client
End.
2. management method according to claim 1, it is characterised in that:A thread is used alone in MES clients to come
The data in Hash table are cleared up, thread cycle operation traverses data in Hash table 2, in the cycle of operation, if in Hash table 2
Data markers value is TRUE, then the data are deleted in Hash table 2;If data markers value is FALSE, just it is not processed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510887645.6A CN105760413B (en) | 2015-12-07 | 2015-12-07 | Management method based on the RFID data of Hash table in MES system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510887645.6A CN105760413B (en) | 2015-12-07 | 2015-12-07 | Management method based on the RFID data of Hash table in MES system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105760413A CN105760413A (en) | 2016-07-13 |
CN105760413B true CN105760413B (en) | 2018-10-23 |
Family
ID=56342112
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510887645.6A Active CN105760413B (en) | 2015-12-07 | 2015-12-07 | Management method based on the RFID data of Hash table in MES system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105760413B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111738577A (en) * | 2020-06-10 | 2020-10-02 | Oppo(重庆)智能科技有限公司 | Raw material management method and related device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546802A (en) * | 2012-01-10 | 2012-07-04 | 江苏省电力公司扬州供电公司 | Radio-frequency-identification-technology-based data acquisition and instant messaging transmission system and transmission method |
CN102662988A (en) * | 2012-03-14 | 2012-09-12 | 中山大学 | Method for filtering redundant data of RFID middleware |
CN102880628A (en) * | 2012-06-15 | 2013-01-16 | 福建星网锐捷网络有限公司 | Hash data storage method and device |
CN102929943A (en) * | 2012-09-28 | 2013-02-13 | 五八有限公司 | Data output method and device |
CN103116661A (en) * | 2013-03-20 | 2013-05-22 | 广东宜通世纪科技股份有限公司 | Data processing method of database |
CN103530383A (en) * | 2013-10-18 | 2014-01-22 | 重庆邮电大学 | Method for filtering safe RFID middleware redundant data |
CN104123102A (en) * | 2014-07-25 | 2014-10-29 | 华为技术有限公司 | IP hard disk and data processing method thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI364809B (en) * | 2008-02-14 | 2012-05-21 | Chipmos Technologies Inc | A wafer testing system integrated with rfid techniques and testing method thereof |
-
2015
- 2015-12-07 CN CN201510887645.6A patent/CN105760413B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546802A (en) * | 2012-01-10 | 2012-07-04 | 江苏省电力公司扬州供电公司 | Radio-frequency-identification-technology-based data acquisition and instant messaging transmission system and transmission method |
CN102662988A (en) * | 2012-03-14 | 2012-09-12 | 中山大学 | Method for filtering redundant data of RFID middleware |
CN102880628A (en) * | 2012-06-15 | 2013-01-16 | 福建星网锐捷网络有限公司 | Hash data storage method and device |
CN102929943A (en) * | 2012-09-28 | 2013-02-13 | 五八有限公司 | Data output method and device |
CN103116661A (en) * | 2013-03-20 | 2013-05-22 | 广东宜通世纪科技股份有限公司 | Data processing method of database |
CN103530383A (en) * | 2013-10-18 | 2014-01-22 | 重庆邮电大学 | Method for filtering safe RFID middleware redundant data |
CN104123102A (en) * | 2014-07-25 | 2014-10-29 | 华为技术有限公司 | IP hard disk and data processing method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN105760413A (en) | 2016-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102930420B (en) | Cigar mill RFID tobacco leaf management system and tobacco leaf management method | |
CN102819758B (en) | System and method for improving read-write success rate of radio frequency identification tags on movement production line | |
CN111047257A (en) | Production order management system based on 5G network | |
CN103592898B (en) | A kind of electronic product manufacture automatic control system and method | |
CN102254200A (en) | Method and system for supervising clothing production based on radio frequency identification (RFID) technology | |
CN104122871B (en) | Real-time monitoring method of semiconductor test data | |
CN103295119A (en) | Radiofrequency identification and barcode combined inventory management method | |
CN103020679A (en) | Precast concrete member production quality detection system | |
CN101639687A (en) | Integrated technology quality control system and realization method thereof | |
CN109685173A (en) | A kind of station method for managing and monitoring based on NB-IOT and Radio Frequency Identification Technology | |
CN103745311A (en) | Production data management information system | |
CN108171289A (en) | A kind of oil field tool management method based on RFID | |
CN107992919A (en) | The method of RFID quick countings | |
CN108090843A (en) | Production line assemble flow monitoring method | |
CN109360064A (en) | Furniture custom order technique changes compensating method, electronic equipment, storage medium | |
CN105760413B (en) | Management method based on the RFID data of Hash table in MES system | |
CN103488695A (en) | Data synchronizing device and data synchronizing method | |
CN104915721A (en) | Order production period and output measuring method | |
JP4922837B2 (en) | Work management system and work management method | |
CN104460569B (en) | Goods-in-process monitoring method used for blade production | |
CN109901502A (en) | Measurement method, device and the PLC for measuring work station of car body component | |
CN110264061B (en) | Processing system and method for article making order | |
JP5620233B2 (en) | Tire production management system and method | |
CN107730081A (en) | A kind of data acquisition analysis method and system based on RFID technique | |
JP5068684B2 (en) | Work management system and work management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |