Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. A process may be terminated when its operations are completed, but may have additional steps not included in the figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
Furthermore, the terms "first," "second," and the like may be used herein to describe various orientations, actions, steps, elements, or the like, but the orientations, actions, steps, or elements are not limited by these terms. These terms are only used to distinguish one direction, action, step or element from another direction, action, step or element. For example, the first speed difference may be referred to as a second speed difference, and similarly, the second speed difference may be referred to as a first speed difference, without departing from the scope of the present application. The first speed difference and the second speed difference are both speed differences, but they are not the same speed difference. The terms "first", "second", etc. are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Example one
Fig. 1 is a flowchart of a group collecting method according to an embodiment of the present invention, where the embodiment is applicable to a case of an express delivery cabinet server, and specifically includes the following steps:
s101, receiving a first order number input by a courier on an express cabinet.
In this embodiment, the courier inputs a first order number on the express cabinet, wherein the first order number is a corresponding order number of a parcel of the courier. And the server of the express cabinet receives the first single number sent from the express cabinet, and then matches and corresponds the first single number with the server database information. The express delivery person can manually input in the mode of inputting the single number in the express delivery cabinet, and can also input the code by scanning.
S102, judging whether the first order number belongs to a group order or not, wherein the group order at least comprises a plurality of second order numbers.
In this embodiment, the group-piecing order can be an order of a community group-piecing, and the same cabinet-type air conditioner lattice is dispatched to a plurality of parcels supporting group members, and a cabinet-type air conditioner lattice can also be set for a group leader, and is uniformly taken out by the group leader (or designated members), and each group member includes that the respective parcel of the group leader has a corresponding second order number, and the group-piecing order at least includes a plurality of second order numbers. And the server of the express cabinet receives the first order number sent from the express cabinet, and then matches the first order number with a plurality of second order numbers in the grouping order in the server database information.
S103, if the first single number is matched with one of the second single numbers, whether a package corresponding to any second single number is put into the cabinet is detected.
In this embodiment, because the lattice opening flow of the piecing together order is different from that of the normal order, it needs to be determined whether the order number input by the courier belongs to the piecing together order, the server of the express delivery cabinet receives the first order number sent from the express delivery cabinet, and then the first order number is matched with the plurality of second order numbers in the piecing together order in the server database information. If the first order number is the same as any of the second order numbers in the conglomerate order, the first order number belongs to the conglomerate order. Because the delivery of the package in the group-pieced order needs to be delivered for multiple times and all the packages in the group-pieced order are delivered to one grid, a courier needs to judge whether the packages belonging to the group-pieced order are delivered at the grid of the express cabinet before delivering the packages.
And S104, if the package corresponding to the second single number is put into the cabinet, opening a target grid where the package corresponding to the second single number is located.
In this embodiment, the first order number is the same as any second order number in the group-piecing order, the first order number belongs to the group-piecing order, the server performs polling matching on the second order number and delivery information of all gates of the express cabinet, if any second order number belonging to the group-piecing order is delivered at a gate of the express cabinet, the dropped gate information is obtained, and the server notifies the express cabinet to open a gate corresponding to the gate information.
And S105, if the package corresponding to the second single number does not enter the cabinet, opening an idle grid selected by the courier on the express cabinet.
In this embodiment, the first order number is the same as any second order number in the group-piecing order, the first order number belongs to the group-piecing order, the server performs polling matching on the second order number and delivery information of all gates of the express cabinet, if no order number of a package belonging to the group-piecing order is matched in a database belonging to the express cabinet in the server, the server notifies the express cabinet to prompt a user of the total number of the package of the group-piecing order in a voice or display screen display mode, and the courier can select a free gate with a size meeting the total number of the package to deliver the package on the express cabinet according to the total number of the package. In an alternative embodiment, the server can also automatically select an idle slot with the opening size according to the total number of the second single numbers for delivering the packages.
And S106, if the first order number does not belong to the group order, the cabinet entering process is carried out according to the normal delivery.
In the embodiment, when the order number input by the courier on the express cabinet does not belong to the group-piecing order, the parcel delivered by the courier is not the group-piecing parcel, and the lattice to be delivered only needs to deliver one parcel, namely according to the previous parcel delivery mode.
Further, before the receiving the first order number input by the courier on the courier cabinet, the method includes:
receiving a grouping request; reminding the group members of a group-piecing rule, wherein the group-piecing rule is a group-growth collecting package; and generating a corresponding second single number according to the packages of different members in the group.
In the embodiment, the user selects the group-piecing commodity on the group-piecing platform, and the user can select the group-piecing mode as the group leader and input the recipient address of the user. And the server receives the information of the flow and matches the express cabinet machine closest to the receiving address as a receiving express cabinet. After paying the party order, the user can share the party connection to invite other personnel to participate in the party. Other members click to join the group, the server reminds the participating members of the group that the group is a group for group collection request to ensure that the group is known, and the addresses of the group for group collection express cabinets are displayed.
The server detects whether the party is full within a certain time period, if the party is full, the party is successfully spliced, and if the party is not full, the party is failed to splice, and automatic refund is carried out. After the grouping is successful, each group member generates a package order, the order number is the second order number, the name and the mobile phone number of the addressee are the group member, and the addressee addresses are unified into the address of the group-length express cabinet. Each team member may track the status of the respective package individually.
According to the technical scheme, when the first order belongs to the group order, when the package corresponding to the second order is put into the cabinet, the target lattice at the package position corresponding to the second order is opened, the package corresponding to the second order is not put into the cabinet, and the free lattice selected by the courier on the express cabinet is opened. The problem of the lattice wasting of resources, delivery inefficiency is solved, express delivery lattice utilization maximize has been reached, increases lattice availability factor and turnover efficiency, concentrates the delivery and improves the effect of express delivery person's delivery efficiency.
Example two
Fig. 2 is a flowchart of a piecemeal collecting method according to a second embodiment of the present invention, which is further optimized based on the above-described embodiment, and specifically includes:
s201, receiving a first order number input by a courier on an express cabinet.
S202, judging whether the first order number belongs to a group-piecing order or not, wherein the group-piecing order at least comprises a plurality of second order numbers.
S203, if the first single number is matched with one of the second single numbers, whether a package corresponding to any second single number is put into the cabinet is detected.
And S204, if the package corresponding to the second single number is put into the cabinet, opening a target grid where the package corresponding to the second single number is located.
S205, if the package corresponding to the second single number does not enter the cabinet, opening an idle grid selected by the courier on the express cabinet.
And S206, accumulating the number of the packages corresponding to the second single number in the target grid.
And S207, if the number of the packages corresponding to the second order number in the target lattice reaches the total number of the second order numbers of the piecing order, sending a piecing pickup code to a piecing group length after the target lattice is closed, wherein the piecing group length is a preset customer in the piecing order.
This embodiment, before the user did not input and gets a yard and get a piece, the courier post the parcel at every turn, the server all can take notes the parcel number of times of having delivered in this express delivery cabinet check, accumulatively takes notes the interior parcel total number of quantities of check. When the total number of the packages in the grid reaches the total number of the second order numbers of the group-piecing orders to which the packages in the grid belong, the fact that all the packages in the group-piecing orders are delivered completely is represented, the server extracts the mobile phone number of the team leader according to the order information, the group-piecing pickup code of the grid of the express cabinet is sent to the mobile terminal of the team leader, and the team leader can go to the express cabinet to pick up the packages.
And S208, receiving the group-piecing item-taking code input by the user on the express cabinet.
In this embodiment, the user inputs the piece-making code on the express cabinet, and the user can be the piece-making group leader and also can be the person specified by the group leader. And the server of the express cabinet receives the piece-piecing and piece-taking code sent by the express cabinet, matches the piece-piecing and piece-taking code with the information in the server database, and finds out the information of the grid corresponding to the piece-piecing and piece-taking code.
S209, informing the express cabinet to open the target grid and prompting the total number of the second single number.
In this embodiment, the total number of the second order number is the total number of packages that the courier needs to deliver in the above described grouping order. The server extracts the number position of the grid and the number of packages in the grid according to the information of the grid corresponding to the piece-grouping and piece-taking code, informs the express cabinet to open the corresponding target grid according to the grid number position, prompts the number of the packages in the grid to the user in a voice or display screen display mode, is used for reminding the user and prevents the user from missing the packages.
S210, if the first order number does not belong to the group order, the cabinet entering process is carried out according to the normal delivery.
Further, when sending the piece-to-piece item code to the piece-to-piece length after the target lattice is closed, the method further comprises:
sending a notice to the party personnel, the party personnel being the clients in the party order.
In the embodiment, all packages in the group-piecing order are delivered completely, the server extracts the mobile phone number of the group leader according to the order information, sends the group-piecing and pickup code of the lattice of the express cabinet to the mobile terminal of the group leader, and simultaneously sends the delivered information of all packages to other members of the group leader, so that the group leader can remind or urge the group leader to pick up the packages as soon as possible.
Further, after notifying the express cabinet to open the target grid and prompting the total number of the second single number, the method further comprises the following steps: and sending a taking-out notice to the participating personnel after the target grid is closed.
In this embodiment, the user has taken out all packages at the grid and closed the grid of the express cabinet, and the server of the express cabinet receives the grid closing message sent by the express cabinet, and then sends the message that all packages have been taken out to other members of the group. The members of the group can know that the group grows to take the piece, and can go to the group growing address to take the piece or wait for the group growth arrangement.
Further, before opening the free lattice selected by the courier on the courier cabinet, the method includes: and informing the courier of the total number of the second order numbers of the group order.
According to the technical scheme, the number of the packages corresponding to the second order in the target lattice reaches the total number of the second order of the piecing together order, the target lattice sends a piecing together pickup code to a piecing together group length after being closed, and the group length reminds the total number of the second order when picking up the piece. The problem of a bouquet get a lot of times, easily leak when getting is solved, the effect of getting once and avoiding getting a omission has been reached.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a clump collecting device S300 according to a third embodiment of the present invention, which is applicable to a situation where a server processes a slot, and the specific structure is as follows:
the receiving module S301 is used for receiving a first order number input by a courier on an express cabinet;
a judging module S302, configured to judge whether the first order number belongs to a group-piecing order, where the group-piecing order at least includes a plurality of second order numbers;
a detecting module S303, configured to detect whether there is a corresponding entered cabinet of any second single number when the first single number matches one of the plurality of second single numbers;
the first door opening module S304 is used for opening a target grid at which a first parcel corresponding to a second order number is located when the first parcel of the first order number belonging to the group order is put into a cabinet;
and the second door opening module S305 is used for opening the idle grid selected by the courier on the express cabinet when the package corresponding to the second single number does not enter the cabinet.
And the normal delivery module S306 is used for performing a normal delivery locker process when the first order number does not belong to the group order.
Further, the device S300 further includes a grouping request module, a grouping rule prompting module, and a single number generating module, wherein:
the grouping request module is used for receiving a grouping request;
the grouping rule reminding module is used for reminding the group members of a grouping rule, wherein the grouping rule is a group-length collecting package;
and the single number generating module is used for generating a corresponding second single number according to the packages of different participating members.
Further, the apparatus S300 further includes a notice module for sending a notice to the group members, which are clients in the group order.
Further, the device S300 further includes a pickup notification module, configured to send a pickup notification to the participating personnel after the target bay is closed.
Further, the apparatus S300 further includes a second order number total notification module, configured to notify the courier of the second order number total of the group order.
The grouping collection device S300 provided in the embodiment of the present invention can execute the grouping collection method provided in the foregoing embodiment, and has functional modules and beneficial effects corresponding to the execution method.
Example four
Fig. 4 is a schematic structural diagram of a server according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary server 412 suitable for use in implementing embodiments of the present invention. The server 412 shown in fig. 4 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present invention.
As shown in FIG. 4, server 412 is in the form of a general purpose server. Components of server 412 may include, but are not limited to: one or more processors 416, a storage device 428, and a bus 418 that couples the various system components including the storage device 428 and the processors 416.
Bus 418 represents one or more of any of several types of bus structures, including a memory device bus or memory device controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Server 412 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by server 412 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 428 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 430 and/or cache Memory 432. The terminal 412 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 434 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk such as a Compact disk Read-Only Memory (CD-ROM), Digital Video disk Read-Only Memory (DVD-ROM) or other optical media may be provided. In these cases, each drive may be connected to bus 418 by one or more data media interfaces. Storage 428 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 440 having a set (at least one) of program modules 442 may be stored, for instance, in storage 428, such program modules 442 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 442 generally perform the functions and/or methodologies of the described embodiments of the invention.
The server 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing terminal, display 424, etc.), with one or more terminals that enable a user to interact with the server 412, and/or with any terminals (e.g., network card, modem, etc.) that enable the server 412 to communicate with one or more other computing terminals. Such communication may occur via input/output (I/O) interfaces 422. Further, server 412 may communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), and/or a public Network, such as the Internet) via Network adapter 420. As shown in FIG. 4, network adapter 420 communicates with the other modules of server 412 via bus 418. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the server 412, including but not limited to: microcode, end drives, Redundant processors, external disk drive Arrays, RAID (Redundant Arrays of Independent Disks) systems, tape drives, and data backup storage systems, among others.
The processor 416 executes programs stored in the storage 428 to perform various functional applications and data processing, for example, implementing a method for chunking and collecting provided by any embodiment of the present invention, which may include:
receiving a first order number input by a courier on an express cabinet;
judging whether the first order number belongs to a group-piecing order or not, wherein the group-piecing order at least comprises a plurality of second order numbers;
if the first single number is matched with one of the second single numbers, detecting whether a package corresponding to any second single number is put into the cabinet;
if the package corresponding to the second single number is put into the cabinet, opening a target grid where the package corresponding to the second single number is located;
and if the package corresponding to the second single number does not enter the cabinet, opening an idle grid selected by the courier on the express cabinet.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for piecing together and collecting instead, where the method includes:
receiving a first order number input by a courier on an express cabinet;
judging whether the first order number belongs to a group-piecing order or not, wherein the group-piecing order at least comprises a plurality of second order numbers;
if the first single number is matched with one of the second single numbers, detecting whether a package corresponding to any second single number is put into the cabinet;
if the package corresponding to the second single number is put into the cabinet, opening a target grid where the package corresponding to the second single number is located;
and if the package corresponding to the second single number does not enter the cabinet, opening an idle grid selected by the courier on the express cabinet.
The computer-readable storage media of embodiments of the invention may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or terminal. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.