CN113743833B - Production control method and system based on identification analysis - Google Patents

Production control method and system based on identification analysis Download PDF

Info

Publication number
CN113743833B
CN113743833B CN202111302896.5A CN202111302896A CN113743833B CN 113743833 B CN113743833 B CN 113743833B CN 202111302896 A CN202111302896 A CN 202111302896A CN 113743833 B CN113743833 B CN 113743833B
Authority
CN
China
Prior art keywords
target
enterprise
product
record
product 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.)
Active
Application number
CN202111302896.5A
Other languages
Chinese (zh)
Other versions
CN113743833A (en
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.)
China Academy of Information and Communications Technology CAICT
Original Assignee
China Academy of Information and Communications Technology CAICT
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 China Academy of Information and Communications Technology CAICT filed Critical China Academy of Information and Communications Technology CAICT
Priority to CN202111302896.5A priority Critical patent/CN113743833B/en
Publication of CN113743833A publication Critical patent/CN113743833A/en
Application granted granted Critical
Publication of CN113743833B publication Critical patent/CN113743833B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application provides a production control method and a system based on identification analysis, a supervision platform generates product identification codes corresponding to production quantity for a target enterprise, then the product identification codes are pre-registered to secondary nodes of the target enterprise, the secondary nodes store pre-registration records of the product identification codes, when the product production system of the target enterprise finishes production of any target product, a product identification code is randomly selected from a plurality of product identification codes and distributed to any target product, the production information of any target product and the selected product identification code are registered to enterprise nodes corresponding to the target enterprise, the enterprise nodes report registration events to the secondary nodes, the secondary nodes decide whether to admit the registration events reported by the enterprise nodes or not based on the stored pre-registration records, therefore, the over-produced or non-officially distributed product identification codes cannot finish registration, so that the product can not be normally circulated in the market, thereby effectively inhibiting the overproduction of the product.

Description

