CN117216066A - Material code generation method, device, equipment and storage medium - Google Patents

Material code generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN117216066A
CN117216066A CN202311234959.7A CN202311234959A CN117216066A CN 117216066 A CN117216066 A CN 117216066A CN 202311234959 A CN202311234959 A CN 202311234959A CN 117216066 A CN117216066 A CN 117216066A
Authority
CN
China
Prior art keywords
code
target
description information
target material
feature
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
CN202311234959.7A
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.)
Shanghai Jiudao Information Technology Co ltd
Original Assignee
Shanghai Jiudao Information Technology 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 Shanghai Jiudao Information Technology Co ltd filed Critical Shanghai Jiudao Information Technology Co ltd
Priority to CN202311234959.7A priority Critical patent/CN117216066A/en
Publication of CN117216066A publication Critical patent/CN117216066A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

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

Abstract

The invention discloses a material code generation method, a device, equipment and a storage medium. The method comprises the following steps: acquiring a characteristic description information set of a target material; inquiring a feature code library according to the feature description information set of the target material to obtain a first code corresponding to the target material, wherein the feature code library comprises: the characteristic description information and the codes corresponding to the characteristic description information; acquiring a serial number corresponding to the target material; according to the serial number corresponding to the target material and the first code, the target code of the target material is generated, and through the technical scheme of the invention, the uniqueness of the material code can be ensured, so that the refined management of the material by taking the unique code as a tie is realized.

Description

