CN112668894A - Instrument identification coding method and system under local area network environment - Google Patents

Instrument identification coding method and system under local area network environment Download PDF

Info

Publication number
CN112668894A
CN112668894A CN202011618551.6A CN202011618551A CN112668894A CN 112668894 A CN112668894 A CN 112668894A CN 202011618551 A CN202011618551 A CN 202011618551A CN 112668894 A CN112668894 A CN 112668894A
Authority
CN
China
Prior art keywords
coding
code
identification code
database
identification
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
CN202011618551.6A
Other languages
Chinese (zh)
Inventor
路钦
史俊花
高恒
荆书典
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jinan Dalu Mechanism & Electron Co ltd
Original Assignee
Jinan Dalu Mechanism & Electron 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 Jinan Dalu Mechanism & Electron Co ltd filed Critical Jinan Dalu Mechanism & Electron Co ltd
Priority to CN202011618551.6A priority Critical patent/CN112668894A/en
Publication of CN112668894A publication Critical patent/CN112668894A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention provides a method and a system for coding instrument identifiers in a local area network environment, which realize the uniform coding of enterprise products by the seamless butt joint of a coding system and an enterprise internal production system, ensure the uniqueness of identifiers, facilitate the uniform management by uploading relevant parameters of the products to a database, generate unique identifier codes according to product parameters in database records by utilizing the queue type codes of the database, and are compatible with enterprise self codes and standard codes. Besides, the internal product identification code is associated with the external instrument identification code, so that the factory inspection of operators is facilitated, and the factory efficiency is greatly improved.

Description

