CN109286683A - Multithreading information collection report method based on MES system - Google Patents

Multithreading information collection report method based on MES system Download PDF

Info

Publication number
CN109286683A
CN109286683A CN201811367766.8A CN201811367766A CN109286683A CN 109286683 A CN109286683 A CN 109286683A CN 201811367766 A CN201811367766 A CN 201811367766A CN 109286683 A CN109286683 A CN 109286683A
Authority
CN
China
Prior art keywords
defective unit
product
client
mes
party
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
CN201811367766.8A
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201811367766.8A priority Critical patent/CN109286683A/en
Publication of CN109286683A publication Critical patent/CN109286683A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The present invention proposes a kind of multithreading information collection report method based on MES system, belongs to intelligence manufacture field.Its drip irrigation device are as follows: third party's client log file formats to be output are configured by MES client, log file formats include No. MAC of product to be measured, non-defective unit and non-non-defective unit, detection time and mark;Third party's client reads No. MAC of product, and the information carried to the product detects, and judges that the product be non-defective unit is also non-non-defective unit;After the completion of product testing, third party's client exports the journal file of unified format, which includes No. MAC of product, is non-defective unit or non-non-defective unit, detection time and mark;The journal file of MES client detection third party's client output and the information reporting that will test are to MES system platform;After MES system platform receives reported data, different business processings is carried out to non-defective unit and non-non-defective unit respectively, and processing result is back to MES client;MES client is shown when receiving processing result to user.

Description

Multithreading information collection report method based on MES system
Technical field
The present invention relates to intelligent Manufacturing Technologies, in particular to multithreading information collection report method based on MES system Technology.
Background technique
The Workshop Production object of Chinese discrete manufacturing business is different, and organization of production is different with production batch, to the need of MES system Ask different.There is presently no a products can cover all workshop types, is in the customized development stage, does not form maturation MES system is commercialized.Due to being customized development, and the production survey of product is all that third party's client is completed, MES system it is general Property, configurability and poor expandability, do not adapt to the variation of multiple business demand and process, influence the popularization of system.
Summary of the invention
The object of the present invention is to provide a kind of multithreading information collection report method based on MES system, solves current MES Versatility, configurability and the poor expandability of system, do not adapt to the variation of multiple business demand and process, influence system The problem of popularization.
The present invention solves its technical problem, the technical solution adopted is that: the multithreading information collection based on MES system reports Method, comprising the following steps:
Step 1 configures third party's client log file formats to be output, the journal file by MES client Format includes No. MAC of product to be measured, non-defective unit and non-non-defective unit, detection time and mark;
Step 2, third party's client read No. MAC of product, and the information carried to the product detects, and judgement should Product is that non-defective unit is also non-non-defective unit;
After the completion of step 3, product testing, third party's client exports the journal file of unified format, the journal file packet It includes No. MAC of product, be non-defective unit or non-non-defective unit, detection time and mark;
The journal file that step 4, MES client detection third party's client export;
The information reporting that step 5, MES client will test is to MES system platform;
After step 6, MES system platform receive reported data, non-defective unit and non-non-defective unit are carried out at different business respectively Reason, and processing result is back to MES client;
Step 7, MES client are shown when receiving processing result to user.
Further, in step 1 and/or step 3, it is described to be identified as 0 or 1, when third party's client judges that product is It is corresponding to be identified as 1 when non-defective unit, it is corresponding to be identified as 0 when third party's client judges product for non-non-defective unit.
Further, step 4 specifically comprises the following steps:
Step 401, MES client monitor the document creation of specified directory;
If step 402 detects document creation, judge whether log file formats are consistent with the file format of configuration;
If step 403, inconsistent, the producing line user log files format where prompting the product is inconsistent, and process terminates, If consistent, judge that the product is non-defective unit or defective products, and non-defective unit is put into inside different queues from defective products.
Further, in step 5, no matter then triggering if there is product inside non-defective unit or defective products queue from thread Pond obtains idle thread and reports to product, and wherein non-defective unit is reported to report to distinguish with defective products and reported, and product Report all by locking handle, do not allow the case where reporting the same product simultaneously appearance.
Further, platform carries out different industry to non-defective unit and defective products respectively according to the data of upload in step 6 Business processing, specifically: non-defective unit carries out business of missing the stop, after non-non-defective unit is missed the stop, into maintenance procedures.
The invention has the advantages that by the above-mentioned multithreading information collection report method based on MES system, firstly, Third party's client log file formats to be output are configured by MES client, log file formats include product to be measured No. MAC, non-defective unit and non-non-defective unit, detection time and mark;Secondly, third party's client reads No. MAC of product, and to the product The information of carrying is detected, and judges that the product be non-defective unit is also non-non-defective unit;Then, after the completion of product testing, third party client End exports the journal file of unified format, the journal file include No. MAC of product, be non-defective unit or non-non-defective unit, detection time and Mark;Subsequently, the journal file and the information reporting that will test of MES client detection third party's client output are to MES System platform;Subsequently, after MES system platform receives reported data, different business is carried out to non-defective unit and non-non-defective unit respectively Processing, and processing result is back to MES client;Finally, MES client is shown when receiving processing result to user.
The present invention can largely exist for current producing line third-party application carry out it is offline produce the case where surveying, do not influencing the In the case that tripartite applies thematic function, proposes that third party produces and survey the unified journal format file of software output, and use multithreading Mode is acquired product information, reports, and flexibility, practicability, universality are more preferable.
Specific embodiment
Technical solution of the present invention is described below in detail.
Multithreading information collection report method of the present invention based on MES system, comprising the following steps:
Step 1 configures third party's client log file formats to be output by MES client, wherein journal file Format preferably includes No. MAC of product to be measured, non-defective unit and non-non-defective unit, detection time and mark etc.;
Step 2, third party's client read No. MAC of product, and the information carried to the product detects, and judgement should Product is that non-defective unit is also non-non-defective unit;
After the completion of step 3, product testing, third party's client exports the journal file of unified format, and the journal file is excellent Choosing includes No. MAC of product, is non-defective unit or non-non-defective unit, detection time and mark etc.;
The journal file that step 4, MES client detection third party's client export;
The information reporting that step 5, MES client will test is to MES system platform;
After step 6, MES system platform receive reported data, non-defective unit and non-non-defective unit are carried out at different business respectively Reason, and processing result is back to MES client;
Step 7, MES client are shown when receiving processing result to user.
In the step 1 and/or step 3 of the above method, the mark being previously mentioned is preferably 0 or 1, specifically, as third party visitor It is corresponding to be identified as 1 when family end judges product for non-defective unit, when third party's client judges product for non-non-defective unit, corresponding mark Know is 0.
Step 4 specifically comprises the following steps:
Step 401, MES client monitor the document creation of specified directory;
If step 402 detects document creation, judge whether log file formats are consistent with the file format of configuration;
If step 403, inconsistent, the producing line user log files format where prompting the product is inconsistent, and process terminates, If consistent, judge that the product is non-defective unit or defective products, and non-defective unit is put into inside different queues from defective products.
In step 5, no matter then triggering obtains idle line from thread pool if there is product inside non-defective unit or defective products queue Journey reports product, and wherein non-defective unit is reported to report to distinguish with defective products and reported, and reporting for product all passes through Locking processing, does not allow the case where reporting the same product simultaneously appearance.
In step 6, platform carries out different business processings to non-defective unit and defective products respectively, specifically according to the data of upload Be: non-defective unit carries out business of missing the stop, after non-non-defective unit is missed the stop, into maintenance procedures etc..

