Disclosure of Invention
An object of the embodiments of the present disclosure is to provide a method, an apparatus, a system, a computer-readable storage medium and an electronic device for sorting packages, so as to improve the speed and accuracy of sorting packages at least to some extent.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for sorting parcels, which is applied to a conveyor belt, the conveyor belt is provided with a plurality of swing arms and a plurality of parcel bays, the swing arms correspond to the parcel bays one to one, and the method includes: when the first package is at the initial position, acquiring a first numerical value of a counter; according to the package information of the first package, obtaining a counter difference value of a first package lattice corresponding to the first package, wherein the counter difference value is a counting difference value of a counter in the process that the article on the conveyor belt is conveyed from the initial position to a package lattice position corresponding to the counter difference value; acquiring a target value of the counter when the first parcel reaches the first parcel slot according to the first value and the counter difference value; when the value of the counter obtained by continuously monitoring the counting of the counter is the target value, generating a swing arm signal to drive the swing arm to act so as to push the first parcel into the first parcel lattice.
In some embodiments, the counter difference value of each parcel compartment is stored in correspondence with the parcel compartment according to a set conveying speed of the conveyor belt and the counter difference value of each parcel compartment between the parcel compartment and the start position.
In some embodiments, the method further comprises: and when the numerical value of the counter reaches a preset first threshold value, clearing the counter.
In some embodiments, before the obtaining the first value of the counter, the method further comprises: acquiring the package information of the first package acquired by code scanning of the initial position code scanning equipment; determining that the first parcel is at a starting location in accordance with the parcel information for the first parcel.
In some embodiments, the conveyor belt is further provided with an abnormal parcel bay, and if a parcel barcode of a second parcel is not identifiable or the second parcel does not have a corresponding target parcel bay, the second parcel is conveyed to the abnormal parcel bay.
In some embodiments, said obtaining a counter difference value for a first parcel bin corresponding to said first parcel comprises: according to the package information of the first package, obtaining a destination group corresponding to the first package; determining the first parcel bin to which the first parcel corresponds from the destination group.
According to a second aspect of the embodiments of the present disclosure, there is provided a package sorting device, which is applied to a belt of a belt transmission, the belt is provided with a plurality of swing arms and a plurality of package compartments, the swing arms correspond to the package compartments one to one, and the device includes: a counter value obtaining unit, configured to obtain a first value of the counter when the first parcel is at the start position; a counter difference value obtaining unit, configured to obtain, according to package information of the first package, a counter difference value of a first package slot corresponding to the first package, where the counter difference value is a count difference value of a counter in a process in which the article on the conveyor belt is conveyed from the start position to a package slot position corresponding to the counter difference value; the counter value obtaining unit is further configured to obtain a target value of the counter when the first parcel reaches the first parcel bin according to the first value and the counter difference value; and the swing arm signal generating unit is used for generating a swing arm signal when the value of the counter obtained by continuously monitoring the counting of the counter is the target value so as to drive the swing arm to act and push the first wrapping into the first wrapping grid.
According to a third aspect of embodiments of the present disclosure, there is provided a system for parcel sorting, the system comprising: a conveyor belt; the swing arms and the wrapping grids are arranged on the conveyor belt, wherein the wrapping grids correspond to the swing arms one by one; the PLC is used for obtaining a first value of a counter when a first parcel is at an initial position, obtaining a counter difference value of a first parcel lattice corresponding to the first parcel according to parcel information of the first parcel, wherein the counter difference value is a counting difference value of the counter in the process that an article on the conveyor belt is transmitted to the parcel lattice position corresponding to the counter difference value from the initial position, obtaining a target value of the counter when the first parcel reaches the first parcel lattice according to the first value and the counter difference value, and generating a swing arm signal when the value of the counter obtained by continuously monitoring counting of the counter is the target value so as to drive the swing arm to act and push the first parcel into the first parcel lattice.
In some embodiments, the swing arm comprises a swing arm motor and a swing arm mechanism, and the swing arm motor is in communication connection with the PLC controller and is configured to control the swing arm mechanism to swing according to a swing arm signal sent by the PLC controller, so as to push the first parcel into the first parcel shelf.
In some embodiments, the system further includes a code scanning device disposed at the start position of the conveyor belt, the code scanning device is in communication connection with the PLC controller, and the code scanning device is configured to scan the code of the first parcel to obtain parcel information of the first parcel and send the parcel information to the PLC controller.
In some embodiments, the system further comprises a control signal output circuit connected with the PLC controller and the plurality of swing arms, for sending the swing arm signal generated by the PLC controller to the corresponding swing arm; the swing arm motor brake circuits are connected with the swing arms in a one-to-one correspondence mode and used for releasing the brakes of the corresponding swing arm motors when swing arm signals are received; the swing arm motor driving circuits are connected with the swing arms in a one-to-one correspondence mode and are used for controlling the swing arm motors to act when swing arm signals are received; the swing arm proximity switches correspond to the swing arms one to one and are used for generating swing arm proximity signals to be sent to the PLC when the swing arms are sensed to swing to a set position so as to control the swing arm motors to stop acting.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of parcel sorting as described in the first aspect of the embodiments above.
According to a fifth aspect of an embodiment of the present disclosure, there is provided an electronic apparatus including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of sorting packages as described in the first aspect of the embodiments above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in some embodiments of the present disclosure, a counter difference value from a start position to a parcel bay is set, and counting is started when an article reaches the start position, so that whether the article reaches the target parcel bay can be determined according to count data and the counter difference value of the target parcel bay, so as to quickly and accurately sort the parcel.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
In the related art, package sorting is performed by manual sorting or by using automatic sorting equipment. The manual sorting speed is low, and the accuracy is low; when using automatic sorting equipment to sort, the sorting accuracy is also limited by the automation level and accuracy of the automatic sorting equipment.
To overcome this problem, embodiments of the present disclosure provide a method, an apparatus, a system, a computer-readable storage medium, and an electronic device for sorting packages.
Fig. 1 schematically illustrates a method of parcel sorting according to an exemplary embodiment of the present disclosure. The method provided by the embodiment of the present disclosure can be executed by any electronic device with computer processing capability, such as a terminal device and/or a server. The embodiment of the disclosure provides a parcel sorting method, which is applied to a transmission belt, wherein a plurality of swing arms and a plurality of parcel grids are arranged on the transmission belt, and the swing arms correspond to the parcel grids one by one. Referring to fig. 1, a method for sorting packages provided by the embodiments of the present disclosure may include the following steps:
step S102, when the first parcel is at the start position, a first numerical value of the counter is obtained.
Step S104, acquiring a counter difference value of a first wrapping grid corresponding to the first wrapping according to the wrapping information of the first wrapping, wherein the counter difference value is a counting difference value of a counter in the process that the articles on the conveyor belt are transmitted to the wrapping grid position corresponding to the counter difference value from the initial position.
And step S106, acquiring a target value of the counter when the first parcel reaches the first parcel slot according to the first value and the difference value of the counter.
And step S108, when the numerical value of the counter is the target numerical value, generating a swing arm signal to drive a swing arm to act, and pushing the first wrapping into the first wrapping lattice opening.
In the embodiment of the disclosure, by setting a difference value of a counter from a starting position to each parcel lattice, and determining a value of a counter when a first parcel arrives at the starting position, the counter when the first parcel arrives at the first parcel lattice according to the difference value of the counter of the first parcel corresponding to the first parcel, and when a timer counts and reaches the value of the counter, determining that the first parcel arrives at the first parcel lattice, a pushing position of the first parcel is determined quickly and accurately, so that the swing arm is used for pushing the first parcel to the first parcel lattice.
As shown in fig. 2, in the embodiment of the present disclosure, a first wrapping cell 231, a second wrapping cell 232, a third wrapping cell 233, and a fourth wrapping cell 234 are disposed on the conveyor belt 210, and the four wrapping cells correspond to the first swing arm 241, the second swing arm 242, the third swing arm 243, and the fourth swing arm 244 one by one, and in addition, other wrapping cells and swing arms not shown in the drawings may be disposed on the conveyor belt. The amount of change in the counter value of the article moving from the home position 220 to a parcel compartment as the article is conveyed by the conveyor is defined as the counter difference for that parcel compartment.
Before step S102, package information of the first package obtained by scanning the code by the start position code scanning device needs to be obtained, and it is determined that the first package is at the start position according to the package information of the first package.
Before step S104, it is necessary to obtain the counter difference of each parcel bay according to the set conveying speed of the conveyor belt and the distance between each parcel bay and the start position, and store the corresponding relationship between the counter difference of each parcel bay and the parcel bay.
As shown in fig. 2, distances between the first wrapping bay and the second wrapping bay, and between the third wrapping bay and the fourth wrapping bay and the initial position are L1 m, L2 m, L3 m and L4 m, respectively. When the conveyor belt runs at a constant conveying speed v m/S and the number of counting pulses of the counter per second is S, the difference values of the counters corresponding to the first parcel grid, the second parcel grid, the third parcel grid and the fourth parcel grid are L1/vS, L2/vS, L3/vS and L4/vS respectively. After the parcel shelf and the corresponding counter difference value are stored in a one-to-one correspondence manner, the parcel shelf corresponding to the parcel and the counter difference value corresponding to the parcel shelf can be inquired according to the parcel information.
Thus, when the parcel starts to move from the initial position, the initial value of the numerical value of the counter is recorded, when the numerical value variation of the counter is the counter difference value of the parcel lattice corresponding to the parcel, the parcel is considered to reach the parcel lattice corresponding to the parcel, the swing arm corresponding to the parcel lattice is controlled to act at the moment, and the parcel can be pushed into the corresponding parcel lattice.
Specifically, after acquiring the package information according to the first package, a destination group corresponding to the first package is acquired, and a first package bin corresponding to the first package is determined according to the destination group.
The method provided by the embodiment of the present disclosure may be executed by a PLC controller, but is not limited to this in practical application. And the PLC carries out array storage of the structure data on the package lattice corresponding to the received package to form a storage list. The size of the storage list can be defined as N, that is, a single conveyor belt can simultaneously track N packages, where N is a positive integer, and a value can be taken according to actual needs, for example, N is set to be greater than or equal to 40 and less than or equal to 60. The speed of the conveying belt, namely the belt conveying body, is calibrated, the distance between each packaging grid opening and the initial position and the number of coded disc counting pulses of the conveying belt form a one-to-one correspondence relationship, and the coded disc counting pulses corresponding to each packaging grid opening are stored into a PLC (programmable logic controller) as static variables for query.
In the embodiment of the disclosure, the conveyor belt is further provided with an abnormal parcel shelf, and if the parcel barcode of the second parcel cannot be identified or the second parcel does not have a corresponding target parcel shelf, the second parcel is conveyed to the abnormal parcel shelf.
Here, the package without the corresponding package bin is an abnormal package, and may be a through package or a wrong-line package, for example. Specifically, after the parcel is scanned, whether the parcel is an abnormal parcel or not can be judged according to parcel information obtained by scanning the code.
As shown in fig. 3, in the method for sorting packages according to the embodiment of the present disclosure, steps S301 to S303 are performed in a loop from the array with the storage list serial number of 1 until the storage list serial number is 50.
Step S301, judging whether sorting is needed or not and whether the current code disc pulse number is equal to the target code disc pulse number or not, and if yes, executing step S302. Here, a sorting identifier may be set, and whether the package corresponding to the current array needs to be sorted is determined according to the sorting identifier.
When the sorting identification represents that the package needs to be sorted, the package is a normal package and has a corresponding target package lattice. When the sorting identifier indicates that the package does not need to be sorted, the package is an abnormal package and does not have a corresponding target package grid.
When the packages are scanned, the sorting identifications of the packages can be determined to be sorted and not to be sorted according to the package information obtained by scanning the codes. When the packages needing to be sorted meet the set conditions in the step S301, the step S302 and the subsequent steps are continuously executed, and the packages not needing to be sorted are not allocated with the corresponding package slots, and finally enter the set abnormal package slots.
In step S302, an operation flag is set to 1.
Step S303, add 1 to the storage list number.
After step S302, steps S304 to S306 need to be executed.
In step S304, the drive flag is set to 1.
Step S305, the swing arm motor is driven to act.
Step S306, setting the action identifier to be 0, and releasing the array resource of the current array to circularly utilize the list resource.
In the running process of the belt conveying body, the PLC compares the number of a package lattice corresponding to the current package in the storage list, inquires the code disc counting pulse of the corresponding package lattice, namely the difference value of a counter, and calculates the target code disc pulse number of the package lattice corresponding to the current package, namely the target value by combining the code disc pulse number of the conveying belt when the current package is positioned at the initial position.
In the embodiment of the present disclosure, when the value of the counter reaches the preset first threshold, the counter may be cleared. Specifically, the PLC maintains the storage list, and after the swing arm moves, the array items corresponding to the parcel shelf corresponding to the swing arm are emptied, so that resource space recycling is realized. The first threshold value M of the code wheel counter can be defined to be 6-8 ten thousands, and when the number reaches the first threshold value, the code wheel counter is automatically cleared.
In the embodiment of the disclosure, the PLC controller only tracks the package assigned with the package slot, and whether the package enters the package slot is only related to the difference value of the counter of the package slot bound by the package. The unidentified packages are conveyed to the set abnormal package cell, and the package arriving at the abnormal package cell can be processed by manual sorting or other processing modes. Therefore, according to the technical scheme of the embodiment of the disclosure, when the unidentified packages appear, the normal sorting of the packages is not influenced, manual intervention on the conveyor belt is not needed, and the coupling degree is low.
The package sorting process of the embodiment of the disclosure relates to four-level physical connection and signal transmission of a switch, a PLC (programmable logic controller), an ASI (Actuator-Sensor-Interface) module and a swing arm motor driver. The ASI module is used for bidirectional information exchange between a controller (master station) and a sensor/actuator (slave station).
The PLC controller can directly generate a swing arm signal and output the swing arm signal to the swing arm motor without passing through an external controller and a gateway, and the control architecture is simple.
The swing arm sorting technical scheme in the embodiment of the disclosure adopts the frequency converter and the variable frequency motor to drive the swing arm to move, has high force ratio, and can quickly and efficiently move to sort large packages containing dozens of packages to dozens of packages.
In the implementation of the invention, a Siemens PLC can be used as a main controller, and the communication with a DWS (Data Warehouse Service) system is realized in real time through an Ethernet local area network. According to the communication protocol agreed by both parties, the PLC sends heartbeats to the DWS system at regular time, and long connection is maintained. The DWS system automatically scans the packages in five planes quickly, and obtains corresponding package grids according to the package information obtained by scanning the codes. The DWS sends the package and the package grid information to the PLC controller, so that the PLC controller controls the package to fall into the designated package grid.
The DWS system can scan the code of the package at the self-defined initial position and record the code scanning time as the time for the package to reach the initial position, and can scan the code of the package before entering the initial position and determine the time for the package to reach the initial position when the package reaches the initial position.
And under the condition that the DWS cannot acquire the bar code information of the package correctly, an artificial bar code gun can be selected for code complementing. Under the condition that the parcel bar code is damaged, a parcel shelf can be manually specified through a shelf button.
In the embodiment of the disclosure, the conveying speed of the conveyor belt can reach 80 m/s, the sorting amount of packages can be about 3500 pieces per hour, and the sorting accuracy rate reaches 98%.
After the swing arm signal is generated, the PLC controller can be communicated with the ASI module through a Profinet network to control a swing arm motor driver to drive a swing arm motor to act, and the function that the swing arm mechanism swings goods to enter a wrapping lattice opening is achieved.
A swing arm proximity switch is arranged at a set position near the swing arm, and when the swing arm proximity switch senses that the swing arm is close to the swing arm, a swing arm proximity signal is generated and transmitted to the PLC server through the ASI module. Here, the swing arm is close to the set position, which indicates that the swing arm has swung in place and the parcel has entered the corresponding parcel shelf. And after receiving the swing arm approaching signal, the PLC server generates a swing arm stopping signal and controls the swing arm motor to stop.
The method for sorting the parcels in the embodiment of the disclosure sets the difference value of the counter from the initial position to the parcel shelf, and starts counting when the articles reach the initial position, so that whether the articles reach the target parcel shelf can be judged according to the counting data and the difference value of the counter of the target parcel shelf, and the parcels can be sorted quickly and accurately.
Embodiments of the apparatus of the present disclosure are described below that may be used to perform the above-described methods of parcel sorting of the present disclosure. As shown in fig. 4, the device of parcel letter sorting that this disclosed embodiment provided is applied to the drive belt of belt transmission, is provided with a plurality of swing arms and a plurality of parcel check mouth on the conveyer belt, and the swing arm corresponds with parcel check mouth one-to-one, and the device includes:
a counter value obtaining unit 402, configured to obtain a first value of the counter when the first parcel is at the start position.
A counter difference obtaining unit 404, configured to obtain, according to the package information of the first package, a counter difference of the first package slot corresponding to the first package, where the counter difference is a count difference of a counter in a process in which the article on the conveyor belt is conveyed from the start position to a package slot position corresponding to the counter difference.
The counter value obtaining unit 402 is further configured to obtain a target value of the counter when the first parcel arrives at the first parcel slot, based on the first value and the counter difference value.
And the swing arm signal generating unit 408 is configured to generate a swing arm signal when the value of the counter is the target value, so as to drive the swing arm to move, and push the first package into the first package slot.
For details which are not disclosed in the embodiments of the apparatus of the present disclosure, please refer to the embodiments of the method of sorting packages described above in the present disclosure for details which are not disclosed in the embodiments of the apparatus of the present disclosure.
The device for sorting the parcels in the embodiment of the disclosure sets the counter difference from the starting position to the parcel bay, and starts counting when the articles reach the starting position, so that whether the articles reach the target parcel bay can be judged according to the counting data and the counter difference of the target parcel bay, and the parcels are sorted quickly and accurately.
The embodiment of the present disclosure further provides a system for sorting parcels, as shown in fig. 2, the system for sorting parcels includes: a conveyor belt 201; the swing arms and the wrapping grids are arranged on the conveying belt, wherein the wrapping grids correspond to the swing arms one by one; and the PLC (not shown in the figure) is used for acquiring a first value of the counter when the first parcel is at the initial position, acquiring a counter difference value of a first parcel lattice corresponding to the first parcel according to parcel information of the first parcel, wherein the counter difference value is a counting difference value of the counter in the process that the article on the conveyor belt is transmitted to the parcel lattice position corresponding to the counter difference value from the initial position, acquiring a target value of the counter when the first parcel reaches the first parcel lattice according to the first value and the counter difference value, and generating a swing arm signal when the value of the counter is the target value so as to drive a swing arm to act and push the first parcel into the first parcel lattice.
The swing arm includes swing arm motor and swing arm mechanism, and swing arm motor and PLC control communication connection control swing arm mechanism swing according to the swing arm signal control that PLC control sent, push first parcel check mouth with first parcel.
As shown in fig. 5, the system may further include a control signal output circuit 520, a plurality of swing arm motor brake circuits 531, a plurality of swing arm motor drive circuits 532, and a plurality of swing arm proximity switches 533 in addition to the PLC controller 510.
The control signal output circuit 520 is connected with the PLC controller 510 and the plurality of swing arms, and is configured to transmit a swing arm signal generated by the PLC controller to the corresponding swing arm. Wherein, a plurality of swing arm motor brake circuits 531, a plurality of swing arm motor driving circuits 532 and a plurality of swing arm proximity switches 533 can be arranged on the swing arm.
The swing arm motor brake circuits 531 are connected to the swing arms in a one-to-one correspondence, and are configured to release the brakes of the corresponding swing arm motors when receiving the swing arm signals.
The swing arm motor driving circuits 532 are connected with the swing arms in a one-to-one correspondence manner and are used for controlling the motion of the swing arm motors when swing arm signals are received.
The swing arm proximity switches 533 are in one-to-one correspondence with the swing arms, and are configured to generate a swing arm proximity signal when sensing that the swing arms swing to a set position, and send the swing arm proximity signal to the PLC controller, so as to control the swing arm motor to stop operating.
The control signal output circuit comprises a normally open switch. When an output port of the PLC controller outputs a swing arm signal, the corresponding normally open switch is closed, and the corresponding swing arm motor brake circuit opens the brake coil of the swing arm motor, so that the swing arm motor can act, and the corresponding swing arm motor drive circuit drives the swing arm motor to act.
The system may further include a code scanning device disposed at a start position of the conveyor belt. Should sweep a yard equipment with PLC controller communication connection, sweep a yard equipment and be used for right the sign indicating number is swept to first parcel to obtain the parcel information of first parcel and send to the PLC controller.
The code scanning device belongs to a part of a DWS system, and can automatically and rapidly scan five surfaces of a package.
For details which are not disclosed in the embodiment of the system of the present disclosure, please refer to the embodiment of the method of sorting parcels described above in the present disclosure for the details which are not disclosed in the embodiment of the system of the present disclosure.
The system for sorting parcels in the embodiment of the disclosure sets the difference value of a counter from the initial position to a parcel shelf, and starts counting when an article reaches the initial position, so that whether the article reaches a target parcel shelf can be judged according to the counting data and the difference value of the counter of the target parcel shelf, and parcels can be sorted quickly and accurately.
Referring now to FIG. 6, shown is a block diagram of a computer system 600 suitable for use in implementing the electronic devices of embodiments of the present disclosure. The computer system 600 of the electronic device shown in fig. 6 is only one example, and should not bring any limitations to the function and scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for system operation are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that the computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The above-described functions defined in the system of the present application are executed when the computer program is executed by the Central Processing Unit (CPU) 601.
It should be noted that the computer readable storage medium shown in the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable storage medium carries one or more programs which, when executed by an electronic device, cause the electronic device to perform the method for parcel sorting as described in the embodiments above.
For example, the electronic device may implement the following as shown in fig. 1: step S102, when the first package is at the initial position, a first numerical value of a counter is obtained; step S105, acquiring a counter difference value of a first parcel slot corresponding to the first parcel according to the parcel information of the first parcel, wherein the counter difference value is a counting difference value corresponding to a counter in the process that the articles on the conveyor belt are transmitted to the corresponding parcel slot from the initial position; step S106, obtaining a target value of the counter when the first parcel reaches the first parcel shelf according to the first value and the difference value of the counter; and S108, when the numerical value of the counter is the target numerical value, generating a swing arm signal to drive the swing arm to act, and pushing the first parcel into the first parcel lattice.
As another example, the electronic device may implement the steps shown in fig. 3.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.