The data management system that is used for apparel industry
Technical field
The present invention relates to a kind of data management system that is used for apparel industry, is a kind ofly to be used to cooperate the garment production management system software to carry out the hardware system equipment that data download, data acquisition and data gather correlation functions such as forwarding.
Background technology
The successful accession to WTO of quickening and China along with global economic integration speed, to face this fast changing market, garment enterprise just is faced with the problem that how to improve self core competitiveness, and its inner problem of management, efficiency, examination problem, information problem of transmission etc. are engraved in the development that is restricting self in the time of again.Many enterprises in the textile garment industry can't carry out the communication of data message because informatization falls behind, and the information resources sharing is poor, causes materials circulation information, marketing network not to bring into play corresponding effect.Information system management has become a kind of trend that the textile garment enterprise operation and management is changed, by informationization to the advancing of textile garment enterprise commodity, sell, deposit, move back, change, coil, damage, residual, the management of circulation and transfer of goods process, fund circulation, bill and logistics, marketing network such as transferring, borrowing, give, improve the market adaptability to changes of garment enterprise.
At present domestic and international garment enterprise branch carries out the IT application in enterprises transformation, yet the information-based scheme of current apparel industry is paid attention to goods entry, stock and sales, payes attention to the resource planning scheduling, is paid attention to quality management, but simplify even ignore the real-time control of process of workshop and the data management of workshop, cause the work efficiency of garment production process lower.
Summary of the invention
The object of the present invention is to provide a kind of data management system that is used for apparel industry, be used to cooperate the garment production management system software that the garment production process is carried out data download, data acquisition and data and gather forwarding, strengthen the real time data transfer capability of apparel industry workshop, and then improve the work efficiency of garment production process.
Technical scheme of the present invention is such: the data management system that is used for apparel industry, the server and at least one the electronics automatic metering mechanism that comprise data cluster machine, operation production management system software, above-mentioned data cluster machine is connected between above-mentioned electronics automatic metering mechanism and the above-mentioned server, be used for the data that the electronics automatic metering mechanism is gathered are gathered the central database that changes and send to server, simultaneously the server-centric data of database gathered and be assigned to the electronics automatic metering mechanism; Be connected by super Category-5 twisted pair between above-mentioned electronics automatic metering mechanism and the above-mentioned data cluster machine.
Above-mentioned electronics automatic metering mechanism comprises power module, model is the main control chip module of 89S52, Keysheet module, model is display module and 485 communication modules of OCMJ4X8B-2, by above-mentioned power module is above-mentioned main control chip module, Keysheet module, display module and 485 communication modules provide working power, above-mentioned Keysheet module connects the input end of main control chip module, above-mentioned display module connects the output terminal of above-mentioned main control chip module, and above-mentioned 485 communication modules are connected in the data that are used between 485 bus I/O mouths of above-mentioned main control chip module and the above-mentioned data cluster machine between the two and transmit.
Above-mentioned data cluster machine comprises that power module, main control chip, ethernet communication module and model are 485 communication modules of 75LB4184, provide power supply by above-mentioned power module for above-mentioned main control chip, ethernet communication module and 485 communication modules, above-mentioned 485 communication modules are connected in the data that are used between the two between the 485 bus I/O mouths of above-mentioned electronics automatic metering mechanism and above-mentioned main control chip and transmit, and above-mentioned ethernet communication module is connected in the data that are used between above-mentioned main control chip and the above-mentioned server between the two and transmits; The main control chip of above-mentioned data cluster machine is 16 low-power scm M430F149; Above-mentioned ethernet communication module adopts CS8900A ethernet controller and RJ45 joint to link to each other with hub.
After adopting such scheme, data management system of the present invention is compared with existing artificial information transmitting methods, has following outstanding advantage:
(1) employee can obtain separately work accurately, easily and arrange single content and row's odd number amount.
(2) employee's quantity performed can directly pass to the central database of server by the electronics automatic metering mechanism.
(3) production management person can promptly obtain the progress situation of each employee, each manufacture order, and then easily and quickly production is adjusted.
(4) improved the integrated degree of enterprise information system.
Description of drawings
Fig. 1 is a structured flowchart of the present invention.
Fig. 2 is the circuit theory diagrams of middle data cluster machine among Fig. 1.
Fig. 3 is the circuit theory diagrams of electronics autmatic measuring device among Fig. 1.
Embodiment
The present invention is used for the data management system of apparel industry, as shown in Figure 1, comprise electronics automatic metering mechanism 1, data cluster machine 2 and server 3, server 3 operation production management system softwares, data cluster machine 2 is connected between electronics automatic metering mechanism 1 and the server 3, link to each other by super Category-5 twisted pair between data cluster machine 2 and the electronics automatic metering mechanism 1, be used for the data that each electronics automatic metering mechanism 1 is gathered are gathered the central database that changes and send to server 3, simultaneously the data of server 3 central databases are gathered and be assigned to each electronics automatic metering mechanism 1, every station server 3 can be connected with a plurality of data cluster machines 2, and each data cluster machine 2 also can connect a plurality of electronics automatic metering mechanisms 1.
As shown in Figure 2, data cluster machine 2 comprises power module 21, main control chip 22, ethernet communication module 23 and 485 communication modules 24, provide stable 5V and 3.3V power supply by power module 21 for data cluster machine 2,485 communication modules 24 are connected in the data that are used between electronics automatic metering mechanism 1 and the main control chip 22 between the two and transmit, and ethernet communication module 23 is connected in the data that are used between main control chip 22 and the server 3 between the two and transmits.
Ethernet communication module 23 adopts CS8900A ethernet controller and RJ45 joint to link to each other with hub.
Main control chip 22 adopts 16 low-power scm M430F149, is used to handle the conversion between TCP/MODUBS agreement and the MODBUS agreement.It has the flash of 64K and the RAM of 2k to satisfy the storage space of embedding ICP/IP protocol and the buffer memory in the data transmission procedure fully.And 485 communication modules 24 adopt anti-lightning strike 75LB4184, its maximum number of connections is 128, that is, 485 communication modules 24 of a cluster machine can connect 128 electronics automatic metering mechanisms 1 at most, and adopt photoelectrical coupler 6N137 to do light-coupled isolation and realize communicating by letter with 485 of electronics automatic metering mechanism 1.
As shown in Figure 3, electronics automatic metering mechanism 1 comprises power module 11, main control chip module 12, Keysheet module 13, display module 14 and 485 communication modules 15.
Provide stable 5V power supply to main control chip module 12, Keysheet module 13, display module 14 and 485 communication modules 15 by power module 11.
Main control chip module 12 is used for keyboard scan, MODUBS protocol processes, drives display screen and operation interface processing, and data are handled, and keeps useful data, removes junk data.
Keysheet module 13 connects the input end of main control chip module 12, and keyboard adopts 16 key boards, is provided with 10 numerical keys of 0~9, determines key, cancel key, locking/unlocking key, Menu key, goes up page turning key and following page turning key.Wherein the function of Menu key correspondence has setting, note part, recovery, communication and demonstration, and each function is as follows: 1) be provided with: the workman manually imports job number, clothing number and serial number.2) note part: can allow the workman at every turn to add up by different step-length (1,3,5).3) recover: can recover to crash or cut off the power supply preceding data.4) communication: can also can communicate by letter according to the mode of real-time Communication for Power according to the mode of downloading in batches.5) show: show job number, clothing number, serial number, number of packages.Be used for the option that the user selects needs, to different options by last page turning key, down page turning key, determine that key and cancel key are provided with, other key is reserved standby, 16 key boards can adopt 4 * 4 key boards, 16 key boards are connected with 8 I/O mouths of single-chip microcomputer.
Display module 14 connects the output terminal of main control chip module 12, and display screen adopts OCMJ4X8B-2, and this display screen can show 8 Chinese words of the 4 every row of row.Keysheet module 13 provides the input data module for the user, and the user imports the operation at data and interface by Keysheet module 13 by the prompting result of display module 14.
485 communication modules 15 are connected in the data that are used between the two between 485 communication modules 24 of 485 bus I/O mouths of main control chip module 12 and data cluster machine 2 and transmit, and 485 communication modules 15 adopt interrupt modes to receive external data and send the data of collecting from Keysheet module 13.485 communication modules, 15 usefulness photoelectrical coupler 6N137 carry out light-coupled isolation, and its chip for driving model is SN75LBC184.
During work, whether data cluster machine 2 adopts the bus polling mode to have data to send by every electronics automatic metering mechanism 1 of 485 buses inquiry, the main control chip 22 of data cluster machine 2 constantly reads the data of each electronics automatic metering mechanism 1 by 485 buses, and each electronics automatic metering mechanism 1 useful data sink General Logistics Department that reads is up sent to the server 3 from ethernet module 23 by the protocol packing of making by oneself.The chip of main control simultaneously 22 constantly reads Ethernet data, and data are unpacked the order that forms corresponding M ODUBS agreement, sends to the electronics automatic metering mechanism 1 of appropriate address, to reach the mutual of data, plays the transfer effect of data.