A kind of parcel sorting machine control method and system based on cloud computing
Technical field
The invention belongs to logistics equipment technical field, in particular to a kind of parcel sorting machine control method based on cloud computing
And system.
Background technique
With development of logistics line, parcel sorting machine is using more and more extensive.Parcel sorting machine is logistics distribution center
One of key equipment, it will be wrapped up by machine driving and control system is divided automatically by bar code, user, place name, name of an article etc.
It picks, completes pack (or vanning), envelope (or joint sealing) etc. and work continuously.
The information processing link in packages machine control system operates in the entity computer or clothes of local disposition at present
It is engaged in device, every set sorter will be purchased individually and build computerized information with equipment such as a whole set of computer, server, interchangers
System completes the functions such as package decoding and customer information system communication, system administration and monitoring of tools.This mode exist with
Lower defect:
1. every parcel sorting machine needs individually to buy the equipment such as matched computer and server, since buying expenses are led
Cause parcel sorting machine at high cost;
2. the confidential deploying computer system independent at the scene of every packages, deployment process is complicated, is easy error;
3. being resulted in waste of resources using physical machine, demand is not easy to change when changing;
4. to realize the sorter Centralized Monitoring of loglstics enterprise network-wide basis, need first to pass to local data in monitoring
The heart, process is complicated, is not easy to implement.
In the prior art, cloud computing is distributed computing, parallel computation, effectiveness calculating, network storage, virtualization, load
The product of the traditional computers such as equilibrium, hot-standby redundancy and network technical development fusion, it is led to using automation centralized management
Crossing network provides dynamic telescopic virtualization resource.Cloud computing is distributed on a large amount of distributed computer, and computing capability is strong
Greatly, the utilization rate of its resource is substantially improved compared with legacy system in the versatility of cloud.Cloud platform can be by available, convenient, on-demand
Network access, into configurable computing resources shared pool, (resource includes network, server, storage, application software, clothes
Business), by resource switch to needs using upper, cloud virtual server and storage system are accessed according to demand.Using cloud computing
It is a kind of approach for solving the defect of existing packages machine control system.However, for how by cloud computing in existing
Packages machine control system is effectively combined, and the prior art provides specific scheme not yet.
Summary of the invention
The parcel sorting machine control method based on cloud computing that the present invention provides a kind of, it is therefore intended that overcome in the prior art
The shortcomings that, cloud computing application platform is set up by means of loglstics enterprise private network (such as comprehensive post net), by the information of parcel sorting machine
System and data center deployment are completed sorter decoding in cloud platform, through cloud computing, are communicated with customer information system, system
The functions such as management and monitoring of tools make to sort the installation and deployment of machine control system, fortune while hardware cost is greatly lowered
Row maintenance, centralized management and Centralized Monitoring are more convenient flexible.
A kind of packages machine control system based on cloud computing, it is existing that the module in the system is deployed in sorter respectively
Field, cloud platform and management and monitoring center,
Cloud platform include database module, for packet software module server-side, single machine monitoring module server-side, decoding module and
Communication module, sorter Centralized Monitoring module service end, sorter management module server-side and cloud platform management module server-side,
Database module includes at least one sorter database module,
Management and monitoring center includes sorter Centralized Monitoring module client, sorter management module client and cloud platform
Management module client,
Sorter scene includes for packet software module client, sorter management module client, single machine monitoring module visitor
Family end, for packet control module, main ring control module, bar code reading module, bin control module and pallet control module,
The intelligent object that main ring control module is made of PLC, control panel, motor component, for the start and stop of sorter main ring and
At the uniform velocity operating control, it with for packet control module, bar code reading module, decoding module, pallet control module, bin control module
Notice bar code reading module recognition after machine information is superscribed with real-time communications, receptions such as monitoring modules, recognition result passes through decoding
Module obtains the physics bin of package distribution, then notifies pallet control module that package is fallen into specified physics bin;
It is the intelligence control system of control panel, motor, transmission parts composition for packet control module, for meeting rule for all
The package that lattice require smoothly and precisely imports main ring pallet;
For the host computer that packet software module is for packet control module, human-computer interaction function when completing for packet, and by user
Input is notified for packet mode, package bar code, road direction, physics bin information for packet control module;
Pallet control module is the smart tray control system of control panel, motor, transmission parts composition, it is according to main ring control
The operating of pallet belt is completed in the order of molding block, realizes package from steadily importing for packet platform and accurately fall into specified bin;
Bin control module is the intelligent control module of control panel, liquid crystal display panel, button, photoelectricity, warning light composition, is used for
Bin control and realization bin state human-computer interaction, bin state send main ring control system in real time;
Bar code reading module is OBR automatic reader device, for wrapping up bar code, address, name of an article automatic identification, and will be known
Other result sends decoding module;
Decoding module is the translator that runs in cloud platform virtual system, and major function is to complete package decoding, i.e., it
Main ring control module, the package bar code of bar code reading module, road direction information are received, is looked into according to the basic information in database module
It askes after wrapping up corresponding physics bin, notifies main ring control module, and required related package, facility information are stored in data base set
System is used for management module or monitoring module;
Communication module is the communication program run in cloud platform virtual system, between completion and customer information system
Data interaction, the number such as basic information (sort plan, personal information), packages information wrapped up from customer information system downloading
According to deposit packet extension set database module is used for decoding module, management module etc.;The packet that decoding module in database is obtained
It wraps up in and falls lattice information, knot bag seal information (the loose mail information of seal in total package informatin and total packet) is uploaded to customer information system;
Sorter management module by with database module real-time communication, complete important parameter in sorter and database
Configuration and management, by user authority setting, settable user management or monitoring separate unit sorter or whole sorter can also be set
It sets part or repertoire, management module server-side in user management or monitoring and supports the whole network sorter, when connection number clients
When measuring more, using the advantage of cloud, it is extended to the framework of bringing onto load equilibrium and cluster;
Single machine monitoring module is by the main ring control module real-time communication with sorter, to the operating status of single sorter
It is monitored and is controlled in real time, and database is written into the operation/maintenance data of required preservation, used for Centralized Monitoring module;
Sorter Centralized Monitoring module by with database module real-time communication, shape is run to the sorter of network-wide basis
State, that is unified shows, alerts and control;
Database module is the database software run in cloud platform virtual system, for completing sorter information system number
According to storing and interacting, database is established for the whole network system in virtual system, stores necessary whole network equipment management, user right
The data such as management;Independent database, table or table space are established for single sorter, the basic data of the sorter is stored, divides
Pick data, device status data;
Cloud platform management module provides the unified management to entire cloud platform system and infrastructure, configures cloud platform on demand
Computing resources shared pool, and to infrastructure resources, operating-system resources, middleware resource, application service carry out it is comprehensive
Monitoring;
Main ring control module with for packet control module, main ring control module and bin control module pass through the network CAN or
RS485 mode communicates;It is communicated with for packet software module client by serial mode for packet control module;Main ring control module with
Pallet control module passes through infrared or leakage cable communication;Main ring control module, bar code reading module, for packet software module, decoding mould
Block, communication module, management module, monitoring module, Centralized Monitoring module, database module and cloud platform management module pass through network
Mode is connected, and main ring control module, bar code reading module and decoding module are communicated by socket mode, decoding module, communication
Module interacts, main ring control module and monitoring module for passing through database between packet software module, management module, monitoring module
Server-side passes through OPC or other configuration interface communications.
A kind of parcel sorting machine control method based on cloud computing, comprising the following steps:
Step A1, information is downloaded,
The communication module of cloud platform downloads sorting basic information (sort plan, personal information from customer information system in real time
Deng), the data such as packages information, be stored in database module, used for subsequent sort.
Step A2, it is pre-processed for packet,
Step A2.1, before sorting starts, cloud platform is called on user's terminal at the scene, computer, PDA or smart phone
Management module software execute the frequency start to operate;After decoding module receives beginning frequency order, the main ring control at scene is notified
This frequency of module starts;After main ring control module completes initialization, is fed back to the decoding module of cloud platform and start frequency success, permitted
Perhaps for packet;
Step A2.2, before for packet, user call on the terminal for packet platform or computer at the scene cloud platform for packet software,
Setting is run for packet control module by user's setting means for packet mode, notice;
Step A2.3, manual mode for packet when, user at the scene for inputting wrapping strips on packet platform terminal or computer
After the information such as code, postcode, bin code, office of destination's name, cloud platform is looked into for packet software module by picking machine database module
Look for the corresponding road direction of package;
Step A2.4, when manual mode is for packet, cloud platform will wrap up bar code and calculated road for packet software module
To etc. information notice scene for packet control module;
Step A3, for wrapping machine,
Scene for leading in real time between packet control module and main ring control module, main ring control module and pallet control module
Package is automatically imported empty pallet on main ring, and will be that manually package information is sent to main ring control module for pack mode by news;
Step A4, bar code reading,
For being that automatically package, live main ring control module notify bar code reading module automatic identification packet for pack mode
Face list is wrapped up in, and the recognition results such as bar code are sent into the decoding module in cloud platform;
Step A5, bin changes,
User passes through bin button, photoelectricity or monitoring module client end interface at the scene and changes bin state, live lattice
Mouth control module is completed the bins states such as normal, lock lattice, disabling, full lattice and is converted, and bin state is passed through main ring control in real time
Module notifies the decoding module in cloud platform;
Step A6, package decoding,
Bin state that decoding module in cloud platform is sent according to live main ring control module, manual mode for packet packet
The automatic mode of information or live bar code reading module transmission is wrapped up in for the package information of packet, inquires database module information, in conjunction with
Real-time bin state calculates the effective physics bin code of package, and the main ring control module that physics bin number notice is live;
Step A7, package falls lattice,
After package is fallen into specified physics bin by the main ring control module notice pallet control module at scene, cloud platform is notified
On decoding module, related package and facility information are written into database module decoding module;
Step A8, knot bag operation,
When user needs to tie bag, the bin button at scene is operated, live bin control module completes the conversion of bin state,
And pass through the decoding module in main ring control module notice cloud platform for bag order is tied;
Step A9, bag seal is tied,
After the main ring control module knot bag order for receiving scene, the decoding module in cloud platform believes the total packet for tying bag seal
Database module is written in loose mail information in breath and total packet;
Step A10, information uploads,
The total package informatin and Zong Bao that package in production is fallen lattice information in real time, ties bag seal by the communication module in cloud platform
In loose mail information be uploaded to customer information system;
Step A11, system administration,
Before and after sorting and in sorting overall process, the user that has permission can sorter scene, management and monitoring center or
The management module in cloud platform is called in other places for having access to cloud platform, completes configuration and the pipe of separate unit or the whole network sorter
Reason task;
Step A12, single machine monitors,
Before and after sorting and in sorting overall process, the user that has permission can sorter scene, management and monitoring center or
The single machine monitoring module in cloud platform is called in other places for having access to cloud platform, completes the monitor task of separate unit sorter;
Step A13, Centralized Monitoring,
Before and after sorting and in sorting overall process, the user that has permission can sorter scene, management and monitoring center or
The Centralized Monitoring module in cloud platform is called in other places for having access to cloud platform, completes the monitor task of the whole network sorter.
The present invention utilize cloud computing advantage, by loglstics enterprise network-wide basis sorter information system and data center
It is deployed in cloud computing platform, in sort process, by sorter scene automatic identification or the package bar code being manually entered, postal volume
The information such as code, bin code, office of destination's name are sent to cloud platform decoding, and then control module decodes result notice further according to cloud platform
Execution unit completes package and falls lattice sorting, constructs the sorting machine control system of more Intelligent portable.
The present invention is by cloud platform, passing through the sorter data center of enterprise's network-wide basis and information system deployment
The package decoding and customer information system communication, system administration and Supervision of every sorter are flexibly and easily realized in cloud computing
Function is controlled, while realizing sorter centralized management in network-wide basis.This system makes full use of cloud computing advantage, has following excellent
Point:
1. different in the present invention compared with conventional method since the utilization rate of resource is substantially improved in the versatility of cloud
Sorter system does not need to repeat to purchase the hardware devices such as server, computer, interchanger, and hardware cost is greatly reduced.
2. cloud platform is connected with field device by network mode, loglstics enterprise private network (such as comprehensive post net) network speed
Degree is fast, and the superpower computing capability of cooperation cloud computing can fully ensure that the decoding of sorting machine control system and customer information system are logical
The requirement of real-time of news.
3. the virtualization mode of cloud platform is easy to establish virtual system copy, virtual opetrating system failure can be fast by copy
Quick-recovery is convenient for operation and maintenance;The presence information system of newly-increased sorter all uses ad hoc mode, and installation configuration is convenient;
Virtual system in newly-increased sorter cloud platform can quickly be modified on the basis of other sorter copies, and installation and deployment are convenient.
4. sorter field data equipment is not required to installation application program, also storing data, program and database are not respectively mounted
In cloud platform virtual system, upgrade simple and convenient.
5. the decoding module in each sorter cloud, communication module, for packet software module, single machine monitoring module and database mould
Block is independent, can dispose different application programs, facilitates and realizes user's different demands.
5. the resource of cloud platform can dynamic retractility according to demand, facilitate extension, therefore this system is suitble to meet user's need
The case where asking change or portfolio scale to increase, is specially adapted to the mode of current logistics business amount high speed development.
6. sorter data are stored directly in cloud in the present invention, eliminate and need in traditional Centralized Monitoring mode from local
The link of mass data, centralized management convenient to carry out and monitoring function are uploaded to monitoring center, simultaneously because having the right the characteristics of cloud
The maintenance personnel of limit can complete long-range prison in sorter scene, management and monitoring center or other places for having access to cloud platform
Control or management function have striven for the time quick and precisely to find failure, repairing failure, have improved the practicability of entire framework.
Detailed description of the invention
Fig. 1 is the packages machine control system functional structure chart in the present invention.
Fig. 2 is the parcel sorting machine control method schematic diagram in the present invention.
Specific embodiment
Packages machine control system based on cloud computing of the invention, comprising: main ring control module controls mould for packet
Block, for packet software module, pallet control module, bin control module, bar code reading module, decoding module, communication module, single machine
Monitoring module, Centralized Monitoring module, management module, database module and cloud platform management module.
As shown in Figure 1, control system module deployed position can be divided into four kinds: sorter scene, cloud platform, in management and monitoring
The heart other have access to cloud platform and has security permission place.
Each module deployment way of control system is described as follows:
Main ring control module is disposed for packet control module, pallet control module, bin control module, bar code reading module
At sorter scene.
Decoding module, communication module, database module are automatic running software, and without human-computer interaction function, they are disposed
In the virtual system being arranged in cloud platform.
Have for packet software module, single machine monitoring module, Centralized Monitoring module, management module, cloud platform management module man-machine
Interactive function, including server-side, client two parts.
Server-side is deployed in cloud platform in mutually independent virtual system.The decoding module in different sorter clouds leads to
Interrogate module, for packet software module, single machine monitoring module and database module independence.
Client is the equipment such as terminal, computer, PDA, smart phone.For packet software module, the visitor of single machine monitoring module
It affixes one's name at the scene family end;The client deployment of Centralized Monitoring module is in management and monitoring center or other have access to cloud platform and has
Security permission place;Management module, the client of cloud platform management module can dispose at the scene, management and monitoring center and other
It has access to cloud platform and has security permission place.
In this system, sorter scene does not need additionally to install computer applied algorithm, not storing data yet, application program
It is installed in the virtual system of cloud platform with database.C/S or B/S framework can be used in server-side.As server-side uses B/S frame
Structure, client call serve end program using browser;If server-side uses C/S framework, client uses remote desktop mode
Operation service end program, needs using serial ports and hardware communication, or is set using keyboard, mouse, printer, smart card, speaker etc.
It is standby, it sets local device to when logging on to server-side to be connected automatically to remote service end.
Decoding module in this system, communication module use C/S framework for packet software module;Management module, collection in this system
Middle monitoring module uses B/S framework;Single machine monitoring module server-side is ground using the configuration software of support web mode in this system
Hair, client are accessed using B/S mode;This system medium cloud platform management module supports C/S, B/S mode simultaneously.
Each module of control system is described as follows:
Main ring control module is the intelligent object of the components such as PLC, control panel, motor composition, is used for the start and stop of sorter main ring
At the uniform velocity operating control, it controls mould with for packet control module, bar code reading module, decoding module, pallet control module, bin
The real-time communications such as block and monitoring module, reception superscribe notice bar code reading module recognition after machine information, and recognition result is by translating
Code module obtains the physics bin of package distribution, then notifies pallet control module that package is fallen into specified physics bin.
It is the intelligence control system of the compositions such as control panel, motor, transmission parts for packet control module, for meeting all
The package of specification requirement smoothly and precisely imports main ring pallet.
For the host computer that packet software module is for packet control module, human-computer interaction function when completing for packet, and by user
Input is notified for information such as packet mode, package bar code, road direction, physics bins for packet control module.
Pallet control module is the smart tray control system of the compositions such as control panel, motor, transmission parts, it is according to main ring
The operating of pallet belt is completed in the order of control module, realizes package from steadily importing for packet platform and accurately fall into specified bin.
Bin control module is the intelligent control module of the compositions such as control panel, liquid crystal display panel, button, photoelectricity, warning light, is used
It is controlled in bin and realizes the human-computer interaction of bin state, bin state sends main ring control system in real time.
Bar code reading module is OBR automatic reader device, for wrapping up the automatic identifications such as bar code, address, the name of an article, and will
Recognition result sends decoding module.
Decoding module is the translator that runs in cloud platform virtual system, and major function is to complete package decoding, i.e., it
The information such as main ring control module, the package bar code of bar code reading module, road direction are received, according to the basic information in database module
After corresponding physics bin is wrapped up in inquiry, main ring control module is notified, and required related package, facility information are stored in database
System is used for management module or monitoring module.
Communication module is the communication program run in cloud platform virtual system, between completion and customer information system
Data interaction, basic information (sort plan, personal information etc.), the packages information etc. wrapped up from customer information system downloading
Data are stored in packet extension set database module, use for decoding module, management module etc.;Decoding module in database is obtained
Package falls lattice information, knot bag seal information (the loose mail information of seal in total package informatin and total packet) is uploaded to customer information system.
Management module by with database module real-time communication, complete in sorter and database the configuration of important parameter with
Management, such as user authority management, frequency management, system setting, data statistics function.It is settable by user authority setting
User management or monitoring separate unit sorter or whole sorters, may also set up part or repertoire in user management or monitoring.
Management module server-side supports the whole network sorter, when connection client terminal quantity is more, using the advantage of cloud, is extended to bringing onto load
Balanced and cluster framework.
Single machine monitoring module is by the main ring control module real-time communication with sorter, to the operating status of single sorter
Such as pallet, bin, piece supplying table, computer equipment are monitored and are controlled in real time, and the operation/maintenance data of required preservation is written
Database is used for Centralized Monitoring module.
Centralized Monitoring module by with database module real-time communication, to the sorter operating status of network-wide basis as held in the palm
Disk, bin, piece supplying table, computer equipment, virtual system etc., that is unified shows, alerts and control.
Database module is the database software run in cloud platform virtual system, for completing sorter information system number
According to storage and interact.Database is established for the whole network system in virtual system, stores necessary whole network equipment management, user right
The data such as management;Independent database, table or table space are established for single sorter, the basic data of the sorter is stored, divides
Pick the data such as data, equipment state.
Cloud platform management module provides the unified management to entire cloud platform system and infrastructure, configures cloud platform on demand
Computing resources shared pool, and the utilization to infrastructure resources, operating-system resources, middleware resource, application service such as CPU
Rate, memory service condition, storage service condition, service operation situation etc. carry out conduct monitoring at all levels.
Main ring control module with for packet control module, main ring control module and bin control module pass through the network CAN or
The modes such as RS485 communicate;It is communicated with for packet software module client by serial mode for packet control module;Main ring control module
Pass through infrared or leakage cable communication with pallet control module;Main ring control module, bar code reading module, for packet software module, decoding
Module, communication module, management module, monitoring module, Centralized Monitoring module, database module and cloud platform management module pass through net
Network mode is connected, and main ring control module, bar code reading module and decoding module are communicated by socket mode, and decoding module leads to
Interrogate module, for interactive by database between packet software module, management module, monitoring module, main ring control module and monitoring mould
Block server-side passes through OPC or other configuration interface communications.
As shown in Fig. 2, the parcel sorting machine control method based on cloud computing the following steps are included:
Step A1, information is downloaded
The communication module of cloud platform downloads sorting basic information (sort plan, personal information from customer information system in real time
Deng), the data such as packages information, be stored in database module, used for subsequent sort.
Step A2, it is pre-processed for packet
Step A2.1, before sorting starts, cloud platform is called on user's terminal at the scene, computer, PDA or smart phone
Management module software execute the frequency start to operate;After decoding module receives beginning frequency order, the main ring control at scene is notified
This frequency of module starts;After main ring control module completes initialization, is fed back to the decoding module of cloud platform and start frequency success, permitted
Perhaps for packet;
Step A2.2, before for packet, user call on the terminal for packet platform or computer at the scene cloud platform for packet software,
Setting is run for packet control module by user's setting means for packet mode, notice;
Step A2.3, manual mode for packet when, user at the scene for inputting wrapping strips on packet platform terminal or computer
After the information such as code, postcode, bin code, office of destination's name, cloud platform is looked into for packet software module by picking machine database module
Look for the corresponding road direction of package;
Step A2.4, when manual mode is for packet, cloud platform will wrap up bar code and calculated road for packet software module
To etc. information notice scene for packet control module.
Step A3, for wrapping machine
Scene for leading in real time between packet control module and main ring control module, main ring control module and pallet control module
Package is automatically imported empty pallet on main ring, and will be that manually package information is sent to main ring control module for pack mode by news.
Step A4, bar code reading
For being that automatically package, live main ring control module notify bar code reading module automatic identification packet for pack mode
Face list is wrapped up in, and the recognition results such as bar code are sent into the decoding module in cloud platform.
Step A5, bin changes
User passes through bin button, photoelectricity or monitoring module client end interface at the scene and changes bin state, live lattice
Mouth control module is completed the bins states such as normal, lock lattice, disabling, full lattice and is converted, and bin state is passed through main ring control in real time
Module notifies the decoding module in cloud platform;
Step A6, package decoding
Bin state that decoding module in cloud platform is sent according to live main ring control module, manual mode for packet packet
The automatic mode of information or live bar code reading module transmission is wrapped up in for the package information of packet, inquires database module information, in conjunction with
Real-time bin state calculates the effective physics bin code of package, and the main ring control module that physics bin number notice is live;
Step A7, package falls lattice
After package is fallen into specified physics bin by the main ring control module notice pallet control module at scene, cloud platform is notified
On decoding module, related package and facility information are written into database module decoding module;
Step A8, knot bag operation
When user needs to tie bag, the bin button at scene is operated, live bin control module completes the conversion of bin state,
And pass through the decoding module in main ring control module notice cloud platform for bag order is tied;
Step A9, bag seal is tied
After the main ring control module knot bag order for receiving scene, the decoding module in cloud platform believes the total packet for tying bag seal
Database module is written in loose mail information in breath and total packet.
Step A10, information uploads
The total package informatin and Zong Bao that package in production is fallen lattice information in real time, ties bag seal by the communication module in cloud platform
In loose mail information be uploaded to customer information system.
Step A11, system administration
Before and after sorting and in sorting overall process, the user that has permission can sorter scene, management and monitoring center or
The management module in cloud platform is called in other places for having access to cloud platform, completes configuration and the pipe of separate unit or the whole network sorter
Reason task.
Step A12, single machine monitors
Before and after sorting and in sorting overall process, the user that has permission can sorter scene, management and monitoring center or
The single machine monitoring module in cloud platform is called in other places for having access to cloud platform, completes the monitor task of separate unit sorter.
Step A13, Centralized Monitoring
Before and after sorting and in sorting overall process, the user that has permission can sorter scene, management and monitoring center or
The Centralized Monitoring module in cloud platform is called in other places for having access to cloud platform, completes the monitor task of the whole network sorter.