Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for splitting orders of base materials, which are used for solving the problem that each relevant provider has single function and cannot effectively integrate resources in the whole process of delivering the basic decoration muddy water materials.
In a first aspect, an embodiment of the present invention provides a method for splitting an order for a base material, including:
receiving a base material order;
extracting a receiving address from the order;
selecting a vehicle-reachable discharge address adjacent to the receiving address;
extracting finishing materials from the order;
distributing a target vehicle and a target human power that can transport the finishing material;
generating a vehicle task for representing the use of the target vehicle to transport the finishing material to the discharge address;
a human task is generated that is used to represent the use of the target human force to carry the finishing material from the discharge location to the receiving location.
On the basis, the finishing materials are of the same type and quantity;
the dispensing of the target vehicle and target human power for transporting the finishing material includes:
determining an actual volume of the finishing material according to the types and the amounts, wherein the actual volume is the volume of the finishing material of the same type;
selecting a target vehicle according to the type of the finishing material and the actual volume;
and selecting target manpower according to the type of the finishing material and the actual volume.
On this basis, the selecting a target vehicle according to the kind of the finishing material and the actual volume includes:
selecting a vehicle of a type that allows loading of the finishing material as a candidate vehicle;
one or more candidate vehicles are selected as target vehicles, and the sum of the loading volumes of the target vehicles is greater than or equal to the actual volume.
On this basis, the candidate vehicle includes a first type, a second type, and a third type, the loading volume of the first type of vehicle being greater than the loading volume of the second type of vehicle, the loading volume of the second type of vehicle being greater than the loading volume of the third type of vehicle;
the selecting one or more candidate vehicles as target vehicles comprises:
determining the value of the actual volume as a rated value;
determining the loading volume of the first type of candidate vehicle as a first value;
determining the loading volume of the candidate vehicle of the second type as a second value;
determining the loading volume of the candidate vehicle of the third type as a third value;
splitting the nominal value into one or more of the first value, the second value, and the third value;
determining a sum of the one or more first, second, and third values, the sum being greater than the nominal value;
adjusting the configuration of the first, second and third values so that the difference between the sum and the nominal value meets a preset threshold;
and determining a target vehicle from the candidate vehicles according to the first numerical value, the second numerical value and the third numerical value.
On this basis, the selecting a target human power according to the kind of the finishing material and the actual volume includes:
determining a time interval of the target vehicles, wherein the time interval is from the arrival of the first target vehicle at the unloading address to the arrival of the last target vehicle at the unloading address;
selecting a carrier meeting the time interval as a candidate manpower;
determining the transportation volume of the candidate manpower, wherein the transportation volume is the volume of finishing materials which can be transported by one transporting person at a time;
determining a time of transportation of the selection, the time of transportation being the time it takes for a carrier to transport the finishing material from the unloading to the receiving location;
one or more candidate human powers are selected as target human powers, a sum of transport volumes of the target human powers within the time interval being greater than or equal to the actual volume.
On the basis, the device also comprises:
a waste transport task is generated, the waste transport task representing the conveyance of waste material from the receiving address to the discharge address by the conveyance personnel.
On the basis, the device also comprises:
determining a target vehicle corresponding to the vehicle task, wherein the target vehicle comprises a vehicle number;
issuing the vehicle task to a vehicle corresponding to the vehicle number;
determining a target manpower corresponding to the manpower task, wherein the target manpower comprises a carrier number;
and issuing the manpower task to the carrier corresponding to the carrier number.
In a second aspect, an embodiment of the present invention further provides a splitting apparatus for a base material order, including:
the order receiving module is used for receiving the order of the base material;
the receiving address extraction module is used for extracting a receiving address from the order;
a discharge address determination module for selecting a vehicle-reachable discharge address adjacent to the receiving address;
a finishing material lifting module for extracting finishing materials from the order;
a resource allocation module for allocating a target vehicle and a target human power that can transport the finishing material;
a vehicle task generation module that generates a vehicle task for representing transportation of the finishing material to the discharge address using the target vehicle;
and the manpower task generating module is used for generating a manpower task, and the manpower task is used for representing that the decoration material is conveyed from the unloading address to the receiving address by using the target manpower.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement a method of splitting a base material order as described in any of the aspects.
In a fourth aspect, embodiments of the present invention also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of splitting a base material order according to any of the aspects.
The invention receives the order of the base material submitted by the user; extracting a receiving address from the order; selecting a vehicle-reachable discharge address adjacent to the receiving address; extracting finishing materials from the order; a target vehicle and a target human power for distributing transportable finishing materials; generating vehicle tasks respectively representing the transportation of the finishing material to the unloading address using the target vehicle; and a human task for representing the use of the target human force to transport the finishing material from the discharge location to the receiving location. The problem that resources cannot be effectively integrated due to single functions of all relevant suppliers in the whole process of delivering the basic decoration muddy water material is solved, and the beneficial effects that vehicle tasks and manpower tasks are generated in a targeted mode according to the goods receiving addresses and the decoration materials selected by users are achieved, so that the resources of all relevant suppliers in the whole process of delivering the basic decoration muddy water material are integrated efficiently under the condition of saving time and cost.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of a method for splitting an order of a base material according to an embodiment of the present invention. The embodiment is suitable for the scenes of generating a vehicle task and a human task according to a base material order submitted by a user. The method may be performed by a splitting device of a base material order, which may be implemented in software and/or hardware, which may be configured in an electronic device having data processing capabilities, such as a server.
Referring to fig. 1, the method specifically includes:
s101, receiving a base material order.
The order of the base material refers to information filled by a user through a client. Typically, the order for the base material includes information for purchasing the item, and personal information for the user. Wherein the information for purchasing the item generally includes: material type, material brand, material quantity. The personal information of the user generally includes: the user's shipping address and shipping time period.
In one possible implementation, the server receives a base material order filled by a user through the client, the base material order including information about finishing materials required by the user, and automatically blocking the order by time-slot sequential filling.
S102, extracting a receiving address from the order.
The shipping address is typically the address that the user actually needs to use to the finishing material, such as XX street XX cell XX building XXX.
The shipping address may be filled in manually by the user, may be derived from historical information, or may be filled in by locating on a map.
In one possible implementation, the server receives a base material order filled by a user via the client and extracts a user filled shipping address from the base material order.
S103, selecting a discharge address adjacent to the receiving address and accessible to the vehicle.
The discharge address refers to an address that the vehicle can reach. Such as in a cell containing an underground parking garage, the vehicle may reach the underground parking garage where the underground parking garage is the user's discharge address. As another example, in a totally enclosed, vehicle-inaccessible cell, the entrance to the cell may be considered as the discharge address. If there are multiple entrances in the cell, the entrance of the cell closest to the receiving address can be used as the unloading address through route planning, or a user can select a cell entrance as the unloading address by himself. In another example, in a cell, the vehicle may reach the user's downstairs directly, and the building where the user is located may be used as the unloading address directly.
In one possible implementation, a discharge address is determined by the system or by a user-selected manner based on the user-filled receiving address.
S104, extracting the finishing material from the order.
The finishing material generally comprises five sets of muddy water materials, such as: cement, sand, stone, haydite, brick. Of course, the user does not necessarily need all finishing materials. Therefore, the user can select from the above finishing materials according to his own needs. Also, each finishing material has its own brand, and the user can select the brand of the material while selecting the finishing material.
In one possible implementation, the user selects the finishing material required by himself by submitting the order of the base material, and determines the kind and the number of the finishing material according to his own requirement. After the system receives the order, the type and information of the decoration materials selected by the user are extracted from the cloud bin corresponding to the order.
S105, distributing a target vehicle and a target manpower capable of transporting the finishing material.
The target vehicle refers to a vehicle tasked by the system, and the target human power refers to a carrier tasked by the system. In the database of the system, information about the vehicle and the carrier is stored.
In one possible implementation, there are three carriers A, B, C and three carriers D, E, F stored in the database. The system can store the addresses of the A, B, C transportation companies, the vehicle configuration of the transportation companies and the types of vehicles (the types of the vehicles comprise the types of the transportable finishing materials of the vehicles and the loading volumes of the vehicles) which can be allocated in each time period of the transportation companies. The system can also store the addresses of the D, E, F carrier companies, the carrier personnel allocation of the carrier companies, and the number of carrier personnel allocated in each time period of the carrier companies.
In one possible implementation, the system selects a carrier with a suitable route according to the location and the discharge location of the finishing material provider, selects a vehicle with a suitable time period from the carriers according to the time selected by the user, and selects a suitable vehicle as the target vehicle according to the kind and the number of finishing materials.
In a possible implementation manner, the system automatically and scientifically matches the shortest distance between cloud bins and the lowest cost according to the receiving address, selects a carrier company closer to the receiving address, selects carriers in a proper time period from the carrier company according to the time selected by a user, and selects a proper number of carriers as target manpower according to the type and the number of finishing materials.
S106, generating a vehicle task.
The vehicle task is transmitted to the vehicle selected as the target vehicle. The vehicle mission is used to represent the use of the target vehicle to transport finishing materials to the discharge location and to dynamically monitor the dispensing process throughout. The vehicle tasks include departure time of the vehicle, parked trim material supplier address, type and quantity of trim material received, discharge address, and time of expected arrival at the discharge address.
S107, generating a manpower task.
And sending the manpower task to the carrier selected as the target manpower. The human-powered task is used to represent the use of a target human power to transport finishing materials from a discharge location to a receiving location. Human tasks include departure time of the carrier, discharge address, receiving address, and time of arrival at the discharge address.
The invention receives the order of the base material submitted by the user; extracting a receiving address from the order; selecting a vehicle-reachable discharge address adjacent to the receiving address; extracting finishing materials from the order; a target vehicle and a target human power for distributing transportable finishing materials; generating vehicle tasks respectively representing the transportation of the finishing material to the unloading address using the target vehicle; and a human task for representing the use of the target human force to transport the finishing material from the discharge location to the receiving location. The problem that resources cannot be effectively integrated due to single functions of all relevant suppliers in the whole process of delivering the basic decoration muddy water material is solved, and the beneficial effects that vehicle tasks and manpower tasks are generated in a targeted mode according to the goods receiving addresses and the decoration materials selected by users are achieved, so that the resources of all relevant suppliers in the whole process of delivering the basic decoration muddy water material are integrated efficiently under the condition of saving time and cost.
Example two
Fig. 2 is a flowchart of a method for splitting an order of a base material according to a second embodiment of the present invention. This embodiment is a refinement based on the first embodiment, and mainly describes a specific manner of distributing a target vehicle and a target human power that can transport the finishing material. Referring to fig. 2, the method specifically includes:
s201, receiving a base material order.
S202, extracting a receiving address from the order.
S203, selecting a discharge address adjacent to the receiving address and accessible to the vehicle.
S204, extracting the finishing material from the order.
In one possible implementation, the server receives a base material order filled by a user through the client, the base material order including information about finishing materials required by the user and a receiving address filled by the user, and determines a discharge address by a system or a user selection mode according to the receiving address filled by the user
The kind and amount of finishing material can be determined from the order of the base material filled by the user through the client.
S205, determining the actual volume of the finishing material according to the types and the amounts.
In a possible implementation, the system determines the actual volume of the finishing material based on the type and amount of finishing material. Of course, even the same amount of finishing material, if the kind of finishing material is different, there will be different actual volumes. Therefore, the actual volume of the finishing material needs to be determined according to the kind and the amount.
S206, selecting a target vehicle according to the type of the finishing material and the actual volume.
The target vehicle is a vehicle selected from a plurality of vehicles for transporting the finishing material. In a possible implementation, this step comprises the following sub-steps:
s2061, selecting a vehicle of a type that is permitted to load the finishing material as a candidate vehicle.
Because of the special nature of the different finishing materials, such as bulk sand, there may be a greater demand for tightness of the vehicle. Therefore, after the type of the finishing material is determined, it is first necessary to select a vehicle matching the type as a candidate vehicle.
S2062, selecting one or more candidate vehicles as a target vehicle, the sum of the loading volumes of which is greater than or equal to the actual volume.
The number of candidate vehicles required is determined based on the actual volume of the finishing material. It should be appreciated that the candidate vehicles include a first type, a second type, and a third type, the loading volume of the first type of vehicle being greater than the loading volume of the second type of vehicle, the loading volume of the second type of vehicle being greater than the loading volume of the third type of vehicle; determining the value of the actual volume as a rated value; the determined loading volume of the candidate vehicle of the first type is a first numerical value; determining a loading volume of a candidate vehicle of a second type as a second value; the determined loading volume of the candidate vehicle of the third type is a third value; splitting the rated value into one or more first, second and third values; determining one or more of a sum of the first value, the second value and the third value, the sum being greater than the nominal value; adjusting the configuration of the first numerical value, the second numerical value and the third numerical value to enable the difference value between the sum and the rated numerical value to accord with a preset threshold value; a target vehicle is determined from the candidate vehicles based on the first value, the second value, and the third value.
S207, selecting target manpower according to the type of the finishing material and the actual volume.
In a possible implementation manner, determining a time interval of the target vehicles, wherein the time interval is from the arrival of the first target vehicle at the unloading address to the arrival of the last target vehicle at the unloading address; selecting a carrier meeting the time interval as a candidate manpower; determining the transportation volume of the candidate manpower, wherein the transportation volume is the volume of finishing materials which can be transported by one transporting person at a time; determining a time of transportation of the selection, the time of transportation being the time it takes for a carrier to transport the finishing material from the unloading to the receiving location; one or more candidate human powers are selected as target human powers, a sum of transport volumes of the target human powers within the time interval being greater than or equal to the actual volume.
S208, generating a vehicle task.
S209, generating a manpower task.
S210, determining a target vehicle corresponding to the vehicle task.
S211, issuing the vehicle task to the vehicle corresponding to the vehicle number.
Typically, for each vehicle, the system will number it. After the system generates a vehicle task, the vehicle task is sent to the vehicle according to the vehicle number.
S212, determining target manpower corresponding to the manpower task.
S213, issuing the manpower task to the carrier corresponding to the carrier number.
Typically, for each carrier, the system will number it. After the system generates the human task, the human task is sent to the carrier according to the number of the carrier.
Example III
Fig. 3 is a block diagram of a splitting apparatus for a base material order according to a third embodiment of the present invention. The device comprises: an order receiving module 31, a receiving address extracting module 32, a discharge address determining module 33, a finishing material lifting module 34, a resource allocation module 35, a vehicle task generating module 36 and a human task generating module 37. Wherein:
an order receiving module 31 for receiving a base material order;
a receiving address extraction module 32 for extracting a receiving address from the order;
a discharge address determination module 33 for selecting a vehicle-reachable discharge address adjacent to the receiving address;
a finishing material lifting module 34 for extracting finishing materials from the order;
a resource allocation module 35 for allocating a target vehicle and a target human power that can transport the finishing material;
a vehicle task generation module 36 that generates a vehicle task for indicating that the finishing material is to be delivered to the discharge address using the target vehicle;
a manual task generation module 37 generates a manual task for indicating that the finishing material is transported from the discharge address to the receiving address using the target manual force.
The embodiment of the invention receives the order of the base material submitted by the user; extracting a receiving address from the order; selecting a vehicle-reachable discharge address adjacent to the receiving address; extracting finishing materials from the order; a target vehicle and a target human power for distributing transportable finishing materials; generating vehicle tasks respectively representing the transportation of the finishing material to the unloading address using the target vehicle; and a human task for representing the use of the target human force to transport the finishing material from the discharge location to the receiving location. The problem that resources cannot be effectively integrated due to single functions of all relevant suppliers in the whole process of delivering the basic decoration muddy water material is solved, and the beneficial effects that vehicle tasks and manpower tasks are generated in a targeted mode according to the goods receiving addresses and the decoration materials selected by users are achieved, so that the resources of all relevant suppliers in the whole process of delivering the basic decoration muddy water material are integrated efficiently under the condition of saving time and cost.
On the basis of the above embodiment, the resource allocation module includes:
an actual volume determining sub-module for determining an actual volume of the finishing material according to the kind and the number, the actual volume being a volume of the finishing material of the same kind;
a target vehicle determination sub-module for selecting a target vehicle according to the kind of the finishing material and the actual volume;
and the target manpower determining submodule is used for selecting target manpower according to the type of the finishing material and the actual volume.
On the basis of the above embodiment, the vehicle determination submodule includes:
a candidate vehicle determination unit that selects, as a candidate vehicle, a vehicle of a type that is permitted to load the finishing material;
and the target vehicle selecting unit is used for selecting one or more candidate vehicles as target vehicles, and the sum of the loading volumes of the target vehicles is greater than or equal to the actual volume.
On the basis of the above-described embodiment, the target vehicle selecting unit includes:
a rated value determining subunit configured to determine a value of the actual volume as a rated value;
a first value determining subunit configured to determine a loading volume of the first type of candidate vehicle as a first value;
a second value determining subunit configured to determine a loading volume of the second type of candidate vehicle as a second value;
a third value determining subunit configured to determine a loading volume of the third type of candidate vehicle as a third value;
a rated value splitting subunit configured to split the rated value into one or more of the first value, the second value, and the third value;
a sum value determination subunit determines a sum value of the one or more of the first value, the second value, and the third value, the sum value being greater than the nominal value;
a value adjustment subunit, configured to adjust the configuration of the first value, the second value, and the third value, so that a difference between the sum and the rated value meets a preset threshold;
and the target vehicle determining subunit is used for determining a target vehicle from the candidate vehicles according to the first numerical value, the second numerical value and the third numerical value.
On the basis of the above embodiment, the target manpower determination submodule includes:
the time interval determining unit is used for determining a time interval of the target vehicles, wherein the time interval is from the arrival of the first target vehicle at the unloading address to the arrival of the last target vehicle at the unloading address;
a candidate manpower determining unit for selecting a carrier conforming to the time interval as a candidate manpower;
a transport volume determining unit configured to determine a transport volume of the candidate person, the transport volume being a volume of finishing material that is once transportable by one transporting person;
a transportation time determining unit configured to determine a transportation time of the selecting person, the transportation time being a time taken by a carrier to transport the finishing material from the unloading to the receiving address;
and the target manpower determining unit is used for selecting one or more candidate manpower as target manpower, and the sum of the transport volumes of the target manpower in the time interval is greater than or equal to the actual volume.
On the basis of the above embodiment, the method further comprises:
and the transportation task generation module is used for generating a waste transportation task, and the waste transportation task represents that the carrier carries waste materials from the receiving address to the unloading address.
On the basis of the above embodiment, the method further comprises:
the vehicle determining module is used for determining a target vehicle corresponding to the vehicle task, wherein the target vehicle comprises a vehicle number;
the vehicle task issuing module is used for issuing the vehicle task to the vehicle corresponding to the vehicle number;
the manpower determining module is used for determining target manpower corresponding to the manpower task, wherein the target manpower comprises a carrier number;
and the manpower task issuing module is used for issuing the manpower task to the carrier corresponding to the carrier number.
The splitting device for the order of the base material provided by the embodiment can be used for executing the splitting method for the order of the base material provided by the first embodiment and the second embodiment, and has corresponding functions and beneficial effects.
Example IV
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. As shown in fig. 4, the electronic device includes a processor 40, a memory 41, a communication module 42, an input device 43, and an output device 44; the number of processors 40 in the electronic device may be one or more, one processor 40 being taken as an example in fig. 4; the processor 40, the memory 41, the communication module 42, the input means 43 and the output means 44 in the electronic device may be connected by a bus or other means, in fig. 4 by way of example.
The memory 41 is a computer-readable storage medium that stores a software program, a computer-executable program, and modules corresponding to a splitting method of a base material order in the present embodiment (for example, an order receiving module 31, a receiving address extracting module 32, a discharge address determining module 33, a finishing material lifting module 34, a resource allocating module 35, a vehicle task generating module 36, and a human task generating module 37 in a splitting apparatus of a base material order). The processor 40 executes various functional applications of the electronic device and data processing, namely, implements a method of splitting a base material order as described above, by running software programs, instructions and modules stored in the memory 41.
The memory 41 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for functions; the storage data area may store data created according to the use of the electronic device, etc. In addition, memory 41 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, memory 41 may further include memory located remotely from processor 40, which may be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
And the communication module 42 is used for establishing connection with the display screen and realizing data interaction with the display screen. The input means 43 may be used for receiving entered numeric or character information and for generating key signal inputs related to user settings and function control of the electronic device.
The electronic device provided by the embodiment of the invention can execute the splitting method of the base material order provided by any embodiment of the invention, and the method has the specific corresponding functions and beneficial effects.
Example five
A fifth embodiment of the present invention also provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are for performing a method of splitting a base material order, the method comprising:
receiving a base material order;
extracting a receiving address from the order;
selecting a vehicle-reachable discharge address adjacent to the receiving address;
extracting finishing materials from the order;
distributing a target vehicle and a target human power that can transport the finishing material;
generating a vehicle task for representing the use of the target vehicle to transport the finishing material to the discharge address;
a human task is generated that is used to represent the use of the target human force to carry the finishing material from the discharge location to the receiving location.
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present invention is not limited to the above-described method operations, and may also perform the related operations in the method for splitting a base material order provided in any embodiment of the present invention.
From the above description of embodiments, it will be clear to a person skilled in the art that the present invention may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, although in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, etc., and include several instructions for causing a computer electronic device (which may be a personal computer, a server, or a network electronic device, etc.) to execute the method according to the embodiments of the present invention.
It should be noted that, in the embodiment of the splitting device for a base material order, each unit and module included are only divided according to the functional logic, but are not limited to the above-mentioned division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. 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, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.