Claims (5)

1. the multithreading information collection report method based on MES system, which comprises the following steps:
Step 1 configures third party's client log file formats to be output, the log file formats by MES client No. MAC including product to be measured, non-defective unit and non-non-defective unit, detection time and mark;
Step 2, third party's client read No. MAC of product, and the information carried to the product detects, and judges the product It is non-defective unit is also non-non-defective unit;
After the completion of step 3, product testing, third party's client exports the journal file of unified format, which includes producing No. MAC of product, be non-defective unit or non-non-defective unit, detection time and mark;
The journal file that step 4, MES client detection third party's client export;
The information reporting that step 5, MES client will test is to MES system platform;
After step 6, MES system platform receive reported data, different business processings is carried out to non-defective unit and non-non-defective unit respectively, and Processing result is back to MES client;
Step 7, MES client are shown when receiving processing result to user.
2. the multithreading information collection report method according to claim 1 based on MES system, which is characterized in that step 1 It is described to be identified as 0 or 1 and/or in step 3, it is corresponding to be identified as 1 when third party's client judges product for non-defective unit, when It is corresponding to be identified as 0 when tripartite's client judges product for non-non-defective unit.
3. the multithreading information collection report method according to claim 1 based on MES system, which is characterized in that step 4 Specifically comprise the following steps:
Step 401, MES client monitor the document creation of specified directory;
If step 402 detects document creation, judge whether log file formats are consistent with the file format of configuration;
If step 403, inconsistent, the producing line user log files format where prompting the product is inconsistent, and process terminates, if one It causes, judges that the product is non-defective unit or defective products, and non-defective unit is put into inside different queues from defective products.
4. the multithreading information collection report method according to claim 1 based on MES system, which is characterized in that step 5 In, no matter then triggering obtains idle thread from thread pool and carries out to product if there is product inside non-defective unit or defective products queue It reports, wherein non-defective unit is reported to report to distinguish with defective products and reported, and reporting for product is all handled by locking, do not permit Perhaps the case where reporting the same product simultaneously appearance.
5. the multithreading information collection report method according to claim 1 based on MES system, which is characterized in that step 6 In, platform carries out different business processings to non-defective unit and defective products respectively according to the data of upload, specifically: non-defective unit carried out It stands business, after non-non-defective unit is missed the stop, into maintenance procedures.
CN201811367766.8A 2018-11-16 2018-11-16 Multithreading information collection report method based on MES system Pending CN109286683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811367766.8A CN109286683A (en) 2018-11-16 2018-11-16 Multithreading information collection report method based on MES system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811367766.8A CN109286683A (en) 2018-11-16 2018-11-16 Multithreading information collection report method based on MES system

