A kind of parcel sorting machine control method based on cloud computing and system
Technical field
The invention belongs to logistics equipment technical field, particularly to a kind of parcel sorting machine control method based on cloud computing
And system.
Background technology
With development of logistics line, parcel sorting machine application is more and more extensive.Parcel sorting machine is logistics distribution center
One of key equipment, it passes through machine driving and control system and is automatically divided parcel by bar code, user, place name, name of an article etc.
Pick, complete pack (or vanning), envelope (or joint sealing) etc. and work continuously.
Information processing link in parcel sorting machine control system operates in entity computer or the clothes of local disposition at present
In business device, often set sorter will individually be purchased and join the equipment such as a whole set of computer, server, switch and build computerized information
System, completes the function such as parcel 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 supporting computer server, because buying expenses is led
Cause parcel sorting machine high cost;
2. the confidential independent deploying computer system at the scene of every packages, deployment process is complicated, easily malfunctions;
3. cause the wasting of resources using physical machine, demand is difficult when changing to change;
4. the sorter Centralized Monitoring of loglstics enterprise network-wide basis to be realized, need first to pass to local data in monitoring
The heart, flow process is complicated, is not easy to implement.
In prior art, cloud computing is Distributed Calculation, parallel computation, effectiveness calculating, the network storage, virtualization, load
The traditional computers such as equilibrium, hot-standby redundancy and the product of network technical development fusion, it, using automation centralized management, leads to
Crossing network provides dynamically telescopic virtual resources.Cloud computing is distributed on substantial amounts of distributed computer, and computing capability is strong
Greatly, the versatility of cloud makes the utilization rate of its resource be substantially improved than legacy system.Cloud platform can be passed through available, convenient, on demand
Network access, (resource includes network, server, storage, application software, clothes to enter configurable computing resources shared pool
Business), by resource switch to the application needing, access cloud virtual server and storage system according to demand.Using cloud computing
It is a kind of approach of the defect solving existing parcel sorting machine control system.However, for how by cloud computing in existing
Parcel sorting machine control system is effectively combined, and prior art does not also provide clear and definite scheme.
Content of the invention
The invention provides a kind of parcel sorting machine control method based on cloud computing is it is therefore intended that overcome in prior art
Shortcoming, by means of loglstics enterprise private network (as comprehensive post net) set up cloud computing application platform, by the information of parcel sorting machine
System and data center deployment, in cloud platform, complete sorter decoding and customer information system communication, system by cloud computing
The function such as management and monitoring of tools, while hardware cost is greatly lowered, makes installation and deployment, the fortune of sorter control system
Row is safeguarded, centralized management and Centralized Monitoring are more convenient flexibly.
A kind of parcel sorting machine control system based on cloud computing, it is existing that the module in this system is deployed in sorter respectively
Field, cloud platform and management and monitoring center,
Cloud platform include DBM, for bag software module service end, unit monitoring module service end, decoding module and
Communication module, sorter Centralized Monitoring module service end, sorter management module service end and cloud platform management module service end,
DBM includes at least one sorter DBM,
Management and monitoring center includes sorter Centralized Monitoring module client, sorter management module client and cloud platform
Management module client,
Sorter scene is included for bag software module client, sorter management module client, unit monitoring module visitor
Family end, for bag 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 up of PLC, control panel, motor component, for sorter main ring start and stop and
Running at a constant speed control, it with for bag control module, bar code reading module, decoding module, pallet control module, bin control module
With real-time communications such as monitoring modules, receive and after superscribing machine information, notify the recognition of bar code reading module, recognition result passes through decoding
Module obtains the physics bin of package distribution, then notifies pallet control module that parcel is fallen into specified physics bin;
For bag control module be control panel, motor, drive disk assembly composition intelligence control system, for meeting rule by all
The parcel that lattice require smoothly and precisely imports main ring pallet;
It is the host computer for bag control module for bag software module, complete for human-computer interaction function during bag, and by user
The confession packet mode of input, parcel bar code, road direction, physics bin information notify to supply bag control module;
Pallet control module is control panel, motor, the smart tray control system of drive disk assembly composition, and it is according to main ring control
The order of molding block completes the operating of pallet belt, realizes parcel from steadily importing for bag platform and accurately fall into specified bin;
Bin control module is control panel, liquid crystal panel, button, photoelectricity, the intelligent control module of warning light composition, is used for
Bin controls and realizes bin state man-machine interaction, and bin state sends 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 know
Other result sends decoding module;
Decoding module be cloud platform virtual system in run translator, major function be complete parcel decoding, that is, it
Receive main ring control module, the parcel bar code of bar code reading module, road direction information, looked into according to the Back ground Information in DBM
After asking the corresponding physics bin of parcel, notify main ring control module, and required relevant parcel, facility information are stored in data base set
System, uses for management module or monitoring module;
Communication module is the communication program running in cloud platform virtual system, for completing and customer information system between
Data interaction, downloads the number such as Back ground Information (sort plan, personal information), packages information of parcel from customer information system
According to, be stored in bag extension set DBM, for decoding module, management module etc. use;The bag that decoding module in database is obtained
Wrap up in lattice information, knot bag seal information (the loose mail information of seal in total package informatin and total bag) is uploaded to customer information system;
Sorter management module by with DBM real-time communication, complete important parameter in sorter and database
Configuration and management, by user authority setting, can arrange user management or monitoring separate unit sorter or whole sorter, also can set
Put part or repertoire in user management or monitoring, management module service end supports the whole network sorter, when connection number clients
When measuring many, using the advantage of cloud, it is extended to the framework of bringing onto load equilibrium and cluster;
Unit monitoring module is by the main ring control module real-time communication with sorter, the running status to single sorter
Monitored in real time and controlled, and the operation/maintenance data write into Databasce by required preservation, use for Centralized Monitoring module;
Sorter Centralized Monitoring module by with DBM real-time communication, shape is run to the sorter of network-wide basis
State, that is unified represents, alerts and controls;
DBM is the database software running in cloud platform virtual system, is used for completing sorter information system number
According to storing and interacting, in virtual system, set up database, storage necessary whole network equipment management, user right for the whole network system
The data such as management;Set up independent database, table or table space for single sorter, store the basic data of this sorter, divide
Pick data, device status data;
Cloud platform management module provides the unified management to whole cloud platform system and infrastructure, configures cloud platform on demand
Computing resources shared pool, and infrastructure resources, operating-system resources, middleware resource, application service are carried out comprehensive
Monitoring;
Main ring control module with for bag control module, main ring control module and bin control module by CAN networking or
RS485 mode communicates;Communicated by serial mode with for bag software module client for bag 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 bag software module, decoding mould
Block, communication module, management module, monitoring module, Centralized Monitoring module, DBM 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, for bag software module, management module, interacted by database between monitoring module, main ring control module and monitoring module
Service end passes through OPC or other configuration interface communication.
A kind of parcel sorting machine control method based on cloud computing, comprises the following steps:
Step A1, information are downloaded,
The communication module of cloud platform downloads sorting Back ground Information (sort plan, personal information from customer information system in real time
Deng), the data such as packages information, be stored in DBM, use for subsequent sort.
Step A2, confession bag pretreatment,
Before step A2.1, sorting start, user's terminal at the scene, computer, PDA or smart mobile phone call cloud platform
Management module software execution the frequency start operate;After decoding module receives beginning frequency order, the main ring at scene is notified to control
This frequency of module starts;After main ring control module completes initialization, start frequency success to the decoding module feedback of cloud platform, permit
Permitted for bag;
Step A2.2, for bag before, user calls the confession bag software of cloud platform at the scene on the terminal for bag platform or computer,
Setting supplies packet mode, notifies to press the operation of user's setting means for bag control module;
Step A2.3, when manual mode is for bag, user's confession bag station terminal at the scene or computer input wrapping strips
After the information such as code, postcode, bin code, office of destination's name, the confession bag software module of cloud platform is looked into by picking machine DBM
Look for the corresponding road direction of parcel;
Step A2.4, when manual mode is for bag, the confession bag software module of cloud platform will wrap up bar code and the road calculating
To etc. information notify scene confession bag control module;
Machine is wrapped in step A3, confession,
Lead in real time between the confession bag control module at scene and main ring control module, main ring control module and pallet control module
News, parcel is automatically imported empty pallet on main ring, and by be manual for pack mode package information be sent to main ring control module;
Step A4, bar code reading,
For being automatic parcel for pack mode, the main ring control module at scene notifies bar code reading module automatic identification bag
Wrap up in face list, and the recognition results such as bar code are sent the decoding module in cloud platform;
Step A5, bin change,
User passes through bin button, photoelectricity or monitoring module client end interface at the scene and changes bin state, the lattice at scene
Mouthful control module complete normally, lock the bin State Transferring such as lattice, disabling, Man Ge, and bin state is controlled by main ring in real time
Module notifies the decoding module in cloud platform;
Step A6, parcel decoding,
Bin state that decoding module in cloud platform sends according to live main ring control module, manual mode are for the bag of bag
Wrap up in information or automatic mode that live bar code reading module sends is for the package information of bag, inquire about DBM information, in conjunction with
Bin state in real time, calculates the effective physics bin code of parcel, and physics bin number is notified the main ring control module at scene;
Step A7, parcel fall lattice,
The main ring control module at scene notifies pallet control module to fall into parcel after specified physics bin, notifies cloud platform
On decoding module, decoding module writes related parcel and facility information in DBM;
Step A8, knot bag operation,
When user needs to tie bag, the bin button at operation scene, the bin control module at scene completes bin State Transferring,
And knot bag order is notified the decoding module in cloud platform by main ring control module;
Step A9, knot bag seal,
After receiving the main ring control module knot bag order at scene, the decoding module in cloud platform will tie total bag letter of bag seal
Loose mail information write into Databasce module in breath and total bag;
Step A10, information upload,
Parcel in producing is fallen lattice information, knot total package informatin of bag seal and Zong Bao by communication module in cloud platform in real time
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
Management module in cloud platform is called in the place that other has access to cloud platform, completes configuration and the pipe of separate unit or the whole network sorter
Reason task;
Step A12, unit monitoring,
Before and after sorting and in sorting overall process, the user that has permission can sorter scene, management and monitoring center or
Unit monitoring module in cloud platform is called in the place that other has 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
Centralized Monitoring module in cloud platform is called in the place that other has access to cloud platform, completes the monitor task of the whole network sorter.
The present invention utilizes the advantage of cloud computing, by the sorter information system in loglstics enterprise network-wide basis and data center
It is deployed in cloud computing platform, in sort process, by sorter scene automatic identification or the parcel 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 notifies further according to cloud platform decoding result
Performance element complete parcel fall lattice sorting, build more Intelligent portable sorter control system.
The present invention passes through to dispose the sorter data center of enterprise's network-wide basis and information system in cloud platform, passes through
Parcel decoding and customer information system communication, system administration and the Supervision of every sorter is flexibly and easily realized in cloud computing
Control function, is simultaneously achieved sorter centralized management in network-wide basis.The system makes full use of cloud computing advantage, has excellent as follows
Point:
1. because the utilization rate that the versatility of cloud makes resource is substantially improved, therefore than conventional method, different in the present invention
Sorter system does not need to repeat to purchase the hardware devices such as server, computer, switch, and hardware cost is greatly reduced.
2. cloud platform is connected by network mode with field apparatus, loglstics enterprise private network (as comprehensive post net etc.) network speed
Degree is fast, and the superpower computing capability of cooperation cloud computing can fully ensure that the decoding of sorter control system and customer information system are led to
The requirement of real-time of news.
3. the virtualization mode of cloud platform is easy to set up virtual system copy, and virtual opetrating system fault can be fast by copy
Quick-recovery, is easy to operation maintenance;The presence information system of newly-increased sorter, all using ad hoc mode, installs configuration convenient;
Virtual system in newly-increased sorter cloud platform quickly can be changed on the basis of other sorter copies, and installation and deployment are convenient.
4. sorter field data equipment is not required to set up applications, also not data storage, and program database is respectively mounted
In cloud platform virtual system, upgrading is simple and convenient.
5. the decoding module in each sorter high in the clouds, communication module, supply bag software module, unit monitoring module database mould
Block is independent, can dispose different application programs, conveniently realize user's different demands.
5. the resource of cloud platform can dynamic retractility according to demand, convenient extend, therefore the system is suitable for meeting user's need
Seek the situation that change or portfolio scale increase, be specially adapted to the pattern of current logistics business amount high speed development.
6. in the present invention, sorter data is stored directly in cloud, and eliminating in traditional Centralized Monitoring mode needs from local
Upload link, centralized management convenient to carry out and the monitoring function of mass data to Surveillance center, simultaneously because the feature of cloud, have the right
The attendant of limit can have access to the place of cloud platform in sorter scene, management and monitoring center or other, completes remotely to supervise
Control or management function, for quick and precisely find fault, repair fault striven for the time, improve the practicality of whole framework.
Brief description
Fig. 1 is the parcel sorting 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
The parcel sorting machine control system based on cloud computing of the present invention, including:Main ring control module, confession bag control mould
Block, supply bag software module, pallet control module, bin control module, bar code reading module, decoding module, communication module, unit
Monitoring module, Centralized Monitoring module, management module, DBM 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 or other have access to cloud platform and have security permission place.
Control system each module deployment way is described as follows:
Main ring control module, for bag control module, pallet control module, bin control module, bar code reading module deployment
At sorter scene.
Decoding module, communication module, DBM are automatic running software, do not have human-computer interaction function, and they are disposed
In the virtual system of setting in cloud platform.
Have man-machine for bag software module, unit monitoring module, Centralized Monitoring module, management module, cloud platform management module
Interactive function, including service end, client two parts.
Service end is deployed in separate virtual system in cloud platform.The decoding module in different sorter high in the clouds, logical
Interrogate module, supply bag software module, unit monitoring module database module independent.
Client is the equipment such as terminal, computer, PDA, smart mobile phone.Visitor for bag software module, unit monitoring module
Family end is affixed one's name at the scene;The client deployment of Centralized Monitoring module has access to cloud platform at management and monitoring center or other 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
Have access to cloud platform and have security permission place.
In the system, sorter scene does not need additionally to install computer applied algorithm, not data storage yet, application program
Database is installed in the virtual system of cloud platform.Service end can adopt C/S or B/S framework.As service end adopts B/S frame
Structure, client calls serve end program using browser;As service end adopts 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, audio amplifier etc.
Standby, sign in and be set to be connected automatically to remote service end by local device during service end.
Decoding module in the system, communication module, adopt C/S framework for bag software module;Management module, collection in the system
Middle monitoring module adopts B/S framework;In the system, unit monitoring module service end is ground using the configuration software supporting web mode
Send out, client is accessed using B/S mode;The system medium cloud platform management module supports C/S, B/S mode simultaneously.
The each module of control system is described as follows:
Main ring control module is the intelligent object of the part such as PLC, control panel, motor composition, for sorter main ring start and stop
With Running at a constant speed control, it controls mould with for bag control module, bar code reading module, decoding module, pallet control module, bin
The real-time communication such as block and monitoring module, receives and notifies the recognition of bar code reading module after superscribing machine information, and recognition result is passed through to translate
Code module obtains the physics bin of package distribution, then notifies pallet control module that parcel is fallen into specified physics bin.
It is the intelligence control system of the composition such as control panel, motor, drive disk assembly for bag control module, for meeting all
The parcel of specification requirement smoothly and precisely imports main ring pallet.
It is the host computer for bag control module for bag software module, complete for human-computer interaction function during bag, and by user
The information such as the confession packet mode of input, parcel bar code, road direction, physics bin notify to supply bag control module.
Pallet control module is the smart tray control system of the composition such as control panel, motor, drive disk assembly, and it is according to main ring
The order of control module completes the operating of pallet belt, realizes parcel from steadily importing for bag platform and accurately fall into specified bin.
Bin control module is the intelligent control module of the composition such as control panel, liquid crystal panel, button, photoelectricity, warning light, uses
In bin control and realize bin state man-machine interaction, 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 be cloud platform virtual system in run translator, major function be complete parcel decoding, that is, it
Receive the information such as main ring control module, the parcel bar code of bar code reading module, road direction, according to the Back ground Information in DBM
After the corresponding physics bin of inquiry parcel, notify main ring control module, and required relevant parcel, facility information are stored in database
System, uses for management module or monitoring module.
Communication module is the communication program running in cloud platform virtual system, for completing and customer information system between
Data interaction, downloads Back ground Information (sort plan, personal information etc.), packages information of parcel etc. from customer information system
Data, is stored in bag extension set DBM, uses for decoding module, management module etc.;Decoding module in database is obtained
Wrap up lattice information, knot bag seal information (the loose mail information of seal in total package informatin and total bag) is uploaded to customer information system.
Management module by with DBM real-time communication, complete in sorter and database the configuration of important parameter with
Management, the such as function such as user authority management, frequency management, system setting, data statistics.By user authority setting, can arrange
User management or monitoring separate unit sorter or whole sorter, may also set up part or repertoire in user management or monitoring.
Management module service end supports the whole network sorter, when connecting client terminal quantity and being many, using the advantage of cloud, is extended to bringing onto load
Equilibrium and the framework of cluster.
Unit monitoring module is by the main ring control module real-time communication with sorter, the running status to single sorter
As pallet, bin, piece supplying table, computer equipment etc. are monitored in real time and control, and the operation/maintenance data write by required preservation
Database, uses for Centralized Monitoring module.
Centralized Monitoring module by with DBM real-time communication, to the sorter running status of network-wide basis as held in the palm
Disk, bin, piece supplying table, computer equipment, virtual system etc., that is unified represents, alerts and controls.
DBM is the database software running in cloud platform virtual system, is used for completing sorter information system number
According to storage and interact.Set up database, storage necessary whole network equipment management, user right for the whole network system in virtual system
The data such as management;Set up independent database, table or table space for single sorter, store the basic data of this sorter, divide
Pick the data such as data, equipment state.
Cloud platform management module provides the unified management to whole 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 such as CPU utilization
Rate, internal memory service condition, storage service condition, service operation situation etc. carry out conduct monitoring at all levels.
Main ring control module with for bag control module, main ring control module and bin control module by CAN networking or
The modes such as RS485 communicate;Communicated by serial mode with for bag software module client for bag 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, supply bag software module, decoding
Module, communication module, management module, monitoring module, Centralized Monitoring module, DBM and cloud platform management module pass through net
Network mode be connected, main ring control module, bar code reading module and decoding module are communicated by socket mode, decoding module, lead to
News module, for bag software module, management module, interact by database between monitoring module, main ring control module with monitor mould
Block service end passes through OPC or other configuration interface communication.
As shown in Fig. 2 being comprised the following steps based on the parcel sorting machine control method of cloud computing:
Step A1, information are downloaded
The communication module of cloud platform downloads sorting Back ground Information (sort plan, personal information from customer information system in real time
Deng), the data such as packages information, be stored in DBM, use for subsequent sort.
Step A2, confession bag pretreatment
Before step A2.1, sorting start, user's terminal at the scene, computer, PDA or smart mobile phone call cloud platform
Management module software execution the frequency start operate;After decoding module receives beginning frequency order, the main ring at scene is notified to control
This frequency of module starts;After main ring control module completes initialization, start frequency success to the decoding module feedback of cloud platform, permit
Permitted for bag;
Step A2.2, for bag before, user calls the confession bag software of cloud platform at the scene on the terminal for bag platform or computer,
Setting supplies packet mode, notifies to press the operation of user's setting means for bag control module;
Step A2.3, when manual mode is for bag, user's confession bag station terminal at the scene or computer input wrapping strips
After the information such as code, postcode, bin code, office of destination's name, the confession bag software module of cloud platform is looked into by picking machine DBM
Look for the corresponding road direction of parcel;
Step A2.4, when manual mode is for bag, the confession bag software module of cloud platform will wrap up bar code and the road calculating
To etc. information notify scene confession bag control module.
Machine is wrapped in step A3, confession
Lead in real time between the confession bag control module at scene and main ring control module, main ring control module and pallet control module
News, parcel is automatically imported empty pallet on main ring, and by be manual for pack mode package information be sent to main ring control module.
Step A4, bar code reading
For being automatic parcel for pack mode, the main ring control module at scene notifies bar code reading module automatic identification bag
Wrap up in face list, and the recognition results such as bar code are sent the decoding module in cloud platform.
Step A5, bin change
User passes through bin button, photoelectricity or monitoring module client end interface at the scene and changes bin state, the lattice at scene
Mouthful control module complete normally, lock the bin State Transferring such as lattice, disabling, Man Ge, and bin state is controlled by main ring in real time
Module notifies the decoding module in cloud platform;
Step A6, parcel decoding
Bin state that decoding module in cloud platform sends according to live main ring control module, manual mode are for the bag of bag
Wrap up in information or automatic mode that live bar code reading module sends is for the package information of bag, inquire about DBM information, in conjunction with
Bin state in real time, calculates the effective physics bin code of parcel, and physics bin number is notified the main ring control module at scene;
Step A7, parcel fall lattice
The main ring control module at scene notifies pallet control module to fall into parcel after specified physics bin, notifies cloud platform
On decoding module, decoding module writes related parcel and facility information in DBM;
Step A8, knot bag operation
When user needs to tie bag, the bin button at operation scene, the bin control module at scene completes bin State Transferring,
And knot bag order is notified the decoding module in cloud platform by main ring control module;
Step A9, knot bag seal
After receiving the main ring control module knot bag order at scene, the decoding module in cloud platform will tie total bag letter of bag seal
Loose mail information write into Databasce module in breath and total bag.
Step A10, information upload
Parcel in producing is fallen lattice information, knot total package informatin of bag seal and Zong Bao by communication module in cloud platform in real time
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
Management module in cloud platform is called in the place that other has access to cloud platform, completes configuration and the pipe of separate unit or the whole network sorter
Reason task.
Step A12, unit monitoring
Before and after sorting and in sorting overall process, the user that has permission can sorter scene, management and monitoring center or
Unit monitoring module in cloud platform is called in the place that other has 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
Centralized Monitoring module in cloud platform is called in the place that other has access to cloud platform, completes the monitor task of the whole network sorter.