Disclosure of Invention
The embodiment of the application aims to solve the problems that the existing article management method is complex in processing flow and needs to take a large amount of time by providing an article management method, an article management device and a computer readable storage medium.
To achieve the above object, an aspect of the present application provides an article management method, including:
acquiring a first code value obtained by scanning an article type label, acquiring article type information of the article type label, and associating the first code value with the article type information to obtain first association information;
Acquiring a second code value obtained by scanning an article tag, acquiring article characteristic information of the article tag, and associating the second code value with the article characteristic information to obtain second association information;
and storing the first association information and the second association information in an association way, wherein the article category label and the article label are generated according to optical identification codes, and the first code value is associated with at least one second code value.
Optionally, after the step of storing the first association information and the second association information, the step of associating includes:
when an inquiry instruction of an article is received, acquiring article information of the article to be inquired according to the inquiry instruction;
Matching the article information of the article to be queried with prestored article category information and/or article characteristic information to obtain matched article category information and/or article characteristic information, and playing the matched article category information and/or article characteristic information for matching;
Or acquiring a first code value obtained by scanning the article type label of the article to be queried, and outputting article type information associated with the first code value of the article to be queried.
Optionally, after the step of storing the first association information and the second association information in association, the method further includes:
When a modification instruction of an article is received, acquiring modification content of the article to be modified according to the modification instruction;
When the modification content is a modification label, modifying the article category label and/or the article label of the article to be modified according to a preset label;
When the modification content is modification article information, article category information and/or article characteristic information of the article to be modified are modified according to preset article information.
Optionally, the step of modifying the article category label and/or the article label of the article to be modified according to a preset label includes:
Acquiring a first code value obtained by scanning a preset article type label, and updating first association information of the article to be modified according to the first code value of the preset article type label;
Or acquiring a second code value obtained by scanning a preset article label, and updating second association information of the article to be modified according to the second code value of the preset article label;
Or acquiring a first code value obtained by scanning the preset article type label and a second code value obtained by scanning the preset article label;
updating the first association information of the article to be modified according to the first code value of the preset article type label, and updating the second association information of the article to be modified according to the second code value of the preset article label.
Optionally, the step of modifying the article category information and/or the article characteristic information of the article to be modified according to preset article information includes:
acquiring preset article type information of an article to be modified, and updating first association information of the article to be modified according to the preset article type information;
or acquiring preset article characteristic information of the article to be modified, and updating second associated information of the article to be modified according to the preset article characteristic information;
Or acquiring preset article category information and preset article characteristic information of the article to be modified, updating first association information of the article to be modified according to the preset article category information, and updating second association information of the article to be modified according to the preset article characteristic information.
Optionally, after the step of storing the first association information and the second association information in association, the method further includes:
When a deleting instruction of an article is received, acquiring the article to be deleted according to the deleting instruction;
acquiring a first code value obtained by scanning an article type label of the article to be deleted, and deleting first associated information corresponding to the first code value of the article to be deleted;
Or acquiring a second code value obtained by scanning the article label of the article to be deleted, and deleting second association information corresponding to the second code value of the article to be deleted.
Optionally, after the step of storing the first association information and the second association information in association, the method further includes:
Acquiring identification information of an article scanning device;
binding the identification information, the first association information and the second association information with an account number of a terminal application, so that the first association information and the second association information corresponding to the article scanning device are checked through the terminal application.
In addition, in order to achieve the above object, another aspect of the present application provides an article management apparatus, which includes a memory, a processor, and an article management program stored on the memory and running on the processor, wherein the processor implements the steps of the article management method as described above when executing the article management program.
In addition, to achieve the above object, another aspect of the present application provides an article management device, including a first acquisition module, a second acquisition module, and a storage module, where:
the first acquisition module is used for acquiring a first code value obtained by scanning the article type label, acquiring article type information of the article type label, and associating the first code value with the article type information to obtain first association information;
The second module is used for acquiring a second code value obtained by scanning the article tag, acquiring article characteristic information of the article tag, and associating the second code value with the article characteristic information to obtain second association information;
The storage module is used for storing the first association information and the second association information in an association mode, wherein the article category label and the article label are generated according to optical identification codes, and the first code value is at least associated with one second code value.
In addition, in order to achieve the above object, another aspect of the present application provides a computer-readable storage medium having stored thereon an item management program which, when executed by a processor, implements the steps of the item management method as described above.
The application provides an article management method, which comprises the steps of obtaining a first code value obtained by scanning an article type label, obtaining article type information of the article type label, and associating the first code value with the article type information to obtain first association information; acquiring a second code value obtained by scanning the article tag, acquiring article characteristic information of the article tag, and associating the second code value with the article characteristic information to obtain second association information; the association stores first association information and second association information, wherein the item class label and the item label are generated according to optical identification codes, and the first code value is associated with at least one second code value. The application completes the processes of article classification, article management and article characteristic description by scanning the label generated by the optical identification code and inputting article information, thereby improving the article management efficiency.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The main solutions of the embodiments of the present application are: acquiring a first code value obtained by scanning an article type label, acquiring article type information of the article type label, and associating the first code value with the article type information to obtain first association information; acquiring a second code value obtained by scanning an article tag, acquiring article characteristic information of the article tag, and associating the second code value with the article characteristic information to obtain second association information; and storing the first association information and the second association information in an association way, wherein the article category label and the article label are generated according to optical identification codes, and the first code value is associated with at least one second code value.
Since the existing method mainly adopts text description to classify and manage the articles, the processing flow is complicated and a great deal of time is required under the conditions of more articles and changed article states. The method comprises the steps of obtaining a first code value obtained by scanning an article type label, obtaining article type information of the article type label, and associating the first code value with the article type information to obtain first association information; acquiring a second code value obtained by scanning the article tag, acquiring article characteristic information of the article tag, and associating the second code value with the article characteristic information to obtain second association information; the association stores first association information and second association information, wherein the item class label and the item label are generated according to optical identification codes, and the first code value is associated with at least one second code value. The application completes the processes of article classification, article management and article characteristic description by scanning the label generated by the optical identification code and inputting article information, thereby improving the article management efficiency.
As shown in fig. 1, fig. 1 is a schematic diagram of a terminal structure of a hardware running environment according to an embodiment of the present application.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the terminal structure shown in fig. 1 is not limiting of the terminal device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an article management program may be included in a memory 1005, which is a computer-readable storage medium.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for data communication with a background server; the user interface 1003 is mainly used for data communication with a client (user side); the processor 1001 may be configured to call an item management program in the memory 1005 and perform the following operations:
acquiring a first code value obtained by scanning an article type label, acquiring article type information of the article type label, and associating the first code value with the article type information to obtain first association information;
Acquiring a second code value obtained by scanning an article tag, acquiring article characteristic information of the article tag, and associating the second code value with the article characteristic information to obtain second association information;
and storing the first association information and the second association information in an association way, wherein the article category label and the article label are generated according to optical identification codes, and the first code value is associated with at least one second code value.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of the article management method according to the present application.
The embodiments of the present application provide a method of article management, it being noted that although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in a different order than that illustrated herein.
The article management method of the embodiment operates on the terminal device side, and includes the following steps:
step S10, acquiring a first code value obtained by scanning an article type label, acquiring article type information of the article type label, and associating the first code value with the article type information to obtain first association information;
It should be noted that, the article category label and the article label of the present application are generated based on an OID (Object Identifier, optical identification) code, which refers to an optical identification code, where the OID code has different code values, and the different code values correspond to different click-to-read contents. Therefore, different labels can be generated according to different code values, and when the articles are stored, the labels can be directly adhered to the articles for identifying the articles. When generating a label according to the OID code, binding the article category label and the article label in advance, for example, generating an article category label c= { C1, C2, cx, cn }, based on the OID code, wherein Cx represents the xth classification, and n represents the total classification number; item label g= { G1, G2, gj, gn }, cxGj represents the jth item of the xth category, where j e {1, n }, n represents the total number of items of the category, item category label and item label present 1: n binding relationship.
The intelligent hardware scans the label stuck on the article, and the intelligent hardware recognizes the label through the optical probe, completes voice input and voice escape of the article according to the codes, and supports voice inquiry and playing. The intelligent hardware has the following functions, refer to table 1:
TABLE 1
| Sequence number | Key with a key | Function of | Remarks |
| 1 | + | Adding articles | |
| 2 | - | Canceling an item | |
| 3 | Recording sound | Recording voice | Query, item characterization |
| 4 | Power supply | Switching device | |
| 5 | Probe head | Identifying hidden code, playing storage box and article description | |
Because of the large number and variety of items, multiple intelligent hardware may be configured to scan items, e.g., intelligent hardware h= { H1, H2, hi, hk }, where Hi represents the ith hardware and i e {1, n } represents the ith intelligent hardware, where multiple intelligent hardware may generate one intelligent hardware group F, and share information. When the article is stored, the "+" key is pressed, and the article type label Cx is scanned through the optical probe, so that the relationship between the article type label and intelligent hardware, such as HiCx, can be bound. The application uses a touch-and-talk pen as intelligent hardware to analyze and explain the article management method, an optical sensor for identifying the OID code is arranged on the touch-and-talk pen, and an optical lens on the optical sensor captures the identification code printed on the label to complete the function of recognizing and clicking. For example, the touch pen adopts a hidden code technology, and a hidden code (i.e. a hidden code label) on an article is identified through the pen point optical sensor so as to distinguish touch content, then the acquired hidden code reads the voice on the memory (or the storage card), and the voice is played through a loudspeaker of the touch pen.
When an inquiry command of an article is received, if the pressure value received by the "+" key is detected to be larger than a set value, the "+" key is indicated to be pressed by a user, at the moment, the article type labels stuck on the article are scanned through an optical lens on an optical sensor of the touch-and-talk pen, and the scanned article type labels are identified to obtain a first code value, wherein in order to save the number of the labels and reduce the cost, the article type labels are not required to be stuck on each article, and only the article type labels such as a locker, a wardrobe, a shoe cabinet, a storage box and the like are required to be stuck on specific articles. Then, when the record key is detected to be pressed by a user, voice information of the user is input through a microphone in the touch-and-talk pen, the voice information is item type information corresponding to the item type label, and the voice information is converted into characters, wherein the item type information comprises item names, quantity, size, color, storage positions and the like, for example, the item names are clothes, the item data amount is 20, and the storage positions are clothes boxes. After the article type information input by the user is input, the scanned article type label is associated with the article type information to obtain first associated information, and therefore, when the article type label is scanned, the touch pen automatically plays the article type information associated with the article type label. Meanwhile, after the article category label is scanned, the intelligent hardware can be automatically bound with the article category label, for example, the intelligent hardware device currently used is Hi, the scanned article category label is Cx, and after the scanning operation is completed, the intelligent hardware device Hi is bound with the article category label Cx, for example HiCx.
Step S20, obtaining a second code value obtained by scanning an article tag, obtaining article characteristic information of the article tag, and associating the second code value with the article characteristic information to obtain second association information;
after determining the category information of the article, further determining the detailed information of the article under the category is needed, at this time, the optical lens on the optical sensor of the touch-and-talk pen is needed to scan the article label stuck on the article, and the scanned article label is identified to obtain the second code value. Then, when the record key is detected to be pressed by a user, voice information of the user is input through a microphone in the touch-and-talk pen, the voice information is article characteristic information corresponding to the article label, and the voice information is converted into characters, wherein the article characteristic information comprises an article name, a size, a shape, a material, a color, a storage position and the like, and the article name is shirt, the material is cotton, the color is white, and the storage position is a third layer in a wardrobe. After the item characteristic information input by the user is input, the scanned item label is associated with the item characteristic information to obtain first associated information, and therefore, when the item label is scanned, the touch pen automatically plays the item characteristic information associated with the item label. Meanwhile, after the article type tag and the article tag are scanned, the intelligent hardware can be automatically bound with the scanned tag, for example, the intelligent hardware device currently used is Hi, the scanned article type tag is Cx, the article tag is Gj, and after the scanning operation is completed, the intelligent hardware device Hi is bound with the article type tag Cx and the article tag is Gj, for example HiCxGj.
And step S30, storing the first association information and the second association information in an association way, wherein the article category label and the article label are generated according to optical identification codes, and the first code value is associated with at least one second code value.
After the article category label and the article label are scanned, the first association information and the second association information need to be associated and stored in order to facilitate the operations of inquiring, changing, deleting and the like of the article, for example, the first association information and the second association information can be associated and stored in a memory card of the stylus.
In an embodiment, a plurality of intelligent hardware and a terminal application may be bound, for example, identification information (such as account information) of an article scanning device is obtained, and the identification information, the first association information and the second association information of the intelligent hardware are bound to an account of the terminal application, so that article information associated with each intelligent hardware may be checked in real time through the terminal application.
In the existing article classification and management process, the method mainly adopts a mobile phone APP camera and a word description mode to finish article classification and management, so that the article management process is difficult under the conditions of more articles and shorter arrangement time, and meanwhile, the processing flow is very complicated under the condition of changing the state of the articles. The application combines the OID coding and the optical probe of intelligent hardware, and can accelerate the processes of sorting, managing and describing the characteristics of the articles. Even under the condition of presetting labels, the preliminary article classification can be finished without software, and the article management efficiency is improved.
Further, referring to fig. 3, a second embodiment of the article management method of the present application is presented.
The second embodiment of the article management method is different from the first embodiment in that, after the step of storing the first association information and the second association information in association, the method includes:
Step S31, when an inquiry instruction of an article is received, acquiring article information of the article to be inquired according to the inquiry instruction;
step S32, matching the article information of the article to be queried with pre-stored article category information and/or article characteristic information to obtain matched article category information and/or article characteristic information, and playing matched article category information and/or article characteristic information for matching;
Step S33, or obtain the first code value obtained by scanning the article type label of the article to be queried, and output the article type information associated with the first code value of the article to be queried.
It should be noted that, the user can query the article in two ways, one is to directly press the record key of the touch-and-talk pen, then the voice information related to the article to be queried is input by voice, the touch-and-talk pen queries the article based on the voice information, and the article information obtained by the query is played, so that the user can determine the position information stored in the article through the article information played by the touch-and-talk pen. The other is to directly scan the article category label by using a reading pen, and then play the article information associated with the article category label by using the reading pen, so that a user can determine whether the article category is the article category to be searched or not through the article category information played by the reading pen.
In one embodiment, when it is detected that the record key is pressed by the user, the microphone in the stylus receives voice information of the user, converts the voice information into text, identifies text content, determines whether the text content contains content matched with the item type information and/or the item feature information pre-stored in the stylus, and if the text content contains the matched content, plays the matched item type information and/or the item feature information through the microphone or the loudspeaker in the stylus.
In an embodiment, a first code value obtained by scanning an article type label of an article to be queried is obtained, article type information associated with the first code value is played, if a current article type is a type which a user wants to query, a second code value obtained by continuously scanning the article label under the type can be continuously scanned, and article characteristic information associated with the second code value is played.
According to the embodiment, the user can inquire the article by directly inputting the voice information of the user or can inquire the article by directly scanning the tag, so that the article inquiring efficiency is improved.
Further, referring to fig. 4, a third embodiment of the article management method of the present application is presented.
The third embodiment of the article management method is different from the second embodiment in that, after the step of storing the first association information and the second association information in association, the method further includes:
step S34, when a modification instruction of an article is received, acquiring modification content of the article to be modified according to the modification instruction;
Step S35, when the modification content is a modification label, modifying the article category label and/or the article label of the article to be modified according to a preset label;
step S36, when the modification content is modification article information, article category information and/or article characteristic information of the article to be modified are modified according to preset article information.
When the label attached to the article is detached, for example, the label attached to the article is detached due to insufficient tackiness, the label attached to the article needs to be updated. In addition, when the user inputs the article information of the touch and talk pen in error, the article information needs to be input again so as to improve the accuracy of article inquiry.
In an embodiment, when the touch-and-talk pen receives an article modification instruction, the touch-and-talk pen needs to acquire the modification content of the article to be modified according to the modification instruction, when the modification content is a modification label, the label to be modified needs to be further determined, if the label to be modified is an article type label, a preset article type label (i.e. a new article type label) prepared in advance by a user is scanned, a first code value obtained by scanning the preset article type label is acquired, then first association information of the article to be modified is updated according to the first code value of the preset article type label, and the first code value of the preset article type label is re-associated with the article type information of the article to be modified. If the label to be modified is an article label, scanning a preset article label (namely a new article label) prepared by a user in advance, acquiring a second code value obtained by scanning the preset article label, and updating second association information of the article to be modified according to the second code value of the preset article label, namely, re-associating the second code value of the preset article label with the article characteristic information of the article to be modified. If the article type label and the article label need to be modified, scanning a preset article type label prepared in advance by a user, acquiring a first code value obtained by scanning the preset article type label, and updating first association information of the article to be modified according to the first code value of the preset article type label. And simultaneously, scanning a preset article label prepared in advance by a user, acquiring a second code value obtained by scanning the preset article label, and updating second association information of the article to be modified according to the second code value of the preset article label.
When the modification content is the modification article information and the record key is detected to be pressed, voice information recorded by voice of a user is obtained, the voice information is converted into characters, preset article type information (namely new article type information) of the article to be modified is obtained based on the characters, first association information of the article to be modified is updated according to the preset article type information, and the preset article type information is rebinding with a first code value of the article to be modified. If the modification content is the feature information of the modified article, acquiring the feature information (namely new article feature information) of the preset article to be modified according to the characters obtained through conversion of the voice information, and updating the second association information of the article to be modified according to the feature information of the preset article, namely, rebinding the feature information of the preset article and the second code value of the article to be modified. If the article type information and the article characteristic information need to be modified, acquiring preset article type information and preset article characteristic information of the article to be modified according to the characters obtained through conversion of the voice information, updating first association information of the article to be modified according to the preset article type information, updating second association information of the article to be modified according to the preset article characteristic information, namely rebinding the preset article type information and the first code value of the article to be modified, and rebinding the preset article characteristic information and the second code value of the article to be modified.
The embodiment realizes the modification of the original label by scanning the new label stuck on the article, acquires the new article information according to the characters obtained by converting the voice information by inputting the voice information of the user, and then updates the associated information of the article to be modified according to the new article information. Therefore, the operation of changing the article information is simplified, and the efficiency of changing the article information is improved.
Further, referring to fig. 5, a fourth embodiment of the article management method of the present application is presented.
The fourth embodiment of the article management method is different from the third embodiment in that, after the step of storing the first association information and the second association information in association, the method further includes:
step S37, when a deleting instruction of an article is received, acquiring the article to be deleted according to the deleting instruction;
Step S38, obtaining a first code value obtained by scanning the article type label of the article to be deleted, and deleting first association information corresponding to the first code value of the article to be deleted;
step S39, or obtain the second code value obtained by scanning the article label of the article to be deleted, delete the second association information corresponding to the second code value of the article to be deleted.
It should be noted that, for the seasoning in the kitchen or the skin care product in the dressing table, when the user runs out, the product does not need to be stored again, and the product needs to be deleted at the moment; or when a user attaches an article label, the user may erroneously attach the label, and the article may need to be deleted.
In an embodiment, when a deletion instruction of an article is received and a "-" key is detected to be pressed, a first code value obtained by scanning an article type label of the article to be deleted is obtained, first association information corresponding to the first code value of the article to be deleted is deleted, and meanwhile, binding between the article type label of the article to be deleted and intelligent hardware is released, namely, an article type label Cx of the article to be deleted is cancelled from the intelligent hardware Hi. Or acquiring a second code value obtained by scanning the article label of the article to be deleted, deleting second associated information corresponding to the second code value of the article to be deleted, and deleting the binding before the first code value and the second code value of the article to be deleted, namely removing the article label Gj from the article category label Cx.
In this embodiment, when the "-" key is detected to be pressed, the article category label/article label of the article to be deleted is scanned, and the article is deleted, so that the processing procedure of deleting the article is simplified, and the efficiency of deleting the article is improved.
In addition, the application also provides an article management device, which comprises a memory, a processor and an article management program stored on the memory and running on the processor, wherein the processor realizes the steps of the article management method when executing the article management program.
Referring to fig. 6, the article management device 100 includes a first acquisition module 10, a second acquisition module 20, and a storage module 30, wherein:
The first obtaining module 10 is configured to obtain a first code value obtained by scanning an article category label, obtain article category information of the article category label, and associate the first code value with the article category information to obtain first association information 20;
The second module is used for acquiring a second code value obtained by scanning the article tag, acquiring article characteristic information of the article tag, and associating the second code value with the article characteristic information to obtain second association information;
the storage module 30 is configured to store the first association information and the second association information in an associated manner, where the article category tag and the article tag are generated according to an optical identification code, and the first code value is associated with at least one of the second code values.
The present application also provides a computer-readable storage medium having stored thereon an article management method program which, when executed by a processor, implements the steps of the article management method described above.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
While alternative embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.