Instrument identification coding method and system under local area network environment
Technical Field
The invention relates to the technical field of industrial internet, in particular to a method and a system for coding instrument identification under a local area network environment.
Background
The industrial internet gathers industrial human, machine, material, method and ring full-factor data to a network and a platform, thereby optimizing industrial resource allocation, reducing enterprise cost and improving enterprise efficiency and quality. The essence of the method is that equipment, production lines, factories, suppliers, products and customers are closely connected and fused together through an open and global industrial network platform, and various element resources in industrial economy are efficiently shared, so that the cost is reduced, the efficiency is increased, the manufacturing industry is helped to prolong the industrial chain, and the transformation development of the manufacturing industry is promoted through an automatic and intelligent production mode.
In recent years, industrial internet is developing at a macroscopic speed, more and more enterprises are selecting to respond to national calls and enter an industrial internet ecosystem, but due to the fact that a part of factory rule regulation requirements or communication facilities are lagged behind and the like, although networks are popularized gradually, the actual workplaces of the factories cannot perform normal and stable external network communication, and in the case, each enterprise encodes by itself, the encoding rules are different, and unified management cannot be performed.
Disclosure of Invention
The invention aims to provide a method and a system for coding instrument identification in a local area network environment, which aim to solve the problem that unified management cannot be realized due to inconsistent coding rules of enterprises in the prior art, ensure the uniqueness of codes and carry out unified management on the codes.
In order to achieve the technical purpose, the invention provides a meter identification coding method in a local area network environment, which comprises the following operations:
the method comprises the following steps that an enterprise internal production system obtains a coding task, a unique identification coding interface of a coding system is called, and product parameters of coded articles are uploaded to a coding system database;
performing queue type coding according to the product parameters and the corresponding database ID, after a coding task is received, generating a lock by using the database I D, incrementing a database counting field, acquiring a current serial number to generate a one-way incremental identifier, and reading the product parameters in the database to generate a corresponding external instrument identifier code;
the enterprise internal production system generates an internal product identification code for the coded article, and establishes an incidence relation between the internal product identification code and the external instrument identification code;
calling an identification code information synchronous interface of the coding system to upload an external instrument identification code to an instrument application service platform;
and an operator inquires an external instrument identification code in the instrument application service platform through the internal product identification code, activates the identification and finishes factory leaving operation.
Preferably, the external meter identification code is an enterprise custom code or a standard code.
Preferably, the product parameters include an organization code, a manufacturer, a factory number, a classification code, a year and month of production, and a specification model.
Preferably, the meter application service platform performs identification uniqueness check and sensitive word check on the received external meter identification code.
The invention also provides an instrument identification coding system under the local area network environment, which comprises:
the product parameter uploading module is used for acquiring a coding task by an enterprise internal production system, calling a unique identification coding interface of the coding system and uploading product parameters of coded articles to a coding system database;
the identification code generation module is used for performing queue type coding according to the product parameters and the corresponding database I D, generating a lock by using the database I D after a coding task is received, incrementing the counting field of the database, acquiring the current serial number to generate a one-way incremental identification, reading the product parameters in the database and generating a corresponding external instrument identification code;
the internal and external code association module is used for generating an internal product identification code for the coded article by the internal production system of the enterprise and establishing the association relation between the internal product identification code and the external instrument identification code;
the code uploading module is used for calling an identification code information synchronous interface of the coding system to upload an external instrument identification code to the instrument application service platform;
and the code query module is used for querying an external instrument identification code in the instrument application service platform through the internal product identification code by an operator, activating the identification and finishing the factory leaving operation.
Preferably, the external meter identification code is an enterprise custom code or a standard code.
Preferably, the product parameters include an organization code, a manufacturer, a factory number, a classification code, a year and month of production, and a specification model.
The effect provided in the summary of the invention is only the effect of the embodiment, not all the effects of the invention, and one of the above technical solutions has the following advantages or beneficial effects:
compared with the prior art, the invention realizes the uniform coding of enterprise products by the seamless butt joint of the coding system and the internal production system of the enterprise, ensures the uniqueness of the identification by uploading the relevant parameters of the products to the database, utilizes the queue type codes of the database and generates the unique identification codes according to the product parameters in the database records, is convenient for uniform management, is compatible with the self-coding and the standard codes of the enterprise, can realize one-key uploading to an instrument platform or a national secondary node through an interface, and can still carry out the normal coding even when an external network is disconnected. Besides, the internal product identification code is associated with the external instrument identification code, so that the factory inspection of operators is facilitated, and the factory efficiency is greatly improved.
Drawings
Fig. 1 is a flowchart of a method for encoding a meter identifier in a local area network environment according to an embodiment of the present invention;
fig. 2 is a block diagram of a meter identification coding system in a local area network environment according to an embodiment of the present invention.
Detailed Description
In order to clearly explain the technical features of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. It should be noted that the components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and procedures are omitted so as to not unnecessarily limit the invention.
The following describes a meter identification coding method and system in a local area network environment according to an embodiment of the present invention in detail with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present invention discloses a method for coding an instrument identifier in a local area network environment, where the method includes the following operations:
the method comprises the following steps that an enterprise internal production system obtains a coding task, a unique identification coding interface of a coding system is called, and product parameters of coded articles are uploaded to a coding system database;
performing queue type coding according to the product parameters and the corresponding database ID, generating a lock by using the database ID after receiving a coding task, increasing the count field of the database incrementally, acquiring the current serial number to generate a one-way incremental identifier, reading the product parameters in the database and generating a corresponding external instrument identifier code;
the enterprise internal production system generates an internal product identification code for the coded article, and establishes an incidence relation between the internal product identification code and the external instrument identification code;
calling an identification code information synchronous interface of the coding system to upload an external instrument identification code to an instrument application service platform;
and an operator inquires an external instrument identification code in the instrument application service platform through the internal product identification code, activates the identification and finishes factory leaving operation.
In the embodiment of the invention, the code assigning system is in seamless butt joint with an enterprise internal production system (MES, ERP and the like) in an interface mode, taking the MES as an example, the MES obtains a coding task, a unique identification coding interface of the code assigning system is called at the bottom layer, and the product is assigned with codes through the coding interface.
The coding system is a detachable coding system serving a local area network for solving the problem of different coding rules of enterprises, can be in seamless technical butt joint with original systems of the enterprises according to the unified coding rule of the instrument platform, is used as a bridge and is communicated with the instrument application service platform and the internal production systems of the enterprises in the longitudinal direction, and a coding process is communicated. The coding can still be normally carried out when the external network is disconnected, and when the external network is recovered, the coding can be uploaded to an instrument platform and a national secondary node by one key, so that the unified management of the whole life cycle of the product can be carried out.
For the meter identification code, if the enterprise has a self-code before, a custom code can be selected, and the custom code rule is 'enterprise prefix +'/'+ enterprise self-code'; if the enterprise does not have self-coding or the enterprise decides to qualify for instrumentation platform rules, a standard code may be selected, the coding rules being "enterprise prefix + '/' + instrument coded prefix + instrument class code + organizational code + timestamp + serial number".
The code assigning system receives a request for identifying and coding related parameters of the article, wherein the related parameters comprise organization codes, manufacturers, factory numbers, classification codes, year and month of production and specification models, after receiving the product parameters, an ID is generated, I D and the product parameters are stored in a database table together, and the queue type codes are realized through the database.
And after receiving the coding task, reading records in a database table, coding according to product parameters by using the coding rule, generating a lock by using the unique characteristic of the database I D, and incrementing a database counting field by using a coding actuator according to the parameters to acquire a current serial number and generate a one-way incrementing identifier.
And the coding executor asynchronously sends a message notification to the coding result, and the message notification can be displayed on a product message page after the coding is successful. In addition, the coding information to be uploaded can be selected and synchronized to an instrument platform or a coding platform of a national secondary node.
And the coding system returns the coding result to the MES system to generate an enterprise internal product identification code, and associates the enterprise internal product identification code with the external instrument identification code to establish a product internal and external code association relation. And after the internal code and the external code are successfully established, the product is issued together with the internal identification code. After the distribution is finished, the resource management department rechecks the internal identification code to ensure that the internal code and the external code are correctly associated and managed.
After the correct association of the internal code and the external code is confirmed, an identification code information synchronous interface in the coding system can be manually called or the external instrument identification code is uploaded to an instrument application service platform through a timing task. After the instrument application service platform receives the instrument identification code through the identification code information receiving interface, identification uniqueness verification and sensitive word verification are carried out, a synchronization result is returned to the code assigning system, and the identification code information synchronization log can be displayed on a synchronization log interface of the code assigning system.
When the product is subjected to factory inspection, unique identification code scanning query is carried out on the terminal APP, query is carried out through a unique identification code scanning query interface of the instrument application service platform, after a query result is obtained, state change is carried out through a unique identification code state change interface of the platform after the identification is activated, product information registration is completed, and factory operation is completed.
The embodiment of the invention realizes the unified coding of enterprise products by the seamless butt joint of the coding system and the internal production system of the enterprise, ensures the uniqueness of the identification by uploading the relevant parameters of the products to the database, utilizing the queue type codes of the database and generating the unique identification codes according to the product parameters in the database records, is convenient for unified management, is compatible with the self-coding and the standard coding of the enterprise, can realize one-key uploading to an instrument platform or a national secondary node through an interface, and can still carry out the normal coding even when an external network is disconnected. Besides, the internal product identification code is associated with the external instrument identification code, so that the factory inspection of operators is facilitated, and the factory efficiency is greatly improved.
As shown in fig. 2, an embodiment of the present invention further discloses an instrument identifier encoding system in a local area network environment, where the system includes:
the product parameter uploading module is used for acquiring a coding task by an enterprise internal production system, calling a unique identification coding interface of the coding system and uploading product parameters of coded articles to a coding system database;
the identification code generation module is used for performing queue type coding according to the product parameters and the corresponding database I D, generating a lock by using a database ID after receiving a coding task, increasing the count field of the database incrementally, acquiring the current serial number to generate a one-way incremental identification, reading the product parameters in the database and generating a corresponding external instrument identification code;
the internal and external code association module is used for generating an internal product identification code for the coded article by the internal production system of the enterprise and establishing the association relation between the internal product identification code and the external instrument identification code;
the code uploading module is used for calling an identification code information synchronous interface of the coding system to upload an external instrument identification code to the instrument application service platform;
and the code query module is used for querying an external instrument identification code in the instrument application service platform through the internal product identification code by an operator, activating the identification and finishing the factory leaving operation.
And the MES system obtains the coding task, calls the unique identification coding interface of the coding system at the bottom layer and codes the product through the coding interface.
For the meter identification code, if the enterprise has a self-code before, a custom code can be selected, and the custom code rule is 'enterprise prefix +'/'+ enterprise self-code'; if the enterprise does not have self-coding or the enterprise decides to qualify for instrumentation platform rules, a standard code may be selected, the coding rules being "enterprise prefix + '/' + instrument coded prefix + instrument class code + organizational code + timestamp + serial number".
The code assigning system receives a request for identifying and coding related parameters of the article, wherein the related parameters comprise organization codes, manufacturers, factory numbers, classification codes, year and month of production and specification models, after receiving the product parameters, an ID is generated, I D and the product parameters are stored in a database table together, and the queue type codes are realized through the database.
And after receiving the coding task, reading records in a database table, coding according to product parameters by using the coding rule, generating a lock by using the unique characteristic of the database I D, and incrementing a database counting field by using a coding actuator according to the parameters to acquire a current serial number and generate a one-way incrementing identifier.
And the coding executor asynchronously sends a message notification to the coding result, and the message notification can be displayed on a product message page after the coding is successful. In addition, the coding information to be uploaded can be selected and synchronized to an instrument platform or a coding platform of a national secondary node.
And the coding system returns the coding result to the MES system to generate an enterprise internal product identification code, and associates the enterprise internal product identification code with the external instrument identification code to establish a product internal and external code association relation. And after the internal code and the external code are successfully established, the product is issued together with the internal identification code. After the distribution is finished, the resource management department rechecks the internal identification code to ensure that the internal code and the external code are correctly associated and managed.
After the correct association of the internal code and the external code is confirmed, an identification code information synchronous interface in the coding system can be manually called or the external instrument identification code is uploaded to an instrument application service platform through a timing task. After the instrument application service platform receives the instrument identification code through the identification code information receiving interface, identification uniqueness verification and sensitive word verification are carried out, a synchronization result is returned to the code assigning system, and the identification code information synchronization log can be displayed on a synchronization log interface of the code assigning system.
When the product is subjected to factory inspection, unique identification code scanning query is carried out on the terminal APP, query is carried out through a unique identification code scanning query interface of the instrument application service platform, after a query result is obtained, state change is carried out through a unique identification code state change interface of the platform after the identification is activated, product information registration is completed, and factory operation is completed.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (7)

