A kind of checking method of inventory, system and terminal device
Technical field
The invention belongs to data interconnection network technology fields more particularly to a kind of checking method of inventory, system and terminal to set
It is standby.
Background technique
The automation of metering Table storehouse, the level of informatization be not high in the prior art, and electric energy meter loss happens occasionally, and electric energy meter
It makes an inventory not in place, causes file data and physical holding of stock electric energy meter assets inconsistent, difficulty, nothing are brought to electric energy meter stock control
Method dispenses for electric energy meter and production is provided and accurately and effectively supported.
It is handled due to cannot quick and precisely check abnormal assets, and to abnormal assets, causes inventory record inaccurate
It is problem of the existing technology.
Summary of the invention
In view of this, the embodiment of the invention provides the checking method of inventory a kind of, system and terminal device, it is existing to solve
There is the problem of inventory record inaccuracy in technology.
The first aspect of the embodiment of the present invention provides the checking method of inventory a kind of, comprising:
Obtain the electronic archives information in the inventory's accounting information and sales service application system in Warehouse Management System;
Judge whether inventory's accounting information is consistent with the electronic archives information;
If inventory's accounting information and the electronic archives information are inconsistent, abnormal assets processing application work is generated
It is single, and the abnormal assets processing application work order is sent to the sales service application system;
The processing work order that the sales service application system generates is obtained, the processing work order is sent to the storage and is managed
Reason system;
The processing result that the Warehouse Management System generates is obtained and saved, the processing result is sent to the marketing
Business application system.
The second aspect of the embodiment of the present invention provides a kind of auditing system, comprising:
Data obtaining module, for obtaining in inventory's accounting information and sales service application system in Warehouse Management System
Electronic archives information;
Judgment module, for judging whether inventory's accounting information is consistent with the electronic archives information;
Message processing module generates different if inconsistent for inventory's accounting information and the electronic archives information
Normal assets processing application work order, and the abnormal assets processing application work order is sent to the sales service application system;
First processing module, the processing work order generated for obtaining the sales service application system, by the processing work
Singly it is sent to the Warehouse Management System;
Second processing module, the processing result generated for obtaining and saving the Warehouse Management System, by the processing
As a result it is sent to the sales service application system.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
The step of realizing the checking method of inventory as described above.
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 computer program realizes the checking method of inventory as described above when being executed by processor
Step.
Existing beneficial effect is the embodiment of the present invention compared with prior art: by the inventory in Warehouse Management System
Electronic archives information in accounting information and sales service application system compares, and finds in time different in Warehouse Management System
Normal assets, and abnormal assets are handled, guarantee the inventory's accounting information and sales service application system in Warehouse Management System
The consistency of electronic archives information in system guarantees the accuracy of inventory record.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the flow diagram of the checking method for the inventory that one embodiment of the present of invention provides;
Fig. 2 is the implementation process schematic diagram of step S103 in Fig. 1 of one embodiment of the present of invention offer;
Fig. 3 is the process signal of the checking method for the inventory that the electric energy meter that one embodiment of the present of invention provides illegally is put in storage
Figure;
Fig. 4 is the flow diagram of the checking method for the inventory that the electric energy meter that one embodiment of the present of invention provides is lost;
Fig. 5 is the schematic diagram for the auditing system that one embodiment of the present of invention provides;
Fig. 6 is the schematic diagram for the terminal device that one embodiment of the present of invention provides.
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.
Description and claims of this specification and term " includes " and other any deformations in above-mentioned attached drawing are
Refer to " including but not limited to ", it is intended that cover and non-exclusive include.Such as the process, method comprising a series of steps or units
Or system, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing
Or unit, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.In addition, art
Language " first ", " second " and " third " etc. is for distinguishing different objects, not for description particular order.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment 1:
Fig. 1 shows the implementation flow chart of the checking method of inventory provided by one embodiment of the invention, for the ease of saying
Bright, only parts related to embodiments of the present invention are shown, and details are as follows:
Fig. 1 shows the checking method of inventory of one embodiment of the present of invention offer a kind of, and the process of the present embodiment is held
Row main body can be server, and details are as follows for process:
In step s101, the electricity in the inventory's accounting information and sales service application system in Warehouse Management System is obtained
Sub-file information.
In the present embodiment, inventory's accounting information in Warehouse Management System is obtained, guarantees the current inventory in server
The consistency of inventory's accounting information in information and Warehouse Management System.
In a particular application, daily timing is to the inventory's accounting information and sales service application system in Warehouse Management System
In electronic archives information compare, check inventory's accounting information (namely physical holding of stock information) in Warehouse Management System
It is whether consistent with the electronic archives information in sales service application system.
In the embodiment of the present invention, by the inventory's accounting information and sales service application system in Warehouse Management System
Electronic archives information compare, find the abnormal assets in Warehouse Management System in time, and abnormal assets handled,
Guarantee the consistency of inventory's accounting information in Warehouse Management System and the electronic archives information in sales service application system, protects
Demonstrate,prove the accuracy of inventory record.
In step s 102, judge whether inventory's accounting information is consistent with the electronic archives information.
In a particular application, inventory's accounting information includes equipment inventory information and device status information.Wherein, equipment state
Information verification, verifying all devices state should be the measuring equipment in library, then keeps accounts and believes with the inventory in Warehouse Management System
Breath carries out consistency comparison, searches stock abnormal assets;Determine whether the equipment is in library assets according to equipment state.Wherein,
Inventory information can be as shown in table 1 below:
1 inventory information table of table
Device status information can be as shown in table 2 below:
2 device status information table of table
In step s 103, if inventory's accounting information and the electronic archives information are inconsistent, abnormal money is generated
Processing application work order is produced, and the abnormal assets processing application work order is sent to the sales service application system.
In an embodiment of the invention, it if inventory's accounting information is consistent with electronic archives information, ends task, and raw
At confirmation without false information list.
In the present embodiment, abnormal assets processing application work order include include abnormal mark, management unit, storehouse identify,
Asset number, non-conformance description, abnormal time, abnormal acknowledging time, abnormality processing are as a result, work order is applied in abnormal assets processing, such as
Shown in lower chart 3:
The abnormal assets processing application work order of table 3
In step S104, the processing work order that the sales service application system generates is obtained, the processing work order is passed
It send to the Warehouse Management System.
In the present embodiment, sales service application system receives abnormal assets processing application work order, sales service application
System is according to the affiliated storehouse of the assets, automatically into storehouse exception assets processing links, and force to limit the storehouse it is other go out
Inbound task operation, being put in storage mission bit stream out can be such as the following table 4:
Table 4 goes out to be put in storage task list
In the present embodiment, the abnormal Assets Problems reason in application work order is handled according to abnormal assets, sales service is answered
Issue processing work order automatically with system.Warehouse Management System is sent to by work order is handled by server.
In embodiments of the present invention, processing work order is the sales service application system to the abnormal assets processing application
The processing work order that work order generates after examination & approval.
Sales service application system receives abnormal assets processing application work order, and starts abnormal assets processing examination & approval stream
Journey generates processing work order by examination & approval.
Abnormal assets processing mode mainly includes following several:
1) assets are lost, executes assets in sales service application system and lose approval process, by manually searching, really
Recognize after can not giving for change, issue assets outbound task work order automatically, Warehouse Management System carries out data scrubbing, and feedback processing automatically
As a result into server, result is synchronized to sales service application system again by server, it is ensured that inventory assets is consistent with data.
2) for the inventory assets of Asset State exception, determine first the assets whether Ying Ku, if not Ying Ku,
Automatically assets outbound task work order is issued, after Warehouse Management System executes the outbound task, processing result is sent to server
In, processing result is sent to by sales service application system by server.It is automatic to realize equipment if assets Ying Ku
It files and synchronizing information, it is ensured that inventory assets is consistent with data.
In step s105, the processing result that the Warehouse Management System generates is obtained and saves, by the processing result
It is sent to the sales service application system.
In the present embodiment, Warehouse Management System receiving area science and engineering list, second-level intelligence storehouse in Warehouse Management System or
After the corresponding processing work order of intelligence week switch cabinet execution, completes abnormal assets and handle, and generate processing result, processing result is transmitted
Processing result is transmitted to sales service application system to server, and by server, guarantees that inventory assets account card object is consistent
Property.
As shown in Fig. 2, in one embodiment of the invention, the step S103 in embodiment corresponding to Fig. 1 is specifically wrapped
It includes:
In step S301, if inventory's accounting information and the electronic archives information are inconsistent, abnormal data is generated
Information table.
In step s 302, the abnormal data information table is analyzed, data exception type is obtained.
In the present embodiment, data exception type includes that assets loss or Asset State are abnormal.
In step S303, using the data exception type, the abnormal assets processing application work order is generated.
As shown in Figure 3 and Figure 4, in order to make it easy to understand, being illustrated by taking the inventory of electric energy meter inspection as an example below, and assume
Executing subject is metering service bus:
(1) electronic archives information in the inventory's accounting information and sales service application system in Warehouse Management System is same
It walks in metering service bus, compares inventory's accounting information and electronic archives information in metering service bus;
(2) if inventory's accounting information is consistent with electronic archives information, terminate to check;
If inventory's accounting information and electronic archives information are inconsistent, judge that data exception type is that electric energy meter loses also right and wrong
Method storage generates exception assets processing application work order according to data exception type, and abnormal assets processing application work order is transmitted
To sales service application system.
1) electric energy meter is illegally put in storage: sales service application system receives abnormal assets processing application work order, and opens
Dynamic exception assets approval process then generates outbound work order if it is the electric energy meter of not Ying Ku, and issue outbound work by examination & approval
It is single that metering service bus, outbound work order is sent to Warehouse Management System by metering service bus, and two in Warehouse Management System
Three-level storehouse inventory's electric energy meter material object carries out outbound to electric energy meter, and Warehouse Management System generates outbound as a result, outbound result is passed
It send to metering service bus, metering service bus saves outbound as a result, and outbound result is sent to sales service application system.
If it is the electric energy meter of Ying Ku, sales service application system is filed automatically.
2) electric energy meter is lost: sales service application system receives abnormal assets processing application work order, and starts different
Normal assets approval process after confirmation can not be given for change, generates outbound work order, and outbound work order is exported to meter by manually searching
It measures in service bus, outbound work order is transmitted to Warehouse Management System by metering service bus, two three-levels in Warehouse Management System
Storehouse inventory's electric energy meter material object carries out outbound to electric energy meter, and Warehouse Management System generates outbound as a result, outbound result is sent to
Metering service bus, metering service bus save outbound as a result, and outbound result is sent to sales service application system.
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.
Embodiment 2:
As shown in figure 5, the auditing system 100 that one embodiment of the present of invention provides, for executing implementation corresponding to Fig. 1
Method and step in example comprising:
Data obtaining module 110, for obtaining inventory's accounting information and sales service application system in Warehouse Management System
Electronic archives information in system;
Judgment module 120, for judging whether inventory's accounting information is consistent with the electronic archives information;
Message processing module 130 generates if inconsistent for inventory's accounting information and the electronic archives information
Abnormal assets processing application work order, and the abnormal assets processing application work order is sent to the sales service application system;
First processing module 140, the processing work order generated for obtaining the sales service application system, by the processing
Work order is sent to the Warehouse Management System;
Second processing module 150, the processing result generated for obtaining and saving the Warehouse Management System, by the place
Reason result is sent to the sales service application system.
In one embodiment of the invention, message processing module, comprising:
Judging unit generates abnormal data if inconsistent for inventory's accounting information and the electronic archives information
Information table;
Analytical unit obtains data exception type for analyzing the abnormal data information table;
Information process unit generates the abnormal assets processing application work order for utilizing the data exception type.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function
The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds
Block is completed, i.e., the internal structure of the described auditing system is divided into different functional modules, with complete it is described above whole or
Partial function.Each functional module in embodiment can integrate in one processing unit, be also possible to the independent object of each unit
Reason exists, and can also be integrated in one unit with two or more units, above-mentioned integrated module can both use hardware
Form realize, can also realize in the form of software functional units.In addition, the specific name of each functional module is also only
Convenient for mutually distinguishing, the protection scope that is not intended to limit this application.The specific work process of module in above-mentioned auditing system,
Can be with the process of the checking method of the correspondence inventory in reference implementation example 1, details are not described herein.
Embodiment 3:
Fig. 6 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in fig. 6, the terminal of the embodiment is set
Standby 6 include: processor 60, memory 61 and are stored in the meter that can be run in the memory 61 and on the processor 60
Calculation machine program 62.The processor 60 is realized in each embodiment as described in example 1 above when executing the computer program 62
The step of, such as step S101 to S105 shown in FIG. 1.Alternatively, reality when the processor 60 executes the computer program 62
The function of each module/unit in each system embodiment now as described in example 2 above, such as module 110 to 150 shown in Fig. 5
Function.
The terminal device 6 refers to the terminal with data-handling capacity, including but not limited to computer, work station, clothes
Business device, the smart phone more even haveing excellent performance, palm PC, tablet computer, personal digital assistant (PDA), intelligence electricity
Depending on (Smart TV) etc..Operating system is generally fitted on terminal device, including but not limited to: Windows operating system,
LINUX operating system, Android (Android) operating system, Symbian operating system, Windows mobile operating system, with
And iOS operating system etc..The specific example of terminal device 6 is enumerated in detail above, it will be appreciated by those of skill in the art that
Terminal device is not limited to above-mentioned enumerate example.
The terminal device may include, but be not limited only to, processor 60, memory 61.Those skilled in the art can manage
Solution, Fig. 6 is only the example of terminal device 6, does not constitute the restriction to terminal device 6, may include more or more than illustrating
Few component perhaps combines certain components or different components, such as the terminal device 6 can also include input and output
Equipment, network access equipment, bus etc..
Alleged processor 60 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 61 can be the internal storage unit of the terminal device 6, such as the hard disk or interior of terminal device 6
It deposits.The memory 61 is also possible to the External memory equipment of the terminal device 6, such as be equipped on the terminal device 6
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 61 can also both include the storage inside list of the terminal device 6
Member also includes External memory equipment.The memory 61 is for storing needed for the computer program and the terminal device 6
Other programs and data.The memory 61 can be also used for temporarily storing the data that has exported or will export.
Embodiment 4:
The embodiment of the invention also provides a kind of computer readable storage medium, computer-readable recording medium storage has meter
Calculation machine program is realized the step in each embodiment as described in example 1 above, such as is schemed when computer program is executed by processor
Step S101 shown in 1 to step S105.Alternatively, realizing when the computer program is executed by processor such as institute in embodiment 2
The function of each module/unit in each system embodiment stated, such as the function of module 110 to 150 shown in fig. 5.
The computer program can be stored in a computer readable storage medium, and the computer program is by processor
When execution, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code,
The computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..Institute
State computer-readable medium may include: can carry the computer program code any entity or device, recording medium,
USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), arbitrary access
Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, embodiment 1 to 4 can in any combination, group
The new embodiment formed after conjunction is also within the scope of protection of this application.There is no the portion for being described in detail or recording in some embodiment
Point, it 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 terminal device and method can pass through it
Its mode is realized.For example, system described above/terminal device embodiment is only schematical, for example, the module
Or the division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple lists
Member or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point,
Shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device or unit
INDIRECT COUPLING or communication connection, can be electrical property, mechanical or other forms.
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.