Production control method and system based on identification analysis
Technical Field
The application relates to the technical field of industrial internet identification, in particular to a production control method and system based on identification analysis.
Background
For some proprietary products, such as cigarettes, e-cigarettes, wines, etc., the production volume per enterprise is limited. Therefore, in the actual production process of these products, the production amount needs to be managed.
At present, a commonly used management and control method for the production quantity of products is to manually input the production quantity of products into a database, and compare the production quantity of products in the database with a production quantity threshold value, so as to determine whether the production quantity is excessive. Another way is to install an image recognition device on the product production line, determine the number of actually produced products by shooting images of products passing through the production line and recognizing the shot images, and compare the number of actually produced products with a production number threshold value, thereby determining whether the excessive production is performed.
Although the two modes can find the overproduced products and the overproduction quantity in time, the overproduced products are likely to be normally circulated in the market, and the overproduction cannot be effectively restrained.
Disclosure of Invention
The embodiment of the application provides a production control method and system based on identification analysis, which are used for solving the technical problem that the existing product production quantity monitoring method cannot effectively inhibit the excessive production of products.
According to a first aspect of embodiments of the present application, there is provided a production control method based on identity resolution, the method including:
the method comprises the steps that a supervision platform generates product identification codes corresponding to production quantity for a target enterprise according to the production quantity of target products, wherein the production quantity of the target products is the quantity of the target products allowed to be produced by the target enterprise in a target time period;
the supervision platform pre-registers the product identification code to a secondary node corresponding to the target enterprise, and if pre-registration success information returned by the secondary node is received, the product identification code is sent to a product production system of the target enterprise;
when the production of any target product is finished, the product production system of the target enterprise randomly selects a product identification code from a plurality of pre-registered product identification codes to distribute to the target product, and registers the production information of the target product and the selected product identification code into an enterprise node corresponding to the target enterprise;
the enterprise node sends the registration event of the target product to the secondary node;
and the secondary node judges whether to register the registration event according to the stored pre-registration record and the product identification code included in the registration event.
According to a second aspect of the embodiments of the present application, a production control system based on identifier resolution is provided, where the system includes a monitoring platform, a product production system of a target enterprise, an enterprise node, and a secondary node;
the monitoring platform is used for generating product identification codes corresponding to the production quantity for a target enterprise according to the production quantity of target products, pre-registering the product identification codes to a secondary node corresponding to the target enterprise, and sending the product identification codes to a product production system of the target enterprise if pre-registration success information returned by the secondary node is received, wherein the production quantity of the target products is the quantity of the target products allowed to be produced by the target enterprise in a target time period;
the product production system of the target enterprise is used for randomly selecting a product identification code from a plurality of pre-registered product identification codes when the production of any target product is finished, and registering the production information of the target product and the selected product identification code into an enterprise node corresponding to the target enterprise;
the enterprise node is used for sending the registration event of the target product to the secondary node;
and the secondary node is used for judging whether to register the registration event according to the stored pre-registration record and the product identification code included in the registration event.
The embodiment of the application provides a production control method and a system based on identification resolution, a supervision platform generates corresponding product identification codes for target enterprises according to the production quantity of target products, then the generated product identification codes are pre-registered to secondary nodes of the target enterprises, so that the secondary nodes can store pre-registration records of the product identification codes, when the product production system of the target enterprises finishes producing any target product, one product identification code is randomly selected from a plurality of pre-registered product identification codes and distributed to any target product, the production information of any target product and the selected product identification code are registered to enterprise nodes corresponding to the target enterprises, the enterprise nodes report registration events to the secondary nodes, and the secondary nodes decide whether to admit the registration events reported by the enterprise nodes or not based on the stored pre-registration records, therefore, the overproduction or unofficially distributed product identification code cannot be registered, so that the product cannot be normally circulated in the market, and the overproduction of the product can be effectively restrained.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart of a production control method based on identifier resolution according to an embodiment of the present application;
fig. 2 is a flowchart illustrating sub-steps of step S12 according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating sub-steps of step S15 according to an embodiment of the present disclosure;
fig. 4 is a second schematic flowchart of a production control method based on identifier resolution according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a production control system based on identity resolution according to an embodiment of the present application.
Detailed Description
The inventor finds in research that currently, a control method for the production quantity of a product is commonly used, in which the production quantity of the product is manually recorded into a database, and the production quantity of the product in the database is compared with a production quantity threshold value, so that whether the production quantity is overproduced or not can be determined. Another way is to install an image recognition device on the product production line, determine the number of actually produced products by shooting images of products passing through the production line and recognizing the shot images, and compare the number of actually produced products with a production number threshold value, thereby determining whether the excessive production is performed.
Although the two modes can find the overproduced products and the overproduction quantity in time, the overproduced products are likely to be normally circulated in the market, and the overproduction cannot be effectively restrained.
In view of the above problems, embodiments of the present application provide a production control method and system based on identifier resolution, where a monitoring platform generates corresponding product identifiers for target enterprises according to the production quantity of target products, and then pre-registers the generated product identifiers to a secondary node of the target enterprises, so that the secondary node will store pre-registration records of the product identifiers, when a product production system of the target enterprises completes production of any target product, a product identifier is randomly selected from a plurality of pre-registered product identifiers and allocated to any target product, and production information of any target product and the selected product identifier are registered in an enterprise node corresponding to the target enterprise, and the enterprise node reports registration events to the secondary node, and the secondary node determines whether to admit the registration events reported by the enterprise node based on the stored pre-registration records, therefore, the overproduction or unofficially distributed product identification code cannot be registered, so that the product cannot be normally circulated in the market, and the overproduction of the product can be effectively restrained.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic flow chart of a production control method based on identity resolution according to an embodiment of the present application. In this embodiment, the method is applied to a production control system based on identifier resolution, where the production control system based on identifier resolution includes a supervision platform, a product production system of a target enterprise, an enterprise node, and a secondary node. The method comprises the following steps:
and step S11, the supervision platform generates product identification codes corresponding to the production quantity for the target enterprises according to the production quantity of the target products.
The production quantity of the target product is the quantity of the target product allowed to be produced by the target enterprise in the target time period.
And step S12, the supervision platform pre-registers the product identification code to a secondary node corresponding to the target enterprise, and sends the product identification code to a product production system of the target enterprise if pre-registration success information returned by the secondary node is received.
Step S13, when the production of any target product is finished, the product production system of the target enterprise randomly selects a product identification code from the pre-registered product identification codes to distribute to the target product, and registers the production information of the target product and the selected product identification code into the enterprise node corresponding to the target enterprise.
And step S14, the enterprise node sends the registration event of any target product to the secondary node.
And step S15, the secondary node judges whether to register the registration event according to the stored pre-registration record and the product identification code included in the registration event.
In the above steps, the number of target products that each target enterprise is allowed to produce in the target time period (e.g. within one year) is limited, and the supervision platform is based on the number N of target products that each target enterprise can produce in the target time period0Generating a one-to-one correspondence of N for a target enterprise0An individual product identification code. N that the supervisory platform will then generate0The product identification codes are pre-registered to secondary nodes of the target enterprise, so that the secondary nodes can store pre-registration records of the product identification codes.
After the product production system of the target enterprise finishes producing any target product, the pre-registered N0Randomly selecting one product identification code from the product identification codes to be distributed to any target product, registering the production information of any target product and the selected product identification code into an enterprise node corresponding to a target enterprise, reporting the registration event of any target product to a secondary node by the enterprise node, and determining whether to admit the registration event reported by the enterprise node or not by the secondary node based on the stored pre-registration record if notIn the registration event, the secondary node cannot register the product identification code, so that the overproduced or unofficially distributed product identification code cannot be registered, so that the product cannot be normally circulated in the market, and the overproduction of the product can be effectively restrained.
Optionally, referring to fig. 2, fig. 2 is a flowchart illustrating a sub-step of step S12 according to an embodiment of the present disclosure. In this embodiment, the pre-registering, by the monitoring platform, the product identification code to the secondary node corresponding to the target enterprise includes:
step S121, the supervision platform sends a pre-registration request to the secondary node.
The pre-registration request comprises a product identification code to be pre-registered, an enterprise node corresponding to the target enterprise, an enterprise identifier of the target enterprise and a private key signature of the supervision platform.
And step S122, the secondary node verifies the private key signature in the pre-registration request according to the public key of the supervision platform.
And S123, after the verification is passed, the secondary node generates and stores a pre-registration record according to the product identification code to be pre-registered.
The pre-registration record comprises a product identification code to be pre-registered, a node prefix of an enterprise node corresponding to the target enterprise, an enterprise identifier of the target enterprise and a temporary mark.
Specifically, taking the production quantity of target products (e.g., electronic cigarettes) of the target enterprise a in one year as an example, firstly, it is determined that an enterprise node corresponding to the target enterprise a is B, a secondary node to which the target enterprise a belongs is C, and the supervision platform pre-registers 10 ten thousand product identification codes generated for the target enterprise a in advance to the secondary node C corresponding to the target enterprise.
In the pre-registration process, the supervision platform firstly sends a pre-registration request to the secondary node C, wherein the pre-registration request carries one or more product identification codes to be pre-registered, a node prefix of the enterprise node B, an enterprise identifier of the target enterprise A and a private key signature of the supervision platform. After receiving the pre-registration request, the secondary node C firstly verifies the private key signature in the pre-registration request through the public key of the supervision platform, and after the verification is passed, the product identification code carried in the pre-registration request can be pre-registered.
Optionally, the monitoring platform may further calculate the number of boxes of the target product that can be produced by each target enterprise according to the production quantity of the target enterprise in the target time period, generate a corresponding box identifier, and pre-register the box identifier. The pre-registration process of the box identifier is the same as that of the electronic cigarette identifier.
Pre-registering the product identification code carried in the pre-registration request specifically comprises the following steps: and the secondary node C generates a pre-registration record aiming at each product identification code (assumed as ID-i) carried in the pre-registration request, wherein the pre-registration record comprises the product identification code ID-i to be pre-registered, the node prefix of the enterprise node B corresponding to the target enterprise, the enterprise identification of the target enterprise and a temporary mark. Wherein the temporary mark is one or more preset identifiers for representing that the product identification code ID-i in the current pre-registration record is the product identification code pre-registered by the supervision platform.
It is worth noting that when the number of the product identifiers of the target enterprise a is large (for example, 10 ten thousand), the monitoring platform may first group 10 ten thousand product identifiers to obtain a plurality of identifier groups, and sequentially arrange the plurality of identifier groups
Figure 360434DEST_PATH_IMAGE001
Then, each identification code group is preregistered in sequence according to the arrangement order.
To identify code groups
Figure 698006DEST_PATH_IMAGE002
For example, the supervisory platform will identify the code group
Figure 921177DEST_PATH_IMAGE002
Carried in a pre-registration request and sent to the secondary node C, and when receiving the successful response of the pre-registration of the secondary node C, the synchronous identification code group is sent to the product production system of the target enterprise A
Figure 251664DEST_PATH_IMAGE002
Then continue to identify the code group
Figure 243891DEST_PATH_IMAGE003
Pre-registration is performed.
The product production system of the target enterprise A stores a plurality of product identification codes which are successfully pre-registered, and after the product production system finishes producing any target product X, the pre-stored target product X is selected
Randomly selecting one product identification code (such as ID-i) from the plurality of product identification codes to be endowed to the target product X, registering the production information of the target product X and the product identification code ID-i to the enterprise node B of the target enterprise A, and deleting the product identification code ID-i after successful registration. The production information comprises information such as production date, production place, production enterprise, production batch, validity period and the like. If the supervision platform pre-registers the box identifier of the target product in the secondary node C, the production information may further include the box identifier ID-j of the box body to which the product identifier ID-i belongs.
Optionally, in this embodiment, the selected product identification code ID-i is assigned to the target product X after production is completed, and this can be achieved by: if a communication module or a chip is arranged in the target product X, the product identification code ID-i can be written into the communication module or the chip in an active identification carrier mode; if the target product X is not internally provided with the communication module or the chip, the product identification code ID-i can be printed on the target product X or on the inner side of the package of the target product X in the form of a two-dimensional code, a bar code or an RFID so as to ensure that the identification code can be acquired after the product is purchased and improve the cost for counterfeiting the product identification code.
After the registration of the product identification code ID-i and the corresponding production information is completed, the enterprise node B reports the registration event to the secondary node C to which the enterprise node B belongs, wherein the registration event carries the product identification code ID-i and prefix information, type and other information of the enterprise node B. If the production information carries the box identifier ID-j, the registration event may also carry the box identifier ID-j.
And after receiving the registration event, the secondary node C judges whether to register the registration event according to the stored pre-registration record and the product identification code included in the registration event. Specifically, referring to fig. 3, fig. 3 is a flowchart illustrating a sub-step of step S15 according to an embodiment of the present disclosure. In the present embodiment, step S15 includes the following sub-steps:
step S151, the secondary node detects whether the node stores a record corresponding to the product identification code included in the registration event.
Step S152, if not, discarding the registration event.
And step S153, if yes, identifying whether the record corresponding to the product identification code is a pre-registered record, a legal record or an abnormal record according to the mark type included in the record.
Step S154, if the record is pre-registered, the registration is completed based on the registration event, and the type of the pre-registered record is updated to be a legal record.
And step S155, if the record is legal, updating the legal record into an abnormal record, increasing the value of a counter corresponding to the abnormal record by 1, and sending alarm information to the supervision platform.
In step S156, if the record is abnormal, the counter corresponding to the abnormal record is incremented by 1 to record the number of the overproductions of the target enterprise.
In the above steps, after receiving the registration event corresponding to the product identification code ID-i, the secondary node C first detects whether the node has a record corresponding to the product identification code ID-i, and if the record does not exist, it indicates that the product identification code ID-i is an identification code that is not pre-registered, i.e., an illegal identification code. Therefore, when the secondary node C subsequently receives the analysis request aiming at the product identification code ID-i, the query result without the product identification code ID-i is returned, namely the target product corresponding to the product identification code ID-i cannot be authenticated as a genuine product.
And if the record corresponding to the product identification code ID-i exists in the secondary node C, identifying whether the record corresponding to the product identification code ID-i is a pre-registered record, a legal record or an abnormal record according to the mark type carried in the record.
If the mark type is a temporary mark, the record is a pre-registration record, and the pre-registration record indicates that the product identification code ID-i is pre-registered by the supervision platform. Specifically, updating the type of the pre-registered record to a legal record includes: and replacing the temporary mark in the pre-registered record with a legal mark.
And if the mark type is a legal mark, the record is a legal record, the legal record indicates that the target product corresponding to the product identification code ID-i has been produced once, in this case, the record corresponding to the product identification code ID-i is updated to be an abnormal basis, and alarm information is sent to the supervision platform, wherein the alarm information carries the enterprise information of the target enterprise A and the product identification code ID-i. In addition, the value of the counter corresponding to the abnormal record can be increased by 1, the value of the counter is used for representing the number of times that the product identification code ID-i is reused, the number of times of reuse can be carried in alarm information and sent to the supervision platform, so that whether the overproduction condition and the specific number of overproduction exist in each target enterprise can be monitored, and if the overproduction condition exists, the alarm information can be sent to the supervision platform in time. Specifically, updating the legal record to an abnormal record includes: and replacing the legal marks in the legal records with abnormal marks.
If the mark type is an abnormal mark, the record is indicated as an abnormal record, and in this case, the value of the counter corresponding to the abnormal record is increased by 1 so as to record the number of the overproductions of the target enterprise A.
Optionally, referring to fig. 4, fig. 4 is a second schematic flowchart of the production control method based on identifier resolution according to the embodiment of the present application. In this embodiment, the method further includes:
step S16, when the secondary node receives the product identification code analysis request aiming at the target product, searching whether a record corresponding to the product identification code exists.
In step S17, if a record exists, it is determined whether the type of the record is a valid record.
And step S18, if the record is not legal, returning a query result that the product identification code does not exist.
And step S19, if the record is legal, returning the routing address of the enterprise node corresponding to the product identification code.
And step S20, if no record exists, returning a query result that the product identification code does not exist.
In the above steps, when the secondary node C receives an analysis request for the product identification code ID-i of the target product, the secondary node searches whether a record corresponding to the product identification code ID-i exists in the node. And if no record exists, returning a query result that the product identification code ID-i does not exist to the initiating end of the analysis request. If the record exists, whether the record type is legal or not needs to be judged, if not, the record type indicates that the product identification code ID-i is not used or is used for multiple times, and the secondary node C returns a query result that the product identification code ID-i does not exist to an initiating end of the analysis request; if the record is legal, the secondary node C analyzes the routing address of the enterprise node B corresponding to the product identification code ID-i returned by the initiating end of the request.
In summary, the monitoring platform can be timely warned about the target products of the overproduction and the quantity of the overproduction. For products which are not pre-registered, the products cannot be certified as genuine products in subsequent links and cannot be normally circulated in the market. Thus, the production quantity of the target product can be effectively controlled to a certain extent.
Optionally, in order to reduce the amount of data maintained by the secondary node, the secondary node may periodically delete the exception record stored by the local node. The period here may be the above-described target period, or may be larger than the target period. In this embodiment, the production control method based on identifier resolution may further include:
and the secondary node deletes the abnormal record stored in the secondary node within a preset time period.
Specifically, the steps include:
for each target enterprise, the secondary node acquires the value of a counter corresponding to each abnormal record to be deleted by the target enterprise in the current time period, and calculates the sum of the values of the counters corresponding to all the abnormal records to acquire the abnormal times of the target enterprise in the current time period; storing the enterprise identification of the target enterprise, the abnormal times in the current time period and the current timestamp as the abnormal time record of the target enterprise; and deleting the abnormal record in the current time period.
In the above steps, the secondary node C obtains, for the enterprise identifier i of each target enterprise included in all the exception records that need to be deleted in the period, the value j of the counter in all the exception records (assumed to be N) of the enterprise identifier i, and calculates the sum of the values of the counters corresponding to all the exception records
Figure 250899DEST_PATH_IMAGE004
Obtaining the total abnormal times of the product identification code corresponding to the target enterprise
Figure 961366DEST_PATH_IMAGE004
And marking the enterprise identification i and the total abnormal times of the target enterprise
Figure 829965DEST_PATH_IMAGE004
And the current time stamp is stored as the abnormal times record of the target enterprise. After the storage, the abnormal record in the current time period can be deleted. Optionally, the records of the number of abnormal times of the target enterprise may be stored in a private block chain, where the private block chain includes a node corresponding to the monitoring platform and nodes corresponding to enterprise servers of the target enterprises.
Optionally, in this embodiment, the production control method based on identifier resolution further includes:
the supervision platform distributes the production quantity of the target products in the target time period for each target enterprise with the target product production authority.
Specifically, in this embodiment, the allocating, by the monitoring platform, the production quantity of the target product in the target time period to each target enterprise having the target product production authority includes:
acquiring abnormal frequency records of each target enterprise in the last target time period; calculating the proportion of the abnormal times of each target enterprise recorded in the total abnormal times record in the last target time period; and aiming at each target enterprise, calculating the production quantity of the target products of the target enterprise in the target time period according to the corresponding proportion of the target enterprise and the total production quantity of the target products in the target time period.
In the above steps, the monitoring platform may issue a quantity allocation request in the private blockchain system, and a node corresponding to an enterprise server of a target enterprise in the private blockchain system receives the quantity allocation request. And after each node receives the quantity distribution request, each node acquires the abnormal times record of the corresponding target enterprise in the last time period. And calculating the proportion of the target enterprise in the total abnormal times records of all the target enterprises in the previous target time period according to the abnormal times of each target enterprise in the previous target time period, and then calculating the production quantity of the target products of the target enterprise in the current target time period according to the proportion corresponding to each target enterprise and the total production quantity of the target products in the current target time period.
For example, if the target enterprises for the production authority in the current time period are a1, a2 and A3, where the number of times of abnormality of a1 in the previous target time period is 100, the number of times of abnormality of a2 in the previous target time period is 150, and the number of times of abnormality of A3 in the previous target time period is 250, the proportion of the target enterprise a1 is 0.2, the proportion of the target enterprise a2 is 0.3, and the proportion of the target enterprise A3 is 0.5. If the total production quantity of a1, a2 and A3 for the target products in the target time period is 10 ten thousand pieces, the production quantity of the target enterprise a1 in the target time period is 0.2 × 100000=2 ten thousand pieces, the production quantity of the target enterprise a2 in the target time period is 0.3 × 100000=3 ten thousand pieces, and the production quantity of the target enterprise A3 in the target time period is 0.5 × 100000=5 ten thousand pieces.
Based on the method, each node of the private block chain can determine the production quantity of the target products of each target enterprise in the current target time period, arrange the production quantities of the target products of each target enterprise in the current target time period according to a preset sequence to obtain a production quantity sequence, calculate the hash value of the production quantity sequence, sign the production quantity sequence and the hash value by using the private key of the node, and report the production quantity sequence, the hash value and the private key signature to a supervision platform as quantity distribution results. Thus, the supervision platform can receive the quantity distribution results reported by the enterprise servers.
And the supervision platform determines a plurality of quantity distribution results containing the same hash value from the received quantity distribution results, if the quantity of the determined quantity distribution results reaches more than half of the quantity of the enterprise servers in the private block chain system, the determined quantity distribution results are used as final quantity distribution results, a production quantity sequence is taken from any one of the quantity distribution results, and the target production quantity of each target enterprise in the current target time period is determined according to the arrangement sequence of the production quantities included in the production quantity sequence.
To sum up, the embodiment of the present application provides a production control method and system based on identifier resolution, a monitoring platform generates corresponding product identifiers for target enterprises according to the production quantity of target products, then pre-registers the generated product identifiers to secondary nodes of the target enterprises, so that the secondary nodes will store pre-registration records of each product identifier, when the product production system of the target enterprises completes production of any target product, a product identifier is randomly selected from a plurality of pre-registered product identifiers and allocated to any target product, the production information of any target product and the selected product identifier are registered to the enterprise nodes corresponding to the target enterprises, the enterprise nodes report registration events to the secondary nodes, and the secondary nodes decide whether to admit the registration events reported by the enterprise nodes based on the stored pre-registration records, therefore, the overproduction or unofficially distributed product identification code cannot be registered, so that the product cannot be normally circulated in the market, and the overproduction of the product can be effectively restrained.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating an architecture of a production control system based on identifier resolution according to an embodiment of the present application. The system comprises a supervision platform 11, a product production system 12 of a target enterprise, an enterprise node 13 corresponding to the target enterprise and a secondary node 14.
The monitoring platform 11 is configured to generate a product identification code corresponding to a production quantity for a target enterprise according to the production quantity of a target product, pre-register the product identification code to a secondary node 14 corresponding to the target enterprise, and send the product identification code to a product production system 12 of the target enterprise if pre-registration success information returned by the secondary node 14 is received, where the production quantity of the target product is a quantity of target products that the target enterprise allows to produce in a target time period.
The product production system 12 of the target enterprise is configured to randomly select a product identification code from a plurality of pre-registered product identification codes when production of any target product is completed, and register production information of the target product and the selected product identification code in an enterprise node 13 corresponding to the target enterprise;
the enterprise node 13 is used for sending the registration event of any target product to the secondary node 14; the secondary node 14 is configured to determine whether to register the registration event according to the stored pre-registration record and the product identification code included in the registration event.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks are executed on the computer or other programmable apparatus.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (9)