1. A meter identification coding method in a local area network environment, the method comprising the operations of:
the method comprises the following steps that an enterprise internal production system obtains a coding task, a unique identification coding interface of a coding system is called, and product parameters of coded articles are uploaded to a coding system database;
performing queue type coding according to the product parameters and the corresponding database ID, generating a lock by using the database ID after receiving a coding task, increasing the count field of the database incrementally, acquiring the current serial number to generate a one-way incremental identifier, reading the product parameters in the database and generating a corresponding external instrument identifier code;
the enterprise internal production system generates an internal product identification code for the coded article, and establishes an incidence relation between the internal product identification code and the external instrument identification code;
calling an identification code information synchronous interface of the coding system to upload an external instrument identification code to an instrument application service platform;
and an operator inquires an external instrument identification code in the instrument application service platform through the internal product identification code, activates the identification and finishes factory leaving operation.
2. The method as claimed in claim 1, wherein the external meter identification code is an enterprise custom code or a standard code.
3. The meter id encoding method in a lan environment according to claim 1, wherein the product parameters include an organization code, a manufacturer, a factory number, a classification code, a year and month of manufacture, and a specification model.
4. The method of claim 1, wherein the meter application service platform performs uniqueness of identification check and sensitive word check on the received external meter identification code.
5. A meter identification coding system in a local area network environment, the system comprising:
the product parameter uploading module is used for acquiring a coding task by an enterprise internal production system, calling a unique identification coding interface of the coding system and uploading product parameters of coded articles to a coding system database;
the identification code generation module is used for performing queue type coding according to the product parameters and the corresponding database ID, generating a lock by using the database ID after a coding task is received, incrementing a database counting field, acquiring a current serial number to generate a one-way incrementing identification, and reading the product parameters in the database to generate a corresponding external instrument identification code;
the internal and external code association module is used for generating an internal product identification code for the coded article by the internal production system of the enterprise and establishing the association relation between the internal product identification code and the external instrument identification code;
the code uploading module is used for calling an identification code information synchronous interface of the coding system to upload an external instrument identification code to the instrument application service platform;
and the code query module is used for querying an external instrument identification code in the instrument application service platform through the internal product identification code by an operator, activating the identification and finishing the factory leaving operation.
6. The system of claim 5, wherein the external meter identification code is an enterprise custom code or a standard code.
7. The system of claim 5, wherein the product parameters include organization code, manufacturer, factory number, classification code, year and month of manufacture, and specification model.
CN202011618551.6A 2020-12-31 2020-12-31 Instrument identification coding method and system under local area network environment Pending CN112668894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011618551.6A CN112668894A (en) 2020-12-31 2020-12-31 Instrument identification coding method and system under local area network environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011618551.6A CN112668894A (en) 2020-12-31 2020-12-31 Instrument identification coding method and system under local area network environment

