CN105117878A - Method and device for treating remaining article amount - Google Patents

Method and device for treating remaining article amount Download PDF

Info

Publication number
CN105117878A
CN105117878A CN201510511412.6A CN201510511412A CN105117878A CN 105117878 A CN105117878 A CN 105117878A CN 201510511412 A CN201510511412 A CN 201510511412A CN 105117878 A CN105117878 A CN 105117878A
Authority
CN
China
Prior art keywords
unique identification
identification code
article
articles
code
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
Application number
CN201510511412.6A
Other languages
Chinese (zh)
Inventor
李伶俐
李菲
黄斌
梁洪波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN201510511412.6A priority Critical patent/CN105117878A/en
Publication of CN105117878A publication Critical patent/CN105117878A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a method and device for treating remaining article amount. The method comprises steps of: scanning and analyzing a graphic code in order to acquire a unique identification code in the graphic code; reading remaining article amount corresponding to the unique identification code from a database; acquiring updated article amount corresponding to the unique identification code; updating the remaining article amount corresponding to the unique identification code according to the updated article amount. When an article is taken out of a warehouse, the remaining article amount in the database is undated according to the updated article amount. When the graphic code is scanned again, the updated remaining article amount in the database can be directly read via the unique identification code. Thus, correct remaining article amount can be read without a need to regenerate a graphic code recoding the remaining article amount after warehouse-out. As a result, the method improves convenience in reading the remaining article amount with the graphic code and prevents a waste of graphic codes.

Description