1. A production control method based on identification resolution is characterized by comprising the following steps:
the method comprises the steps that a supervision platform generates product identification codes corresponding to production quantity for a target enterprise according to the production quantity of target products, wherein the production quantity of the target products is the quantity of the target products allowed to be produced by the target enterprise in a target time period;
the supervision platform pre-registers the product identification code to a secondary node corresponding to the target enterprise, and if pre-registration success information returned by the secondary node is received, the product identification code is sent to a product production system of the target enterprise;
when the production of any target product is finished, the product production system of the target enterprise randomly selects a product identification code from a plurality of pre-registered product identification codes to distribute to the target product, and registers the production information of the target product and the selected product identification code into an enterprise node corresponding to the target enterprise;
the enterprise node sends the registration event of any target product to the secondary node;
the secondary node judges whether to register the registration event according to the stored pre-registration record and the product identification code included in the registration event;
wherein, the supervision platform pre-registers the product identification code to a secondary node corresponding to the target enterprise, and the method comprises the following steps:
the supervision platform sends a pre-registration request to the secondary node, wherein the pre-registration request comprises a product identification code to be pre-registered, an enterprise node corresponding to the target enterprise, an enterprise identifier of the target enterprise and a private key signature of the supervision platform; the secondary node verifies the private key signature in the pre-registration request according to the public key of the supervision platform; after the product identification code passes the verification, the secondary node generates and stores a pre-registration record according to the product identification code to be pre-registered, wherein the pre-registration record comprises the product identification code to be pre-registered, the node prefix of the enterprise node corresponding to the target enterprise, the enterprise identifier of the target enterprise and a temporary mark.
2. The method of claim 1, wherein the secondary node determining whether to register the registration event according to the stored pre-registration record and a product identifier included in the registration event comprises:
the secondary node detects whether a record corresponding to the product identification code included in the registration event is stored in the node;
if not, discarding the registration event;
if so, identifying whether the record corresponding to the product identification code is a pre-registered record, a legal record or an abnormal record according to the mark type included in the record;
if the record is a pre-registered record, finishing registration based on the registration event, and updating the type of the pre-registered record into a legal record;
if the record is legal, updating the legal record into an abnormal record, increasing the value of a counter corresponding to the abnormal record by 1, and sending alarm information to the supervision platform;
and if the abnormal record exists, increasing the value of the counter corresponding to the abnormal record by 1 so as to record the quantity of the excessive production of the target enterprise.
3. The method of claim 2, wherein updating the type of the pre-registered record to a legitimate record comprises:
and replacing the temporary mark in the pre-registered record with a legal mark.
4. The method of claim 3, wherein updating the legal record to an exception record comprises:
and replacing the legal marks in the legal records with abnormal marks.
5. The method according to any one of claims 1-4, further comprising:
when the secondary node receives a product identification code analysis request aiming at the target product, searching whether a record corresponding to the product identification code exists;
if so, judging whether the type of the record is a legal record;
if the product identification code is not a legal record, returning a query result that the product identification code does not exist;
if the product identification code is legal, returning the routing address of the enterprise node corresponding to the product identification code;
and if no record exists, returning a query result that the product identification code does not exist.
6. The method of claim 1, further comprising: the method comprises the following steps that the secondary node deletes the abnormal record stored in the secondary node within a preset time period, and the steps comprise:
for each target enterprise, the secondary node acquires the value of a counter corresponding to each abnormal record to be deleted by the target enterprise in the current time period, and calculates the sum of the values of the counters corresponding to all the abnormal records to acquire the abnormal times of the target enterprise in the current time period;
storing the enterprise identification of the target enterprise, the abnormal times in the current time period and the current timestamp as the abnormal time record of the target enterprise;
and deleting the abnormal record in the current time period.
7. The method of claim 1, further comprising:
the supervision platform distributes the production quantity of the target products in the target time period for each target enterprise with the target product production authority.
8. The method of claim 7, wherein the supervision platform allocates the production amount of the target product in the target time period for each target enterprise having the target product production authority, comprising:
acquiring abnormal frequency records of each target enterprise in the last target time period;
calculating the proportion of the abnormal times of each target enterprise recorded in the total abnormal times record in the last target time period;
and aiming at each target enterprise, calculating the production quantity of the target products of the target enterprise in the target time period according to the corresponding proportion of the target enterprise and the total production quantity of the target products in the target time period.
9. A production control system based on identification analysis is characterized by comprising a supervision platform, a product production system of a target enterprise, an enterprise node and a secondary node;
the monitoring platform is used for generating product identification codes corresponding to the production quantity for a target enterprise according to the production quantity of target products, pre-registering the product identification codes to a secondary node corresponding to the target enterprise, and sending the product identification codes to a product production system of the target enterprise if pre-registration success information returned by the secondary node is received, wherein the production quantity of the target products is the quantity of the target products allowed to be produced by the target enterprise in a target time period;
the product production system of the target enterprise is used for randomly selecting a product identification code from a plurality of pre-registered product identification codes when the production of any target product is finished, and registering the production information of the target product and the selected product identification code into an enterprise node corresponding to the target enterprise;
the enterprise node is used for sending the registration event of any target product to the secondary node;
the secondary node is used for judging whether to register the registration event according to the stored pre-registration record and the product identification code included in the registration event;
when the product identification code is pre-registered to a secondary node corresponding to the target enterprise, the supervision platform is specifically configured to send a pre-registration request to the secondary node, where the pre-registration request includes the product identification code to be pre-registered, an enterprise node corresponding to the target enterprise, an enterprise identifier of the target enterprise, and a private key signature of the supervision platform;
the secondary node is used for verifying the private key signature in the pre-registration request according to the public key of the supervision platform; after the product identification code passes the verification, the secondary node is further used for generating and storing a pre-registration record according to the product identification code to be pre-registered, wherein the pre-registration record comprises the product identification code to be pre-registered, the node prefix of the enterprise node corresponding to the target enterprise, the enterprise identification of the target enterprise and the temporary mark.
CN202111302896.5A 2021-11-05 2021-11-05 Production control method and system based on identification analysis Active CN113743833B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111302896.5A CN113743833B (en) 2021-11-05 2021-11-05 Production control method and system based on identification analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111302896.5A CN113743833B (en) 2021-11-05 2021-11-05 Production control method and system based on identification analysis

