CN111382877A - Method and device for generating identification code, electronic equipment and storage medium - Google Patents

Method and device for generating identification code, electronic equipment and storage medium Download PDF

Info

Publication number
CN111382877A
CN111382877A CN202010129145.7A CN202010129145A CN111382877A CN 111382877 A CN111382877 A CN 111382877A CN 202010129145 A CN202010129145 A CN 202010129145A CN 111382877 A CN111382877 A CN 111382877A
Authority
CN
China
Prior art keywords
product
identification code
field
target product
information
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
CN202010129145.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 Gaussian Automation Technology Development Co Ltd
Original Assignee
Shanghai Gaussian Automation Technology Development 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 Gaussian Automation Technology Development Co Ltd filed Critical Shanghai Gaussian Automation Technology Development Co Ltd
Priority to CN202010129145.7A priority Critical patent/CN111382877A/en
Publication of CN111382877A publication Critical patent/CN111382877A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products

Abstract

The invention discloses a method, a device, electronic equipment and a storage medium for generating an identification code, wherein the method comprises the following steps: receiving an identification code generation request, wherein the identification code generation request comprises a product name and a product type of a target product; generating a product identification code corresponding to the target product according to the identification code generation request, wherein the product identification code comprises a first field, a second field, a third field, a fourth field and a fifth field, the first field is used for indicating a manufacturer of the target product, the second field is used for indicating a product type of the target product, the third field is used for indicating a production date of the target product, the fourth field is used for indicating a production place of the target product, and the fifth field is used for indicating a production sequence of the target product in the same type of products within the production date; and storing the association relationship between the product name and the product identification code in a product information table.

Description

