CN101193036B - Exchange system and method for production management data - Google Patents
Exchange system and method for production management data Download PDFInfo
- Publication number
- CN101193036B CN101193036B CN2006101570633A CN200610157063A CN101193036B CN 101193036 B CN101193036 B CN 101193036B CN 2006101570633 A CN2006101570633 A CN 2006101570633A CN 200610157063 A CN200610157063 A CN 200610157063A CN 101193036 B CN101193036 B CN 101193036B
- Authority
- CN
- China
- Prior art keywords
- production management
- data
- management computer
- time
- module
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Telephonic Communication Services (AREA)
Abstract
A production management data exchanging system and method are provided. The method comprises the following steps: setting a monitoring port and a timeout time parameter for the monitoring connection request; monitoring whether a production management computer corresponding to the port sends a connection request; sending a heartbeat packet to the production management computer in every fixed period of time after the connection request sent by the production management computer is received to test whether the connection breaks or not; sending a data obtaining instruction to the production management computer if the connection does not break after receiving a data obtaining request from a third software; obtaining the data which is obtained by the production management computer from the database according to the data obtaining instruction, then sending the data to a third-party software. The third-party software can obtain necessary data from the database of the workshop field management system by application of the invention.
Description
Technical field
The present invention relates to a kind of production management data exchange system and method.
Background technology
In the production procedure of factory, need test product, whether qualified with the testing product quality.When product test, need from the database of workshop field management (SFC, Shop FloorControl) system, obtain the various part parameter informations of test products, need to use the external data collecting device usually.
Operation has third party software on these data acquisition equipments, but third party software can't directly carry out exchanges data with the workshop field management system, can not obtain the data that need from the field management system of workshop.At different data acquisition equipments, must constantly revise the SFC code and satisfy the demands.Simultaneously, the replacing of data acquisition equipment and upgrading are also relatively more frequent, cause very big waste on resource, also make SFC system instability.
Summary of the invention
In view of above content, be necessary to provide a kind of production management data exchange system, it can provide the functional interface of exchanges data to third party software, obtains the data that need from the workshop field management system.
In view of above content, also be necessary to provide a kind of production management method for interchanging data, it can provide the functional interface of exchanges data to third party software, obtains the data that need from the workshop field management system.
A kind of production management data exchange system, comprise appliance computer, production management computer and database, operation has third party software in the described appliance computer, described appliance computer also comprises the exchanges data unit, this exchanges data unit comprises: parameter setting module is used to set listening port, the time-out time parameter of monitoring connection request; Monitor module, whether the production management computer that is used to monitor described port correspondence sends connection request; The connection status test module is used for sending a heartbeat packet every one period set time to the production management computer after the monitoring module receives the connection request of production management computer transmission, and whether test connects interrupts; Data are obtained instruction sending module, are used for when receiving the data acquisition request of third party software, do not interrupt if connect this moment, send data to the production management computer and obtain instruction; Data acquisition module is used for obtaining the production management computer and obtains the data that instruction is obtained from database according to described data, sends these data to third party software.
A kind of production management method for interchanging data comprises the steps: to set listening port, the time-out time parameter of monitoring connection request; Whether the production management computer of monitoring described port correspondence sends connection request; Behind the connection request that receives the transmission of production management computer, send a heartbeat packet every one period set time to the production management computer, whether test connects interrupts; When receiving the data acquisition request of third party software, do not interrupt if connect this moment, send data to the production management computer and obtain instruction; Obtain the production management computer and obtain the data that instruction is obtained from database, send these data to third party software according to described data.
Compared to prior art, described production management data exchange system and method, offer the functional interface of third party software exchanges data, obtain the data that need from the workshop field management system, realization needn't be revised original system can carry out exchanges data between third party software and the workshop field management system.
Description of drawings
Fig. 1 is the system architecture diagram of production management data exchange system of the present invention preferred embodiment.
Fig. 2 is the functional block diagram of exchanges data unit in the appliance computer shown in Figure 1.
Fig. 3 is the flow chart of production management method for interchanging data of the present invention preferred embodiment.
Embodiment
As shown in Figure 1, be the system architecture diagram of production management data exchange system of the present invention preferred embodiment.This system mainly comprises appliance computer 10, network 20, production management computer 30 and database 40.Operation has third party software and exchanges data unit 100 in the described appliance computer 10, described third party software can be a kind of testing software, described production management computer 30 is used to carry out the data management of production scene, this production management computer 30 is connected with database 40, be used to store the creation data of production scene, as the item number of part, specification etc.Described appliance computer 10 is connected by network 20 with production management computer 30.
As shown in Figure 2, be the functional block diagram of exchanges data unit 100 in the appliance computer 10 shown in Figure 1.Described exchanges data unit 100 comprises parameter setting module 210, monitors module 211, connection status test module 212, and data are obtained instruction sending module 213 and data acquisition module 214.The alleged module of the present invention is to finish the computer program code segments of a specific function, is more suitable in describing the implementation of software in computer than program, therefore all describes with module in to software description in the present invention, below describes and will carry out in conjunction with Fig. 1 and Fig. 2.
At first, the user passes through parameter setting module 210 and sets parameters such as the listening port of monitoring connection requests, time-out time, can unique definite production management computer 30 according to this port.Whether the production management computer 30 of monitoring the described port correspondence of module 211 monitorings sends connection request.After monitoring module 211 received the connection request of production management computer 30 transmissions, connection status test module 212 sent a heartbeat packet every one period set time to production management computer 30.Whether this heartbeat packet is used for the test connection and interrupts, if after reaching the time-out time of setting, connection status test module 212 is not received the response message to this heartbeat packet that production management computer 30 returns, then judge to connect and interrupt, disconnection appliance computer 10 is connected with production management computer 30, monitors module 211 and restarts to monitor the connection request that production management computer 30 sends.If connection status test module 212 is received the response message to this heartbeat packet that production management computer 30 returns in described time-out time, then judge not connect and interrupt.
When third party software need be when the production scene obtains data, third party software sends a data acquisition request to exchanges data unit 100 earlier.Do not interrupt if connect this moment, exchanges data unit 100 is after receiving this data acquisition request, and described data are obtained instruction sending module 213 and obtained instruction to production management computer 30 transmission data.Production management computer 30 obtains instruction according to these data and obtain corresponding data from database 40, and data acquisition module 214 obtains this data from production management computer 30, and sends the data of obtaining to third party software.
When production management computer 30 obtained the data that need, connection status test module 212 can constantly connect test in exchanges data unit 100.When occurring connecting the situation of interrupting, connection status test module 212 meeting disconnection appliance computers 10 are connected with production management computer 30.
As shown in Figure 3, be the flow chart of production management method for interchanging data of the present invention preferred embodiment.At first, step S401, the user sets parameters such as listening port, time-out time by parameter setting module 210.
Step S402, whether the production management computer 30 of monitoring the described port correspondence of module 211 monitorings sends connection request.
Step S403, after monitoring module 211 received the connection request of production management computer 30 transmissions, connection status test module 212 sent a heartbeat packet every one period set time to production management computer 30, and whether test connects interrupts.
Step S404 judges to connect whether interrupt.If after reaching the time-out time of setting, connection status test module 212 is not received the response message to this heartbeat packet that production management computer 30 returns, and then judges to connect to interrupt.
If connection status test module 212 is received the response message to this heartbeat packet that production management computer 30 returns in described time-out time, then judge not connect and interrupt.
Step S405, if connect to interrupt, then connection status test module 212 disconnects being connected of appliance computers 10 and production management computer 30, and flow process is got back to step S402, and monitoring module 211 restarts to monitor the connection request that production management computer 30 sends.
Step S406, when third party software need be when the production scene obtains data, third party software sends a data acquisition request to exchanges data unit 100, do not interrupt if connect this moment, exchanges data unit 100 is after receiving this data acquisition request, and described data are obtained instruction sending module 213 and obtained instruction to production management computer 30 transmission data.
Step S407, production management computer 30 obtains instruction according to these data and obtain corresponding data from database 40, and data acquisition module 214 obtains this data from production management computer 30.
Step S408, data acquisition module 214 sends the data of obtaining to third party software.
When production management computer 30 obtained the data that need, connection status test module 212 can constantly connect test in exchanges data unit 100.When occurring connecting the situation of interrupting, connection status test module 212 meeting disconnection appliance computers 10 are connected with production management computer 30, and flow process is got back to step S402.
Claims (6)
1. production management data exchange system, comprise appliance computer, production management computer and database, operation has third party software in the described appliance computer, it is characterized in that, described appliance computer also comprises the exchanges data unit, and this exchanges data unit comprises:
Parameter setting module is used to set listening port, the time-out time parameter of monitoring connection request;
Monitor module, whether the production management computer that is used to monitor described port correspondence sends connection request;
The connection status test module is used for sending a heartbeat packet every one period set time to the production management computer after the monitoring module receives the connection request of production management computer transmission, and whether test connects interrupts;
Data are obtained instruction sending module, are used for when receiving the data acquisition request of third party software, do not interrupt if connect this moment, send data to the production management computer and obtain instruction; And
Data acquisition module is used for obtaining the production management computer and obtains the data that instruction is obtained from database according to described data, sends these data to third party software.
2. production management data exchange system as claimed in claim 1, it is characterized in that, described connection status test module is to judge to connect whether interrupt according to the time-out time of setting, if after reaching the time-out time of setting, the connection status test module is not received the response message to described heartbeat packet that the production management computer returns, then judge to connect and interrupt, if the connection status test module is received the response message of the described heartbeat packet that the production management computer returns in described time-out time, then judge not connect and interrupt.
3. production management data exchange system as claimed in claim 1 is characterized in that, described connection status test module also is used for having no progeny in connection, and the disconnection appliance computer is connected with the production management computer.
4. a production management method for interchanging data is characterized in that, this method comprises the steps:
Set listening port, the time-out time parameter of monitoring connection request;
Whether the production management computer of monitoring described port correspondence sends connection request;
Behind the connection request that receives the transmission of production management computer, send a heartbeat packet every one period set time to the production management computer, whether test connects interrupts;
When receiving the data acquisition request of third party software, do not interrupt if connect this moment, send data to the production management computer and obtain instruction; And
Obtain the production management computer and obtain the data that instruction is obtained from database, send these data to third party software according to described data.
5. production management method for interchanging data as claimed in claim 4 is characterized in that, whether described test connects interrupts comprising step:
If after reaching the time-out time of setting, do not receive the response message that the production management computer returns to described heartbeat packet, then judge to connect and interrupt;
If in described time-out time, receive the response message of the described heartbeat packet that the production management computer returns, then judge not connect and interrupt.
6. production management method for interchanging data as claimed in claim 4 is characterized in that, this method also comprises step: interrupt if connect, then disconnect the connection of production management computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006101570633A CN101193036B (en) | 2006-11-24 | 2006-11-24 | Exchange system and method for production management data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006101570633A CN101193036B (en) | 2006-11-24 | 2006-11-24 | Exchange system and method for production management data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101193036A CN101193036A (en) | 2008-06-04 |
CN101193036B true CN101193036B (en) | 2011-01-05 |
Family
ID=39487799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2006101570633A Expired - Fee Related CN101193036B (en) | 2006-11-24 | 2006-11-24 | Exchange system and method for production management data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101193036B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102769533A (en) * | 2011-05-04 | 2012-11-07 | 北京北方微电子基地设备工艺研究中心有限责任公司 | Data processing method and data processing device |
CN102857406B (en) * | 2012-07-23 | 2015-09-09 | 大唐移动通信设备有限公司 | A kind of message treatment method of JBM system and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1661609A (en) * | 2004-02-26 | 2005-08-31 | 何浩然 | Method of united optimized managing contracts and repertories in plane of steel production |
CN1746909A (en) * | 2004-09-11 | 2006-03-15 | 鸿富锦精密工业(深圳)有限公司 | Produce line operation managing and control system and method |
-
2006
- 2006-11-24 CN CN2006101570633A patent/CN101193036B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1661609A (en) * | 2004-02-26 | 2005-08-31 | 何浩然 | Method of united optimized managing contracts and repertories in plane of steel production |
CN1746909A (en) * | 2004-09-11 | 2006-03-15 | 鸿富锦精密工业(深圳)有限公司 | Produce line operation managing and control system and method |
Non-Patent Citations (2)
Title |
---|
JP特開2005-222221A 2005.08.18 |
李运涛等.一种实时数据采集与监控系统.《中国测试技术》.2004,(第1期),25-26,39. * |
Also Published As
Publication number | Publication date |
---|---|
CN101193036A (en) | 2008-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102546135B (en) | Active/standby server switched system and method | |
CN104331063A (en) | Industrial field equipment remote diagnosis maintenance system and method | |
CN101170593B (en) | A VoIP phone terminal and online failure detection device and method | |
CN111654404B (en) | Intelligent network card management and control method and device | |
CN105653451A (en) | Software performance testing method and device | |
CN114500305B (en) | Device monitoring method, device, storage medium and program product | |
CN101193036B (en) | Exchange system and method for production management data | |
CN106357430A (en) | Method and system for service state monitoring of cloud computing cluster | |
CN112804301B (en) | Method and device for determining equipment state, gateway and storage medium | |
EP3029917A1 (en) | Method and system for telecommunication device monitoring | |
CN110519080B (en) | Session monitoring adjustment method, device, storage medium and apparatus | |
CN115729164B (en) | Industrial communication system management method and device and industrial communication system | |
CN101521792B (en) | Monitoring system and monitoring method for conditional access system of television networks | |
CN111259002A (en) | Monitoring method, monitoring system and monitoring equipment | |
KR100292156B1 (en) | Usage data collection method and usange data collection and distribution apparatus using the same | |
CN105306442A (en) | Proxy server and command transmission methods | |
CN101917699B (en) | Random reported signaling tracking method and device based on users | |
CN104980495B (en) | General device integrated manager | |
CN110768855B (en) | Method and device for testing linkmzation performance | |
CN112118420A (en) | Automatic configuration method and device for monitoring system | |
CN103533420A (en) | Method and device for controlling set top box | |
CN209911955U (en) | Automatic testing arrangement based on app | |
WO2017197829A1 (en) | Test information management method and apparatus, and test case execution system and device | |
CN105099742B (en) | Method, device, system and terminal for collecting data | |
CN112003659A (en) | Remote power supply monitoring method and device based on CAN bus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110105 Termination date: 20141124 |
|
EXPY | Termination of patent right or utility model |