Publications (2)

Publication Number Publication Date
CN113743833A CN113743833A (en) 2021-12-03
CN113743833B true CN113743833B (en) 2022-02-08

Family

ID=78727410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111302896.5A Active CN113743833B (en) 2021-11-05 2021-11-05 Production control method and system based on identification analysis

Country Status (1)

Country Link
CN (1) CN113743833B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338527B (en) * 2021-12-30 2023-09-08 中国电信股份有限公司 IPv6 active identifier processing method and system
CN114884973B (en) * 2022-03-25 2023-11-17 徐工汉云技术股份有限公司 Batch registration method and device for vehicle positioning data and storage medium
CN114928475B (en) * 2022-04-25 2023-11-21 浪潮工业互联网股份有限公司 Industrial equipment authentication method, equipment and medium based on identification analysis

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2706183C1 (en) * 2019-04-11 2019-11-14 Алексей Владиславович Потанин Method of fixing data associated with production and sale of products, and corresponding system
CN110727937B (en) * 2019-09-25 2023-08-11 南京优速网络科技有限公司 Marketing chain management method based on industrial Internet identification analysis technology
CN110941611B (en) * 2019-11-06 2022-04-15 四川长虹电器股份有限公司 Identification analysis system implementation method based on block chain technology and identification coding technology
CN111178894B (en) * 2020-04-10 2020-09-11 支付宝(杭州)信息技术有限公司 Asset type registration and transaction record verification method and system
CN111209596A (en) * 2020-04-21 2020-05-29 国网电子商务有限公司 Block chain-based industrial internet identification analysis access control method
CN112016015B (en) * 2020-08-31 2022-08-30 中国信息通信研究院 Data processing method and device based on distributed identification analysis
CN112422709B (en) * 2020-11-05 2023-06-20 中国联合网络通信集团有限公司 Identification management method, terminal equipment, identification analysis secondary node and medium
CN113055363B (en) * 2021-03-02 2023-07-04 南通大学 Identification analysis system implementation method based on blockchain trust mechanism