Article balance quantity processing method and device
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a device for processing the stock quantity of articles.
Background
With the continuous popularization of graphic code application, graphic codes (such as two-dimensional codes or bar codes) are widely applied. People hope that the information of some articles in daily life can be recorded by using the graphic code, and the detailed information of the articles can be checked by scanning the graphic code by the graphic code scanning equipment.
In the warehouse management business, when the graphic code comprises the quantity of the article, the quantity of the article can be read only by scanning the graphic code of the article by using a graphic code scanning device. However, when the graphic code scanning device scans the graphic code again after a part of the article is delivered from the warehouse, the read quantity is still the data in the graphic code, namely the quantity before delivery is inconsistent with the actual remaining quantity. To solve this problem, the original graphic code needs to be invalidated every time the original graphic code is delivered, and two graphic codes need to be printed again every time. The number in one graphic code is the article updating number at this time, and the number in the other graphic code is the article balance number. Therefore, when the amount of the articles stored is changed, the graphic codes are required to be regenerated and printed, the operation is complicated, and the resource waste is caused.
Disclosure of Invention
Based on this, in order to solve the problem of resource waste caused by the need of reprinting the graphic code every time the stock quantity of the article is changed, it is necessary to provide a method for processing the stock quantity of the article, which comprises the following steps:
scanning and analyzing the graphic code to obtain a unique identification code in the graphic code;
reading the inventory quantity of the articles corresponding to the unique identification code from a database;
acquiring the updated quantity of the articles corresponding to the unique identification code;
and updating the article balance quantity corresponding to the unique identification code according to the article update quantity.
In one embodiment, before the scanning and analyzing the graphic code and acquiring the unique identification code in the graphic code, the method further includes:
acquiring a unique identification code allocated to an article;
generating a graphic code according to the unique identification code and printing the graphic code;
and recording the balance quantity of the articles corresponding to the unique identification code in a database.
In one embodiment, the reading the balance quantity of the article corresponding to the unique identification code from the database includes:
sending a search request carrying the unique identification code to a database terminal;
and receiving the quantity of the articles found according to the search request fed back by the database terminal.
In one embodiment, the item update quantity is an item ex-warehouse quantity; the updating the article balance quantity corresponding to the unique identification code according to the article update quantity comprises the following steps: subtracting the quantity of the delivered articles from the quantity of the deposited articles; or,
the updated quantity of the articles is the residual quantity of the articles after being delivered out of the warehouse; the updating the article balance quantity corresponding to the unique identification code according to the article update quantity comprises the following steps: and replacing the article balance quantity with the remaining quantity of the articles after delivery.
In one embodiment, after the updating the balance quantity of the item corresponding to the unique identification code according to the updated quantity of the item, the method further includes:
scanning and analyzing the graphic code again to obtain the unique identification code in the graphic code;
reading the updated balance quantity of the article corresponding to the unique identification code from the database.
In one embodiment, the reading the balance quantity of the article corresponding to the unique identification code from the database includes:
and searching an instant inventory table corresponding to the unique identification code from a database, and reading the inventory quantity of the articles corresponding to the unique identification code from the instant inventory table.
According to the method for processing the balance quantity of the articles, the unique identification code is obtained by scanning the graphic code of the article, and the balance quantity of the articles corresponding to the unique identification code is read from the database. And when the articles are taken out of the warehouse, acquiring the updated quantity of the articles corresponding to the unique identification code, and updating the inventory quantity of the articles corresponding to the unique identification code according to the updated quantity of the articles. When the graphic code is scanned again, the inventory quantity of the articles after being taken out of the warehouse can be directly obtained through the unique identification code, the inventory quantity of the articles after being taken out of the warehouse does not need to be recorded by regenerating the graphic code, and the correct inventory quantity of the articles can be read. Therefore, the convenience of reading the stock quantity of the articles through the graphic codes is improved, and the problem of waste of the graphic codes is avoided.
An item balance number processing apparatus, the apparatus comprising:
the scanning module is used for scanning and analyzing the graphic code to acquire a unique identification code in the graphic code;
the reading module is used for reading the inventory quantity of the articles corresponding to the unique identification code from a database;
the acquisition module is used for acquiring the updated quantity of the articles corresponding to the unique identification code;
and the updating module is used for updating the article balance quantity corresponding to the unique identification code according to the article updating quantity.
In one embodiment, the apparatus further comprises:
the generating module is used for acquiring a unique identification code distributed for an article; generating a graphic code according to the unique identification code and printing the graphic code;
and the recording module is used for recording the inventory quantity of the articles corresponding to the unique identification code in a database.
In one embodiment, the reading module is further configured to send a search request carrying the unique identification code to a database terminal; and receiving the quantity of the articles found according to the search request fed back by the database terminal.
In one embodiment, the updated quantity of the item is an item ex-warehouse quantity, and the updating module is further configured to subtract the item out-warehouse quantity from the item balance quantity; or,
the updating module is also used for replacing the article balance quantity with the remaining quantity of the articles after the articles are delivered.
According to the article balance quantity processing device, the scanning module obtains the unique identification code by scanning the graphic code of the article, and the reading module reads the article balance quantity corresponding to the unique identification code from the database. When the articles are taken out of the warehouse, the acquisition module acquires the updated quantity of the articles corresponding to the unique identification code, and the updating module updates the balance quantity of the articles corresponding to the unique identification code according to the updated quantity of the articles. When the scanning module scans the graphic codes again, the reading module can directly acquire the article balance number after the articles are taken out of the database through the unique identification code, and the correct article balance number can be read without regenerating the graphic codes to record the article balance number after the articles are taken out of the database. Therefore, the convenience of reading the stock quantity of the articles through the graphic codes is improved, and the problem of waste of the graphic codes is avoided.
Drawings
FIG. 1 is a diagram of an application environment of an item balance quantity processing system in one embodiment;
FIG. 2 is a flowchart illustrating a method for processing the balance of items according to an embodiment;
FIG. 3 is a flow chart illustrating a process of establishing a mapping relationship between a graphic code and a database according to an embodiment;
FIG. 4 is a flowchart illustrating the steps of reading the balance number of the item corresponding to the unique identification code from the database in one embodiment;
FIG. 5 is a flow diagram illustrating the process of re-reading the balance of an item in one embodiment;
FIG. 6 is a flowchart of a method for processing the balance of items performed in another embodiment;
FIG. 7 is a diagram illustrating information included in a graphic code according to another embodiment;
FIG. 8 is a diagram of an instant inventory table in a database in one embodiment;
FIG. 9 is a diagram of an updated instant inventory table in data in one embodiment;
FIG. 10 is a diagram illustrating a display interface of a graphic code scanning device reading an instant inventory table in a database in one embodiment;
FIG. 11 is a block diagram showing the structure of an article balance amount processing device according to an embodiment;
fig. 12 is a block diagram showing the structure of an article balance quantity processing device in another embodiment.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, but rather should be construed as broadly as the present invention is capable of modification in various respects, all without departing from the spirit and scope of the present invention.
FIG. 1 is a diagram of an implementation of a system for inventory quantity processing in one embodiment. The item balance quantity processing system comprises a graphic code scanning device 110 and a database terminal 120. The graphic code scanning device 110 and the database terminal 120 are connected through a network. The graphic code scanning device 110 and the database terminal 120 may be the same device or different devices.
The graphic code scanning device 110 is a device capable of scanning and reading a graphic code, and includes at least one of a smart phone, a tablet computer, and a Personal Digital Assistant (PDA).
As shown in fig. 2, a method for processing the quantity of deposited goods is exemplified in the present embodiment by the method applied to the graphic code scanning device 110 in the system for processing the quantity of deposited goods in fig. 1. The graphic code scanning device 110 runs an article balance quantity processing program, and the article balance quantity processing method is implemented by the article balance quantity processing program. The method specifically comprises the following steps:
step 202, scanning and analyzing the graphic code to obtain the unique identification code in the graphic code.
Specifically, the graphic code scanning device 110 scans a graphic code corresponding to the article and analyzes the graphic code to obtain a unique identification code in the graphic code. The analysis of the graphic code is a decoding process, and data in the graphic code is decoded according to the encoding format information of the graphic code.
The graphic code is a graphic obtained by encoding a character or a character string with an expression function, and includes a two-dimensional code, a bar code and the like.
The bar code is a graphic identifier in which a plurality of black bars and spaces having different widths are arranged according to a certain encoding rule to express a set of information. A bar code is a pattern of parallel lines of black bars (bars for short) and white bars (spaces for short).
The two-dimensional code is a bar code for recording data symbol information by using black and white figures distributed in a plane two-dimensional direction according to a certain rule by using a certain specific geometric figure. The two-dimensional Code can be divided into a stacked two-dimensional Code and a matrix two-dimensional Code, wherein the stacked two-dimensional Code is also called a row-type two-dimensional Code, the stacking two-dimensional Code coding principle is based on a one-dimensional bar Code and is stacked into two or more rows according to requirements, and representative two-dimensional codes comprise Code16K, Code49, PDF417 and the like. The matrix type two-dimensional code is coded in a rectangular space through different distribution of black and white pixels in a matrix. On the corresponding element positions of the matrix, representing binary '1' by the appearance of points (square points, round points or other shapes), representing binary '0' by the absence of the points, and determining the meaning represented by the matrix type two-dimensional code by the arrangement and combination of the points; the representative matrix type two-dimensional code is as follows: CodeOne, MaxiCode, QRCode, etc.
In one embodiment, the graphic code scanning device 110 scans a graphic code of an article, and reads information in the graphic code, wherein the information in the graphic code includes a unique identification code and may further include at least one of an article name, an article code, an article specification and model, an article lot number and an original quantity of the article. The graphic code can be attached to the article and also can be attached to the outer package of the article.
In one embodiment, the unique identification code may be a unique identification code assigned to the item when it is warehoused, and the unique identification code is used for distinguishing different names of the items in the warehouse.
In one embodiment, when the graphic codes are generated, a sequence number corresponding to the graphic codes is generated according to the time sequence of generating the graphic codes, the sequence number is called as a serial number, because the generation time of each graphic code is different, the serial numbers are different, and the serial number of the graphic code can also be used as a unique identification code.
And step 204, reading the inventory quantity of the articles corresponding to the unique identification code from the database.
Specifically, after the graphic code scanning device 110 acquires the unique identification code, the graphic code scanning device 110 searches the database for the inventory amount of the article corresponding to the unique identification code. The article balance quantity refers to the current storage quantity of the articles in the warehouse.
In one embodiment, after the graphic code scanning device 110 obtains the unique identification code of the article, the unique identification code of the article is packaged in the search request and sent to the database terminal 120, after receiving the search request, the database terminal 120 searches for the corresponding article balance number in the database according to the unique identification code of the article in the search request and sends the article balance number to the graphic code scanning device 110, and the graphic code scanning device 110 receives the fed-back article balance number and displays the article balance number on the graphic code scanning device 110.
In one embodiment, the graphic code scanning device 110 searches the database of the graphic code scanning device 110 for the corresponding item balance number according to the unique identification code of the item, and when the item balance number corresponding to the unique identification code is found, the item balance number is directly displayed on the graphic code scanning device 110.
And step 206, acquiring the updated quantity of the articles corresponding to the unique identification code.
Specifically, when the article is delivered from the warehouse, the user may input the updated quantity of the article on the graphic code scanning device 110, and after the user inputs the updated quantity and confirms that the input updated quantity is correct, the graphic code scanning device 110 obtains the updated quantity of the article and updates the quantity of the article stored in the database. The item update quantity refers to the quantity of the items used for updating the item balance quantity.
And step 208, updating the inventory quantity of the articles corresponding to the unique identification code according to the updated quantity of the articles.
In one embodiment, after the graphic code scanning device 110 obtains the updated quantity of the goods, the read balance quantity of the goods is updated according to the updated quantity, and the updated balance quantity of the goods is transmitted to the database terminal 120 and recorded in the database for the next reading.
In one embodiment, after the graphic code scanning device 110 obtains the updated quantity of the item, the updated quantity of the item is sent to the database terminal 120, and the database terminal 120 updates the corresponding balance quantity of the item in the data according to the updated quantity of the item.
In the above method for processing the balance quantity of the article, the image scanning device 110 scans the image code of the article to obtain the unique identification code, and reads the balance quantity of the article corresponding to the unique identification code from the database. When the article is taken out of the warehouse, the image scanning device 110 obtains the updated quantity of the article corresponding to the unique identification code, and updates the balance quantity of the article corresponding to the unique identification code according to the updated quantity of the article. When the graphic scanning device 110 scans the graphic code again, the inventory amount of the articles after being taken out of the warehouse can be directly obtained through the unique identification code, and the correct inventory amount of the articles can be read without regenerating the graphic code to record the inventory amount of the articles after being taken out of the warehouse. The embodiment improves the convenience of reading the stock quantity of the articles through the graphic codes, and simultaneously avoids the problem of waste of the graphic codes.
As shown in fig. 3, in an embodiment, before step 202, the method further includes a step of establishing a corresponding relationship between the graphic code and the database, and specifically includes the following steps:
at step 302, a unique identification code assigned to an item is obtained.
Specifically, when the articles are put in storage, a serial number of the storage time is generated according to the storage time of the articles, the storage time of each article is different, the serial number of each article is different, and the serial number is used as the unique identification code of the article, so that the unique corresponding relation between the serial number and the article can be ensured. And when the article is put in storage for registration, the unique identification code of the article is recorded in the database. The graphic code scanning device 110 may obtain the unique identification code of the item from a database.
And step 304, generating a graphic code according to the unique identification code and printing.
Specifically, after acquiring the unique identification code, the graphic code scanning device 110 generates and prints a graphic code according to information corresponding to the unique identification code, and the graphic code is attached to an article or a package of the article. The information in the graphic code comprises a unique identification code and can also comprise at least one of the name of the article, the specification of the article, the batch number of the article and the quantity of the article.
And step 306, recording the balance quantity of the articles corresponding to the unique identification code in the database.
Specifically, when generating the graphic code, the graphic code scanning device 110 transmits the article information recorded in the graphic code to the database terminal 120, and the database terminal 120 correspondingly stores the article information according to the unique identification code.
In one embodiment, when generating the graphic code, the graphic code scanning device 110 correspondingly stores the article information recorded in the graphic code in its own database according to the unique identification code.
In this embodiment, after acquiring the unique identification code of the article, the graphic code scanning device 110 generates and prints the graphic code according to the identification code, and records the inventory amount of the article corresponding to the unique identification code in the database. The corresponding relation between the graphic code and the article balance quantity in the database is established, and a data basis is provided for reading and updating the article balance quantity in the future.
As shown in fig. 4, in an embodiment, step 204 specifically includes the following steps:
step 402, sending a search request carrying a unique identification code to a database terminal.
Specifically, the graphic code scanning device 110 scans and analyzes the graphic code, obtains the unique identification code in the graphic code, encapsulates the unique identification code in the data packet of the search request, and sends the data packet to the database terminal 120. After receiving the search request data packet, the database terminal 120 parses the data packet to obtain the unique identification code, and searches the database for a corresponding result according to the unique identification code.
And step 404, receiving the quantity of the found articles according to the search request fed back by the database terminal.
Specifically, the database terminal 120 parses the search request data packet to obtain the unique identification code, finds the inventory balance number of the instant inventory list or the corresponding item corresponding to the unique identification code in the database according to the unique identification code, and the database terminal 120 feeds back the inventory balance number of the instant inventory list or the item to the graphic code scanning device 110.
In one embodiment, the graphic code scanning device 110 receives the instant inventory table, and the graphic code scanning device 110 reads and displays the balance amount of the items in the instant inventory table.
In one embodiment, the graphic code scanning device 110 receives the item balance number and directly displays the item balance number.
In this embodiment, the graphic code scanning device 110 reads the corresponding inventory amount of the article in the database by sending a search request carrying the unique identification code and using the corresponding relationship between the unique identification code and the inventory amount of the article in the database. The graphic code scanning device 110 can accurately acquire the inventory amount of the articles corresponding to the unique identification code in the database.
In one embodiment, the updated quantity of the item obtained by the graphic code scanning device 110 is the ex-warehouse quantity of the item, and the step 208 includes: and subtracting the quantity of the delivered articles from the quantity of the deposited articles.
Specifically, when the updated quantity of the items acquired by the graphic code scanning device 110 is the ex-warehouse quantity of the items, the graphic code scanning device 110 sends the out-warehouse quantity of the items to the database terminal 120. The database terminal 120 finds the corresponding article balance quantity according to the unique identification code, subtracts the article balance quantity from the article ex-warehouse quantity, and records the finally calculated quantity as the updated article balance quantity.
In one embodiment, the updated quantity of the items obtained by the graphic code scanning device 110 is the remaining quantity of the items after the delivery, and the step 208 includes: and replacing the article balance quantity with the residual quantity of the articles after delivery.
Specifically, the updated quantity of the articles acquired by the graphic code scanning device 110 is the remaining quantity of the articles after delivery, the graphic code scanning device 110 sends the remaining quantity of the articles after delivery to the database terminal 120, and the database terminal 120 replaces the quantity of the articles deposited by the remaining quantity of the articles after delivery according to the unique identification code. The graphic code scanning device 110 reads the balance quantity of the articles in the database again as the updated quantity.
In this embodiment, the balance number of the articles in the database is updated according to different update schemes according to different update number types, so as to ensure the accuracy of the balance number of the articles in the database, and facilitate a user to know the actual balance number of the articles through the graphic code scanning device 110.
As shown in fig. 5, in an embodiment, after step 208, the method further includes a step of reading the item balance number again, and specifically includes the following steps:
step 502, scanning and analyzing the graphic code again to obtain the unique identification code in the graphic code.
Specifically, after the graphic code scanning device 110 updates the article balance number corresponding to the unique identification code according to the article update number, the graphic code scanning device 110 scans and analyzes the graphic code again, and obtains the unique identification code in the graphic code, so as to read the corresponding updated article balance number in the data subsequently.
Step 504, reading the updated inventory quantity of the item corresponding to the unique identification code from the database.
Specifically, the graphic code scanning device 110 sends a search request carrying a unique identification code to the database terminal 120, the database terminal 120 searches a corresponding instant inventory table in the database according to the unique identification code, and feeds the instant inventory table back to the graphic code scanning device 110, and the graphic code scanning device 110 reads the updated balance quantity of the items in the instant inventory table.
In this embodiment, the graphic code scanning device 110 scans and analyzes the graphic code again to obtain the unique identification code, and reads the updated inventory amount of the article by using the corresponding relationship between the unique identification code and the inventory amount of the article in the database. The convenience of the user for knowing the article balance quantity after the articles are taken out of the warehouse is improved, and the user can conveniently know the actual balance quantity of the articles.
In one embodiment, step 204 includes: and searching the instant inventory table corresponding to the unique identification code from the database, and reading the inventory quantity of the articles corresponding to the unique identification code from the instant inventory table.
Specifically, the graphic code scanning device 110 searches the instant inventory table corresponding to the unique identification code from the database, and reads the inventory amount of the article corresponding to the unique identification code from the instant inventory table. The instant inventory table comprises the unique identification code and also can comprise at least one of an article code, an article name, an article batch number, an article specification model, an article original quantity and an article final quantity.
In one embodiment, the graphic code scanning device 110 may scan and parse the graphic code, obtain the unique identification code in the graphic code, and send a search request carrying the unique identification code to the database terminal 120. The database terminal 120 receives and analyzes the search request, obtains the unique identification code in the search request, searches the corresponding instant inventory table in the database according to the unique identification code, packages the instant inventory table in the feedback data packet, and sends the feedback data packet to the graphic code scanning device 110. And the graphic code scanning equipment receives and analyzes the feedback data packet, acquires the instant inventory table corresponding to the unique identification code, and reads the inventory quantity of the articles in the instant inventory table.
In this embodiment, the instant inventory table may record information included in the graphic code, and after the scanning device 110 reads the instant inventory table, the scanning device 110 may display information of an article in the table on the scanning device 110, so that a user can know specific information of the article conveniently.
As shown in fig. 6, in an embodiment, the graphic code scanning device 110 first generates a graphic code according to a unique identification code of an article and prints the graphic code, and the database terminal 120 establishes the unique identification code in the database while generating the graphic code, and stores information of the article according to the unique identification code. The graphic code scanning device 110 can obtain the balance amount of the article from the database by scanning the graphic code.
The graphic code scanning device 110 obtains the updated quantity of the articles after the articles are exported, the graphic code scanning device 110 displays the updated quantity of the articles for the user to confirm, and if the user selects no, the processing process of the article balance quantity is finished; if the user selects yes, the database terminal 120 updates the item balance number in the database according to the updated number, and records the updated item balance number in the database.
When the graphic code scanning device 110 scans the graphic code again, the obtained article balance number is the updated article balance number.
In the embodiment, after the articles are taken out of the warehouse, the article balance quantity is updated according to the updated quantity, so that the real-time performance and the accuracy of the balance quantity in the database are ensured, and a user can know the real-time condition of the articles conveniently.
For example, as shown in fig. 7, the graphic code scanning device 110 generates a two-dimensional code, which includes an item document number, an item row number, an item name, an item quantity, an item specification model, and a unique identification code. Wherein the number of items is 100.
As shown in fig. 8, the database terminal 120 establishes the unique identification code in the database, and correspondingly stores the item information corresponding to the unique identification code in the instant inventory table, where the instant inventory table includes the unique identification code, the item name, the item lot number, the item specification and model, the original quantity, and the item ending quantity. Before the goods are delivered out of the warehouse, the original quantity and the goods inventory quantity are the same and are both 100.
As shown in fig. 9, the number of the articles taken out of the warehouse by the graphic code scanning device is 40, the user confirms that the article balance number is updated according to the number of the articles taken out of the warehouse 40, the database terminal 120 subtracts the number of the articles taken out of the warehouse 40 from the article balance number 100, and the article balance number is updated to 60.
As shown in fig. 10, when the graphic code scanning device 110 scans the two-dimensional code again, the obtained information is the instant inventory table in the database, and the information in the instant inventory table is displayed on the graphic code scanning device, which includes the updated inventory amount of the articles 60.
As shown in fig. 11, in one embodiment, an article balance number processing apparatus 1100 is provided, the apparatus comprising: a scanning module 1101, a reading module 1102, an obtaining module 1103, and an updating module 1104.
The scanning module 1101 is used for scanning and analyzing the graphic code to acquire a unique identification code in the graphic code;
a reading module 1102, configured to read the inventory amount of the item corresponding to the unique identification code from a database;
an obtaining module 1103, configured to obtain an updated number of the items corresponding to the unique identification code;
an updating module 1104, configured to update the item balance number corresponding to the unique identification code according to the item update number.
In the above-mentioned article balance quantity processing apparatus 1100, the scanning module 1101 scans the graphic code of the article to obtain the unique identification code, and the reading module 1102 reads the article balance quantity corresponding to the unique identification code from the database. When the article is taken out of the warehouse, the obtaining module 1103 obtains the updated quantity of the article corresponding to the unique identification code, and the updating module 1104 updates the balance quantity of the article corresponding to the unique identification code according to the updated quantity of the article. When the scanning module 1101 scans the graphic code again, the reading module 1102 can directly acquire the inventory amount of the articles after delivery from the database through the unique identification code, and the correct inventory amount of the articles can be read without regenerating the graphic code to record the inventory amount of the articles after delivery. Therefore, the convenience of reading the stock quantity of the articles through the graphic codes is improved, and the problem of waste of the graphic codes is avoided.
As shown in fig. 12, in one embodiment, the apparatus 1100 further comprises: a generating module 1105 and a recording module 1106.
A generating module 1105, configured to obtain a unique identification code assigned to an article; and generating a graphic code according to the unique identification code and printing.
A recording module 1106 configured to record the inventory amount of the item corresponding to the unique identification code in a database.
In this embodiment, the generating module 1105 obtains the unique identification code and generates a graphic code according to the unique identification code, where the specific information of the article is recorded in the graphic code. The recording module 1106 records in a database the balance of the item corresponding to the unique identification code. The user can know the inventory amount of the article by scanning the graphic code by using the graphic code scanning device 110, so that the user can conveniently know the specific condition of the article, and the operation convenience is improved.
In one embodiment, the reading module 1102 is further configured to send a search request carrying the unique identification code to the database terminal 120; and receiving the quantity of the items stored found according to the search request fed back by the database terminal 120.
In this embodiment, the reading module 1102 encapsulates the unique identification code in the search request and sends the search request to the database terminal 120, the database terminal 120 searches for the inventory amount of the articles corresponding to the unique identification code in the database according to the search request and feeds the inventory amount of the articles back to the reading module 1102, and the reading module 1102 receives the inventory amount of the articles fed back by the database terminal 120. The reading module 1102 accurately obtains the inventory amount of the articles by using the corresponding relation between the unique identification code and the inventory amount of the articles in the database, so that the inventory amount of the articles can still be accurately obtained after the inventory amount of the articles is updated.
In one embodiment, when the updated quantity of the item is the ex-warehouse quantity of the item, the update module 1104 is further configured to subtract the out-warehouse quantity of the item from the item balance quantity; alternatively, when the updated quantity of the items is the remaining quantity of the items after being delivered from the warehouse, the updating module 1104 is further configured to replace the item balance quantity with the remaining quantity of the items after being delivered from the warehouse.
The scanning module 1101 is further configured to scan and analyze the graphic code again to obtain the unique identification code in the graphic code.
The reading module 1102 is further configured to read the balance quantity of the items corresponding to the unique identification code updated in the database.
In this embodiment, the updating module 1104 updates the balance number of the item in different updating manners according to the updated number of different items. The scanning module 1101 scans and analyzes the graphic code again to obtain the unique identification code, and the reading module 1102 reads the updated article balance number in the database according to the unique identification code.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of item balance quantity handling, the method comprising:
scanning and analyzing the graphic code to obtain a unique identification code in the graphic code;
reading the inventory quantity of the articles corresponding to the unique identification code from a database;
acquiring the updated quantity of the articles corresponding to the unique identification code;
and updating the article balance quantity corresponding to the unique identification code according to the article update quantity.
2. The method of claim 1, wherein before scanning and parsing the graphic code to obtain the unique identification code in the graphic code, the method further comprises:
acquiring a unique identification code allocated to an article;
generating a graphic code according to the unique identification code and printing the graphic code;
and recording the balance quantity of the articles corresponding to the unique identification code in a database.
3. The method of claim 1, wherein reading the balance of the item corresponding to the unique identification code from the database comprises:
sending a search request carrying the unique identification code to a database terminal;
and receiving the quantity of the articles found according to the search request fed back by the database terminal.
4. The method of claim 1, wherein the item update quantity is an item ex-warehouse quantity; the updating the article balance quantity corresponding to the unique identification code according to the article update quantity comprises the following steps: subtracting the quantity of the delivered articles from the quantity of the deposited articles; or,
the updated quantity of the articles is the residual quantity of the articles after being delivered out of the warehouse; the updating the article balance quantity corresponding to the unique identification code according to the article update quantity comprises the following steps: and replacing the article balance quantity with the remaining quantity of the articles after delivery.
5. The method according to claim 1, wherein after the updating the balance number of the item corresponding to the unique identification code according to the updated number of the item, further comprising:
scanning and analyzing the graphic code again to obtain the unique identification code in the graphic code;
reading the updated balance quantity of the article corresponding to the unique identification code from the database.
6. The method of any one of claims 1 to 5, wherein reading the balance number of the item corresponding to the unique identification code from the database comprises:
and searching an instant inventory table corresponding to the unique identification code from a database, and reading the inventory quantity of the articles corresponding to the unique identification code from the instant inventory table.
7. An article balance quantity processing apparatus, comprising:
the scanning module is used for scanning and analyzing the graphic code to acquire a unique identification code in the graphic code;
the reading module is used for reading the inventory quantity of the articles corresponding to the unique identification code from a database;
the acquisition module is used for acquiring the updated quantity of the articles corresponding to the unique identification code;
and the updating module is used for updating the article balance quantity corresponding to the unique identification code according to the article updating quantity.
8. The apparatus of claim 7, further comprising:
the generating module is used for acquiring a unique identification code distributed for an article; generating a graphic code according to the unique identification code and printing the graphic code;
and the recording module is used for recording the inventory quantity of the articles corresponding to the unique identification code in a database.
9. The apparatus of claim 7, wherein the reading module is further configured to send a search request carrying the unique identification code to a database terminal; and receiving the quantity of the articles found according to the search request fed back by the database terminal.
10. The apparatus of claim 7, wherein the updated quantity of items is an item ex-warehouse quantity, and the update module is further configured to subtract the item out-warehouse quantity from the item balance quantity; or,
the updating module is also used for replacing the article balance quantity with the remaining quantity of the articles after the articles are delivered.
CN201510511412.6A 2015-08-19 2015-08-19 Method and device for treating remaining article amount Pending CN105117878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510511412.6A CN105117878A (en) 2015-08-19 2015-08-19 Method and device for treating remaining article amount

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510511412.6A CN105117878A (en) 2015-08-19 2015-08-19 Method and device for treating remaining article amount