Publications (1)

Publication Number Publication Date
CN112668894A true CN112668894A (en) 2021-04-16

Family

ID=75411520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011618551.6A Pending CN112668894A (en) 2020-12-31 2020-12-31 Instrument identification coding method and system under local area network environment

Country Status (1)

Country Link
CN (1) CN112668894A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115034346A (en) * 2022-06-01 2022-09-09 浙江省标准化研究院(金砖国家标准化(浙江)研究中心、浙江省物品编码中心) Unique product code assigning method and device based on GS1 code, and storage medium
CN115608537A (en) * 2022-11-22 2023-01-17 广州泽亨实业有限公司 Automatic spraying control method and control system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040068444A1 (en) * 2002-10-07 2004-04-08 Chih-Hung Chien Method and system for applying part number
CN105139144A (en) * 2015-09-10 2015-12-09 刘治 Internet of Things unified identification code registration system and method, and analysis system and method
CN111415120A (en) * 2020-03-26 2020-07-14 贵阳块数据城市建设有限公司 Industrial internet identification coding method
CN111813559A (en) * 2020-07-23 2020-10-23 济南大陆机电股份有限公司 Industrial Internet distributed identification coding method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040068444A1 (en) * 2002-10-07 2004-04-08 Chih-Hung Chien Method and system for applying part number
CN105139144A (en) * 2015-09-10 2015-12-09 刘治 Internet of Things unified identification code registration system and method, and analysis system and method
CN111415120A (en) * 2020-03-26 2020-07-14 贵阳块数据城市建设有限公司 Industrial internet identification coding method
CN111813559A (en) * 2020-07-23 2020-10-23 济南大陆机电股份有限公司 Industrial Internet distributed identification coding method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115034346A (en) * 2022-06-01 2022-09-09 浙江省标准化研究院(金砖国家标准化(浙江)研究中心、浙江省物品编码中心) Unique product code assigning method and device based on GS1 code, and storage medium
CN115608537A (en) * 2022-11-22 2023-01-17 广州泽亨实业有限公司 Automatic spraying control method and control system
CN115608537B (en) * 2022-11-22 2023-03-14 广州泽亨实业有限公司 Automatic spraying control method and control system

