Summary of the invention
In view of this, the embodiment of the invention provides a kind of goods delivery task creating method and terminal device, to solve
Measurement centre's dispatching task program is cumbersome in the prior art, greatly increases the workload of dispatching specific responsibility, reduces dispatching
The problem of working efficiency.
The first aspect of the embodiment of the present invention provides a kind of goods delivery task creating method, comprising:
Distribution plan is generated according to the plan of needs prestored, the distribution plan carries goods information to be dispensed;
Dispatching application is received, the dispatching application carries request dispatching goods information;
The distribution plan is judged according to the goods information to be dispensed and request dispatching goods information and described is matched
Send whether application matches;
If it is determined that the distribution plan and dispatching application matching, then apply generating dispatching task according to the dispatching.
As further technical solution, the method also includes:
Obtain the remaining planned quantity in the goods information to be dispensed, the application number in the request dispatching goods information
Amount and physical holding of stock quantity;
It obtains described in the minimum value conduct in the remaining planned quantity, the application quantity and the physical holding of stock quantity
The dispatching quantity of dispatching task.
As further technical solution, the method also includes:
If it is determined that the distribution plan and dispatching application mismatch, then interim dispatching is generated according to dispatching application
Plan, and the interim distribution plan is sent to staff's client;
The operational order that staff's client is sent according to the interim distribution plan is received, and according to the behaviour
Make instruction to be operated.
As further technical solution, the operational order is distribution plan associated instructions, the method also includes:
It is according to the distribution plan associated instructions that the interim distribution plan is associated with the dispatching application;
Dispatching task is generated according to the dispatching application after association.
As further technical solution, the dispatching task carries request dispatching goods information, the method also includes:
Goods information, which is dispensed, according to the request determines Franchiser customer end to be dispensed;
The dispatching task is sent to the Franchiser customer end to be dispensed.
The second aspect of the embodiment of the present invention provides a kind of goods delivery task generating device, comprising:
Distribution plan generation module, for generating distribution plan according to the plan of needs prestored, the distribution plan is carried
Goods information to be dispensed;
Dispatching application receiving module, for receiving dispatching application, the dispatching application carries request dispatching goods information;
Distribution plan judgment module, for according to the goods information to be dispensed and request dispatching goods information judgement
Whether the distribution plan and dispatching application match;
Task generation module is dispensed, is used for if it is determined that the distribution plan and dispatching application match, then according to
Dispatching application generates dispatching task.
As further technical solution, described device further include:
Quantity obtains module, for obtaining the remaining planned quantity in the goods information to be dispensed, request dispatching
Application quantity and physical holding of stock quantity in goods information;
Quantity determining module is dispensed, for obtaining the remaining planned quantity, the application quantity and the physical holding of stock
Dispatching quantity of the minimum value as the dispatching task in quantity.
As further technical solution, described device further include:
Interim distribution plan generation module is used for if it is determined that the distribution plan and dispatching application mismatch, then root
Interim distribution plan is generated according to dispatching application, and the interim distribution plan is sent to staff's client;
Operational order receiving module, for receiving staff's client according to the interim distribution plan transmission
Operational order, and operated according to the operational order.
The third aspect of the embodiment of the present invention provides a kind of goods delivery task generation terminal device, comprising: memory,
Processor and storage are in the memory and the computer program that can run on the processor, which is characterized in that institute
State the method realized as described in above-mentioned first aspect when processor executes the computer program.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the side as described in above-mentioned first aspect is realized when the computer program is executed by processor
Method.
Existing beneficial effect is the embodiment of the present invention compared with prior art: after adopting the above scheme, can be according to pre-
The plan of needs deposited generates distribution plan, and Auto-matching distribution plan and dispatching application, if successful match, automatically generates and matches
Task is sent, dispatching program is simplified, improves the working efficiency of dispatching.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
As shown in Figure 1, being a kind of step flow chart of goods delivery task creating method provided in an embodiment of the present invention, packet
It includes:
Step S101 generates distribution plan according to the plan of needs prestored, and the distribution plan carries cargo letter to be dispensed
Breath.
Specifically, producing the real-time triggering machine that the plan of needs information after aided management system is monthly issued passes through trigger
System generates distribution plan, and plan of needs is the demand meter that staff inputs according to actual stock equipment type and quantity in stock
It draws.Goods information to be dispensed include the application numbers of cargo to be dispensed, device class, device code, acquisition mode, specification version,
The mode of connection, carrier type, carrier center frequency point, reference carrier frequency, application quantity, applying unit, chip producer and accurate
Spend the information such as grade.
Step S102, receives dispatching application, and the dispatching application carries request dispatching goods information.
Specifically, dispatching goods information include the application numbers of cargo to be applied, device class, device code, acquisition mode,
Specification version, the mode of connection, carrier type, carrier center frequency point, reference carrier frequency, application quantity, applying unit, chip factory
The information such as family and class of accuracy
Step S103 judges the distribution plan according to the goods information to be dispensed and request dispatching goods information
Whether matched with dispatching application.
Specifically, according to the application numbers of cargo to be dispensed, device class, device code, acquisition mode, specification version, connecing
Line mode, carrier type, carrier center frequency point, reference carrier frequency, application quantity, applying unit, chip producer and accuracy
The application numbers of class information and cargo to be applied, device class, device code, acquisition mode, specification version, the mode of connection, load
Wave type, carrier center frequency point, reference carrier frequency, application quantity, applying unit, chip producer and class of accuracy information are
No Corresponding matching.
Step S104, if it is determined that the distribution plan and dispatching application matching, then apply generating according to the dispatching
Dispatching task.
Specifically, if it is determined that above- mentioned information Corresponding matching, then representing dispatching application may be implemented, according to dispatching application generation
Dispatching task, and the match information of distribution plan and dispatching application is shown automatically.If it is determined that above- mentioned information have at mismatch, then show
Show at mismatch, and be sent to staff's client, staff's client can be according to deciding whether to generate at mismatch
Dispatching task automatically generates dispatching task if not influencing at mismatch on using, if having an impact at mismatch to using,
Dispatching task cannot be then generated, it fails to match for representative.
After adopting the above scheme, distribution plan, and Auto-matching distribution plan can be generated according to the plan of needs prestored
Apply with dispatching, if successful match, automatically generates dispatching task, simplify dispatching program, improve the working efficiency of dispatching.
In addition, as shown in Fig. 2, in a specific embodiment, the method also includes:
Step S201 obtains the remaining planned quantity in the goods information to be dispensed, the request dispenses goods information
In application quantity and physical holding of stock quantity.
Step S202 obtains the minimum in the remaining planned quantity, the application quantity and the physical holding of stock quantity
It is worth the dispatching quantity as the dispatching task.
Obtain the minimum value in remaining planned quantity, application quantity and physical holding of stock quantity, the dispatching as dispatching task
Quantity, it can the dispatching quantity of realization.
In addition, in a specific embodiment, the method also includes:
If it is determined that the distribution plan and dispatching application mismatch, then interim dispatching is generated according to dispatching application
Plan, and the interim distribution plan is sent to staff's client.Staff's client is received according to
The operational order that interim distribution plan is sent, and operated according to the operational order.
In addition, in a specific embodiment, the operational order is distribution plan associated instructions, further includes:
It is according to the distribution plan associated instructions that the interim distribution plan is associated with the dispatching application.
Dispatching task is generated according to the dispatching application after association.
Specifically, after generating interim distribution plan, interim distribution plan and dispatching application is associated, it represents according to interim
Distribution plan dispenses dispatching application, also possible, finally generates dispatching task further according to the dispatching application after association.
There are many associated method, wherein as being arranged to the mark of interim distribution plan with the mark of dispatching application, may be used also
It is corresponding to be arranged to, such as 1 and -1.
In addition, in a specific embodiment, the dispatching task carries request dispatching goods information, further includes:
Goods information, which is dispensed, according to the request determines Franchiser customer end to be dispensed.The dispatching task is sent to institute
State Franchiser customer end to be dispensed.
Specifically, dispatching request in further include request dealer, i.e., dealer to be dispensed, by dispatching task be sent to
Franchiser customer end is dispensed, Franchiser customer end to be dispensed requests to carry out goods delivery according to dispatching.
In addition, in a specific embodiment, the plan of needs of Added Management is produced by MDS, it is based on database language,
The field information and format content for defining monthly distribution plan generate monthly distribution plan (newly-increased tables of data), monthly in principle
Distribution plan information exists in plan of needs.According to the dispatching application information that marketing system is sent, by matching algorithm, automatically
Match the information such as the relevant quantity of distribution plan, unit, assets rule.Match it is errorless after, further pass through assets specification and trick
Information is marked, is associated with dispatching application, the receipt lot and quantity that can clearly dispense determine assets to be dispensed by artificial selection
Batch and quantity.According to two above operations, is executed based on background data base data storage procedure, automatically generates dispatching task,
It deposits in newly-built table.Generate dispatching task simultaneously, by database store process, will dispatching application to dispatching task link it
Between MDS system dispatching application msu message, distribution plan information, dispatching mission bit stream, pass through database store process, reduction
Into related former traffic table, while former marketing system Webservrce interface is called, realizes the inter-system synchronization of related data, it is full
The verification of sufficient marketing system dispatching task and distribution plan.In MDS system dispatching task menu, inquires newly-increased corresponding dispatching and appoint
Business executes dispatching outbound.Complete dispatching outbound, synchronous marketing system.
This invention, by rectifying and improving the redundancy link of delivery management, using the corresponding relationship of plan of needs and distribution plan,
Based on the permissions such as database store process modification, newly-increased tables of data, field, increases interface call parameters, guarantee inter-system data
Synchronized relation, realize dispatching task one-touch generation, effectively improve dispatching personnel working efficiency, realize efficiently management,
The delivery management mode of cost savings.
As shown in figure 3, being a kind of result schematic diagram of goods delivery task generating device provided in an embodiment of the present invention, packet
It includes:
Distribution plan generation module 301, for generating distribution plan according to the plan of needs prestored, the distribution plan is taken
With goods information to be dispensed.
Dispatching application receiving module 302, for receiving dispatching application, the dispatching application carries request dispatching cargo letter
Breath.
Distribution plan judgment module 303, for dispensing goods information according to the goods information to be dispensed and the request
Judge whether the distribution plan and dispatching application match.
Task generation module 304 is dispensed, is used for if it is determined that the distribution plan and dispatching application match, then according to institute
It states dispatching application and generates dispatching task.
In addition, in a specific embodiment, described device further include:
Quantity obtains module, for obtaining the remaining planned quantity in the goods information to be dispensed, request dispatching
Application quantity and physical holding of stock quantity in goods information;
Quantity determining module is dispensed, for obtaining the remaining planned quantity, the application quantity and the physical holding of stock
Dispatching quantity of the minimum value as the dispatching task in quantity.
In addition, in a specific embodiment, described device further include:
Interim distribution plan generation module is used for if it is determined that the distribution plan and dispatching application mismatch, then root
Interim distribution plan is generated according to dispatching application, and the interim distribution plan is sent to staff's client;
Operational order receiving module, for receiving staff's client according to the interim distribution plan transmission
Operational order, and operated according to the operational order.
In addition, in a specific embodiment, the operational order is distribution plan associated instructions, described device is also wrapped
It includes:
Dispatching application relating module, for according to the distribution plan associated instructions by the interim distribution plan with it is described
Dispatching application is associated;
Dispatching task generates submodule, for generating dispatching task according to the dispatching application after association.
In addition, in a specific embodiment, the dispatching task carries request dispatching goods information, described device is also wrapped
It includes:
Franchiser customer end determining module determines Franchiser customer to be dispensed for dispensing goods information according to the request
End;
Dispatching task sending module, for the dispatching task to be sent to the Franchiser customer end to be dispensed.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Fig. 4 is the schematic diagram that goods delivery task provided in an embodiment of the present invention generates terminal device, the end of the embodiment
End equipment 4 includes: processor 40, memory 41 and is stored in the memory 41 and can run on the processor 40
Computer program 42, such as goods delivery task generate program.The processor 40 executes real when the computer program 42
Step in existing above-mentioned each goods delivery task creating method embodiment, such as step 101 shown in FIG. 1 is to 104.Alternatively,
The processor 40 realizes the function of each module/unit in above-mentioned each Installation practice, example when executing the computer program 42
The function of module 301 to 304 as shown in Figure 3.
Illustratively, the computer program 42 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 41, and are executed by the processor 40, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
It describes the computer program 42 and generates the implementation procedure in terminal device 4 in the goods delivery task.For example, the calculating
Machine program 42 can be divided into synchronization module, summarizing module, obtain module, return module (module in virtual bench), respectively
Module concrete function is as follows:
Distribution plan is generated according to the plan of needs prestored, the distribution plan carries goods information to be dispensed.
Dispatching application is received, the dispatching application carries request dispatching goods information.
The distribution plan is judged according to the goods information to be dispensed and request dispatching goods information and described is matched
Send whether application matches.
If it is determined that the distribution plan and dispatching application matching, then apply generating dispatching task according to the dispatching.
Obtain the remaining planned quantity in the goods information to be dispensed, the application number in the request dispatching goods information
Amount and physical holding of stock quantity.
It obtains described in the minimum value conduct in the remaining planned quantity, the application quantity and the physical holding of stock quantity
The dispatching quantity of dispatching task.
If it is determined that the distribution plan and dispatching application mismatch, then interim dispatching is generated according to dispatching application
Plan, and the interim distribution plan is sent to staff's client.
The operational order that staff's client is sent according to the interim distribution plan is received, and according to the behaviour
Make instruction to be operated.
The operational order is distribution plan associated instructions, further includes:
It is according to the distribution plan associated instructions that the interim distribution plan is associated with the dispatching application.
Dispatching task is generated according to the dispatching application after association.
The dispatching task carries request dispatching goods information, further includes:
Goods information, which is dispensed, according to the request determines Franchiser customer end to be dispensed.
The dispatching task is sent to the Franchiser customer end to be dispensed.
The goods delivery task, which generates terminal device 4, can be desktop PC, notebook, palm PC and cloud
Server etc. calculates equipment.The goods delivery task generates terminal device, but is not limited only to, processor 40, storage
Device 41.It will be understood by those skilled in the art that Fig. 4 is only the example that goods delivery task generates terminal device 4, do not constitute
The restriction that terminal device 4 is generated to goods delivery task may include components more more or fewer than diagram, or combine certain
Component or different components, such as it can also include input-output equipment, net that the goods delivery task, which generates terminal device,
Network access device, bus etc..
Alleged processor 40 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 41 can be the internal storage unit that the goods delivery task generates terminal device 4, such as goods
Object dispenses the hard disk or memory that task generates terminal device 4.The memory 41 is also possible to the goods delivery task and generates
The External memory equipment of terminal device 4, such as the goods delivery task generate the plug-in type hard disk being equipped on terminal device 4,
Intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash
Card) etc..Further, the memory 41 can also both include the inside that the goods delivery task generates terminal device 4
Storage unit also includes External memory equipment.The memory 41 is for storing the computer program and the goods delivery
Other programs and data needed for task generates terminal device.The memory 41, which can be also used for temporarily storing, have been exported
Or the data that will be exported.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as
Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device
Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and
Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.