Publications (1)

Publication Number Publication Date
CN105117878A true CN105117878A (en) 2015-12-02

Family

ID=54665860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510511412.6A Pending CN105117878A (en) 2015-08-19 2015-08-19 Method and device for treating remaining article amount

Country Status (1)

Country Link
CN (1) CN105117878A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106779004A (en) * 2016-12-30 2017-05-31 福建米客互联网科技有限公司 A kind of two-dimensional code generation method and system
CN109214623A (en) * 2017-06-30 2019-01-15 郑州嘉晨化工科技有限公司 A kind of remote refrigeration equipment management system based on Internet technology
CN110009067A (en) * 2018-01-04 2019-07-12 青岛海尔洗衣机有限公司 A kind of article information management system and its control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930417A (en) * 2012-10-17 2013-02-13 富阳市供电局 Storage operation analysis control method and system of intelligent electric equipment
CN103198388A (en) * 2013-03-08 2013-07-10 深圳市赫迪威信息技术有限公司 Management method and system for warehouse materials
CN103390258A (en) * 2013-06-28 2013-11-13 环境保护部华南环境科学研究所 Updating and inquiring method and management system of laboratory object information and based on information code
CN103413211A (en) * 2013-08-22 2013-11-27 国家电网公司 Material management method and device
CN204331801U (en) * 2015-01-15 2015-05-13 重庆三峡学院 A kind of articles from the storeroom management devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930417A (en) * 2012-10-17 2013-02-13 富阳市供电局 Storage operation analysis control method and system of intelligent electric equipment
CN103198388A (en) * 2013-03-08 2013-07-10 深圳市赫迪威信息技术有限公司 Management method and system for warehouse materials
CN103390258A (en) * 2013-06-28 2013-11-13 环境保护部华南环境科学研究所 Updating and inquiring method and management system of laboratory object information and based on information code
CN103413211A (en) * 2013-08-22 2013-11-27 国家电网公司 Material management method and device
CN204331801U (en) * 2015-01-15 2015-05-13 重庆三峡学院 A kind of articles from the storeroom management devices

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106779004A (en) * 2016-12-30 2017-05-31 福建米客互联网科技有限公司 A kind of two-dimensional code generation method and system
CN106779004B (en) * 2016-12-30 2020-03-17 福建米客互联网科技有限公司 Two-dimensional code generation method and system
CN109214623A (en) * 2017-06-30 2019-01-15 郑州嘉晨化工科技有限公司 A kind of remote refrigeration equipment management system based on Internet technology
CN110009067A (en) * 2018-01-04 2019-07-12 青岛海尔洗衣机有限公司 A kind of article information management system and its control method
CN110009067B (en) * 2018-01-04 2022-04-26 青岛胶南海尔洗衣机有限公司 Article information management system and control method thereof

Similar Documents

Publication Publication Date Title
US9818011B2 (en) Method and device for identifying two-dimensional barcodes
CN104574011B (en) Produce the method and apparatus and warehouse management system of order
CN106056332B (en) A kind of cargo management system and cargo managing method
KR20060124675A (en) Method for identifying and authenticating goods using codes, barcodes and radio frequency identification
CN104463296B (en) A kind of generation, acquisition and the processing method and system of two-dimension code structure information
CN111401095B (en) Method, device, equipment and storage medium for identifying damaged two-dimensional code
CN112258074A (en) E-commerce commodity storage logistics intelligent scheduling method based on big data analysis
CN106250941A (en) Quick Response Code processing method, Apparatus and system
CN105117878A (en) Method and device for treating remaining article amount
CN106845909A (en) Material management method and device
CN104091256A (en) System and method for information recognition and communication at fixed express delivery pick-up point
CN107263924B (en) Smart packages mounted box is manufactured and application method
US9317503B2 (en) System and method for naming an image file
CN110602049A (en) Data transmission method, server and storage medium
CN111667281B (en) Block chain agricultural product tracing system and tracing method based on electronic scale nodes
CN113035337A (en) Method and device for generating bar code for drug administration
US20100224678A1 (en) Automated contact management
CN104506597A (en) Method, device and system for acquiring information of electricity customers
US8596524B2 (en) Barcode information distribution system
AU2019295416A1 (en) Product ID conversion method, device and product management system
CN111400289A (en) Intelligent user classification method, server and storage medium
CN113902456A (en) Product anti-counterfeiting method and device
CN102902998A (en) Product inquiring method
JP2017033351A (en) Enterprise information matching apparatus and program for enterprise information matching
US20060112014A1 (en) Bar-coded business card information capture and retrieval

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