Similar Documents

Publication Publication Date Title
CN108228814B (en) Data synchronization method and device
CN112668894A (en) Instrument identification coding method and system under local area network environment
CN112422709B (en) Identification management method, terminal equipment, identification analysis secondary node and medium
CN110322190B (en) Method for automatically creating internal business orders of steel industry based on SAP
CN109460841B (en) User account opening method, system and storage medium
CN111047335A (en) Article circulation system tracing method and system
CN105553677A (en) Charging verification audit system
CN105868196A (en) Method for generating industrial data report in server
CN106096872A (en) A kind of factory's substandard product report processing system and method
CN111415120A (en) Industrial internet identification coding method
CN104899134A (en) Automatic domain name registration server testing system and method
CN113485824A (en) API (application programming interface) interface management method of integrated operation and maintenance platform
CN115237852A (en) Method, system, medium and device for archiving and restoring data based on MES system
CN102905000A (en) Address book synchronization method and device
CN111245653A (en) Method and system for quickly establishing topological relation between devices
CN105868170A (en) Method for generating industrial data report in server
CN112418885A (en) Label generation method, product tracing method and related device
CN108900497B (en) Data synchronization method and system between heterogeneous systems
CN107580305B (en) Customer member purity analysis method and system
CN115495527A (en) Data synchronization management system and method
CN113489679B (en) Industrial Internet identification analysis method for hot and cold processing discrete manufacturing enterprises
CN115619169A (en) Heterogeneous information system integration method and terminal equipment for cross-organization business requirements
CN112650815B (en) Method and device for synchronizing environment data, storage medium and electronic device
CN114331369A (en) Product production management system based on secondary analysis
US11184455B1 (en) Streaming conversion

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210416