Material code generation method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a method, a device, equipment and a storage medium for generating material codes.
Background
With the continuous improvement of the types and the quantity of the materials involved in daily production operation of domestic ports, the difficulty of the enterprises to manage the materials is necessarily increased.
Many enterprises currently have problems that the unique identification of the materials is not deeply managed, so that some commonalities appear, for example: a material corresponds to a plurality of codes, a material corresponds to a plurality of classifications, and some materials are not classified; the branding of the material codes is incomplete, and parameters describing the material are ambiguous, such as: the content such as the specification model and the purchase lot number is lacking.
If the material codes are not set reasonably, normally and normally, fine management of material business is difficult, and material management confusion is easily caused.
Disclosure of Invention
The embodiment of the invention provides a material code generation method, a device, equipment and a storage medium, which can ensure the uniqueness of material codes and further realize the fine management of materials by taking the unique codes as ties.
According to an aspect of the present invention, there is provided a material code generation method, including:
acquiring a characteristic description information set of a target material;
inquiring a feature code library according to the feature description information set of the target material to obtain a first code corresponding to the target material, wherein the feature code library comprises: the characteristic description information and the codes corresponding to the characteristic description information;
acquiring a serial number corresponding to the target material;
and generating a target code of the target material according to the serial number corresponding to the target material and the first code.
Further, obtaining a feature description information set of the target material includes:
acquiring a target image through target equipment, wherein the target image is an image containing the target materials;
and identifying the target image to obtain a characteristic description information set of the target material.
Further, the characteristic description information of the target material includes: at least one of basic information, business information and associated equipment information of the target materials.
Further, generating a target code of the target material according to the serial number corresponding to the target material and the first code, including:
acquiring position information of a serial number;
and splicing the serial number corresponding to the target material and the first code according to the position information of the serial number to obtain a target code of the target material.
Further, according to the feature description information set of the target material, the feature coding library is queried to obtain a first code corresponding to the target material, including:
inquiring a feature code library according to each feature description information in the feature description information set of the target material to obtain a code corresponding to each feature description information in the feature description information set of the target material;
and determining a first code according to the code corresponding to each piece of characteristic description information in the characteristic description information set of the target material.
Further, after generating the target code of the target material according to the serial number corresponding to the target material and the first code, the method further includes:
acquiring the display state of each piece of characteristic description information in the characteristic description information set of the target material;
determining feature description information to be displayed and the display type of the feature description information to be displayed according to the display state of each feature description information in the feature description information set of the target material;
and determining information to be displayed according to the display type of the characteristic description information to be displayed and the characteristic description information to be displayed, and displaying the information to be displayed and the target codes of the target materials.
Further, the method further comprises the following steps:
acquiring position information of a serial number;
determining a first code corresponding to the material to be queried according to the target code of the material to be queried and the position information of the serial number;
and inquiring a feature code library according to the first code corresponding to the material to be inquired, and obtaining a feature description information set corresponding to the material to be inquired.
According to another aspect of the present invention, there is provided a material code generation apparatus including:
the characteristic description information set acquisition module is used for acquiring a characteristic description information set of the target material;
the first code determining module is used for inquiring a characteristic code library according to the characteristic description information set of the target material to obtain a first code corresponding to the target material, wherein the characteristic code library comprises: the characteristic description information and the codes corresponding to the characteristic description information;
the serial number acquisition module is used for acquiring serial numbers corresponding to the target materials;
and the target code generation module is used for generating a target code of the target material according to the serial number corresponding to the target material and the first code.
Further, the feature description information set acquisition module is specifically configured to:
acquiring a target image through target equipment, wherein the target image is an image containing the target materials;
and identifying the target image to obtain a characteristic description information set of the target material.
Further, the characteristic description information of the target material includes: at least one of basic information, business information and associated equipment information of the target materials.
Further, the target code generating module of the target material is specifically configured to:
acquiring position information of a serial number;
and splicing the serial number corresponding to the target material and the first code according to the position information of the serial number to obtain a target code of the target material.
Further, the first code determining module corresponding to the target material is specifically configured to:
inquiring a feature code library according to each feature description information in the feature description information set of the target material to obtain a code corresponding to each feature description information in the feature description information set of the target material;
and determining a first code according to the code corresponding to each piece of characteristic description information in the characteristic description information set of the target material.
Further, the method further comprises the following steps:
the display state acquisition module is used for acquiring the display state of each feature description information in the feature description information set of the target material after generating a target code of the target material according to the serial number corresponding to the target material and the first code;
the display type determining module is used for determining the feature description information to be displayed and the display type of the feature description information to be displayed according to the display state of each feature description information in the feature description information set of the target material;
the target coding display module is used for determining the information to be displayed according to the display type of the characteristic description information to be displayed and displaying the information to be displayed and the target coding of the target material.
Further, the method further comprises the following steps:
the serial number position information acquisition module is used for acquiring the serial number position information;
the first code determining module is used for determining a first code corresponding to the material to be queried according to the target code of the material to be queried and the position information of the serial number;
and the characteristic description information set determining module is used for inquiring the characteristic coding library according to the first code corresponding to the material to be inquired to obtain the characteristic description information set corresponding to the material to be inquired.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the asset code generation method of any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement a material code generation method according to any one of the embodiments of the present invention when executed.
According to the embodiment of the invention, the characteristic description information set of the target material is obtained; inquiring a feature code library according to the feature description information set of the target material to obtain a first code corresponding to the target material, wherein the feature code library comprises: the characteristic description information and the codes corresponding to the characteristic description information; acquiring a serial number corresponding to the target material; and generating a target code of the target material according to the serial number corresponding to the target material and the first code, so that the uniqueness of the material code can be ensured, and further, the refined management of the material by taking the unique code as a tie is realized.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a material code generation method in an embodiment of the invention;
FIG. 2 is a schematic diagram of a material code generating device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device in an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It will be appreciated that prior to using the technical solutions disclosed in the embodiments of the present disclosure, the user should be informed and authorized of the type, usage range, usage scenario, etc. of the personal information related to the present disclosure in an appropriate manner according to the relevant legal regulations.
Example 1
Fig. 1 is a flowchart of a material code generation method provided by an embodiment of the present invention, where the embodiment is applicable to a situation of material code generation, the method may be performed by a material code generation apparatus in the embodiment of the present invention, and the apparatus may be implemented in a software and/or hardware manner, as shown in fig. 1, and the method specifically includes the following steps:
s110, acquiring a characteristic description information set of the target material.
The characteristic description information set of the target material comprises at least one characteristic description information, and the characteristic description information of the target material comprises: at least one of basic information, business information and associated equipment information of the target materials.
Specifically, the method for obtaining the feature description information set of the target material may be: and acquiring a characteristic description information set of the target material input by the user. The method for acquiring the characteristic description information set of the target material can be as follows: and acquiring a target image input by a user, wherein the target image is an image corresponding to the target material, and identifying the target image to obtain a characteristic description information set of the target material. The method for acquiring the characteristic description information set of the target material can be as follows: acquiring a target image through target equipment, wherein the target image is an image containing the target materials; and identifying the target image to obtain a characteristic description information set of the target material.
S120, inquiring a feature code library according to the feature description information set of the target material to obtain a first code corresponding to the target material.
Wherein the feature code library comprises: the characteristic description information and the codes corresponding to the characteristic description information.
Specifically, the method for obtaining the first code corresponding to the target material by querying the feature code library according to the feature description information set of the target material may be: a feature code library is established in advance, the feature code library is queried according to the feature description information set of the target material, the code corresponding to each feature description information in the feature description information set of the target material is obtained, and the first code corresponding to the target material is determined according to the code corresponding to each feature description information in the feature description information set of the target material.
S130, acquiring a serial number corresponding to the target material.
The serial number corresponding to the target material is a serial number allocated to the target material by the system, and a generation rule of the serial number may be preset by the system, which is not limited in the embodiment of the present invention.
Specifically, the method for obtaining the serial number corresponding to the target material may be: after the feature code library is queried to obtain a first code corresponding to the target material, the system allocates a serial number for the target material.
It should be noted that, if no code corresponding to the feature description information in the feature description information set of the target material exists in the feature code library, a failure of matching is prompted.
S140, generating a target code of the target material according to the serial number corresponding to the target material and the first code.
Wherein the target code of the target material is a unique identification of the target material, that is, the target codes of different materials are different. Therefore, the target code of the material can be used as a tie to carry out the business fine management of purchasing, checking and accepting, warehousing, ex-warehouse and the like of the material.
Specifically, the method for generating the target code of the target material according to the serial number corresponding to the target material and the first code may be: and acquiring a splicing rule of the serial number and the first code, and splicing the serial number corresponding to the target material and the first code according to the position information of the serial number to obtain the target code of the target material. For example, if the splicing rule of the serial number and the first code is that the serial number is spliced after the first code, the serial number corresponding to the target material is spliced after the first code, so as to obtain the target code of the target material. If the splicing rule of the serial number and the first code is that the serial number is spliced before the first code, splicing the serial number corresponding to the target material before the first code, and obtaining the target code of the target material.
Optionally, acquiring the feature description information set of the target material includes:
acquiring a target image through target equipment, wherein the target image is an image containing the target materials;
and identifying the target image to obtain a characteristic description information set of the target material.
Wherein the target device may be a camera or other device for capturing images, which is not limited in this embodiment of the present invention.
Specifically, the method for identifying the target image and obtaining the feature description information set of the target material may be: and identifying the target image to obtain basic information of the target material, acquiring business information of the target material and associated equipment information of the target material input by a user, and generating a characteristic description information set of the target material according to the basic information of the target material, the business information of the target material and the associated equipment information of the target material.
If the target image is recognized, a recognition failure is presented.
Optionally, the characteristic description information of the target material includes: at least one of basic information, business information and associated equipment information of the target materials.
Wherein, the basic information of the target material comprises: at least one of type, class, shape, size, weight, and unit of measure. The service information includes: at least one of business type, inventory, and unit price. The associated device information includes: information of the device, the component, etc.
Optionally, generating the target code of the target material according to the serial number corresponding to the target material and the first code includes:
acquiring position information of a serial number;
and splicing the serial number corresponding to the target material and the first code according to the position information of the serial number to obtain a target code of the target material.
The position information of the serial number is position information of the serial number relative to the first code.
Specifically, the manner of acquiring the position information of the serial number may be: and acquiring a splicing rule of the serial number and the first code, and determining the position information of the serial number according to the splicing rule of the serial number and the first code and the position information of the first code.
Optionally, querying a feature code library according to the feature description information set of the target material to obtain a first code corresponding to the target material, including:
inquiring a feature code library according to each feature description information in the feature description information set of the target material to obtain a code corresponding to each feature description information in the feature description information set of the target material;
and determining a first code according to the code corresponding to each piece of characteristic description information in the characteristic description information set of the target material.
Specifically, the method for obtaining the code corresponding to each feature description information in the feature description information set of the target material by querying the feature code library according to each feature description information in the feature description information set of the target material may be: and according to the arrangement sequence of the feature description information in the feature description information set of the target material, sequentially inquiring a feature coding library according to the feature description information in the feature description information set of the target material to obtain codes corresponding to each feature description information.
Specifically, the method for determining the first code according to the code corresponding to each feature description information in the feature description information set of the target material may be: and acquiring a preset sequence, and splicing each piece of characteristic description information in the characteristic description information set of the target material according to the preset sequence to obtain a first code, wherein the preset sequence is the arrangement sequence of the codes corresponding to the characteristic description information.
Optionally, after generating the target code of the target material according to the serial number corresponding to the target material and the first code, the method further includes:
acquiring the display state of each piece of characteristic description information in the characteristic description information set of the target material;
determining feature description information to be displayed and the display type of the feature description information to be displayed according to the display state of each feature description information in the feature description information set of the target material;
and determining information to be displayed according to the display type of the characteristic description information to be displayed and the characteristic description information to be displayed, and displaying the information to be displayed and the target codes of the target materials.
Wherein the display state includes: at least one of a hidden state, a non-hidden state, a material master name state, and a non-material master name state.
Specifically, the method for determining the feature description information to be displayed and the display type of the feature description information to be displayed according to the display state of each feature description information in the feature description information set of the target material may be: and determining the feature description information with the display state including the non-hidden state in the feature description information set of the target material as the feature description information to be displayed. If the display state of the feature description information to be displayed comprises a material main name state, determining the display type of the feature description information to be displayed as a first type; and if the display state of the feature description information to be displayed comprises a non-material main name state, determining the display type of the feature description information to be displayed as a second type.
It should be noted that, if the display type is the first type, the feature description information to be displayed is displayed after adding a special effect; the special effects may be to add "brackets" to the feature description information to be displayed so that the feature description information to be displayed can be highlighted. And if the display type is the second type, directly displaying the feature description information to be displayed.
Specifically, the method for determining the information to be displayed according to the display type of the feature description information to be displayed and displaying the information to be displayed and the target coding of the target material may be as follows: and adding special effects to the to-be-displayed characteristic description information with the display type of the to-be-displayed characteristic description information being the first type in the to-be-displayed characteristic description information to obtain to-be-displayed information, and displaying the to-be-displayed information and the target codes of the target materials.
Optionally, the method further comprises:
responding to the detection of triggering operation of an editing control for target feature description information, and acquiring an editing type corresponding to the target feature description information;
if the editing type corresponding to the feature description information to be displayed is editable, editing the target feature description information;
and if the editing type corresponding to the feature description information to be displayed is non-editable, keeping the target feature description information unchanged.
It should be noted that whether the feature description information can be edited or not may be configured in advance, if the feature description information can be edited, the feature description information may be modified, and if the feature description information cannot be edited, the feature description information cannot be modified.
Optionally, the method further comprises:
acquiring position information of a serial number;
determining a first code corresponding to the material to be queried according to the target code of the material to be queried and the position information of the serial number;
and inquiring a feature code library according to the first code corresponding to the material to be inquired, and obtaining a feature description information set corresponding to the material to be inquired.
It should be noted that, after the target code of each material is generated, the feature description information set corresponding to the material may be queried according to the target code.
The position information of the serial number may be the first N bits of the target code, or may be the last N bits of the target code, which is not limited in the embodiment of the present invention.
Specifically, the determining, according to the target code of the material to be queried and the position information of the serial number, the first code corresponding to the material to be queried may be: and deleting the serial number in the target code according to the position information of the serial number to obtain a first code corresponding to the material to be queried.
Specifically, according to the first code query feature code library corresponding to the material to be queried, the manner of obtaining the feature description information set corresponding to the material to be queried may be: splitting the first codes corresponding to the materials to be queried to obtain at least two codes, querying a feature code library according to each code to obtain feature description information corresponding to each code, and further obtaining a feature description information set.
Optionally, the method further comprises:
acquiring a serial number and a splicing rule of the first code, and acquiring length information of the serial number;
determining a first code corresponding to the material to be queried according to the target code of the material to be queried, the serial number, the splicing rule of the first code and the length information of the serial number;
and inquiring a feature code library according to the first code corresponding to the material to be inquired, and obtaining a feature description information set corresponding to the material to be inquired.
Specifically, the determining, according to the target code, the serial number, the splicing rule of the first code, and the length information of the serial number, the first code corresponding to the material to be queried may be: and determining the position information of the serial number according to the serial number, the splicing rule of the first code and the length information of the serial number, and deleting the serial number in the target code according to the position information of the serial number to obtain the first code corresponding to the material to be inquired.
According to the technical scheme, the characteristic description information set of the target material is obtained; inquiring a feature code library according to the feature description information set of the target material to obtain a first code corresponding to the target material, wherein the feature code library comprises: the characteristic description information and the codes corresponding to the characteristic description information; acquiring a serial number corresponding to the target material; and generating a target code of the target material according to the serial number corresponding to the target material and the first code, so that the uniqueness of the material code can be ensured, and further, the refined management of the material by taking the unique code as a tie is realized.
Example two
Fig. 2 is a schematic structural diagram of a material code generating device according to an embodiment of the present invention. The embodiment may be applicable to the situation of generating the material code, and the device may be implemented in a software and/or hardware manner, and may be integrated in any device that provides a function of generating the material code, as shown in fig. 2, where the device specifically includes: the system comprises a characteristic description information set acquisition module 210, a first code determination module 220 corresponding to the target material, a serial number acquisition module 230 and a target code generation module 240 of the target material.
The characteristic description information collection acquisition module is used for acquiring a characteristic description information collection of the target material;
the first code determining module is used for inquiring a characteristic code library according to the characteristic description information set of the target material to obtain a first code corresponding to the target material, wherein the characteristic code library comprises: the characteristic description information and the codes corresponding to the characteristic description information;
the serial number acquisition module is used for acquiring serial numbers corresponding to the target materials;
and the target code generation module is used for generating a target code of the target material according to the serial number corresponding to the target material and the first code.
The product can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example III
Fig. 3 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 3, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the asset code generation method.
In some embodiments, the asset code generation method may be implemented as a computer program tangibly embodied on a computer readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the asset code generation method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the asset code generation method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A material code generation method, comprising:
acquiring a characteristic description information set of a target material;
inquiring a feature code library according to the feature description information set of the target material to obtain a first code corresponding to the target material, wherein the feature code library comprises: the characteristic description information and the codes corresponding to the characteristic description information;
acquiring a serial number corresponding to the target material;
and generating a target code of the target material according to the serial number corresponding to the target material and the first code.
2. The method of claim 1, wherein obtaining a set of characterization information for the target asset comprises:
acquiring a target image through target equipment, wherein the target image is an image containing the target materials;
and identifying the target image to obtain a characteristic description information set of the target material.
3. The method of claim 2, wherein the characterization information of the target asset comprises: at least one of basic information, business information and associated equipment information of the target materials.
4. The method of claim 1, wherein generating a target code for the target asset based on the serial number corresponding to the target asset and the first code comprises:
acquiring position information of a serial number;
and splicing the serial number corresponding to the target material and the first code according to the position information of the serial number to obtain a target code of the target material.
5. The method of claim 1, wherein querying a feature code library according to the feature description information set of the target material to obtain a first code corresponding to the target material comprises:
inquiring a feature code library according to each feature description information in the feature description information set of the target material to obtain a code corresponding to each feature description information in the feature description information set of the target material;
and determining a first code according to the code corresponding to each piece of characteristic description information in the characteristic description information set of the target material.
6. The method of claim 1, further comprising, after generating a target code for the target asset based on the serial number corresponding to the target asset and the first code:
acquiring the display state of each piece of characteristic description information in the characteristic description information set of the target material;
determining feature description information to be displayed and the display type of the feature description information to be displayed according to the display state of each feature description information in the feature description information set of the target material;
and determining information to be displayed according to the display type of the characteristic description information to be displayed and the characteristic description information to be displayed, and displaying the information to be displayed and the target codes of the target materials.
7. The method as recited in claim 1, further comprising:
acquiring position information of a serial number;
determining a first code corresponding to the material to be queried according to the target code of the material to be queried and the position information of the serial number;
and inquiring a feature code library according to the first code corresponding to the material to be inquired, and obtaining a feature description information set corresponding to the material to be inquired.
8. A material code generation apparatus, comprising:
the characteristic description information set acquisition module is used for acquiring a characteristic description information set of the target material;
the first code determining module is used for inquiring a characteristic code library according to the characteristic description information set of the target material to obtain a first code corresponding to the target material, wherein the characteristic code library comprises: the characteristic description information and the codes corresponding to the characteristic description information;
the serial number acquisition module is used for acquiring serial numbers corresponding to the target materials;
and the target code generation module is used for generating a target code of the target material according to the serial number corresponding to the target material and the first code.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the asset code generation method of any of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to implement the asset code generation method of any one of claims 1-7 when executed.
CN202311234959.7A 2023-09-22 2023-09-22 Material code generation method, device, equipment and storage medium Pending CN117216066A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311234959.7A CN117216066A (en) 2023-09-22 2023-09-22 Material code generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311234959.7A CN117216066A (en) 2023-09-22 2023-09-22 Material code generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117216066A true CN117216066A (en) 2023-12-12