Method and device for generating identification code, electronic equipment and storage medium
Technical Field
The present invention relates to the field of intelligent robots, and in particular, to a method and an apparatus for generating an identification code, an electronic device, and a storage medium.
Background
In recent years, with the continuous development of the artificial intelligence industry and the continuous improvement of the overall level of science and technology in China, the artificial intelligence algorithm makes great progress. With the benefit of this, the horizontal level and practical application of artificial intelligence technologies such as speech recognition, speech synthesis, face recognition, semantic understanding, etc. have substantially advanced, and in many application directions, an intelligent robot is undoubtedly an integrated entity of these technologies.
At present, the application field of the intelligent robot is very wide, and the intelligent robot is applied to industries including catering, finance, government affairs, industry and the like. Under such a large background, how to efficiently manage and control such a large batch of intelligent robots becomes a problem to be solved and optimized in the industry.
In the prior art, management for a large amount of intelligent robots is disordered, and the intelligent robots are generally identified and monitored through product serial numbers. The method for generating the serial number of the product comprises a self-increment serial number generated based on a database and a serial number generated based on a global unique identifier; however, the concurrency degree of the self-increment serial numbers generated based on the database is low, the serial numbers generated based on the global unique identifier are unordered, the indexing efficiency based on the serial numbers is low, and the monitoring and management efficiency of the intelligent robot is low.
Disclosure of Invention
In view of the foregoing problems in the prior art, an object of the present invention is to provide a method, an apparatus, an electronic device and a storage medium for generating an identification code.
The present invention is directed to solve at least one of the above technical problems in the related art to a certain extent, and the product represented by the identification code can be quickly identified by using the identification code, so as to improve the management efficiency of the intelligent robot, and the present invention provides a method for generating the identification code, including:
receiving an identification code generation request, wherein the identification code generation request comprises a product name and a product type of a target product;
generating a product identification code corresponding to the target product according to the identification code generation request, the product identification code including a first field, a second field, a third field, a fourth field, and a fifth field,
the first field is used to indicate the manufacturer of the target product,
the second field is for indicating a product type of the target product,
the third field is used for indicating the production date of the target product,
the fourth field is used to indicate the origin of the target product,
the fifth field is used for indicating the production sequence of the target product in the same type of product in the production date;
and storing the association relationship between the product name and the product identification code in a product information table.
Further, the method further comprises:
acquiring target address information of the target product;
determining the area information of the target product according to the target address information;
generating an area identification code corresponding to the target product according to the area information of the target product;
and storing the association relation between the area identification code and the product identification code in a product information table.
Specifically, the acquiring the target address information of the target product includes:
acquiring the transportation destination information of the target product, wherein the transportation destination information is set when the target product is transported;
taking the transportation destination information as target address information of the target product;
alternatively, the first and second electrodes may be,
when the target product is activated, acquiring current position information of the target product;
and taking the current position information as target address information of the target product.
Further, the method further comprises:
acquiring target address information of the target product every preset time interval;
determining the area information of the target product according to the target address information;
and updating the area identification code corresponding to the target product according to the area information of the target product.
Further, the method further comprises:
acquiring customer information corresponding to the target product, wherein the customer information is set when the target product is sold;
generating a use identification code corresponding to the target product according to the customer information, wherein the use identification code comprises a sixth field and a seventh field,
the sixth field is used for indicating the customer information corresponding to the target product,
the seventh field is used for indicating the number of the target product in the same type of product corresponding to the customer information;
and storing the association relation between the use identification code and the product identification code in a product information table.
Further, the sixth field includes a plurality of subfields for indicating rating information of the customer information.
Preferably, the product identification code further comprises at least one spare field.
Another aspect of the present invention provides an apparatus for generating an identification code, including:
the system comprises a generation request receiving module, a generation request receiving module and a processing module, wherein the generation request receiving module is used for receiving an identification code generation request which comprises a product name and a product type of a target product;
a product identification code generating module for generating a product identification code corresponding to the target product according to the identification code generation request, wherein the product identification code comprises a first field, a second field, a third field, a fourth field and a fifth field,
the first field is used to indicate the manufacturer of the target product,
the second field is for indicating a product type of the target product,
the third field is used for indicating the production date of the target product,
the fourth field is used to indicate the origin of the target product,
the fifth field is used for indicating the production sequence of the target product in the same type of product in the production date;
the first storage module is used for storing the association relationship between the product name and the product identification code in a product information table.
Further, the apparatus further comprises:
the target address acquisition module is used for acquiring target address information of the target product;
the area information determining module is used for determining the area information of the target product according to the target address information;
the area identification code generating module is used for generating an area identification code corresponding to the target product according to the area information of the target product;
and the second storage module is used for storing the association relationship between the area identification code and the product identification code in a product information table.
Further, the target address obtaining module includes:
a first obtaining unit, configured to obtain transportation destination information of the target product, where the transportation destination information is set when the target product is transported; taking the transportation destination information as target address information of the target product;
alternatively, the first and second electrodes may be,
the second acquisition unit is used for acquiring the current position information of the target product after the target product is activated; and taking the current position information as target address information of the target product.
Further, the target address obtaining module is further configured to obtain target address information of the target product every time a preset time interval elapses;
the area information determining module is further used for determining the area information of the target product according to the target address information;
the device also comprises an area identification code updating module which is used for updating the area identification code corresponding to the target product according to the area information of the target product.
Further, the apparatus further comprises:
the client information acquisition module is used for acquiring client information corresponding to the target product, and the client information is set when the target product is sold;
a use identification code generating module for generating a use identification code corresponding to the target product according to the customer information, wherein the use identification code comprises a sixth field and a seventh field,
the sixth field is used for indicating the customer information corresponding to the target product,
the seventh field is used for indicating the number of the target product in the same type of product corresponding to the customer information;
and the third storage module is used for storing the association relationship between the use identification code and the product identification code in a product information table.
Another aspect of the present invention protects an electronic device, which includes a processor and a memory, where at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded by the processor and executed to implement the method for generating an identification code as described above.
Another aspect of the present invention protects a computer storage medium having at least one instruction or at least one program stored therein, which is loaded and executed by a processor to implement the method of generating an identification code as described above.
Due to the technical scheme, the invention has the following beneficial effects:
according to the method, the device, the electronic equipment and the storage medium for generating the identification code, new information is added in the identification code of the product by generating the product identification code and the area identification code of the product and using the identification code, so that the identity information and the working state of the product can be quickly determined, the efficiency of remote identification and monitoring of the product is improved, different task requirements under various scenes are met, and the management cost of the product is reduced.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings used in the description of the embodiment or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 is a flow chart of a method of generating an identification code provided by one embodiment of the present invention;
FIG. 2 is a flow chart of a method of generating an identification code according to another embodiment of the present invention;
FIG. 3 is a schematic diagram of an immediate client provided by one embodiment of the present invention;
FIG. 4 is a schematic diagram of an agent customer provided by one embodiment of the present invention;
FIG. 5 is a schematic diagram of an operator customer provided by one embodiment of the present invention;
FIG. 6 is a flow chart of a method of generating an identification code according to another embodiment of the present invention;
FIG. 7 is a schematic diagram of an apparatus for producing an identification code according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of an apparatus for producing an identification code according to another embodiment of the present invention;
FIG. 9 is a schematic diagram of an apparatus for producing an identification code according to another embodiment of the present invention;
FIG. 10 is a schematic diagram of an apparatus for producing an identification code according to another embodiment of the present invention;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 12 is a schematic diagram of a computer storage medium provided by an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or 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, apparatus, article, or device 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 device.
In order to solve the management problem of a large batch of intelligent robots, the embodiment of the invention firstly provides a method for generating identification codes. The method can be applied to the device for generating the identification code provided by the embodiment of the invention, and the device can be configured in electronic equipment. As shown in fig. 1, the method may include:
s110: receiving an identification code generation request, wherein the identification code generation request comprises a product name and a product type of a target product.
In the embodiment of the present invention, the target product may include products such as an intelligent robot (e.g., a floor washing machine, a floor sweeping machine, etc.), a charging pile, a workstation, and the like, and when the target product is produced, the identification code generation request may be generated by a client (e.g., a web page), and the identification code generation request may be sent to the device for generating the identification code. For example, a dedicated entry and a corresponding identification code generation request page may be provided in the client, and a manufacturer may fill required information in the identification code generation request page and then send the identification code generation request to the identification code generation apparatus.
S120: generating a product identification code corresponding to the target product according to the identification code generation request, the product identification code including a first field, a second field, a third field, a fourth field, and a fifth field,
the first field is used to indicate the manufacturer of the target product,
the second field is for indicating a product type of the target product,
the third field is used for indicating the production date of the target product,
the fourth field is used to indicate the origin of the target product,
the fifth field is used for indicating the production sequence of the target product in the same type of product within the production date.
In the embodiment of the invention, the product identification code can be used for quickly identifying the information such as the type, the origin and the like of the product.
In one example, taking the generated product identification code GS752019102501407 (407 th trolley produced by 2019, 10, 25 and 75 th month in zhang factory) as an example, the first field of the product identification code includes 2 bits for indicating that the producer of the product corresponding to the product identification code, such as GS, represents a high-speed company. The second field of the product identification code comprises 2 bits for indicating the product type of the product corresponding to the product identification code, for example 50 for a 50 th scrubber, 51 for a 50 th workstation, 52 for a 50 th charging post, and 75 for a 75 th scrubber. The third field of the product identification code comprises 8 bits for indicating the production date of the product corresponding to the product identification code, for example 20191025 indicates 2019, 10 months and 25 days. The fourth field of the product identification code includes 2 bits for indicating the origin of the product corresponding to the product identification code, for example, 01 indicates zhanggang of origin, and 02 indicates shanghai of origin. The fifth field of the product identification code comprises 3 bits for indicating the production sequence of the product corresponding to the product identification code in the same type of product within the production date, for example 407 indicates that the same type of product is finished and put in the 407 th station.
The field lengths of the fields of the generated product identification code may be set or adjusted as needed. For example, the length of the second field depends on the number of types of products, the length of the fourth field depends on the number of origins, and the length of the fifth field depends on the number of products of the same type produced on the same day. In a specific application process, the number of bits of each field can be expanded or reduced according to specific service requirements. For example, the fifth field may be set to 3 bits or 4 bits to meet the demand for daily production increase or decrease.
In one example, the second field of the product identification code may be set to 4 bits, which is used to indicate the product type of the product corresponding to the product identification code, where the product type is represented by product classification + model code, for example, 7501 may be used to represent a 75 Scrubber with a model of Ecobot Scrubber 75E-S (3D + LMS141+ TIM561) -C (D110+ V4.5) -CM (hair filter). Specifically, the product model code table may include product categories and models as shown in the following table:
Figure BDA0002395313540000071
Figure BDA0002395313540000081
in one possible embodiment, the product identification code may further include at least one spare field. The spare field has no practical meaning and can be used to indicate specific information of the target product when needed, for example, the spare field can be a check field used to check the correctness of the generated product identification code. In one example, take the generated product identification GS752019102501407X (407 th trolley produced by 75 zhang home factory 2019, 10 month 25) as an example, where X may be a spare field of the product identification.
It should be noted that the first field, the second field, the third field, the fourth field, and the fifth field are only names used for the above fields, and are not necessarily arranged in the order of the first, second, third, and fourth fields. And, the product identification code may also contain more fields, thereby having further functions.
In one possible embodiment, the first field may be used to indicate a manufacturer of the target product, the second field may be used to indicate a production location of the target product, the third field may be used to indicate a product type of the target product, the fourth field may be used to indicate a production date of the target product, and the fifth field may be used to indicate a production order of the target product in the same type of product within the production date.
In one example, taking the generated product identification code GS0010000AAK1000 (1 st 50 scrubber produced by zhang factory, 11 th month in 2019) as an example, the first field of the product identification code includes 2 bits for indicating that the producer of the product corresponding to the product identification code, such as GS, represents a high-speed company. The second field of the product identification code includes 1 bit for indicating the origin of the product corresponding to the product identification code, for example, 0 indicates hong Kong of origin, and 1 indicates Shanghai of origin. The third field of the product identification code includes 6 bits for indicating the product type of the product corresponding to the product identification code, where the first bit may be used to represent a product series (e.g., 0 for a scrubber, 1 for a sanitation vehicle, 2 for a crystal face machine, 3 for a sweeper, 4 for a cleaner, etc.), the second bit may be used to represent a product family (e.g., 50 for a 50 family, 75 for a 75 family, and 111 for a 111 family), the third to fifth bits may be used to represent a product model (e.g., the third bit may represent the 1 st bit of the product model, the fourth bit may represent the 2 nd bit of the product model, the fifth bit may represent the 3 rd bit of the product model, and specifically, the sixth bit may be a spare bit. The fourth field of the product identifier includes 3 bits, which is used to indicate a production date of a product corresponding to the product identifier, and may be represented in a day/month/year manner, for example, AAK represents 2019, 11 and 11 days (where, the production date may be calculated from 2000, 2001 is 1, 2010 is a, 2019 is K, and 2034 is a). The fifth field of the product identification code includes 4 bits for indicating the production sequence of the product corresponding to the product identification code in the same type of product within the production date, where the first to third bits may be serial numbers (for example, the first bit may represent a 3 rd serial number, the second bit may represent a 2 nd serial number, the third bit may represent a 1 st serial number, for example, 100 may represent that the same type of product is finished and put into the 1 st station on the same day), and the fourth bit may be an abnormal self-increment code (in case that the previous 16 bits are repeated, the self-increment code performs self-increment). Wherein a number or letter may represent 58 individuals, including 0123456789 (total 10), ab C D E F G H J K L M N P Q R S T U V W X Y Z (total 24), a B C D E F G H i J k m n p q r s t U V W X Z (total 24), I, O, l and o may be omitted to avoid confusion.
S130: and storing the association relationship between the product name and the product identification code in a product information table.
In the embodiment of the present invention, after the product identification code is generated, the product name of the target product and the identification code may be stored correspondingly, and the target product is identified by the product identification code. The information such as the manufacturer, the product type, the production date, the production place and the like of the product can be quickly determined through the product identification code of the target product, and the efficiency of identifying and managing the product can be improved.
In one possible embodiment, as shown in fig. 2, the method may further include:
s210: and acquiring the target address information of the target product.
In the embodiment of the present invention, the target address information may be used as an address of the target product to generate the area identification code.
In one possible embodiment, the obtaining the destination address information of the destination product may include:
acquiring the transportation destination information of the target product, wherein the transportation destination information is set when the target product is transported;
taking the transportation destination information as target address information of the target product;
alternatively, the first and second electrodes may be,
when the target product is activated, acquiring current position information of the target product;
and taking the current position information as target address information of the target product.
In practical application, the target address information can be acquired in different modes according to different client types. Referring to fig. 3-5 in conjunction with the description, the customers may mainly include direct customers (customers who directly purchase products, such as an airport, a mall, etc.), agents, including off-line agents (such as regional agents) and on-line agents (such as kyoto, suning, usa, etc.), and operators. For example, for a direct customer, transportation destination information can be preset according to the address of the customer when the product is delivered, the position information of the product (such as a robot) can be directly acquired when the product is activated for use, if the position information is inconsistent with the position information, the area identification code of the product can be updated, and an update log can be reserved for subsequent tracking; for the agent customer, the transportation destination information can be preset according to the agent address or the customer address fed back by the agent when the product is delivered, the position information of the product is directly acquired when the product (after being sold) is activated for use, if the product is inconsistent with the product, the area identification code of the product can be updated, and an update log can be reserved for subsequent tracking; for the operator customer, the location information of the product can be directly obtained when the product is activated for use, and generally, the operator and the following leasing user are in the same city.
S220: and determining the area information of the target product according to the target address information.
S230: and generating an area identification code corresponding to the target product according to the area information of the target product.
In the embodiment of the present invention, the area identification code may be used to indicate area information where the target product is located. For example, if the area where the target product is located is shanghai china, the area identifier may be CN-SH.
S240: and storing the association relation between the area identification code and the product identification code in a product information table.
In the embodiment of the invention, after the area identification code is generated, the area identification code of the target product and the product identification code can be correspondingly stored, the area information of the target product is identified by the area identification code, and the area of the target product can be easily known according to the area identification code, so that the product can be conveniently managed.
In one possible embodiment, the method may further include:
acquiring target address information of the target product every preset time interval;
determining the area information of the target product according to the target address information;
and updating the area identification code corresponding to the target product according to the area information of the target product.
In practical application, the location information of the target product may be obtained at irregular intervals, and if the area information of the target product changes, the area identification code of the target product may be updated, and an update log may be reserved for subsequent tracking. By updating the area identification code of the product irregularly, the area information of the product can be accurately and directly determined according to the area identification code, and the motion track of the product can be quickly determined according to the update log.
In one possible embodiment, as shown in fig. 6, the method may further include:
s610: and acquiring customer information corresponding to the target product, wherein the customer information is set when the target product is sold.
In the embodiment of the present invention, when the target product is shipped/sold, customer information corresponding to the target product may be set, and the usage identification code of the target product is generated according to the customer information.
In a possible embodiment, when the target product is activated, customer information set by a user is obtained, and the use identification code of the target product is generated according to the customer information.
S620: generating a use identification code corresponding to the target product according to the customer information, wherein the use identification code comprises a sixth field and a seventh field,
the sixth field is used for indicating the customer information corresponding to the target product,
the seventh field is used for indicating the number of the target product in the same type of product corresponding to the customer information.
In the embodiment of the invention, in order to quickly know the use condition of the product, the use identification code can be generated according to the customer information of the target product, and the generated use identification code can comprise a sixth field indicating the customer information corresponding to the target product and a seventh field indicating the number in the same type of product corresponding to the customer information.
In one possible embodiment, the sixth field may include a plurality of subfields for indicating rating information of the customer information. By setting a plurality of subfields, multi-level customer information corresponding to the product can be quickly determined, and the product and the customer can be conveniently managed.
The number of the sub-fields can be determined according to different client types, and the length of each field of the use identification code and the length of the sub-fields can be set or adjusted according to needs. For example, the length of the seventh field depends on the number of products of the same type of the customer. In a specific application process, the number of bits of each field can be expanded or reduced according to specific service requirements. For example, the seventh field may be set to 2 bits or 3 bits.
In one example, taking a product as a robot and a customer as a direct customer as an example, assuming that the customer is a large moist hair, the first-level customer information is the large moist hair 1001, the second-level customer may be a specific large moist hair store (including the large moist hair 1001, the large moist hair 1002, the large moist hair 1003, and the like), and may be further specifically divided into one layer 01, two layers 02, and three layers 03 for the large moist hair with the low degree of delight, and the like. The sixth field may include a first subfield, a second subfield, and a third subfield, and for example, the usage identification code 1001-01-04 may indicate that: and (4) hair moistening-confluent hair moistening by one layer, wherein the hair moistening by one layer is carried out by the fourth robot. In practical application, the user account number of the chief header can be associated with the first subfield 1001, and the log of the robot with the first subfield 1001 in the robot use identification code can be checked; the user account number of the person in charge of the xu Hui Dahui distribution headquarters can be associated with 1001 and 1001, and the log of the robot with the first subfield + the second subfield of 1001 and 1001 in the robot use identification code can be checked; the user account number of the principal of the one-layer grand damping head office can be associated with 1001-01, and the log of the robot with the first subfield + the second subfield + the third subfield of 1001-01 in the robot use identification code can be checked (the permission and the log check logic are consistent).
In another example, taking a product as a robot and a customer as an agent, the first level of customer information may be regional agents (e.g., continental regional agent 2001, hong kong tai regional agent 2002, U.S. regional agent 2003, etc.), the second level of customers may be local regional agents (e.g., east China regional agent 001, south China regional agent 002, middle regional agent 003, northeast regional agent 004, etc.), the third level of customers may be provincial agents (e.g., Shanghai agent 01, Jiangsu agent 02, Zhejiang agent 03, etc.), and the fourth level may be specific agents (e.g., Xunhui 001, Pudong 002, Changning 003, etc.). The sixth field may include a first subfield, a second subfield, a third subfield, and a fourth subfield, and for example, it may be represented using the identification codes 2001-001-01-001-040: agent-robot 040 among the xu-hui agent's robots.
In another example, taking a product as a robot and a customer as an operator as an example, the first level customer information may be a general operator (e.g., general operator a 3001, general operator B3002, general operator C3003, etc.), and the second level customer may be a specific operator (e.g., operator a001, operator B002, operator C003, etc.). The sixth field may include a first subfield and a second subfield, for example, using the identification codes 3001 and 001 may indicate that: robot number 001 under operator a under the general operator. In practical application, when Zhang III rents the robot of 001 number, the identification code 3001 and 001 can be associated with the user account of Zhang III, Zhang III can check the log of the robot, and when Zhang III is not rented, the association relationship with the user account of Zhang III can be canceled.
S630: and storing the association relation between the use identification code and the product identification code in a product information table.
In the embodiment of the invention, after the use identification code is generated, the use identification code of the target product and the product identification code can be correspondingly stored, and the use identification code is used for identifying the use information of the target product, so that the use condition of the target product can be easily determined, and the management efficiency of the identity information and the working state of the product is greatly improved.
According to the method for generating the identification code, the product identification code, the area identification code and the use identification code of the product are generated, new information is added in the identification code of the product, the identity information and the working state of the product can be rapidly determined, the efficiency of remote identification and monitoring of the product is improved, different task requirements under various scenes are met, and the management cost of the product is reduced.
Reference is made to the description of the drawings, fig. 7, which shows the structure of an apparatus for generating an identification code according to an embodiment of the present invention. As shown in fig. 7, the apparatus may include:
a generation request receiving module 710, configured to receive an identification code generation request, where the identification code generation request includes a product name and a product type of a target product;
a product identification code generating module 720, configured to generate a product identification code corresponding to the target product according to the identification code generation request, where the product identification code includes a first field, a second field, a third field, a fourth field, and a fifth field,
the first field is used to indicate the manufacturer of the target product,
the second field is for indicating a product type of the target product,
the third field is used for indicating the production date of the target product,
the fourth field is used to indicate the origin of the target product,
the fifth field is used for indicating the production sequence of the target product in the same type of product in the production date;
the first storage module 730 is configured to store the association relationship between the product name and the product identifier in a product information table.
In one possible embodiment, as shown in fig. 8, the apparatus may further include:
a destination address obtaining module 810, configured to obtain destination address information of the destination product;
the area information determining module 820 is configured to determine area information where the target product is located according to the target address information;
the area identification code generating module 830 is configured to generate an area identification code corresponding to the target product according to the area information where the target product is located;
the second storage module 840 is configured to store the association relationship between the area identification code and the product identification code in a product information table.
In one possible embodiment, as shown in fig. 8, the target address obtaining module 810 may include:
a first obtaining unit 811, configured to obtain transportation destination information of the target product, where the transportation destination information is set when the target product is transported; taking the transportation destination information as target address information of the target product;
alternatively, the first and second electrodes may be,
a second obtaining unit 812, configured to obtain current location information of the target product after the target product is activated; and taking the current position information as target address information of the target product.
In a possible embodiment, as shown in fig. 9, the destination address obtaining module 810 is further configured to obtain destination address information of the destination product every time a preset time interval elapses;
the area information determining module 820 is further configured to determine, according to the target address information, area information where the target product is located;
the apparatus may further include an area identifier updating module 850, configured to update the area identifier corresponding to the target product according to the area information where the target product is located.
In one possible embodiment, as shown in fig. 10, the apparatus may further include:
a customer information obtaining module 1010, configured to obtain customer information corresponding to the target product, where the customer information is set when the target product is sold;
a usage identification code generating module 1020, configured to generate a usage identification code corresponding to the target product according to the customer information, where the usage identification code includes a sixth field and a seventh field, where,
the sixth field is used for indicating the customer information corresponding to the target product,
the seventh field is used for indicating the number of the target product in the same type of product corresponding to the customer information;
a third storing module 1030, configured to store the association relationship between the usage identifier and the product identifier in a product information table.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
An embodiment of the present invention further provides an electronic device, where the electronic device includes a processor and a memory, where the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program may be loaded and executed by the processor to implement the method for generating an identification code according to the above method embodiment.
The memory may be used to store software programs and modules, and the processor may execute various functional applications and data processing by operating the software programs and modules stored in the memory. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs needed by functions and the like; the storage data area may store data created according to use of the apparatus, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory may also include a memory controller to provide the processor access to the memory.
The electronic device may be a terminal or a server. The terminal can be a hardware device with various operating systems, such as a smart phone, a desktop computer, a tablet computer, a notebook computer and the like. The server may comprise an independently operating server, or a server cluster consisting of a plurality of servers, or a cloud computing service center. In a specific embodiment, reference is made to fig. 11 of the specification, which illustrates the structure of an electronic device provided by an embodiment of the invention. The electronic device may be used to implement the method for generating an identification code provided in the above embodiments, and specifically, the electronic device structure may include the above apparatus for generating an identification code. The electronic device 1100 may vary greatly due to configuration or performance, and may include one or more Central Processing Units (CPUs) 1110 (e.g., one or more processors) and memory 1130, one or more storage media 1120 (e.g., one or more mass storage devices) storing applications 1123 or data 1122. The memory 1130 and the storage medium 1120 may be, among other things, transient storage or persistent storage. The program stored in the storage medium 1120 may include one or more modules, each of which may include a series of instructions operating on an electronic device. Still further, the central processor 1110 may be configured to communicate with the storage medium 1120, and execute a series of instruction operations in the storage medium 1120 on the electronic device 1100. The electronic apparatus 1100 may also include one or more power supplies 1160, one or more wired or wireless network interfaces 1150, one or more input-output interfaces 1140, and/or one or more operating systems 1121, such as windows server, Mac OS XTM, unix, linux, FreeBSDTM, and so forth.
An embodiment of the present invention further provides a computer storage medium, in which at least one instruction or at least one program is stored, where the at least one instruction or the at least one program may be loaded and executed by a processor to implement the steps of the method for generating an identification code in the above-mentioned method embodiment.
In a specific embodiment, reference is made to FIG. 12 in the description that illustrates the structure of a computer storage medium provided by an embodiment of the invention. The computer storage medium 1210 may include at least one piece of computer-executable instructions 1211, which may be loaded by the processor 1220 and perform the steps of the above-described method embodiments. Optionally, in an embodiment of the present invention, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
The foregoing description has disclosed fully preferred embodiments of the present invention. It should be noted that those skilled in the art can make modifications to the embodiments of the present invention without departing from the scope of the appended claims. Accordingly, the scope of the appended claims is not to be limited to the specific embodiments described above.

Claims (10)

1. A method of generating an identification code, comprising:
receiving an identification code generation request, wherein the identification code generation request comprises a product name and a product type of a target product;
generating a product identification code corresponding to the target product according to the identification code generation request, the product identification code including a first field, a second field, a third field, a fourth field, and a fifth field,
the first field is used to indicate the manufacturer of the target product,
the second field is for indicating a product type of the target product,
the third field is used for indicating the production date of the target product,
the fourth field is used to indicate the origin of the target product,
the fifth field is used for indicating the production sequence of the target product in the same type of product in the production date;
and storing the association relationship between the product name and the product identification code in a product information table.
2. The method of claim 1, further comprising:
acquiring target address information of the target product;
determining the area information of the target product according to the target address information;
generating an area identification code corresponding to the target product according to the area information of the target product;
and storing the association relation between the area identification code and the product identification code in a product information table.
3. The method of claim 2, wherein the obtaining destination address information of the destination product comprises:
acquiring the transportation destination information of the target product, wherein the transportation destination information is set when the target product is transported;
taking the transportation destination information as target address information of the target product;
alternatively, the first and second electrodes may be,
when the target product is activated, acquiring current position information of the target product;
and taking the current position information as target address information of the target product.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
acquiring target address information of the target product every preset time interval;
determining the area information of the target product according to the target address information;
and updating the area identification code corresponding to the target product according to the area information of the target product.
5. The method according to claim 1 or 2, characterized in that the method further comprises:
acquiring customer information corresponding to the target product, wherein the customer information is set when the target product is sold;
generating a use identification code corresponding to the target product according to the customer information, wherein the use identification code comprises a sixth field and a seventh field,
the sixth field is used for indicating the customer information corresponding to the target product,
the seventh field is used for indicating the number of the target product in the same type of product corresponding to the customer information;
and storing the association relation between the use identification code and the product identification code in a product information table.
6. The method of claim 5, wherein the sixth field comprises a plurality of subfields, and wherein the plurality of subfields are used for indicating rating information of the customer information.
7. The method of claim 1, wherein the product identification code further comprises at least one spare field.
8. An apparatus for generating an identification code, comprising:
the system comprises a generation request receiving module, a generation request receiving module and a processing module, wherein the generation request receiving module is used for receiving an identification code generation request which comprises a product name and a product type of a target product;
a product identification code generating module for generating a product identification code corresponding to the target product according to the identification code generation request, wherein the product identification code comprises a first field, a second field, a third field, a fourth field and a fifth field,
the first field is used to indicate the manufacturer of the target product,
the second field is for indicating a product type of the target product,
the third field is used for indicating the production date of the target product,
the fourth field is used to indicate the origin of the target product,
the fifth field is used for indicating the production sequence of the target product in the same type of product in the production date;
the first storage module is used for storing the association relationship between the product name and the product identification code in a product information table.
9. An electronic device, comprising a processor and a memory, wherein at least one instruction or at least one program is stored in the memory, and the at least one instruction or the at least one program is loaded by the processor and executed to implement the method for generating an identification code according to any one of claims 1 to 7.
10. A computer storage medium, having at least one instruction or at least one program stored therein, which is loaded and executed by a processor to implement the method of generating an identification code according to any one of claims 1 to 7.
CN202010129145.7A 2020-02-28 2020-02-28 Method and device for generating identification code, electronic equipment and storage medium Pending CN111382877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010129145.7A CN111382877A (en) 2020-02-28 2020-02-28 Method and device for generating identification code, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010129145.7A CN111382877A (en) 2020-02-28 2020-02-28 Method and device for generating identification code, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111382877A true CN111382877A (en) 2020-07-07

Family

ID=71217150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010129145.7A Pending CN111382877A (en) 2020-02-28 2020-02-28 Method and device for generating identification code, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111382877A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113033738A (en) * 2021-04-14 2021-06-25 深圳一道创新技术有限公司 Material error-proofing management method and system based on MES (manufacturing execution system), electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001029704A2 (en) * 1999-10-21 2001-04-26 Ipid.Com Limited Information access system
WO2004100098A1 (en) * 2003-05-01 2004-11-18 Meadwestvaco Corporation Apparatus for and method of writing an electronic product identification code (epic)
US20080082767A1 (en) * 2006-09-29 2008-04-03 Network Appliance, Inc. System for creating and tracking unique identifications of electronic components
CN104380321A (en) * 2012-03-23 2015-02-25 纽乐金集团 Method, system and apparatus for generation of lot codes and expiry dates
CN109492378A (en) * 2018-11-26 2019-03-19 平安科技(深圳)有限公司 A kind of auth method based on EIC equipment identification code, server and medium
CN110417863A (en) * 2019-06-27 2019-11-05 华为技术有限公司 Generate method and apparatus, identity authentication method and the device of identity code

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001029704A2 (en) * 1999-10-21 2001-04-26 Ipid.Com Limited Information access system
WO2004100098A1 (en) * 2003-05-01 2004-11-18 Meadwestvaco Corporation Apparatus for and method of writing an electronic product identification code (epic)
US20080082767A1 (en) * 2006-09-29 2008-04-03 Network Appliance, Inc. System for creating and tracking unique identifications of electronic components
CN104380321A (en) * 2012-03-23 2015-02-25 纽乐金集团 Method, system and apparatus for generation of lot codes and expiry dates
CN109492378A (en) * 2018-11-26 2019-03-19 平安科技(深圳)有限公司 A kind of auth method based on EIC equipment identification code, server and medium
CN110417863A (en) * 2019-06-27 2019-11-05 华为技术有限公司 Generate method and apparatus, identity authentication method and the device of identity code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113033738A (en) * 2021-04-14 2021-06-25 深圳一道创新技术有限公司 Material error-proofing management method and system based on MES (manufacturing execution system), electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111427313A (en) Robot management method and device, electronic equipment and storage medium
CN104408605A (en) Order splitting method and system
CN101650802A (en) Material information modifying method and material information modifying device in material demand plan system
AU2020281078A1 (en) Electronic apparatus for managing logistics information and control method thereof
WO2015073025A1 (en) Indicating a trait of a continuous delivery pipeline
CN107798065A (en) A kind of customer ID coding method, application server, system and storage medium
CN113537850A (en) Storage optimization method and device, computer equipment and storage medium
CN111382877A (en) Method and device for generating identification code, electronic equipment and storage medium
CN112100219A (en) Report generation method, device, equipment and medium based on database query processing
CN110147596B (en) Aviation product production capacity assessment method
US20190391553A1 (en) Control Program and Method for Operating an Engineering System for an Industrial Process Automation System
US10637741B2 (en) Instance usage facilitating system
Groggert et al. Scenario-based manufacturing data analytics with the example of order tracing through BLE-beacons
CN115796398A (en) Intelligent demand analysis method, system, equipment and medium based on electric power materials
KR20120036712A (en) System and method for managing used part stock using safty stock
CN109784593A (en) Production capacity equalization processing method and device for multistoried storehouse
CN115049374A (en) Data processing method and device for process equipment
CN112612934A (en) User charging behavior portrait processing method and device
CN110851717A (en) Method, device and medium for recommending mini bin
CN116882636B (en) Certificate life cycle management method, device, equipment and storage medium
CN103631662B (en) The system and method for Complex event processing cloud platform event analysis engine Capacity Assessment
CN111198870B (en) Modeling method and system for process equipment
Kang et al. CMMI Security Model for Cloud Manufacturing System's Network
CN115619489B (en) Order sorting method and device and computer equipment
CN112036789B (en) Salary statistical method and device based on warehousing data and computer equipment

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