Also Published As

Publication number Publication date
CN113743833A (en) 2021-12-03

Similar Documents

Publication Publication Date Title
CN113743833B (en) Production control method and system based on identification analysis
CN111949672B (en) Block chain storage method for supporting incremental update of Internet-of-things data
CN110135194B (en) Block chain-based industrial internet digital object management method
CN110602455B (en) Video storage system, video processing method, device, equipment and storage medium
CN109842858B (en) Service abnormal order detection method and device
CN112184066A (en) Block chain system for construction engineering quality detection supervision
CN106650496B (en) Data processing method and device
US11003747B2 (en) Salting text in database tables, text files, and data feeds
CN112749968B (en) Service data recording method and device based on block chain
CN110033302A (en) The recognition methods of malice account and device
CN112148920B (en) Data management method
CN112037055B (en) Transaction processing method, device, electronic equipment and readable storage medium
CN115860609B (en) Commodity dispatching and tracing system and method controlled by block chain
CN111427871B (en) Data processing method, device and equipment
CN114462998A (en) Log tamper-proofing method, system and storage medium
CN112765588B (en) Identity recognition method and device, electronic equipment and storage medium
CN110741368A (en) System and method for identifying leaked data and assigning errors to suspected compromised persons
CN110674532A (en) Tamper-proof method and device for evidence file
CN113506026B (en) Credit evaluation method and system based on block chain
CN118229424B (en) Public resource transaction data analysis method and system based on blockchain technology
CN113992334B (en) Storage method and verification method and device of equipment side data and electronic equipment
CN111368616A (en) Method, device and equipment for identifying slave vehicle
CN117710068B (en) Temporary supplier verification method, device and equipment based on artificial intelligence
CN114780986B (en) Authentication data processing method and device, electronic equipment and medium
CN111062051B (en) Authority management method of medical data system

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
GR01 Patent grant
GR01 Patent grant