Family

ID=89042207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311234959.7A Pending CN117216066A (en) 2023-09-22 2023-09-22 Material code generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117216066A (en)

Similar Documents

Publication Publication Date Title
CN115048352B (en) Log field extraction method, device, equipment and storage medium
CN116303013A (en) Source code analysis method, device, electronic equipment and storage medium
CN114329164B (en) Method, apparatus, device, medium, and article for processing data
CN115456634A (en) Data processing method and device, electronic equipment and storage medium
CN117216066A (en) Material code generation method, device, equipment and storage medium
CN115454971A (en) Data migration method and device, electronic equipment and storage medium
CN115242731A (en) Message processing method, device, equipment and storage medium
CN112968876A (en) Content sharing method and device, electronic equipment and storage medium
CN115983222A (en) EasyExcel-based file data reading method, device, equipment and medium
CN116308713A (en) Multiplexing method and device for business transaction codes, electronic equipment and storage medium
CN117742686A (en) Program source code file generation method and device, electronic equipment and storage medium
CN114416040A (en) Page construction method, device, equipment and storage medium
CN116225568A (en) Management method, device and equipment of application system interface and storage medium
CN116225943A (en) Interactive interface testing method and device, electronic equipment and storage medium
CN116245982A (en) Animation file generation method and device, electronic equipment and storage medium
CN115481090A (en) File processing method and device, electronic equipment and storage medium
CN117670236A (en) Mobile-terminal-based to-be-handled flow approval method, device, equipment and medium
CN117806702A (en) Target software acquisition method and device, electronic equipment and storage medium
CN116188107A (en) Test order generation method, device, equipment and storage medium
CN116661902A (en) Node creation method, device, equipment and storage medium
CN117271289A (en) Webpage monitoring method, device, equipment and storage medium
CN117668833A (en) Abnormal operation identification method, device, electronic equipment and storage medium
CN117931155A (en) Code generation method, device, equipment and medium
CN116303369A (en) Automatic coding method and device based on database, electronic equipment and medium
CN117609625A (en) Data processing method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination