Equipment control method, terminal equipment and storage medium
By dynamically adjusting the operating parameters of the sorting section equipment according to the total number of parcels, the energy consumption waste and backlog problems caused by fixed operating parameters are solved, and efficient sorting and energy consumption management are achieved.
Patent Information
- Application Number
- CN202310874627.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-17
- Publication Date
- 2025-01-17
AI Technical Summary
The existing sorting section equipment operates with fixed operating parameters, resulting in waste of energy when the number of parcels is small, and backlog is accumulated when the number of parcels is large, affecting sorting efficiency.
By obtaining the total number of parcels in the current statistical cycle, determining the target operating parameters based on the total number of parcels, controlling the operating parameters of the sorting section equipment to maintain efficient sorting during peak periods, reducing energy consumption and equipment losses during off-peak periods.
It realizes efficient sorting during peak periods, reduces energy consumption and equipment losses during off-peak periods, and reduces environmental noise.
Smart Images

Figure CN119320013A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of logistics sorting, and in particular, relates to a device control method, a terminal device and a storage medium. Background Art
[0002] At present, the express delivery industry often uses sorting lines to identify and divert different packages and transport them to the corresponding sorting ports. Generally, the sorting line can be divided into a conveying section and a sorting section. Among them, the conveying section is used to transport packages to the sorting section. The sorting section is used to sort the packages transported by the conveying section. The sorting section can include single-piece separation devices, photoelectric sensing devices, scanning devices, sorting section belt conveyors, and sorting devices. Among them, the single-piece separation device is used to separate the batch packages transported by the conveying section, so that the packages are transported to the conveyor belt conveyor on the sorting section in an orderly and equidistant manner; the photoelectric sensing device is used to send a package detection signal to the control device when detecting the package separated from the single-piece separation device, so that the control device controls the scanning device to scan after receiving the package detection signal. The scanning device is used to receive the trigger instruction of the control device, scan the label information attached to the package, and return the scanned package label information to the control device. The sorting device is used to receive the control instruction of the control device to perform the sorting action to sort the package to the corresponding sorting port.
[0003] In actual applications, the equipment on the sorting section generally operates with fixed operating parameters. However, operating with fixed operating parameters can easily cause energy waste of the sorting section equipment when the number of parcels is small, and can easily cause parcel backlogs when the number of parcels is large, affecting sorting efficiency. Summary of the invention
[0004] The embodiments of the present application provide a device control method, a terminal device, and a storage medium, which aim to solve the problem that the existing sorting segment equipment operates with fixed operating parameters, causing equipment energy waste or affecting sorting efficiency.
[0005] In a first aspect, an embodiment of the present application provides a device control method, including:
[0006] Obtain the total number of parcels counted in the current statistical period; wherein the total number of parcels is the number of parcels conveyed from the conveying section to the sorting section;
[0007] determining target operating parameters based on the total number of packages;
[0008] Control the target equipment to operate with the target operating parameters; wherein the target equipment is equipment on the sorting section.
[0009] By counting the total number of parcels, the target operating parameters are determined according to the total number of parcels, and the target equipment is controlled to operate with the target operating parameters, so that the operating parameters of the target equipment correspond to the total number of parcels. This can keep the equipment on the sorting section sorting efficiently during peak hours, while ensuring production capacity during non-peak hours, achieving the effect of reducing energy consumption, reducing equipment loss, and reducing environmental noise.
[0010] In a possible implementation manner of the first aspect, controlling the target device to operate with the target operating parameter includes:
[0011] If the target operating parameter is not the first operating parameter, the operating parameter of the target device is switched from the first operating parameter to the target operating parameter; wherein the first operating parameter is the current operating parameter of the target device.
[0012] In a possible implementation manner of the first aspect, if the target operating parameter is not the first operating parameter, switching the operating parameter of the target device from the first operating parameter to the target operating parameter includes:
[0013] If the target operating parameter is not the first operating parameter and there is a package on the single-piece separation device, the conveyor belt conveyor is controlled to stop running, and the operating parameter of the target device is controlled to run at the first operating parameter until there is no package on the single-piece separation device;
[0014] If there is no package on the single-piece separation device, the operating parameters of the target device are switched from the first operating parameters to the target operating parameters.
[0015] In a possible implementation manner of the first aspect, if there is no package on the single-piece separation device, switching the operating parameter of the target device from the first operating parameter to the target operating parameter includes:
[0016] If the package detection signal sent by the photoelectric sensor device is not received within the target time period, it is determined that there is no package on the single-piece separation device.
[0017] In a possible implementation of the first aspect, the target device includes a sorting device, the target operating parameter includes a target operating speed corresponding to the sorting device during a sorting period and a target operating speed corresponding to a non-sorting period, and determining the target operating parameter according to the total number of packages includes:
[0018] Determining a candidate operating speed corresponding to the sorting device according to the total number of packages;
[0019] If the candidate running speed is less than the running speed lower limit, the target running speed corresponding to the sorting device during the sorting period is set to the running speed lower limit, and the target running speed corresponding to the non-sorting period is set to the candidate running speed; wherein the sorting period is the running period corresponding to the sorting action performed by the sorting device; and the non-sorting period is the running period other than the sorting period.
[0020] In a possible implementation of the first aspect, the target device includes a single-piece separation device; the target operating parameters include target operating parameters corresponding to the single-piece separation device, and controlling the target device to operate with the target operating parameters includes:
[0021] The single-piece separation device is controlled to operate with the target operating parameters corresponding to the single-piece separation device, so that the operating parameters of the single-piece separation device correspond to the total number of packages, and the separation distance between the packages separated by the single-piece separation device is greater than the target length.
[0022] In a possible implementation of the first aspect, the sorting section includes a photoelectric sensing device and a plurality of verification photoelectric devices, and the method further includes:
[0023] After the photoelectric sensor device detects the target package, a timer is started, and the target package information is initialized and stored in the package storage module; wherein the target package is the package detected by the photoelectric sensor device at the current moment;
[0024] Determining the theoretical position of the target package at each timing time point according to the target operating parameters;
[0025] According to the theoretical position of the target package at each timing time point, move the storage position of the target package information in the package storage module according to each timing time point;
[0026] When receiving the package detection signal of the target package sent by the current verification photoelectric device, query the target storage location; wherein the target storage location is the storage location of the target package information in the package storage module when the timing time point corresponding to the package detection signal of the target package sent by the current verification photoelectric device is received; the current verification photoelectric device is any one of the multiple verification photoelectric devices;
[0027] If the target storage position does not correspond to the position of the current verification photoelectric device, the target storage position is corrected according to the position of the current verification photoelectric device.
[0028] In a possible implementation of the first aspect, obtaining the total number of packages counted in the current statistical period includes:
[0029] The number of times the package detection signal sent by the photoelectric sensor device is received in the current statistical period is counted to obtain the total number of packages counted in the current statistical period; wherein the photoelectric sensor device is arranged on the sorting section.
[0030] In a second aspect, an embodiment of the present application provides a terminal device, including:
[0031] An acquisition module is used to acquire the total number of parcels counted in the current statistical period; wherein the total number of parcels is the number of parcels transported from the conveying section to the sorting section;
[0032] A determination module, used to determine a target operating parameter according to the total number of packages;
[0033] A control module is used to control the target device to operate with the target operating parameters; wherein the target device is the device on the sorting section.
[0034] In a third aspect, an embodiment of the present application provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the device control method provided in the first aspect above is implemented.
[0035] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the device control method provided in the first aspect above is implemented.
[0036] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a structural schematic diagram of the sorting line provided by this application;
[0038] Figure 2 It is a schematic diagram of the location where the target package information is stored in the normal scenario of package tracking provided by this application;
[0039] Figure 3 It is a flowchart of a device control method provided in one embodiment of the present application;
[0040] Figure 4 is a schematic diagram of the implementation flow of step S13 in the method provided in one embodiment of the present application;
[0041] Figure 5 is a schematic diagram of the implementation flow of step S131 in the method provided in an embodiment of the present application;
[0042] Figure 6 It is a structural schematic diagram of a single-piece separation device provided in one embodiment of the present application;
[0043] Figure 7 This is a schematic diagram of a scenario in which when there are packages on the single-piece separation device provided by an embodiment of the present application, the operating parameters of the single-piece separation device become smaller, resulting in a smaller separation distance between packages;
[0044] Figure 8 This is a schematic diagram of a scenario in which when there are packages on the single-piece separation device provided by an embodiment of the present application, the operating parameters of the single-piece separation device increase, resulting in a decrease in the separation distance between the packages;
[0045] Fig. 9 It is a flowchart of an implementation method of step S12 in the method provided in an embodiment of the present application;
[0046] Fig.10 is a schematic diagram of an implementation flow of step S13 in the method provided in another embodiment of the present application;
[0047] Fig.11 This is a schematic diagram of a scenario in which parcel sorting fails according to an embodiment of the present application;
[0048] Fig.12 is a flow chart of the method provided in another embodiment of the present application;
[0049] Fig.13 is a schematic diagram of a process for correcting the storage location of target package information provided by an embodiment of the present application;
[0050] Fig.14 is a structural block diagram of a device control device provided in an embodiment of the present application;
[0051] Fig.15 It is a structural block diagram of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0053] See also Figure 1 , Figure 1 : is a schematic diagram of the structure of the sorting line. The sorting line can be divided into a conveying section 1 and a sorting section 2. The conveying section 1 is used to convey the parcels to the sorting section 2. The sorting section 2 is used to sort the parcels conveyed by the conveying section 1. The sorting section 2 may include a single piece separation device 21, a photoelectric sensor device 22, a scanning device 23, a sorting section belt conveyor 24, and a sorting device 25.
[0054] Among them, the single-piece separation device 21 can be used to separate the batch parcels conveyed by the conveying section 1, so that the parcels are conveyed to the sorting section belt conveyor 24 in an orderly and equidistant manner. The sorting section belt conveyor 24 can be used to convey the parcels to the photoelectric sensor device 22, the scanning device 23, and each sorting device 25. The photoelectric sensor device 22 can be used to send a parcel detection signal to the terminal device when the parcel is detected, so that the terminal device generates a scanning trigger instruction to the scanning device 23 after receiving the parcel detection signal. The scanning device 23 can be used to receive the scanning trigger instruction sent by the terminal device, scan the label information attached to the parcel, and return the scanned parcel label information to the terminal device, so that the terminal device can determine the parcel basic information corresponding to each parcel according to the parcel label information, such as the destination and waybill number of the parcel. The terminal device can determine the target sorting device corresponding to each parcel based on the parcel basic information corresponding to each parcel. For example, the destination of parcel No. 1 is sorting port No. 5, and the sorting device corresponding to sorting port No. 5 is sorting device No. 5, then the target sorting device corresponding to parcel No. 1 is sorting device No. 5. The scanning device 23 may include but is not limited to an infrared scanning device, a radio frequency scanning device, etc.
[0055] Among them, the sorting device 25 can include two working states, one is the conveying state, and the other is the sorting state; when the sorting device 25 is in the conveying state, the sorting device 25 conveys the package; when the sorting device 25 is in the sorting state, the sorting device 25 performs the sorting action.
[0056] Exemplarily, the sorting device 25 may include but is not limited to a pendulum sorter, a narrow-belt sorter, a modular belt sorter, and the like.
[0057] Among them, the sorting line can also include a verification photoelectric device 26 corresponding to each sorting device 25, and for any sorting device, the verification photoelectric device corresponding to the sorting device is arranged behind the sorting device. In the embodiment of the present application, the rear refers to the side opposite to the package conveying direction.
[0058] The working principle of the verification photoelectric device 26 is the same as that of the above-mentioned photoelectric sensor device 22, and both can detect whether there is a package within the range of the emitted light beam by emitting a light beam. Taking the photoelectric sensor device 22 as an example, when a package passes through the photoelectric sensor device 22, the light beam emitted by the photoelectric sensor device 22 will be blocked by the package or reflected back by the package, causing the optical path signal received by the light receiving part of the photoelectric sensor device 22 to change. When the light receiving part detects that the received optical path signal has changed, it will convert the optical path signal into an electrical signal for output. In this embodiment, the electrical signal output by the photoelectric sensor device 22 and the verification photoelectric device 26 when detecting the passing of a package is named a package detection signal.
[0059] In this embodiment, the terminal device can verify whether the package arrives at the designated verification photoelectric device at the designated time based on the package detection signal sent by the verification photoelectric device 26, so as to track the package.
[0060] The following is an introduction to the principles of package tracking.
[0061] In this embodiment, the package tracking area starts from the position of the photoelectric sensor device 22 and ends at the end point of the sorting section. Specifically, when the package passes through the photoelectric sensor device 22, the photoelectric sensor device 22 is triggered to generate a package detection signal, and the photoelectric sensor device 22 sends the generated package detection signal to the terminal device. After receiving the package detection signal, the terminal device can start the timer and track the currently detected target package. Among them, the target package refers to the package currently detected by the photoelectric sensor device 22. The terminal device can divide the package tracking area into multiple sub-areas. For example, the terminal device can divide the package tracking area into 100 sub-areas along the package conveying direction to obtain the 1st sub-area,..., the 100th sub-area. After receiving the package detection signal of the target package sent by the photoelectric sensor device 22, the terminal device can initialize the target package information and store the initialized target package information in the package storage module. Exemplarily, after receiving the package detection signal of the target package sent by the photoelectric sensor device 22, the terminal device can initialize the serial number of the target package, and initialize the target package information corresponding to the target package as the serial number of the target package and store it in the package storage module. When the target package arrives at the scanning device 23, the terminal device controls the scanning device 23 to scan the label attached to the target package, and receives the label scanning information fed back by the scanning device 23. The terminal device can obtain the basic package information of the target package, such as the destination of the target package, by parsing the label scanning information, so as to update the target package information according to the basic package information of the target package, such as updating the target package information from the serial number of the target package to the package target information, and the package target information includes the serial number of the target package and the basic package information of the target package.
[0062] The package storage module may include multiple storage blocks, each storage block corresponds to its own storage address in the package storage module, and each storage address corresponds one-to-one to each sub-area on the package tracking area. For example, the first sub-area corresponds to the storage address x001, and the second sub-area corresponds to the storage address x002.
[0063] In specific implementation, after initializing the target package information, the terminal device can store the target package information in the storage block corresponding to the first storage address of the package storage module, and the terminal device can determine the theoretical position of the target package at each timing time point according to the formula L=vt. Among them, L is the theoretical position of the target package at each timing time point, v is the conveying speed of the current sorting section belt conveyor, and t is the time from the time when the target package enters the package tracking area to the current moment.
[0064] After determining the theoretical position of the target package at each timing time point, the terminal device can determine the theoretical sub-area corresponding to the target package at each timing time point. For example, the theoretical position of the target package at the current timing time point is 100 mm away from the photoelectric sensor device, and the sub-area corresponding to the position 100 mm away from the photoelectric sensor device is the second sub-area, then the theoretical sub-area corresponding to the target package at the current timing time point is the second sub-area.
[0065] The terminal device can determine the storage location where the target package information is stored at each timing time point according to the theoretical sub-area corresponding to the target package at each timing time point, and move the storage location of the target package information to the storage location corresponding to each timing time point when each timing time point arrives. For example, when the photoelectric detection device 22 detects the target package, the terminal device starts the timer, and the theoretical location of the target package when the timer starts is located in the first sub-area. The terminal device initializes the target package information to be stored in the storage block with the storage address x000. If the theoretical sub-area corresponding to the theoretical location of the target package is determined to be the second sub-area according to the formula L=vt at the timing time point of 00:00:01, the storage location of the target package information is moved to the storage block with the storage address x001.
[0066] After determining the theoretical position of the target package at each timing time point, the terminal device can determine whether the target package arrives at the designated verification photoelectric device 26 at the designated time through the verification photoelectric device 26. Specifically, the terminal device can calculate the theoretical timing time point when the target package arrives at each verification photoelectric device 26 according to the position of each verification photoelectric device 26 and the start timing time point when the photoelectric sensor device 22 detects the target package. If the terminal device receives the package detection signal of the target package at the theoretical timing time point corresponding to each verification photoelectric device 26, it can be determined that the target package arrives at the designated verification photoelectric device at the designated time. At the same time, the terminal device can query the storage position of the target package information in the package storage module at the theoretical timing time point corresponding to each verification photoelectric device 26. If at the theoretical timing time point corresponding to each verification photoelectric device 26, the storage position of the target package information corresponds to the sub-area corresponding to each verification photoelectric device, it means that the target package is tracked normally.
[0067] For example, assuming that the terminal device starts the timer after receiving the package detection signal of package No. 1 sent by the photoelectric sensor device 22, and assuming that the distance between the position of the photoelectric sensor device 22 and the position of the first verification photoelectric device is 100m, and the conveying speed of the current sorting section belt conveyor is 2m / s, it can be determined that the time required for package No. 1 to reach the first verification photoelectric device is: 100 / 2=50s, and further it can be determined that the theoretical timing time point corresponding to the arrival of package No. 1 at the first verification photoelectric device is 00:00:50. If the sub-area corresponding to the first verification photoelectric device is the 16th sub-area, and the storage address corresponding to the 16th sub-area is x0015, and at the timing time point 00:00:50, the target package information of package No. 1 is stored in the x0015th storage block, it means that the current tracking of package No. 1 is normal. Figure 2 As shown, Figure 2 The figure shows the location where the target package information is stored in a normal package tracking scenario. Figure 2 In the figure, when package No. 1 p1 arrives at the first verification photoelectric device 26A, the target package information of package No. 1 is stored in the storage block with the storage address x0106 in the package storage module 3, and the storage address x0106 corresponds to the sub-area corresponding to the first verification photoelectric device 26A, indicating that the tracking of package No. 1 is normal.
[0068] The terminal device can also detect whether each package reaches the target verification device corresponding to each package at the verification time point corresponding to each package based on the package detection information sent by the verification photoelectric device 26, so as to determine whether to trigger the target sorting device corresponding to each package to perform the sorting action. The terminal device can determine the target verification device corresponding to each package based on the target sorting device corresponding to each package. For example, the target sorting device corresponding to package No. 1 is sorting device No. 5, and sorting device No. 5 corresponds to verification photoelectric device No. 5, then the target verification device corresponding to package No. 1 is verification photoelectric device No. 5.
[0069] In specific implementation, after determining the starting timing time point when each package arrives at the photoelectric sensor device 22, the terminal device can determine the timing time point corresponding to the target verification device corresponding to each package according to the location of the target verification device corresponding to each package, and obtain the verification time point corresponding to each package. If the terminal device receives a package detection signal sent by the target verification device corresponding to the target package at the verification time point corresponding to the target package, the target sorting device corresponding to the target package is controlled to perform a sorting action; otherwise, the target sorting device corresponding to the target package does not perform a sorting action.
[0070] In actual applications, the equipment on the sorting section generally operates with fixed operating parameters. However, operating with fixed operating parameters can easily cause energy waste of the sorting section equipment when the number of parcels is small, and can easily cause parcel backlogs when the number of parcels is large, affecting sorting efficiency.
[0071] To solve the above problems, an embodiment of the present application provides a device control method, which can be executed by a terminal device, and the terminal device may include but is not limited to a controller, a computer, a smart phone, a notebook and other devices.
[0072] See also Figure 3 , Figure 3 : is a flow chart of the device control method provided in the embodiment of the present application, including steps S11 to S13:
[0073] S11: Get the total number of packages counted in the current statistical period.
[0074] The total number of parcels is the number of parcels transported from the transport section to the sorting section.
[0075] The terminal device may use the preset statistical duration as a period for counting the total number of packages. The current statistical period refers to a selected period for counting the total number of packages. The preset statistical duration may be set according to actual needs, such as 5 minutes.
[0076] In one implementation, the terminal device can count the number of detection signals sent by the detection device received in the current statistical period. The detection device can be used to detect whether there is a package within the detection range corresponding to the detection device, and when the presence of the package is detected, send a detection signal to the terminal device. The detection device can be installed at any position of the conveying section, such as the starting position of the conveying section or the ending position of the conveying section. In actual application, when the staff places the package on the conveying section for transportation, if a package passes through the detection device, a detection signal is sent to the terminal device, so that the terminal device can determine the total number of packages in each statistical period according to the number of detection signals received in each statistical period.
[0077] In another implementation, a photoelectric counter is provided at any position of the conveying section. The photoelectric timer is an automatic counting device made of photoelectric elements. Its working principle is that a beam of parallel light emitted from a light source is irradiated on a photoelectric element (such as a phototube, a photoresistor, etc.). Every time the beam of light is blocked, the working state of the photoelectric element changes once. The amplifier can make the counter record the number of times it is blocked. In implementation, the terminal device can start the photoelectric counter counting at the beginning of the current statistical cycle. When a package passes through the photoelectric counter, the photoelectric counter counts by 1, and obtains the count value of the photoelectric counter at the end of the current statistical cycle to obtain the total number of packages counted in the current statistical cycle. After obtaining the total number of packages, the terminal device controls the photoelectric counter to perform a zeroing operation to avoid affecting the statistics of the total number of packages in the next statistical cycle.
[0078] S12: Determine target operating parameters according to the total number of packages.
[0079] The target operation parameters may include target operation parameters corresponding to each target device. The target device may be a device on the sorting section, including but not limited to a sorting section belt conveyor, a single piece separation device, a sorting device, etc. The target operation parameters corresponding to each target device may include a conveying speed corresponding to the sorting section belt conveyor, an operation parameter corresponding to the single piece separation device, an operation speed corresponding to the sorting device, etc.
[0080] In one implementation, the terminal device can read the operating parameter correspondence from the local storage module or the remote database, and the operating parameter correspondence can be used to indicate the correspondence between the total number of packages and the operating parameters, so as to determine the operating parameters corresponding to the total number of packages according to the operating parameter correspondence and obtain the target operating parameters. The operating parameter correspondence can be set according to actual conditions.
[0081] In other implementations, the terminal device can calculate the target operating parameters according to the formula. For example, assuming that the total number of parcels is 400, the terminal device can determine the sorting efficiency according to the pre-set sorting time. For example, if the sorting time is 5 minutes, the terminal device can determine the sorting efficiency = 400 pieces / 5 minutes = 4800 pieces / hour, and assuming that the average length of the parcels and the average spacing between the parcels are pre-set values, the sorting section belt conveyor conveying speed can be calculated according to the formula: sorting efficiency = sorting section belt conveyor conveying speed / (average length of parcels + average spacing between parcels), and the sorting section belt conveyor conveying speed is the target conveying speed corresponding to the sorting section belt conveyor.
[0082] Exemplarily, assuming that the total number of packages counted in the current statistical period is greater than S1, S1 is the preset first total number of packages. When the total number of packages is greater than S1, it means that the current sorting line is in a peak period, and the terminal device sets the target operating parameter to v1; if the total number of packages counted in the current statistical period is less than S2, S2 is the preset second total number of packages, and S1 is greater than S2, the terminal device determines that the current sorting line is in a low-peak period and sets the target operating parameter to v2; wherein v2 is less than v1; if the total number of packages counted in the current statistical period is greater than S2 and less than S1, the terminal device sets the target operating parameter to v3, wherein v3 is greater than v2 and less than v1.
[0083] S13: Control the target device to operate with the target operating parameters.
[0084] Exemplarily, after determining the target operating parameters, the terminal device may send various control instructions to each target device in the form of digital electrical signals or a communication bus, so as to control each target device to operate with the corresponding target operating parameters.
[0085] In this embodiment, the total number of packages is counted to determine the target operating parameters according to the total number of packages, and the target device is controlled to operate with the target operating parameters, so that the operating parameters of the target device correspond to the total number of packages, thereby maintaining high-efficiency sorting of the devices on the sorting section during peak hours, ensuring production capacity during non-peak hours, and achieving the effects of reducing energy consumption, reducing equipment loss, and reducing environmental noise.
[0086] In one implementation, the above step S11 may include:
[0087] The number of times the package detection signal sent by the photoelectric sensor device is received in the current statistical period is counted to obtain the total number of packages counted in the current statistical period.
[0088] Wherein, the photoelectric sensor device is arranged on the sorting section, such as Figure 1 As shown, the photoelectric sensor device 22 can be arranged close to the single-piece separating device 21, and the photoelectric sensor device 22 is arranged in front of the single-piece separating device 21.
[0089] Among them, the working principle of the photoelectric sensor device to realize package detection can be found in the relevant content above, which will not be repeated here.
[0090] In one embodiment of the present application, see Figure 4 , the above step S13 may include S131:
[0091] S131: If the target operating parameter is not the first operating parameter, switching the operating parameter of the target device from the first operating parameter to the target operating parameter.
[0092] The first operating parameter is a current operating parameter of the target device.
[0093] In this embodiment, if the target operating parameters are inconsistent with the current operating parameters of the target device, the operating parameters of the target device are adjusted to adjust the operating parameters of the target device according to the total number of packages, thereby reducing the loss of the target device while ensuring the sorting efficiency.
[0094] Exemplarily, the target device may include a sorting section belt conveyor, and the target operating parameter may include a conveying speed of the sorting section belt conveyor. Assuming that the current conveying speed of the sorting section belt conveyor is 1.2 m / s and the target conveying speed of the sorting section belt conveyor is 2 m / s, when the terminal device determines that the target conveying speed of the sorting section belt conveyor is not equal to the current conveying speed of the sorting section belt conveyor (1.2 m / s≠2 m / s), the conveying speed of the sorting section belt conveyor is switched from 1.2 m / s to 2 m / s.
[0095] In one embodiment of the present application, see Figure 5 , the above step S131 may include S1311 to S1313:
[0096] Step S1311: If the target operating parameter is not the first operating parameter and there is a package on the single-piece separation device, the conveyor belt conveyor is controlled to stop running, and the operating parameter of the target device is controlled to run with the first operating parameter until there is no package on the single-piece separation device.
[0097] In this embodiment, when the target operating parameter is inconsistent with the first operating parameter and when it is detected that there are still packages on the single-piece separation device, the terminal device controls the conveyor section belt conveyor to stop running, so that the conveyor section stops conveying packages.
[0098] For example, see Figure 6 , Figure 6: is a schematic diagram of the structure of the single-piece separation device provided in this embodiment. The single-piece separation device 21 may include an evacuation unit 211, a separation unit 212 and a centering unit 213. The evacuation unit 211 may be used to disperse the packages gathered during the conveying process of the conveying section; the separation unit 212 may be used to separate the packages transmitted by the evacuation unit 211 according to a specified spacing, and the centering unit 213 may be used to center the separated packages. The centering unit 213 may include a plurality of rollers, and the centering unit 213 conveys the packages to the center position through the rollers.
[0099] If the terminal device controls the operation parameters of the single-piece separation device to switch from the first operation parameters to the target operation parameters when there are still packages in the single-piece separation device, the distance between two adjacent packages may be reduced, so that when the two adjacent packages are conveyed to the scanning device, the two adjacent packages may both be within the scanning area of the scanning device, so that the scanning device may scan the label information of the two adjacent packages at the same time. When the scanning device scans the label information of the two adjacent packages at the same time, the terminal device cannot correctly parse the basic package information of the two adjacent packages and the downstream packages of the two adjacent packages, and thus cannot correctly parse the sorting destination of each package, resulting in package sorting failure.
[0100] For example, Figure 7It shows a schematic diagram of a scenario where when there are packages on the single-piece separation device, the operating parameters of the single-piece separation device decrease, resulting in a smaller separation distance between the packages. Assume that at time T0, there are still packages on the single-piece separation device 21, and the distance between package A and package B is d1. Also assume that at time T0, the terminal device controls the conveying speeds of each device (including the scattering unit, separation unit, and centering unit) in the single-piece separation device 21 to switch from 2 m / s to 1.2 m / s. During the period when the conveying speed of the centering unit switches from 2 m / s to 1.2 m / s, the rotational speed of the drum of the centering unit will also switch. Since the drum is prone to slipping during the rotational speed switch (slipping means that the friction between the drum and the object on the drum surface becomes smaller), the decreasing rate of the conveying speed of package A on the centering unit is smaller than that of package B, resulting in package A moving a greater distance per unit time than package B. After Δt time, the distance between package A and package B shrinks from d1 to d2 (d2 < d1). Assume that at time T1, the photoelectric sensing device 23 detects package B and triggers the terminal device to control the scanning device 23 to perform scanning. Since the distance between package A and package B shrinks to d2, the scanning device 23 scans the label information of package A and package B at the same time, resulting in the terminal device receiving the label information of package A and package B at the same time. The terminal device cannot identify which label information belongs to package B, not only unable to correctly parse the basic package information of package B, but also affecting the identification of the basic package information of the downstream packages, thus leading to the inability to correctly parse the destination sorting port information of the packages, resulting in package sorting failure.
[0101] Exemplarily, Figure 8 It shows a schematic diagram of a scenario where when there are packages on the single-piece separation device, the operating parameters of the single-piece separation device increase, resulting in a smaller separation distance between the packages. Assume that at time T0, there are still packages on the single-piece separation device 21, and the distance between package C and package D is d1. Also assume that at time T0, the terminal device controls the conveying speeds of each device (including the scattering unit, separation unit, and centering unit) in the single-piece separation device 21 to switch from 2 m / s to 1.2 m / s. During the period when the conveying speed of the centering unit switches from 1.2 m / s to 2 m / s, the rotational speed of the drum of the centering unit will also switch. Since the drum is prone to slipping during the rotational speed switch, the increasing rate of the conveying speed of package D on the centering unit is smaller than that of package C, resulting in package D moving a smaller distance per unit time than package C. After Δt time, the distance between package C and package D shrinks from d1 to d2 (d2 < d1). When the distance between package C and package D changes to d2, it may lead to the sorting failure of package C and the downstream packages of package C. For the specific principle, refer to the relevant content above and will not be elaborated here.
[0102] Step S1312: If there is no package on the single-piece separation device, the operating parameters of the target device are switched from the first operating parameters to the target operating parameters.
[0103] In one implementation, if no package detection signal is received from the photoelectric sensing device within the target time period, it is determined that no package exists on the single-piece separation device.
[0104] The target duration can be determined based on the duration required for the package to be transported from the single-piece separation device to the photoelectric sensor device. For example, assuming that the sorting section belt conveyor transports the package at 1.2 m / s, it takes 3 seconds for the package separated from the single-piece separation device to be transported to the location of the photoelectric sensor device. If the package detection signal sent by the photoelectric sensor device is not received within 5 seconds after receiving the package detection signal sent by the photoelectric sensor device, it means that the last package on the single-piece separation device has left the single-piece separation device, and there is no cargo on the current single-piece separation device.
[0105] It can be understood that when the package detection signal sent by the photoelectric sensor device is not received within the target time, the current moment is close to the time when the last package on the single-piece separation device leaves the single-piece separation device. Therefore, the current moment can be regarded as the time when the last package leaves the single-piece separation device.
[0106] If the terminal device switches the operating parameters of the target device only after detecting that the last package has been sorted, the time for the conveying section to stop conveying packages is relatively long, which is likely to cause a backlog of packages in the conveying section. This embodiment switches the operating parameters of the target device when the package detection signal sent by the photoelectric sensor device is not received within the target time, and can switch the operating parameters of the target device in time after the last package leaves the single-piece separation device, thereby reducing the time for the conveying section to stop conveying packages, thereby reducing the backlog of packages in the conveying section.
[0107] It can be seen that in this embodiment, when the operating parameters of the target device are switched according to the total number of packages, the probability of package sorting failure can be reduced by switching the operating parameters of the target device when there are no packages on the single-piece separation device.
[0108] In one implementation, the target device may include a sorting device, and the target operating parameter may include a target operating speed of the sorting device during a sorting period and a target operating speed of the sorting device during a non-sorting period. Fig. 9 , the above step S12 may include S121-S122:
[0109] S121: Determine a candidate operating speed corresponding to the sorting device according to the total number of packages.
[0110] Exemplarily, the terminal device may read the correspondence between the total number of packages and the operating parameters of the sorting device from the local storage module, and thereby determine the candidate operating speed corresponding to the sorting device according to the correspondence.
[0111] S122: If the candidate running speed is less than the running speed lower limit, the target running speed corresponding to the sorting device during the sorting period is set to the running speed lower limit, and the target running speed corresponding to the non-sorting period is set to the candidate running speed.
[0112] The sorting period is an operation period corresponding to the sorting action performed by the sorting device; and the non-sorting period is an operation period other than the sorting period.
[0113] The lower limit of the running speed may be a threshold value set according to actual conditions. For example, the lower limit of the running speed may be determined according to the kinetic energy required for the sorting device to perform the sorting action.
[0114] Since the sorting device needs to have sufficient kinetic energy to sort the parcels to the corresponding sorting ports when performing the sorting action, when the candidate operating speed corresponding to the sorting device is less than the lower limit of the operating speed, the sorting device is set to operate at the lower limit of the operating speed during the sorting period, and to operate at the candidate operating speed corresponding to the sorting device during the non-sorting period. This can not only reduce the energy consumption of the equipment when the number of parcels is small, but also ensure the normal sorting of the parcels.
[0115] For example, assuming that the lower limit of the operating speed of the sorting device is 1.5m / s, the candidate operating speed corresponding to the sorting device is determined to be 1.2m / s according to the total number of packages. Since the candidate operating speed is less than the lower limit of the operating speed (1.2m / s<1.5m / s), the terminal device can set the operating speed of the sorting device when performing the sorting action to 1.5m / s.
[0116] In one implementation, the target device may include a single-piece separation device; the target operating parameters include target operating parameters corresponding to the single-piece separation device. Fig.10 , the step S13 may include S131`:
[0117] S131`: Control the single-piece separation device to operate with the target operating parameters corresponding to the single-piece separation device, so that the operating parameters of the single-piece separation device correspond to the total number of packages, and the separation distance between the packages separated by the single-piece separation device is greater than the target length.
[0118] The separation distance can be used to indicate the distance between two adjacent packages separated by a single separation device.
[0119] For example, the target length may be the conveying length of the sorting device, where the conveying length of the sorting device refers to the conveying length of the sorting device on the sorting section. Fig.11 As shown, the conveying length of the sorting device 26A is d.
[0120] The single-piece separation device may include a scattering zone and a separation zone. The separation zone may separate the packages transmitted from the scattering zone according to a specified spacing. The separation zone may include multiple separation belts. The operating parameters of the single-piece separation device may include the conveying speed of each separation belt and the time point when each package leaves the separation zone. The terminal device may determine the position of each package on the single-piece separation device through an imaging device, and control the separation spacing between two adjacent packages and the separation efficiency of the single-piece separation device by adjusting the conveying speed of each separation belt and the time point when each package leaves the separation zone. The separation efficiency refers to the number of packages separated by the single-piece separation device per unit time. For example, if the single-piece separation device separates 200 packages per hour, the separation efficiency is 200 packages / hour.
[0121] In this embodiment, the terminal device adjusts the operating parameters of the single-piece separation device according to the total number of packages, on the one hand to make the separation efficiency of the single-piece separation device correspond to the total number of packages, and on the other hand to reduce the probability of package sorting failure.
[0122] Specifically, when the separation distance is less than the target length, two packages may appear on the same sorting device at the same time. When the package to be sorted arrives at the target sorting device corresponding to the package to be sorted, the target sorting device corresponding to the package to be sorted is triggered to perform the sorting action. Since the adjacent package and the package to be sorted are both located on the target sorting device corresponding to the package to be sorted, if the operating speed of the target sorting device corresponding to the package to be sorted is increased when performing the sorting action (as mentioned above, when the candidate operating speed corresponding to the sorting device is less than the lower limit of the operating speed, the operating speed of the sorting device during the sorting period will be increased from the candidate operating speed to the lower limit of the operating speed), the time for the adjacent package to arrive at the target sorting device corresponding to the adjacent package is shortened, thereby causing the adjacent package to fail to arrive at the corresponding target sorting device at the corresponding verification time point, and the sorting of the adjacent packages fails.
[0123] For example, Fig.11 A schematic diagram showing a scenario of sorting failure. Fig.11In the example, there are parcel No. 1 p1 and parcel No. 2 p2 on the sorting device 26A at the same time, and the sorting device 26A is the target sorting device corresponding to parcel No. 2. If it is determined based on the total number of parcels that the running speed of the sorting device during the non-sorting period is less than the lower limit of the running speed, in order to ensure that the sorting device has sufficient kinetic energy during sorting, the running speed of the sorting device 26A when performing the sorting action will be increased from the running speed corresponding to the non-sorting period to the lower limit of the running speed, such as from 1.2 m / s to 1.5 m / s, resulting in the conveying speed of parcel No. 1 p1 being accelerated when the sorting device 26A performs the sorting action, thereby shortening the time for parcel No. 1 p1 to reach the target verification device corresponding to parcel No. 1 p1, and further resulting in parcel No. 1 p1 failing to reach the target verification device corresponding to parcel No. 1 p1 at the verification time point corresponding to parcel No. 1, and when parcel No. 1 p1 passes through the target sorting device corresponding to parcel No. 1 p1, the target sorting device corresponding to parcel No. 1 p1 does not perform the sorting action, thereby causing the sorting of parcel No. 1 p1 to fail.
[0124] It can be seen that this embodiment adjusts the separation distance by adjusting the operating parameters of the single-piece separation device so that the separation distance is greater than the target length, thereby reducing the probability of failure in sorting adjacent packages due to the increase in the operating speed of the sorting device when performing the sorting action.
[0125] See also Fig.12 , Fig.12 is a flow chart of a method provided by another embodiment of the present application. The method provided by this example may also include S21 to S25:
[0126] S21: After the photoelectric sensor device detects the target package, the timer is started and the target package information is initialized and stored in the package storage module.
[0127] The target package is the package detected by the photoelectric sensor device at the current moment.
[0128] Exemplarily, after receiving the package detection signal of the target package sent by the photoelectric sensor device, the terminal device can initialize the serial number of the target package, and set the target package information corresponding to the target package as the serial number of the target package and store it in the package storage module. When the target package arrives at the scanning device, the terminal device controls the scanning device to scan the label attached to the target package, and receives the label scanning information fed back by the scanning device to obtain the basic package information of the target package, such as the destination of the target package, etc., so as to update the target package information according to the basic package information of the target package, such as updating the target package information from the serial number of the target package to the package target information, and the package target information includes the serial number of the target package and the basic package information of the target package.
[0129] Among them, the specific implementation process of the photoelectric sensor device storing the target package information into the package storage module after detecting the target package can be referred to the relevant content of the above package tracking, which will not be repeated here.
[0130] S22: Determine the theoretical position of the target package at each timing time point according to the target operating parameters.
[0131] In one implementation, if the target operating parameter is inconsistent with the first operating parameter, and the target package is a package detected by the photoelectric sensing device before the target device operating parameter is switched, the theoretical position of the target package at each timing time point is determined based on the first operating parameter and the target operating parameter.
[0132] Specifically, the terminal device can calculate the theoretical position of the target package at each timing time point according to the formula s=v1*T1+v2*T2, wherein s is the theoretical position of the target package at each timing time point, v1 is the first operating parameter, T1 is the length of time that the target device operates with the first operating parameter after the photoelectric sensor device detects the target package, v2 is the target operating parameter, and T2 is the length of time that the target device operates with the target operating parameter after the operating parameter is switched.
[0133] Exemplarily, after the photoelectric sensor device detects package No. 1, the terminal device starts the timer, and during the period from 00:00:00 to 00:02:00, the target device operates with the first operating parameter v1. At the timing time point 00:02:00, the theoretical position of the target package is s=v1*2 (minutes); at the timing time point 00:02:00, the operating parameter of the target device is switched from the first operating parameter v1 to the target operating parameter v2. At the timing time point 00:03:00, the theoretical position of package No. 1 is s=v1*2 (minutes)+v2*1 (minutes).
[0134] In another implementation, if the target package is a package detected by the photoelectric sensor device after the target device operating parameters are switched, the theoretical position of the target package at each timing time point is determined according to the above target operating parameters.
[0135] For example, after the operating parameter of the target device switches from the first operating parameter v1 to the second operating parameter v2, the photoelectric sensor device detects package No. 2, and the terminal device starts the timer. The theoretical position of package No. 2 at the timing time 00:03:00 is s=v2*3 (minutes).
[0136] S23: According to the theoretical position of the target package at each timing time point, the storage position of the target package information in the package storage module is moved according to each timing time point.
[0137] Exemplarily, the terminal device can determine the sub-area corresponding to the target package at each timing time point based on the theoretical position of the target package at each timing time point, and according to the correspondence between each storage address and each sub-area on the package tracking area, when each timing time point arrives, the storage location of the target package information is moved to the storage location corresponding to each timing time point. The specific implementation process can be found in the relevant content of package tracking above, which will not be repeated here.
[0138] S24: Upon receiving the package detection signal of the target package sent by the current verification photoelectric device, query the target storage location.
[0139] Among them, the target storage location is the storage location of the target package information in the package storage module when the timing time point corresponding to the package detection signal of the target package sent by the current verification photoelectric device is received; the current verification photoelectric device is any one of the multiple verification photoelectric devices.
[0140] S25: If the target storage position does not correspond to the position of the current verification photoelectric device, the target storage position is corrected according to the position of the current verification photoelectric device.
[0141] In a specific implementation, the terminal device may determine the storage address corresponding to the target storage location based on the target storage location, and determine the sub-region corresponding to the current verification photoelectric device based on the position of the current verification photoelectric device. After determining the storage address corresponding to the target storage location and the sub-region corresponding to the current verification photoelectric device, the terminal device may determine whether the storage address corresponding to the target storage location corresponds to the sub-region corresponding to the current verification photoelectric device through a pre-set correspondence between the storage address and the sub-region, thereby determining whether the target storage location corresponds to the position of the current verification photoelectric device. When the terminal device determines that the target storage location does not correspond to the position of the current verification photoelectric device, the target package information is updated from the target storage location to the storage address corresponding to the target sub-region, wherein the target sub-region is the sub-region corresponding to the current verification photoelectric device.
[0142] For example, see Fig.13 , Fig.13 It is an example diagram of the process of correcting the storage location of the target package information provided by the embodiment of the present application. Fig.13In the embodiment, if at the timing time point t1, the current photoelectric verification device 26A detects package No. 1 p1, the terminal device obtains the target package information corresponding to package No. 1 p1 from the package storage module 3, and the storage location of the target package information is x015, and the sub-area corresponding to the current photoelectric verification device is the 17th sub-area, and the storage address corresponding to the 17th sub-area is x016, then the storage location of the target package information corresponding to package No. 1 p1 is updated to x016, that is, the target package information corresponding to package No. 1 p1 is stored in the storage block with the storage address of x016.
[0143] Since the theoretical conveying speed of the target package may deviate from the actual conveying speed when the target device is running, resulting in a deviation between the theoretical position of the target package at each timing time point and the actual position of the target package in the package tracking area at each timing time point. Therefore, when the target storage position does not correspond to the position of the current verification photoelectric device, the target storage position is corrected according to the position of the current verification photoelectric device to achieve normal tracking of the package.
[0144] See also Fig.14 , Fig.14 1 is a structural block diagram of the device control device provided in the embodiment of the present application. The device control device 14 includes a statistical module 141, a determination module 142 and a control module 143.
[0145] The statistical module 141 is used to obtain the total number of parcels counted in the current statistical period, wherein the total number of parcels is the number of parcels conveyed from the conveying section to the sorting section.
[0146] The determination module 142 is used to determine the target operating parameters according to the total number of packages.
[0147] The control module 143 is used to control the target device to operate with the target operating parameters, wherein the target device is the device on the sorting section.
[0148] In one implementation, the control module 143 may include a switching unit, which may be used to:
[0149] If the target operating parameter is not the first operating parameter, the operating parameter of the target device is switched from the first operating parameter to the target operating parameter; wherein the first operating parameter is the current operating parameter of the target device.
[0150] In one implementation, the switching unit is specifically used to:
[0151] If the target operating parameter is not the first operating parameter, controlling the conveyor belt conveyor to stop running;
[0152] If there is no package on the single-piece separation device, the operating parameters of the target device are switched from the first operating parameters to the target operating parameters.
[0153] In one implementation, the determination module 142 may include a determination unit and a setting unit.
[0154] The determination unit may be configured to determine the candidate operating speeds corresponding to the sorting device according to the total number of packages.
[0155] The setting unit may be configured to set the target operating speed corresponding to the sorting device during a sorting period to the lower limit of the operating speed if the candidate operating speed is less than the lower limit of the operating speed, and the target operating speed corresponding to the non-sorting period to the candidate operating speed corresponding to the sorting device; wherein the sorting period is an operating period corresponding to the sorting device performing a sorting action; and the non-sorting period is an operating period other than the sorting period.
[0156] In one implementation, the control module 143 may include a first control unit, which may be configured to:
[0157] The single-piece separation device is controlled to operate with the target operating parameters corresponding to the single-piece separation device, so that the operating parameters of the single-piece separation device correspond to the total number of packages, and the separation distance between the packages separated by the single-piece separation device is greater than the target length.
[0158] In one implementation, the device control apparatus 14 may further include a correction module, which may be used to:
[0159] After the photoelectric sensor device detects the target package, a timer is started, and the target package information is initialized and stored in the package storage module; wherein the target package is the package detected by the photoelectric sensor device at the current moment;
[0160] Determining the theoretical position of the target package at each timing time point according to the target operating parameters;
[0161] According to the theoretical position of the target package at each timing time point, move the storage position of the target package information in the package storage module according to each timing time point;
[0162] When receiving the package detection information of the target package sent by the current verification photoelectric device, query the target storage location; wherein the target storage location is the storage location of the target package information in the package storage module when the timing time point corresponding to the package detection signal of the target package sent by the current verification photoelectric device is received; the current verification photoelectric device is any one of the multiple verification photoelectric devices;
[0163] If the target storage position does not correspond to the position of the current verification photoelectric device, the target storage position is corrected according to the position of the current verification photoelectric device.
[0164] In one implementation, the statistical module 141 may be specifically used to count the number of times a package detection signal sent by a photoelectric sensor device is received in a current statistical period to obtain the total number of packages counted in the current statistical period; wherein the photoelectric sensor device is arranged on a sorting section.
[0165] It should be noted that the information interaction, execution process and other contents between the above-mentioned devices are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0166] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0167] Accordingly, Fig.15 FIG. 1 shows a schematic diagram of the structure of a terminal device provided by an embodiment of the present application. Fig.15 As shown, the terminal device 15 of this embodiment includes: at least one processor 150 ( Fig.15Only one processor is shown in the figure), a memory 151, and a computer program 152 stored in the memory 151 and executable on the at least one processor 150, wherein the processor 150 implements the steps of any one of the above method embodiments when executing the computer program 152.
[0168] The terminal device 15 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server, and the terminal device may include, but is not limited to, a processor 150 and a memory 151. Those skilled in the art will appreciate that Fig.15 It is only an example of the terminal device 15 and does not constitute a limitation on the terminal device 15. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.
[0169] The processor 150 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0170] In some embodiments, the memory 151 may be an internal storage unit of the terminal device 15, such as a hard disk or memory of the terminal device 15. In other embodiments, the memory 151 may also be an external storage device of the terminal device 15, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal device 15. Further, the memory 151 may also include both an internal storage unit of the terminal device 15 and an external storage device. The memory 151 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program, etc. The memory 151 may also be used to temporarily store data that has been output or is to be output.
[0171] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any one of the above method embodiments can be implemented.
[0172] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0173] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to the camera device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium.
[0174] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A device control method, characterized in that: include: Obtain the total number of parcels counted in the current statistical period; wherein the total number of parcels is the number of parcels conveyed from the conveying section to the sorting section; determining target operating parameters based on the total number of packages; Control the target equipment to operate with the target operating parameters; wherein the target equipment is equipment on the sorting section.
2. The device control method according to claim 1, characterized in that: The controlling the target device to operate with the target operating parameters includes: If the target operating parameter is not the first operating parameter, the operating parameter of the target device is switched from the first operating parameter to the target operating parameter; wherein the first operating parameter is the current operating parameter of the target device.
3. The device control method according to claim 2, characterized in that: If the target operating parameter is not the first operating parameter, switching the operating parameter of the target device from the first operating parameter to the target operating parameter includes: If the target operating parameter is not the first operating parameter and there is a package on the single-piece separation device, the conveyor belt conveyor is controlled to stop running, and the operating parameter of the target device is controlled to run at the first operating parameter until there is no package on the single-piece separation device; If there is no package on the single-piece separation device, the operating parameters of the target device are switched from the first operating parameters to the target operating parameters.
4. The device control method according to claim 3, characterized in that: If there is no package on the single-piece separation device, switching the operating parameters of the target device from the first operating parameters to the target operating parameters includes: If the package detection signal sent by the photoelectric sensor device is not received within the target time period, it is determined that there is no package on the single-piece separation device.
5. The device control method according to claim 1, characterized in that: The target device includes a sorting device, the target operation parameter includes a target operation speed corresponding to the sorting device during a sorting period and a target operation speed corresponding to a non-sorting period, and determining the target operation parameter according to the total number of packages includes: Determining a candidate operating speed corresponding to the sorting device according to the total number of packages; If the candidate running speed is less than the running speed lower limit, the target running speed corresponding to the sorting device during the sorting period is set to the running speed lower limit, and the target running speed corresponding to the non-sorting period is set to the candidate running speed; wherein the sorting period is the running period corresponding to the sorting action performed by the sorting device; and the non-sorting period is the running period other than the sorting period.
6. The device control method according to claim 1, characterized in that: The target device includes a single-piece separation device; The target operating parameters include target operating parameters corresponding to the single-piece separation device, and the controlling the target device to operate with the target operating parameters includes: The single-piece separation device is controlled to operate with the target operating parameters corresponding to the single-piece separation device, so that the operating parameters of the single-piece separation device correspond to the total number of packages, and the separation distance between the packages separated by the single-piece separation device is greater than the target length.
7. The device control method according to claim 1, characterized in that: The sorting section includes a photoelectric sensing device and a plurality of calibration photoelectric devices, and the method further includes: After the photoelectric sensor device detects the target package, a timer is started, and the target package information is initialized and stored in the package storage module; wherein the target package is the package detected by the photoelectric sensor device at the current moment; Determining the theoretical position of the target package at each timing time point according to the target operating parameters; According to the theoretical position of the target package at each timing time point, move the storage position of the target package information in the package storage module according to each timing time point; When receiving the package detection signal of the target package sent by the current verification photoelectric device, query the target storage location; wherein the target storage location is the storage location of the target package information in the package storage module when the timing time point corresponding to the package detection signal of the target package sent by the current verification photoelectric device is received; the current verification photoelectric device is any one of the multiple verification photoelectric devices; If the target storage position does not correspond to the position of the current verification photoelectric device, the target storage position is corrected according to the position of the current verification photoelectric device.
8. The device control method according to claim 1, characterized in that: The method of obtaining the total number of packages counted in the current statistical period includes: The number of times the package detection signal sent by the photoelectric sensor device is received in the current statistical period is counted to obtain the total number of packages counted in the current statistical period; wherein the photoelectric sensor device is arranged on the sorting section.
9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the device control method according to any one of claims 1 to 8 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the device control method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Method and device for adjusting running speed of sorting machine
CN110434074A
Balance wheel sorting stall detection control method
CN114377971A
Express delivery system, method, device and equipment and storage medium
CN114772218A
Express sorting method, system and equipment and storage medium
CN115069566A
Full-automatic bag feeding system and logistics sorting equipment
CN214651518U