Publications (1)

Publication Number Publication Date
CN109286683A true CN109286683A (en) 2019-01-29

Family

ID=65175577

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811367766.8A Pending CN109286683A (en) 2018-11-16 2018-11-16 Multithreading information collection report method based on MES system

Country Status (1)

Country Link
CN (1) CN109286683A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104122871A (en) * 2014-07-29 2014-10-29 于兵 Real-time monitoring system and real-time monitoring method of semiconductor test data
CN105868030A (en) * 2015-12-22 2016-08-17 乐视移动智能信息技术(北京)有限公司 Log data communication processing apparatus and method as well as mobile terminal
CN105866562A (en) * 2015-01-19 2016-08-17 青岛海尔空调器有限总公司 Networked household electrical appliance testing method and testing system
EP3103227A1 (en) * 2014-06-30 2016-12-14 Telefonaktiebolaget LM Ericsson (publ) Aggregation of congestion information
CN106682837A (en) * 2016-12-30 2017-05-17 大连工业大学 Innovative development comprehensive service platform of food enterprises
CN107659434A (en) * 2017-09-11 2018-02-02 上海斐讯数据通信技术有限公司 A kind of automatic test approach of Devices to test, apparatus and system
CN108229610A (en) * 2017-12-29 2018-06-29 西可通信技术设备(河源)有限公司 A kind of product based on Quick Response Code misses the stop method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3103227A1 (en) * 2014-06-30 2016-12-14 Telefonaktiebolaget LM Ericsson (publ) Aggregation of congestion information
CN104122871A (en) * 2014-07-29 2014-10-29 于兵 Real-time monitoring system and real-time monitoring method of semiconductor test data
CN105866562A (en) * 2015-01-19 2016-08-17 青岛海尔空调器有限总公司 Networked household electrical appliance testing method and testing system
CN105868030A (en) * 2015-12-22 2016-08-17 乐视移动智能信息技术(北京)有限公司 Log data communication processing apparatus and method as well as mobile terminal
CN106682837A (en) * 2016-12-30 2017-05-17 大连工业大学 Innovative development comprehensive service platform of food enterprises
CN107659434A (en) * 2017-09-11 2018-02-02 上海斐讯数据通信技术有限公司 A kind of automatic test approach of Devices to test, apparatus and system
CN108229610A (en) * 2017-12-29 2018-06-29 西可通信技术设备(河源)有限公司 A kind of product based on Quick Response Code misses the stop method

Similar Documents

Publication Publication Date Title
CN104636352B (en) A kind of SCADA system history datas complement and inquiry processing method based on quality stamp
CN110514957A (en) Substation's automatic detecting method and platform
CN110989521A (en) Intelligent management system for production line
CN107145445A (en) The automatic analysis method and system of the daily record that reports an error of software automated testing
CN105485524B (en) A kind of suction wave line leakage system and method
CN112086965B (en) Low-voltage distribution network topology identification method and device
CN109873853A (en) Equipment key parameter early warning system and its implementation, electronic device
CN202177920U (en) Online monitoring system for food safety
CN103581951B (en) Base station detection method and device
CN103942547B (en) A kind of printing online real-time detection method of smart card issuing system
CN108566528A (en) A kind of monitor video storage system
CN109473945B (en) Relay protection model data verification and automatic configuration method
CN201820244U (en) Strip-absent on-line visual detection device for strip cigarette case packer
CN105606958A (en) Processing method, system, and apparatus for fault information of power system
CN110632084A (en) Product quality detection system based on sensor
CN109286683A (en) Multithreading information collection report method based on MES system
CN103412256B (en) A kind of thin film switch AOI detector and AOI detection method thereof
CN102540995B (en) Produce line flow control system and method
CN203479406U (en) Intelligent temperature recorder
CN210572004U (en) Plane information detection system for multiple assembly lines
CN112362762A (en) Food quality inspection system based on chromatogram detection
CN110723341A (en) State monitoring method for visual appearance detection device in online production process of cigarette packaging machine
CN112185058B (en) Monitoring alarm method, system, equipment and storage medium
CN106372169B (en) Automatic acquisition and transmission method and system for vehicle information
CN207601174U (en) A kind of taiwan area acquisition terminal and unit-area management system

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

Application publication date: 20190129

RJ01 Rejection of invention patent application after publication