Disclosure of Invention
The invention aims to provide a logistics sorting method, which comprises the following steps:
receiving package information;
when a cargo transportation terminal continuously receives a first number of inquiry signals, determining that the cargo transportation terminal is stably communicated with the cargo processing terminal, wherein the cargo transportation terminal sequentially passes through a plurality of cargo processing terminals along a preset line, the cargo processing terminals circularly send the inquiry signals, and the radiation ranges of the inquiry signals of different cargo processing terminals are not overlapped;
receiving identification information sent by the cargo processing terminal, and comparing the identification information with the package information;
and when the identification information accords with the package information, starting an action unit of the cargo transportation terminal to finish a preset action.
Optionally, in the logistics sorting method, after receiving the package information, the method further includes:
sending the package information to a freight transportation terminal;
when a goods transportation terminal continuously receives a first number of inquiry signals, the goods transportation terminal determines that the goods transportation terminal is stably communicated with the goods processing terminal;
and the goods transportation terminal receives the identification information sent by the goods processing terminal and compares the identification information with the package information.
Optionally, in the logistics sorting method, after completing the preset action, the method further includes:
and receiving receipt information sent by the cargo transportation terminal.
Optionally, in the logistics sorting method, when the identification information does not match the package information, the receipt information is received.
Optionally, in the logistics sorting method, the receipt information includes time information.
Optionally, in the method for sorting logistics, the first number ranges from 10 to 20, inclusive.
Optionally, in the logistics sorting method, the query signal includes the identification information.
The invention also provides a logistics sorting device, which comprises:
the receiving module is used for receiving the package information;
the communication determining module is used for determining that the cargo transportation terminal is stably communicated with the cargo processing terminal when the cargo transportation terminal continuously receives a first number of inquiry signals, wherein the cargo transportation terminal sequentially passes through a plurality of cargo processing terminals along a preset line, the cargo processing terminals circularly send the inquiry signals, and the radiation ranges of the inquiry signals of different cargo processing terminals are not overlapped;
the comparison module is used for receiving the identification information sent by the cargo processing terminal and comparing the identification information with the package information;
and the starting module is used for starting the action unit of the goods transportation terminal to finish the preset action when the identification information accords with the package information.
Optionally, in the logistics sorting apparatus, the receiving module further includes:
the sending unit is used for sending the package information to a cargo transportation terminal;
when a goods transportation terminal continuously receives a first number of inquiry signals, the goods transportation terminal determines that the goods transportation terminal is stably communicated with the goods processing terminal;
and the goods transportation terminal receives the identification information sent by the goods processing terminal and compares the identification information with the package information.
Optionally, in the logistics sorting apparatus, the communication between the cargo transportation terminal and the cargo processing terminal is infrared communication.
The logistics sorting method provided by the invention receives the package information; when a cargo transportation terminal continuously receives a first number of inquiry signals, determining that the cargo transportation terminal is stably communicated with the cargo processing terminal, wherein the cargo transportation terminal sequentially passes through a plurality of cargo processing terminals along a preset line, the cargo processing terminals circularly send the inquiry signals, and the radiation ranges of the inquiry signals of different cargo processing terminals are not overlapped; receiving identification information sent by the cargo processing terminal, and comparing the identification information with the package information; and when the identification information accords with the package information, starting an action unit of the cargo transportation terminal to finish a preset action. According to the goods processing terminal, the inquiry signals are sent ceaselessly according to the preset interval, and the goods conveying terminal determines to establish stable communication connection after receiving a certain number of inquiry signals, so that the goods conveying terminal is ensured to be in a stable communication range, and the possibility of program errors caused by unsmooth communication is reduced; in addition, a plurality of goods processing terminals with non-overlapping inquiry signal ranges are arranged, so that program error report caused by mutual interference of signals from different goods processing terminals is avoided, the stability of program operation is improved, the problem of anti-interference communication is solved, and the use cost is reduced. This application still provides a commodity circulation sorting device with above-mentioned beneficial effect simultaneously.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The core of the present invention is to provide a logistics sorting method, wherein a flow diagram of one specific embodiment is shown in fig. 1, which is called as a first specific embodiment and comprises:
step S101: package information is received.
Step S102: when a goods transportation terminal continuously receives a first number of inquiry signals, it is determined that the goods transportation terminal is in stable communication with the goods processing terminal, wherein the goods transportation terminal sequentially passes through a plurality of goods processing terminals along a preset line, the goods processing terminals circularly send the inquiry signals, and the radiation ranges of the inquiry signals of different goods processing terminals are not overlapped.
Step S103: and receiving the identification information sent by the cargo processing terminal, and comparing the identification information with the package information.
Step S104: and when the identification information accords with the package information, starting an action unit of the cargo transportation terminal to finish a preset action.
The preset action can be changed according to actual conditions, if the goods processing terminal is a goods receiving terminal, the goods transportation terminal conveys the package to the goods receiving terminal and then sends the package out, at the moment, the preset action is to send the goods out, and besides, the preset action can also be actions such as sealing the goods.
As a preferable scheme, after receiving the package information, the method further comprises:
sending the package information to a freight transportation terminal;
when a goods transportation terminal continuously receives a first number of inquiry signals, the goods transportation terminal determines that the goods transportation terminal is stably communicated with the goods processing terminal;
and the goods transportation terminal receives the identification information sent by the goods processing terminal and compares the identification information with the package information.
The judgment of whether stable communication is established or not and the comparison between the identification information and the package information are given to the freight terminal for doing so, so that the real-time communication between the freight terminal and the server can be omitted, the electromagnetic interference in space is further reduced, and meanwhile, the cost is greatly saved. Furthermore, the receipt information is also sent to the goods processing terminal by the goods transportation terminal, and then sent to the server by the goods processing terminal, because the goods processing terminal is usually fixedly arranged, and has the advantages of convenience in erection and low cost no matter wired communication or wireless communication is carried out with the server.
The first number ranges from 10 to 20, inclusive, such as any of 10.0, 12.0, or 20.0; the transmission interval of adjacent interrogation signals ranges from 10 microseconds to 100 microseconds, such as any one of 10.0 microseconds, 56.2 microseconds, or 100.0 microseconds. Reducing the sending interval of the inquiry signal as much as possible is beneficial to quickly establishing stable communication connection between the cargo processing terminal and the cargo transportation terminal, and the parameter range is an optimal range value after theoretical calculation and actual inspection, and can be adjusted correspondingly according to actual needs, which is not described herein again.
Furthermore, the inquiry signal comprises the identification information, so that the cargo transportation terminal can directly read the identification information in the inquiry information after continuously receiving the first amount of inquiry information and compare the identification information with the package information, the process is further simplified, and the working efficiency of the program is improved.
The logistics sorting method provided by the invention receives the package information; when a cargo transportation terminal continuously receives a first number of inquiry signals, determining that the cargo transportation terminal is stably communicated with the cargo processing terminal, wherein the cargo transportation terminal sequentially passes through a plurality of cargo processing terminals along a preset line, the cargo processing terminals circularly send the inquiry signals, and the radiation ranges of the inquiry signals of different cargo processing terminals are not overlapped; receiving identification information sent by the cargo processing terminal, and comparing the identification information with the package information; and when the identification information accords with the package information, starting an action unit of the cargo transportation terminal to finish a preset action. According to the goods processing terminal, the inquiry signals are sent ceaselessly according to the preset interval, and the goods conveying terminal determines to establish stable communication connection after receiving a certain number of inquiry signals, so that the goods conveying terminal is ensured to be in a stable communication range, and the possibility of program errors caused by unsmooth communication is reduced; in addition, a plurality of goods processing terminals with non-overlapping inquiry signal ranges are arranged, so that program error report caused by mutual interference of signals from different goods processing terminals is avoided, the stability of program operation is improved, the problem of anti-interference communication is solved, and the use cost is reduced.
On the basis of the first specific implementation manner, the step after the preset action is completed is further processed, and the step includes:
step S201: package information is received.
Step S202: when a goods transportation terminal continuously receives a first number of inquiry signals, it is determined that the goods transportation terminal is in stable communication with the goods processing terminal, wherein the goods transportation terminal sequentially passes through a plurality of goods processing terminals along a preset line, the goods processing terminals circularly send the inquiry signals, and the radiation ranges of the inquiry signals of different goods processing terminals are not overlapped.
Step S203: and receiving the identification information sent by the cargo processing terminal, and comparing the identification information with the package information.
Step S204: and when the identification information accords with the package information, starting an action unit of the cargo transportation terminal to finish a preset action.
Step S205: and after the preset action is completed, receiving receipt information sent by the cargo transportation terminal.
The difference between this embodiment and the above embodiment is that, in this embodiment, after the preset action is completed, the cargo transportation terminal sends the confirmation information again, and the remaining steps are the same as those in the above embodiment, and are not described herein again.
In this embodiment, after the preset action is completed, the goods transportation terminal sends the receipt information, which is equivalent to recording the processing result of the goods on a case, and once the goods are sorted in error, backtracking can be performed according to the receipt information to find problems.
Further, the response piece information is received when the identification information does not correspond to the package information. Since the cargo transportation terminal passes through the cargo processing terminals in sequence, even if the cargo transportation terminal does not interact with the cargo processing terminal (i.e. the action unit is not started), the receipt information passing through each cargo processing terminal can be recorded as data at each time point, so as to achieve the effect of monitoring the cargo, for example, the cargo transportation terminal should pass through the cargo processing terminals No. 1, No. 2, and No. 3 in sequence, and process the cargo at the cargo processing terminal No. 5, but the final cargo is not sent to the cargo processing terminal No. 5, but the receipt information sent by the cargo transportation terminal at the cargo processing terminals No. 1 and No. 2 is left in the system, but there is no subsequent receipt information, so that the cargo processing terminal is likely to fail between the cargo processing terminal No. 2 and the cargo processing terminal No. 3, so that the goods are not delivered to the No. 3 goods processing terminal. Furthermore, the receipt information comprises time information, and more bases for handling the freight transportation terminal are provided for workers.
The following describes a logistics sorting apparatus according to an embodiment of the present invention, and the logistics sorting apparatus described below and the logistics sorting method described above may be referred to in correspondence.
Fig. 3 is a block diagram of a logistics sorting apparatus according to an embodiment of the present invention, which is referred to as a third embodiment, and referring to fig. 3, the logistics sorting apparatus may include:
areceiving module 100 for receiving package information;
thecommunication determining module 200 is configured to determine that the cargo transportation terminal is in stable communication with the cargo processing terminal when the cargo transportation terminal continuously receives a first number of inquiry signals, where the cargo transportation terminal sequentially passes through a plurality of cargo processing terminals along a preset line, the cargo processing terminals circularly transmit the inquiry signals, and radiation ranges of the inquiry signals of different cargo processing terminals do not overlap;
acomparison module 300, configured to receive the identification information sent by the cargo processing terminal, and compare the identification information with the package information;
a startingmodule 400, configured to start an action unit of the cargo transportation terminal to complete a preset action when the identification information matches the package information.
The emission angle of the interrogation signal ranges from 30 degrees to 60 degrees, inclusive, such as any of 30.0 degrees, 50.0 degrees, or 60.0 degrees, and the emission angle of the identification signal may be the same as or different from the emission angle of the interrogation signal.
As a preferable scheme, the receiving module further includes:
the sending unit is used for sending the package information to a cargo transportation terminal;
when a goods transportation terminal continuously receives a first number of inquiry signals, the goods transportation terminal determines that the goods transportation terminal is stably communicated with the goods processing terminal;
and the goods transportation terminal receives the identification information sent by the goods processing terminal and compares the identification information with the package information.
As a preferable scheme, the starting module is further configured to receive receipt information sent by the cargo transportation terminal after the preset action is completed.
Preferably, the initiating module is further configured to receive the response piece information when the identification information does not correspond to the package information.
It is to be noted that the communication between the cargo transportation terminal and the cargo handling terminal is infrared communication. The infrared communication method is mature, the device cost is low, the occupied area is small, and the installation is convenient and flexible. Still further, infrared communication device is infrared laser device, and laser directionality is strong, and the scattering nature is poor, has high coherence, can further dwindle greatly interrogation signal's radiation range (it is noted that, in this application radiation range not mean the theoretical scope that the signal can reach, but the predetermined stable scope of guaranteeing signal transmission), also means interval between the goods processing terminal can further be dwindled, the goods processing terminal's mode of arranging is more free, can adapt to the needs of more kinds of scenes, strengthens commodity circulation sorting device's commonality.
The logistics sorting device provided by the invention can comprise a receiving module, a sorting module and a sorting module, wherein the receiving module is used for receiving the package information; the communication determining module is used for determining that the cargo transportation terminal is stably communicated with the cargo processing terminal when the cargo transportation terminal continuously receives a first number of inquiry signals, wherein the cargo transportation terminal sequentially passes through a plurality of cargo processing terminals along a preset line, the cargo processing terminals circularly send the inquiry signals, and the radiation ranges of the inquiry signals of different cargo processing terminals are not overlapped; the comparison module is used for receiving the identification information sent by the cargo processing terminal and comparing the identification information with the package information; and the starting module is used for starting the action unit of the goods transportation terminal to finish the preset action when the identification information accords with the package information. According to the goods processing terminal, the inquiry signals are sent ceaselessly according to the preset interval, and the goods conveying terminal determines to establish stable communication connection after receiving a certain number of inquiry signals, so that the goods conveying terminal is ensured to be in a stable communication range, and the possibility of program errors caused by unsmooth communication is reduced; in addition, a plurality of goods processing terminals with non-overlapping inquiry signal ranges are arranged, so that program error report caused by mutual interference of signals from different goods processing terminals is avoided, the stability of program operation is improved, the problem of anti-interference communication is solved, and the use cost is reduced.
The logistics sorting apparatus of this embodiment is used for implementing the aforementioned logistics sorting method, and therefore a specific implementation manner of the logistics sorting apparatus can be seen in the foregoing embodiments of the logistics sorting method, for example, the receivingmodule 100, thecommunication determining module 200, the comparingmodule 300, and the startingmodule 400 are respectively used for implementing steps S101, S102, S103, and S104 in the aforementioned logistics sorting method, so that the specific implementation manner thereof may refer to descriptions of corresponding embodiments of each part, and will not be described again here.
The following provides a complete flow of practical application of a specific embodiment, and a schematic structural diagram of a corresponding logistics sorting device is shown in fig. 4, wherein the cargo transportation terminal and the cargo processing terminal communicate with each other by using infrared rays, a circuit block diagram of the infrared communication device is shown in fig. 5, a logistics trolley 1 (i.e., the cargo transportation terminal described above, corresponding to a mobile-end infrared communication device) transports logistics packages to move on a guide rail, when the logistics packages pass through aphotoelectric switch 4, ablocking piece 3 triggers thephotoelectric switch 4 to generate a trigger pulse, and a packagebarcode scanning device 2 photographs and identifies barcodes of the logistics packages, and sends a trigger signal and a barcode identification result to ahost server 6 to process the triggering signal and the barcode identification result. Thehost server 6 processes the bar code identification result information to generate command information, converts the command information into a TCP packet, and sends the TCP packet to the off-board communication board 8 through an internet port TCP/IP protocol.
The off-board communication board 8 mainly comprises an FPGA and a network port protocol chip W5300, wherein the FPGA controls the chip W5300 to perform network communication with thehost server 6, and the network port information sent by thehost server 6 is converted into an RS422 serial port by using a TCP/IP protocol and sent to the fixed-endinfrared communication device 9 at the position of the cargo outlet node 5 (i.e., the cargo processing terminal described above, corresponding to the fixed-end infrared communication device). Firstly, the fixed endinfrared communication device 9 stores the received command information in a cache, then circularly transmits an inquiry signal, wherein the inquiry signal can be a fixed code pattern, when the logistics trolley 1 does not move to the position above the goods exit node 5, the mobile endinfrared communication device 10 does not receive the inquiry signal, and once the logistics trolley 1 enters the area of the goods exit node 5 in the moving process, the mobile endinfrared communication device 10 starts to receive the inquiry signal. In order to ensure that the mobile-sideinfrared communication device 10 enters a stable communication area, the reception signal of the mobile-sideinfrared communication device 10 is determined here, and it is considered that it enters a stable communication area when it continuously receives N (10 here) inquiry signals. At this time, the mobile-sideinfrared communication device 10 transmits a response signal of one byte downward. When the fixed endinfrared communication device 9 receives the response signal, the command information in the cache is sent out, after the mobile endinfrared communication device 10 receives all the command information, the command information is transmitted to the execution mechanism of the trolley, and after the execution mechanism of the trolley executes the command, a piece of return information is returned to the mobile endinfrared communication device 10. At this time, the mobile terminalinfrared communication device 10 sends the return information downward to the fixed terminalinfrared communication device 9, and the fixed terminalinfrared communication device 9 returns the received return information to thehost server 6 through the off-board communication board 8, thereby completing a communication closed loop.
The fixed endinfrared communication device 9 and the mobile endinfrared communication device 10 are identical in hardware, and are different in software in the FPGA. The device mainly comprises apower supply module 17, a centraldata processing unit 16, aninfrared emission module 12, aninfrared receiving module 13, alevel conversion module 14, an RS422serial port module 15 and the like. Wherein thepower module 17 adopts 5V and 3.3V double power supply input. The centraldata processing unit 16 can be implemented using an FPGA of the cycleiv series of Altera corporation, model EP4CE6E22C8, which is inexpensive, small in size, and has satisfactory internal resources. Theinfrared emission module 12 is a light-emitting element made of AlGaAs material, and is packaged by T-13/4(5mm), the wavelength of emergent light is 875nm, the emission angle is 30 degrees, the emission power is 75mW/sr, the maximum working current is 500mA, and the rise time is 40 ns. Theinfrared receiving module 13 adopts a PIN photodiode made of Si material as a detector, the response spectrum band is 870 nm-950 nm, the area of the target surface of the detector is 7.5mm2, and the receiving angle of view is 60 degrees. Thelevel conversion module 14 is mainly divided into 2 parts according to functions, the first part is level conversion between 5V and 3.3V, signals of theinfrared transmitting module 12 and theinfrared receiving module 13 are 5V level after passing through external circuits thereof, and the input and output of the FPGA are 3.3V TTL level, so that the level conversion problem between the FPGA and transmitting and receiving elements is solved; the second part is to solve the problem of input and output levels of the CAN bus. The RS422serial module 15 is responsible for converting the TTL level and the 422 level.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is to be noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The logistics sorting method and the logistics sorting device provided by the invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.