CN105117916A - Commodity date tracing method and apparatus - Google Patents
Commodity date tracing method and apparatus Download PDFInfo
- Publication number
- CN105117916A CN105117916A CN201510458573.3A CN201510458573A CN105117916A CN 105117916 A CN105117916 A CN 105117916A CN 201510458573 A CN201510458573 A CN 201510458573A CN 105117916 A CN105117916 A CN 105117916A
- Authority
- CN
- China
- Prior art keywords
- end article
- information
- list
- described end
- date
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a commodity date tracing method and apparatus. The method comprises the following steps of receiving a target commodity query request sent by a client, wherein, the target commodity query request includes identification information of a target commodity and the current time; acquiring target commodity attribute information matching the identification information from a commodity form, wherein, the target commodity attribute information includes the commodity batch, the total commodity volume, the production date and the shelf life; according to the target commodity attribute information and the current time, counting the effective residual time of the target commodity; storing the effective residual time in the target commodity form and sending the target commodity attribute information and the effective residual time to the client. By means of the method and apparatus, the attribute information and the effective residual time of the target commodity can be automatically acquired through the target commodity query request. The target commodity date tracing convenience and efficiency can be further improved.
Description
Technical field
The present invention relates to field of information management, particularly relate to retroactive method and the device thereof on a kind of commodity date.
Background technology
Along with rapid development of economy and market-oriented trend, trade is day by day convenient, in commodity circulation process, often relate to production, transport, enter the flow process such as goods and shipment, and shipment also relates to the sale of wholesale and multistage dealer, the currency problem of the therefore currency of commodity, especially medicine, food etc. causes everybody extensive concern.
General merchandise is carrying out in Production and Packaging process, can mark in the packaging of commodity by date of manufacture and shelf-life table, keeper can by checking that date of manufacture in commodity packaging and shelf-life confirm whether this product is expired product and extrapolates term of life.But for the larger businessman of the goods amount of coming in and going out, and some special commodity such as food, medicine, stricter requirement is had to the shelf-life, if adopt the date of way to commodity of manually carrying out verifying to investigate and follow the tracks of, then need the manpower of at substantial, practical operation is comparatively constant, and investigation and the date tracking efficiency lower.
Summary of the invention
The embodiment of the present invention provides retroactive method and the device thereof on a kind of commodity date, can by the attribute information of end article inquiry request automatic acquisition end article and effecting surplus time, improves the convenience and high efficiency of reviewing the end article date.
Embodiments provide the retroactive method on a kind of commodity date, comprising:
Receive the end article inquiry request that client sends, described end article inquiry request carries identification information and the current time of described end article;
From commodity list, obtain the end article attribute information matched with described identification information, described end article attribute information comprises commerical batches, the total volume of commodities, date of manufacture and shelf-life;
According to described end article attribute information and described current time, add up the effecting surplus time of described end article;
The described effecting surplus time is stored in end article list, and described end article attribute information and described effecting surplus time are sent to described client.
Correspondingly, the embodiment of the present invention additionally provides the retrospective device on a kind of commodity date, comprising:
Request reception unit, for receiving the end article inquiry request that client sends, described end article inquiry request carries identification information and the current time of described end article;
Information acquisition unit, for obtaining the end article attribute information matched with described identification information from commodity list, described end article attribute information comprises commerical batches, the total volume of commodities, date of manufacture and shelf-life;
Statistic unit, for according to described end article attribute information and described current time, adds up the effecting surplus time of described end article;
Output unit, for being stored in end article list the described effecting surplus time, and sends to described client by described end article attribute information and described effecting surplus time.
Adopt the embodiment of the present invention, can by receiving the end article inquiry request that client sends, described end article inquiry request carries identification information and the current time of described end article, then from commodity list, obtain the end article attribute information matched with described identification information, described end article attribute information comprises commerical batches, the total volume of commodities, date of manufacture and shelf-life, and according to described end article attribute information and described current time, add up the effecting surplus time of described end article, the described effecting surplus time is stored in end article list, and described end article attribute information and described effecting surplus time are sent to described client, the present embodiment passes through attribute information and the effecting surplus time of end article inquiry request automatic acquisition end article, improve convenience and high efficiency that the end article date is reviewed.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the retroactive method on a kind of commodity date that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the retroactive method on the another kind of commodity date that the embodiment of the present invention provides;
Fig. 3 is the structural representation of the retrospective device on a kind of commodity date that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the retrospective device on the another kind of commodity date that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the statistic unit that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, the schematic flow sheet of the retroactive method on a kind of commodity date provided for the embodiment of the present invention, the method comprises the following steps S101-S104.
S101, receive the end article inquiry request that client sends, described end article inquiry request carries identification information and the current time of described end article.
In specific implementation, the end article inquiry request that server receives client sends, described end article inquiry request carries identification information and the current time of described end article.Method in the present embodiment can be applied in the trace platform on commodity date, this trace platform can be reviewed client and server by the commodity date and be formed, when keeper is by operating the commodity selecting desired inquiry to client, client can using the commodity selected by keeper as end article, generate end article inquiry request and send to server, this end article inquiry request can carry identification information and the current time of end article, wherein, the identification information of end article can be trade name, goods number, commodity sequence number, bar code number etc., current time refers to that keeper sends the present system time of end article inquiry request by client, the end article inquiry request that server receives client sends, and identification information and the current time of end article can be obtained according to this end article inquiry request.Further preferred, in the present embodiment, current time also can be that the current time receiving the end article inquiry request that client sends with server is as the criterion.
S102, from commodity list, obtain the end article attribute information matched with described identification information, described end article attribute information comprises commerical batches, the total volume of commodities, date of manufacture and shelf-life.
In specific implementation, server obtains the end article attribute information matched with described identification information from commodity list, and described end article attribute information comprises commerical batches, the total volume of commodities, date of manufacture and shelf-life.In the present embodiment, the end article inquiry request that server sends according to the client received, and therefrom get the identification information of end article, can by inquiring about from the commodity list of current storage according to this identification information server, obtain the end article attribute information matched with the identification information of this end article, such as when server get end article be encoded to 123456 time, be coded in commodity list inquire about according to this, get the attribute information of this end article, this attribute information can comprise commerical batches, the total volume of commodities, date of manufacture and shelf-life, also can be trade name, the information such as goods providers and marque.
S103, according to described end article attribute information and described current time, adds up the effecting surplus time of described end article.
In specific implementation, server, according to described end article attribute information and described current time, adds up the effecting surplus time of described end article.In the present embodiment, after server gets end article attribute information and current time, can according to this end article attribute information and current time, the effecting surplus time of statistical number end article, such as: server is on April 1st, 2015 (calculating by 30 days every months) by the date of manufacture obtained in end article attribute information, getting the shelf-life is 180 days, therefore the due date calculating these commodity is on October 1st, 2015, and current time not on July 1st, 2015, therefore the effecting surplus time of end article is 3 months, namely 90 days.
S104, was stored in the described effecting surplus time in end article list, and described end article attribute information and described effecting surplus time are sent to described client.
In specific implementation, the described effecting surplus time is stored in end article list by server, and described end article attribute information and described effecting surplus time are sent to described client.In the present embodiment, when getting the effecting surplus time, this effecting surplus time is stored in end article list, and this end article attribute information and effecting surplus time can be sent to client customer in response end send end article inquiry request.
Adopt the embodiment of the present invention, can by receiving the end article inquiry request that client sends, described end article inquiry request carries identification information and the current time of described end article, then from commodity list, obtain the end article attribute information matched with described identification information, described end article attribute information comprises commerical batches, the total volume of commodities, date of manufacture and shelf-life, and according to described end article attribute information and described current time, add up the effecting surplus time of described end article, the described effecting surplus time is stored in end article list, and described end article attribute information and described effecting surplus time are sent to described client, the present embodiment passes through attribute information and the effecting surplus time of end article inquiry request automatic acquisition end article, improve convenience and high efficiency that the end article date is reviewed.
Please refer to Fig. 2, the schematic flow sheet of the retroactive method on the another kind of commodity date provided for the embodiment of the present invention, the method comprises the following steps S201-S208.
S201, what receive the end article of the transmission of client enters goods information, and the goods information that enters of described end article comprises supplier, commerical batches, enters goods quantity, date of manufacture and shelf-life.
In specific implementation, the end article of the transmission of server receives client enter goods information, the goods information that enters of described end article comprises supplier, commerical batches, enters goods quantity, date of manufacture and shelf-life.Method in the present embodiment can be applied in the trace platform on commodity date, this trace platform can be reviewed client and server by the commodity date and be formed, when keeper need by the Data Enter of receiving tally to server time, can be scanned by client, such as pass through camera, scanner, also can be the mode of manually input by the receiving tally information of end article by client scan or input, so that the goods information that enters of end article is sent to server, what server can receive this end article enters goods information, this enters goods information can comprise goods providers, commerical batches, enter goods quantity, date of formation and shelf-life.
S202, as described in end article list exist, enter goods recorded information and information attribute value according to entering of described end article in end article list described in goods information updating.
In specific implementation, as described in end article list exist, server enters goods recorded information and information attribute value according to entering of described end article in end article list described in goods information updating.End article list refers to the list of the attribute information storing end article etc., if when having preserved this end article list in server, goods information can be entered according to the end article received, upgrade and enter goods recorded information and information attribute value in end article list, such as do not receive end article enter goods information time, the goods record quantity that enters of the end article before N days that store in this end article list is 100, the total volume of commodities in information attribute value is 300, the goods quantity that enters in goods information receiving end article when this is 20, then the total volume of commodities upgraded in end article list is 300, being updated into goods recorded information is 20.
S203, as described in end article list do not exist, by described end article enter goods information and information attribute value is stored in newly-built end article list.
In specific implementation, as described in end article list do not exist, server by described end article enter goods information and information attribute value is stored in newly-built end article list.End article list refers to the list of the attribute information storing end article etc., if when inquiring about in server less than this end article list, record not about these commodity in server is then described, therefore need first to create an end article list, and by end article enter goods information and information attribute value is stored in newly-built end article list.
S204, receive the shipment information of the end article that client sends, the shipment information of described end article comprises ETCD estimated time of commencing discharging and shipping Qty..
In specific implementation, the shipment information of the end article that server receives client sends, the shipment information of described end article comprises ETCD estimated time of commencing discharging and shipping Qty..When keeper needs to record merchandise sales situation, can by the mode of scan camera shooting head, scanner or manual typing the shipment information of the end article of sale be carried out typing by client and this information be sent to server, the shipment information of the end article that server receives client sends, the shipment information of this end article can comprise ETCD estimated time of commencing discharging and shipping Qty., also can comprise the sales price etc. during shipment.
S205, upgrades shipment recorded information in described end article list and information attribute value according to described shipment information.
In specific implementation, server upgrades shipment recorded information in described end article list and information attribute value according to described shipment information.When receiving shipment information, shipment recorded information in end article list and information attribute value are upgraded, if the shipment recorded information in end article list is empty, then current shipment recorded information is inserted shipment recorded information one hurdle, as shipment recorded information exists, then current shipment recorded information mark is inserted in corresponding shipment recorded information list hurdle.
S206, calculates average daily shipment amount according to the shipment recorded information in the described end article list after renewal and stores with described end article list.
In specific implementation, server calculates average daily shipment amount according to the shipment recorded information in the described end article list after renewal and stores with described end article list.In the present embodiment, the shipment record of end article comprises ETCD estimated time of commencing discharging and shipping Qty., can divide going out the date of ETCD estimated time of commencing discharging by every day, shipping Qty. in shipment recorded information in described end article list after renewal is added up to, then calculate according to total shipping Qty. and the total number of days gone out contained by ETCD estimated time of commencing discharging, obtain average daily shipment amount and the average daily shipment amount calculated is stored in end article list.Average daily shipment amount in the present embodiment, the average shipment amount etc. of unit interval that also can be monthly shipment amount or be arranged voluntarily by keeper.
S207, receive the end article inquiry request that client sends, described end article inquiry request carries identification information and the current time of described end article.
In specific implementation, the end article inquiry request that server receives client sends, described end article inquiry request carries identification information and the current time of described end article.When keeper is by operating the commodity selecting desired inquiry to client, client can using the commodity selected by keeper as end article, generate end article inquiry request and send to server, this end article inquiry request can carry identification information and the current time of end article, wherein, the identification information of end article can be trade name, goods number, commodity sequence number, bar code number etc., current time refers to that keeper sends the present system time of end article inquiry request by client, the end article inquiry request that server receives client sends, and identification information and the current time of end article can be obtained according to this end article inquiry request.Further preferred, in the present embodiment, current time also can be that the current time receiving the end article inquiry request that client sends with server is as the criterion.
S208, from commodity list, obtain the end article attribute information matched with described identification information, described end article attribute information comprises commerical batches, the total volume of commodities, date of manufacture and shelf-life.
In specific implementation, server obtains the end article attribute information matched with described identification information from commodity list, and described end article attribute information comprises commerical batches, the total volume of commodities, date of manufacture and shelf-life.In the present embodiment, the end article inquiry request that server sends according to the client received, and therefrom get the identification information of end article, can by inquiring about from the commodity list of current storage according to this identification information server, obtain the end article attribute information matched with the identification information of this end article, such as when server get end article be encoded to 123456 time, be coded in commodity list inquire about according to this, get the attribute information of this end article, this attribute information can comprise commerical batches, the total volume of commodities, date of manufacture and shelf-life, also can be trade name, the information such as goods providers and marque.
S209, according to date of manufacture and the shelf-life of at least one commerical batches of described end article, calculates effective cut-off date of the described at least one commerical batches of described end article.
In specific implementation, server, according to the date of manufacture of at least one commerical batches of described end article and shelf-life, calculates effective cut-off date of the described at least one commerical batches of described end article.Because same money commodity may occur different batches, such as commodity A is due to a batch difference, two kinds of dates of manufacture may be there are, wherein first date of manufacture is on March 4th, 2015, the second batch date of manufacture is on April 3rd, 2015, and owing to being same money commodity, its shelf-life is 180 days, so first effective cut-off date (by monthly calculating for 30 days) is on September 4th, 2015, and second batch effective cut-off date is on October 3rd, 2015.
S210, according to effective cut-off date and the described current time of the described at least one commerical batches of described end article, calculates the effecting surplus time of the described at least one commerical batches of described end article.
In specific implementation, server, according to effective cut-off date of the described at least one commerical batches of described end article and described current time, calculates the effecting surplus time of the described at least one commerical batches of described end article.In the present embodiment, as end article is divided into two batches, first effective cut-off date is on September 4th, 2015, second batch effective cut-off date is on October 3rd, 2015, the current time that server gets is on May 1st, 2015 not, so first the effecting surplus time of end article is 123 days, and the effecting surplus time of second batch is 152 days.
S211, was stored in the described effecting surplus time in end article list, and described end article attribute information and described effecting surplus time are sent to described client.
In specific implementation, the described effecting surplus time is stored in end article list by server, and described end article attribute information and described effecting surplus time are sent to described client.After calculating the effecting surplus time, the effecting surplus time is stored in end article list by server, in order to subsequent query or use, also end article attribute information and effecting surplus time can be sent to client simultaneously, show to make client, wherein, the effecting surplus time refers to the effecting surplus time of at least one commerical batches.
S212, according to effecting surplus time and the average daily shipment amount of at least one commerical batches of the total volume of commodities in the list of described end article, described end article, calculate the expired quantity of the end article of described at least one commerical batches, and described expired quantity is sent to described client.
In specific implementation, server is according to the effecting surplus time of at least one commerical batches of the total volume of commodities in the list of described end article, described end article and average daily shipment amount, calculate the expired quantity of the end article of described at least one commerical batches, and described expired quantity is sent to described client.In the present embodiment, if the total volume of commodities in the list of current goal commodity is 100, end article is divided into two batches, first effecting surplus time is 10 days, the effecting surplus time of second batch is 20 days, and average daily shipment amount is 5, and the expired quantity so calculating first commodity is 50, the expired quantity of second batch is 0, and the expired Volume Composition of end article is 50.
Adopt the embodiment of the present invention, that can pass through the end article of the transmission receiving client enters goods information, and whether exist according to end article list and enter goods recording process according to enter goods recorded information and the information attribute value entered in goods information updating or newly-built described end article list of described end article with what realize commodity, can by receiving the shipment information of the end article that client sends, and upgrade shipment recorded information in described end article list and information attribute value according to described shipment information, then according to upgrade after described end article list in shipment recorded information calculate average daily shipment amount and store with described end article list in realize the shipment recording process of commodity, by receiving the end article inquiry request that client sends, described end article inquiry request carries identification information and the current time of described end article, and from commodity list, obtain the end article attribute information matched with described identification information, then according to date of manufacture and the shelf-life of at least one commerical batches of described end article, calculate effective cut-off date of the described at least one commerical batches of described end article, and according to effective cut-off date of the described at least one commerical batches of described end article and described current time, calculate the effecting surplus time of the described at least one commerical batches of described end article, the described effecting surplus time is stored in end article list, and described end article attribute information and described effecting surplus time are sent to described client, finally calculate the expired quantity of the end article of described at least one commerical batches, and described expired quantity is sent to described client, the automatic calculating to effecting surplus time and expired quantity is realized by said process, reduce the workload of keeper, drastically increase the efficiency of merchandise control.
Below in conjunction with Fig. 3-Fig. 5, the retrospective device on a kind of commodity date that the embodiment of the present invention provides is described in detail.It should be noted that, the device shown in Fig. 3-Fig. 5, for performing Fig. 1 of the present invention and method embodiment illustrated in fig. 2, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment shown in Fig. 1 and Fig. 2 of the present invention.
Please refer to Fig. 3, the structural representation of the retrospective device on a kind of commodity date provided for the embodiment of the present invention, this device comprises as lower unit: request reception unit 101, information acquisition unit 102, statistic unit 103 and output unit 104.
Request reception unit 101, for receiving the end article inquiry request that client sends, described end article inquiry request carries identification information and the current time of described end article.
In specific implementation, request reception unit 101 receives the end article inquiry request that client sends, and described end article inquiry request carries identification information and the current time of described end article.Device in the present embodiment can be applied in the trace platform on commodity date, this trace platform can be reviewed client and server by the commodity date and be formed, when keeper is by operating the commodity selecting desired inquiry to client, client can using the commodity selected by keeper as end article, generate end article inquiry request and send to server, this end article inquiry request can carry identification information and the current time of end article, wherein, the identification information of end article can be trade name, goods number, commodity sequence number, bar code number etc., current time refers to that keeper sends the present system time of end article inquiry request by client, the end article inquiry request that server receives client sends, and identification information and the current time of end article can be obtained according to this end article inquiry request.Further preferred, in the present embodiment, current time also can be that the current time receiving the end article inquiry request that client sends with server is as the criterion.
Information acquisition unit 102, for obtaining the end article attribute information matched with described identification information from commodity list, described end article attribute information comprises commerical batches, the total volume of commodities, date of manufacture and shelf-life.
In specific implementation, information acquisition unit 102 obtains the end article attribute information matched with described identification information from commodity list, and described end article attribute information comprises commerical batches, the total volume of commodities, date of manufacture and shelf-life.In the present embodiment, the end article inquiry request that server sends according to the client received, and therefrom get the identification information of end article, can by inquiring about from the commodity list of current storage according to this identification information server, obtain the end article attribute information matched with the identification information of this end article, such as when server get end article be encoded to 123456 time, be coded in commodity list inquire about according to this, get the attribute information of this end article, this attribute information can comprise commerical batches, the total volume of commodities, date of manufacture and shelf-life, also can be trade name, the information such as goods providers and marque.
Statistic unit 103, for according to described end article attribute information and described current time, adds up the effecting surplus time of described end article.
In specific implementation, statistic unit 103, according to described end article attribute information and described current time, adds up the effecting surplus time of described end article.In the present embodiment, after server gets end article attribute information and current time, can according to this end article attribute information and current time, the effecting surplus time of statistical number end article, such as: server is on April 1st, 2015 (calculating by 30 days every months) by the date of manufacture obtained in end article attribute information, getting the shelf-life is 180 days, therefore the due date calculating these commodity is on October 1st, 2015, and current time not on July 1st, 2015, therefore the effecting surplus time of end article is 3 months, namely 90 days.
Output unit 104, for being stored in end article list the described effecting surplus time, and sends to described client by described end article attribute information and described effecting surplus time.
In specific implementation, the described effecting surplus time is stored in end article list by output unit 104, and described end article attribute information and described effecting surplus time are sent to described client.In the present embodiment, when getting the effecting surplus time, this effecting surplus time is stored in end article list, and this end article attribute information and effecting surplus time can be sent to client customer in response end send end article inquiry request.
Adopt the embodiment of the present invention, can by receiving the end article inquiry request that client sends, described end article inquiry request carries identification information and the current time of described end article, then from commodity list, obtain the end article attribute information matched with described identification information, described end article attribute information comprises commerical batches, the total volume of commodities, date of manufacture and shelf-life, and according to described end article attribute information and described current time, add up the effecting surplus time of described end article, the described effecting surplus time is stored in end article list, and described end article attribute information and described effecting surplus time are sent to described client, the present embodiment passes through attribute information and the effecting surplus time of end article inquiry request automatic acquisition end article, improve convenience and high efficiency that the end article date is reviewed.
Refer to Fig. 4, for embodiments providing the structural representation of the retrospective device on another kind of commodity date.As shown in Figure 4, this device can comprise: request reception unit 101, information acquisition unit 102, statistic unit 103, output unit 104, enter goods information receiving unit 105, list updating block 106, the newly-built unit 107 of list, shipment information receiving element 108, information updating unit 109, shipment amount computing unit 110 and amount calculation unit 111, wherein, the concrete structure of request reception unit 101, information acquisition unit 102, statistic unit 103 and output unit 104 can the description of embodiment shown in Figure 3, does not repeat at this.
Enter goods information receiving unit 105, enter goods information for what receive the end article of the transmission of client, the goods information that enters of described end article comprises supplier, commerical batches, enters goods quantity, date of manufacture and shelf-life.
In specific implementation, what enter that goods information receiving unit 105 receives the end article of the transmission of client enters goods information, and the goods information that enters of described end article comprises supplier, commerical batches, enters goods quantity, date of manufacture and shelf-life.Method in the present embodiment can be applied in the trace platform on commodity date, this trace platform can be reviewed client and server by the commodity date and be formed, when keeper need by the Data Enter of receiving tally to server time, can be scanned by client, such as pass through camera, scanner, also can be the mode of manually input by the receiving tally information of end article by client scan or input, so that the goods information that enters of end article is sent to server, what server can receive this end article enters goods information, this enters goods information can comprise goods providers, commerical batches, enter goods quantity, date of formation and shelf-life.
List updating block 106, for as described in end article list exist, enter goods recorded information and information attribute value according to entering of described end article in end article list described in goods information updating.
In specific implementation, as described in end article list exist, list updating block 106 enters goods recorded information and information attribute value according to entering of described end article in end article list described in goods information updating.End article list refers to the list of the attribute information storing end article etc., if when having preserved this end article list in server, goods information can be entered according to the end article received, upgrade and enter goods recorded information and information attribute value in end article list, such as do not receive end article enter goods information time, the goods record quantity that enters of the end article before N days that store in this end article list is 100, the total volume of commodities in information attribute value is 300, the goods quantity that enters in goods information receiving end article when this is 20, then the total volume of commodities upgraded in end article list is 300, being updated into goods recorded information is 20.
The newly-built unit 107 of list, for as described in end article list do not exist, by described end article enter goods information and information attribute value is stored in newly-built end article list.
In specific implementation, as described in end article list do not exist, the newly-built unit of list 107 by described end article enter goods information and information attribute value is stored in newly-built end article list.End article list refers to the list of the attribute information storing end article etc., if when inquiring about in server less than this end article list, record not about these commodity in server is then described, therefore need first to create an end article list, and by end article enter goods information and information attribute value is stored in newly-built end article list.
Shipment information receiving element 108, for receiving the shipment information of the end article that client sends, the shipment information of described end article comprises ETCD estimated time of commencing discharging and shipping Qty..
In specific implementation, shipment information receiving element 108 receives the shipment information of the end article that client sends, and the shipment information of described end article comprises ETCD estimated time of commencing discharging and shipping Qty..When keeper needs to record merchandise sales situation, can by the mode of scan camera shooting head, scanner or manual typing the shipment information of the end article of sale be carried out typing by client and this information be sent to server, the shipment information of the end article that server receives client sends, the shipment information of this end article can comprise ETCD estimated time of commencing discharging and shipping Qty., also can comprise the sales price etc. during shipment.
Information updating unit 109, for upgrading shipment recorded information in described end article list and information attribute value according to described shipment information.
In specific implementation, information updating unit 109 upgrades shipment recorded information in described end article list and information attribute value according to described shipment information.When receiving shipment information, shipment recorded information in end article list and information attribute value are upgraded, if the shipment recorded information in end article list is empty, then current shipment recorded information is inserted shipment recorded information one hurdle, as shipment recorded information exists, then current shipment recorded information mark is inserted in corresponding shipment recorded information list hurdle.
Shipment amount computing unit 110, for calculating average daily shipment amount according to the shipment recorded information in the described end article list after renewal and storing with described end article list.
In specific implementation, shipment amount computing unit 110 calculates average daily shipment amount according to the shipment recorded information in the described end article list after renewal and stores with described end article list.In the present embodiment, the shipment record of end article comprises ETCD estimated time of commencing discharging and shipping Qty., can divide going out the date of ETCD estimated time of commencing discharging by every day, shipping Qty. in shipment recorded information in described end article list after renewal is added up to, then calculate according to total shipping Qty. and the total number of days gone out contained by ETCD estimated time of commencing discharging, obtain average daily shipment amount and the average daily shipment amount calculated is stored in end article list.Average daily shipment amount in the present embodiment, the average shipment amount etc. of unit interval that also can be monthly shipment amount or be arranged voluntarily by keeper.
Request reception unit 101, for receiving the end article inquiry request that client sends, described end article inquiry request carries identification information and the current time of described end article.
Information acquisition unit 102, for obtaining the end article attribute information matched with described identification information from commodity list, described end article attribute information comprises commerical batches, the total volume of commodities, date of manufacture and shelf-life.
Statistic unit 103, for according to described end article attribute information and described current time, adds up the effecting surplus time of described end article.
Concrete, please with reference to Fig. 5, for embodiments providing the structural representation of statistic unit.As shown in Figure 5, described statistic unit 103 can comprise: date computation subunit 1031 and time calculating unit 1032.
Date computation subunit 1031, for date of manufacture and the shelf-life of at least one commerical batches according to described end article, calculates effective cut-off date of the described at least one commerical batches of described end article.
In specific implementation, date computation subunit 1031, according to the date of manufacture of at least one commerical batches of described end article and shelf-life, calculates effective cut-off date of the described at least one commerical batches of described end article.Because same money commodity may occur different batches, such as commodity A is due to a batch difference, two kinds of dates of manufacture may be there are, wherein first date of manufacture is on March 4th, 2015, the second batch date of manufacture is on April 3rd, 2015, and owing to being same money commodity, its shelf-life is 180 days, so first effective cut-off date (by monthly calculating for 30 days) is on September 4th, 2015, and second batch effective cut-off date is on October 3rd, 2015.
Time calculating unit 1032, for effective cut-off date and the described current time of the described at least one commerical batches according to described end article, calculates the effecting surplus time of the described at least one commerical batches of described end article.
In specific implementation, time calculating unit 1032, according to effective cut-off date of the described at least one commerical batches of described end article and described current time, calculates the effecting surplus time of the described at least one commerical batches of described end article.In the present embodiment, as end article is divided into two batches, first effective cut-off date is on September 4th, 2015, second batch effective cut-off date is on October 3rd, 2015, the current time that server gets is on May 1st, 2015 not, so first the effecting surplus time of end article is 123 days, and the effecting surplus time of second batch is 152 days.
Output unit 104, for being stored in end article list the described effecting surplus time, and sends to described client by described end article attribute information and described effecting surplus time.
Amount calculation unit 111, for effecting surplus time and the average daily shipment amount of at least one commerical batches according to the total volume of commodities in the list of described end article, described end article, calculate the expired quantity of the end article of described at least one commerical batches, and described expired quantity is sent to described client.
In specific implementation, amount calculation unit 111 is according to the effecting surplus time of at least one commerical batches of the total volume of commodities in the list of described end article, described end article and average daily shipment amount, calculate the expired quantity of the end article of described at least one commerical batches, and described expired quantity is sent to described client.In the present embodiment, if the total volume of commodities in the list of current goal commodity is 100, end article is divided into two batches, first effecting surplus time is 10 days, the effecting surplus time of second batch is 20 days, and average daily shipment amount is 5, and the expired quantity so calculating first commodity is 50, the expired quantity of second batch is 0, and the expired Volume Composition of end article is 50.
Adopt the embodiment of the present invention, that can pass through the end article of the transmission receiving client enters goods information, and whether exist according to end article list and enter goods recording process according to enter goods recorded information and the information attribute value entered in goods information updating or newly-built described end article list of described end article with what realize commodity, can by receiving the shipment information of the end article that client sends, and upgrade shipment recorded information in described end article list and information attribute value according to described shipment information, then according to upgrade after described end article list in shipment recorded information calculate average daily shipment amount and store with described end article list in realize the shipment recording process of commodity, by receiving the end article inquiry request that client sends, described end article inquiry request carries identification information and the current time of described end article, and from commodity list, obtain the end article attribute information matched with described identification information, then according to date of manufacture and the shelf-life of at least one commerical batches of described end article, calculate effective cut-off date of the described at least one commerical batches of described end article, and according to effective cut-off date of the described at least one commerical batches of described end article and described current time, calculate the effecting surplus time of the described at least one commerical batches of described end article, the described effecting surplus time is stored in end article list, and described end article attribute information and described effecting surplus time are sent to described client, finally calculate the expired quantity of the end article of described at least one commerical batches, and described expired quantity is sent to described client, the automatic calculating to effecting surplus time and expired quantity is realized by said process, reduce the workload of keeper, drastically increase the efficiency of merchandise control.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.
Claims (10)
1. the retroactive method on commodity date, is characterized in that, comprising:
Receive the end article inquiry request that client sends, described end article inquiry request carries identification information and the current time of described end article;
From commodity list, obtain the end article attribute information matched with described identification information, described end article attribute information comprises commerical batches, the total volume of commodities, date of manufacture and shelf-life;
According to described end article attribute information and described current time, add up the effecting surplus time of described end article;
The described effecting surplus time is stored in end article list, and described end article attribute information and described effecting surplus time are sent to described client.
2. method according to claim 1, is characterized in that, before the end article inquiry request of described reception client, also comprises:
What receive the end article of the transmission of client enters goods information, and the goods information that enters of described end article comprises supplier, commerical batches, enters goods quantity, date of manufacture and shelf-life;
As described in end article list exist, enter goods recorded information and information attribute value according to entering of described end article in end article list described in goods information updating;
As described in end article list do not exist, by described end article enter goods information and information attribute value is stored in newly-built end article list.
3. method according to claim 1 and 2, is characterized in that, before the end article inquiry request of described reception client, also comprises:
Receive the shipment information of the end article that client sends, the shipment information of described end article comprises ETCD estimated time of commencing discharging and shipping Qty.;
Shipment recorded information in described end article list and information attribute value is upgraded according to described shipment information;
Calculate average daily shipment amount according to the shipment recorded information in the described end article list after renewal and store with described end article list.
4. method according to claim 3, is characterized in that, the described information attribute value according to described end article and described current time, adds up the effecting surplus time of described end article, comprising:
According to date of manufacture and the shelf-life of at least one commerical batches of described end article, calculate effective cut-off date of the described at least one commerical batches of described end article;
According to effective cut-off date and the described current time of the described at least one commerical batches of described end article, calculate the effecting surplus time of the described at least one commerical batches of described end article.
5. method according to claim 4, is characterized in that, is describedly stored in described end article list the described effecting surplus time, and the information attribute value exported in described end article list and after the described effecting surplus time, also comprise:
According to effecting surplus time and the average daily shipment amount of at least one commerical batches of the total volume of commodities in the list of described end article, described end article, calculate the expired quantity of the end article of described at least one commerical batches, and described expired quantity is sent to described client.
6. the retrospective device on commodity date, is characterized in that, comprising:
Request reception unit, for receiving the end article inquiry request that client sends, described end article inquiry request carries identification information and the current time of described end article;
Information acquisition unit, for obtaining the end article attribute information matched with described identification information from commodity list, described end article attribute information comprises commerical batches, the total volume of commodities, date of manufacture and shelf-life;
Statistic unit, for according to described end article attribute information and described current time, adds up the effecting surplus time of described end article;
Output unit, for being stored in end article list the described effecting surplus time, and sends to described client by described end article attribute information and described effecting surplus time.
7. device according to claim 1, is characterized in that, described device also comprises:
Enter goods information receiving unit, enter goods information for what receive the end article of the transmission of client, the goods information that enters of described end article comprises supplier, commerical batches, enters goods quantity, date of manufacture and shelf-life;
List updating block, for as described in end article list exist, enter goods recorded information and information attribute value according to entering of described end article in end article list described in goods information updating;
The newly-built unit of list, for as described in end article list do not exist, by described end article enter goods information and information attribute value is stored in newly-built end article list.
8. the device according to claim 6 or 7, is characterized in that, described device also comprises:
Shipment information receiving element, for receiving the shipment information of the end article that client sends, the shipment information of described end article comprises ETCD estimated time of commencing discharging and shipping Qty.;
Information updating unit, for upgrading shipment recorded information in described end article list and information attribute value according to described shipment information;
Shipment amount computing unit, for calculating average daily shipment amount according to the shipment recorded information in the described end article list after renewal and storing with described end article list.
9. device according to claim 8, is characterized in that, described statistic unit comprises:
Date computation subunit, for date of manufacture and the shelf-life of at least one commerical batches according to described end article, calculates effective cut-off date of the described at least one commerical batches of described end article;
Time calculating unit, for effective cut-off date and the described current time of the described at least one commerical batches according to described end article, calculates the effecting surplus time of the described at least one commerical batches of described end article.
10. device according to claim 9, is characterized in that, described device also comprises:
Amount calculation unit, for effecting surplus time and the average daily shipment amount of at least one commerical batches according to the total volume of commodities in the list of described end article, described end article, calculate the expired quantity of the end article of described at least one commerical batches, and described expired quantity is sent to described client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510458573.3A CN105117916A (en) | 2015-07-30 | 2015-07-30 | Commodity date tracing method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510458573.3A CN105117916A (en) | 2015-07-30 | 2015-07-30 | Commodity date tracing method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105117916A true CN105117916A (en) | 2015-12-02 |
Family
ID=54665894
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510458573.3A Pending CN105117916A (en) | 2015-07-30 | 2015-07-30 | Commodity date tracing method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105117916A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105608210A (en) * | 2015-12-29 | 2016-05-25 | 北京京东尚科信息技术有限公司 | Data storage method and device |
CN108038152A (en) * | 2017-12-01 | 2018-05-15 | 深圳市天下房仓科技有限公司 | A kind of commodity data synchronous method, system and storage medium |
CN109754206A (en) * | 2018-12-25 | 2019-05-14 | 湖南润安危物联科技发展有限公司 | Querying method, device and the computer readable storage medium of dangerous cargo |
CN113435906A (en) * | 2021-06-16 | 2021-09-24 | 筠海食品(深圳)有限公司 | Cold fresh food tracing and quality guarantee period query system based on block chain technology |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1403971A (en) * | 2001-08-30 | 2003-03-19 | 统一资讯股份有限公司 | Commodity expiry managing system and method |
CN102117327A (en) * | 2011-02-28 | 2011-07-06 | 纽海信息技术(上海)有限公司 | Method and device for early warning due goods based on due date and generating shipment information |
CN103164772A (en) * | 2012-12-19 | 2013-06-19 | 苏州艾隆科技股份有限公司 | Drug valid period management method and system thereof |
CN103440590A (en) * | 2013-08-09 | 2013-12-11 | 李洲 | Commodity pre-sales and after-sales management system and management method |
CN103606029A (en) * | 2013-10-30 | 2014-02-26 | 四川长虹电器股份有限公司 | Intelligent-terminal food management method and system |
CN104182715A (en) * | 2014-08-25 | 2014-12-03 | 珠海宜心家居有限公司 | Deadline reminding method and deadline reminding system |
CN104504867A (en) * | 2014-12-30 | 2015-04-08 | 北京慧眼智行科技有限公司 | QR (quick response) code based commodity shelf life reminding system and method |
CN104616126A (en) * | 2013-11-04 | 2015-05-13 | 西安艾力特电子实业有限公司 | Novel commodity inventory data system based on big data analysis |
-
2015
- 2015-07-30 CN CN201510458573.3A patent/CN105117916A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1403971A (en) * | 2001-08-30 | 2003-03-19 | 统一资讯股份有限公司 | Commodity expiry managing system and method |
CN102117327A (en) * | 2011-02-28 | 2011-07-06 | 纽海信息技术(上海)有限公司 | Method and device for early warning due goods based on due date and generating shipment information |
CN103164772A (en) * | 2012-12-19 | 2013-06-19 | 苏州艾隆科技股份有限公司 | Drug valid period management method and system thereof |
CN103440590A (en) * | 2013-08-09 | 2013-12-11 | 李洲 | Commodity pre-sales and after-sales management system and management method |
CN103606029A (en) * | 2013-10-30 | 2014-02-26 | 四川长虹电器股份有限公司 | Intelligent-terminal food management method and system |
CN104616126A (en) * | 2013-11-04 | 2015-05-13 | 西安艾力特电子实业有限公司 | Novel commodity inventory data system based on big data analysis |
CN104182715A (en) * | 2014-08-25 | 2014-12-03 | 珠海宜心家居有限公司 | Deadline reminding method and deadline reminding system |
CN104504867A (en) * | 2014-12-30 | 2015-04-08 | 北京慧眼智行科技有限公司 | QR (quick response) code based commodity shelf life reminding system and method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105608210A (en) * | 2015-12-29 | 2016-05-25 | 北京京东尚科信息技术有限公司 | Data storage method and device |
CN108038152A (en) * | 2017-12-01 | 2018-05-15 | 深圳市天下房仓科技有限公司 | A kind of commodity data synchronous method, system and storage medium |
CN109754206A (en) * | 2018-12-25 | 2019-05-14 | 湖南润安危物联科技发展有限公司 | Querying method, device and the computer readable storage medium of dangerous cargo |
CN113435906A (en) * | 2021-06-16 | 2021-09-24 | 筠海食品(深圳)有限公司 | Cold fresh food tracing and quality guarantee period query system based on block chain technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101533461B (en) | Enhanced item tracking using selective querying | |
US10181107B2 (en) | Using consumption data and an inventory model to generate a replenishment plan | |
CN110363476B (en) | Cargo warehousing distribution processing method and device | |
US9129276B1 (en) | Inventory management | |
US20090164305A1 (en) | System and method for managing product quality | |
US10002364B2 (en) | Consumption-driven forecasting using multi-level heterogeneous input data | |
CN105117916A (en) | Commodity date tracing method and apparatus | |
US10026109B2 (en) | Linking contracts to deliverable items | |
WO2012019097A2 (en) | System and method for dynamic, real-time data management and processing to facilitate business decisions | |
CN112435040A (en) | Block chain based product production and use track tracing method | |
Sarac et al. | Impacts of RFID technologies on supply chains: a simulation study of a three-level supply chain subject to shrinkage and delivery errors | |
JP7338820B2 (en) | Inventory quantity identification method and device | |
CN101236621A (en) | Account checking system and method | |
US8635238B2 (en) | Appratus, system and method for an automated stock ledger | |
US20090112739A1 (en) | Product management system and methods | |
Cobb | Estimating cycle time and return rate distributions for returnable transport items | |
CN110659859B (en) | E-commerce order inventory ERP management method and system | |
Leung et al. | A tool set for exploring the value of RFID in a supply chain | |
CN113095908A (en) | Information processing method, server and information processing system | |
RU2640749C2 (en) | Method of automated goods inventory accounting | |
CN110956307A (en) | Business data standardization processing method and device | |
CN113487265A (en) | Method, device and equipment for subscribing, inquiring and pushing logistics information | |
CN113935677A (en) | Automatic warehouse entry and exit management method and system | |
CN113435965A (en) | Rapid searching and bill matching system among products of different merchants | |
CN112598096A (en) | Electronic price tag updating method and system based on commodity big data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151202 |
|
RJ01 | Rejection of invention patent application after publication |