A method, device, and medium for identifier processing based on a microservice architecture.

CN114936617BActive Publication Date: 2025-10-28浪潮工业互联网股份有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210544396.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-19
Publication Date
2025-10-28
Estimated Expiration
2042-05-19

AI Technical Summary

Technical Problem

The existing commodity transaction identification codes have too many types, which makes the identification terminal devices incompatible. Furthermore, unifying and standardizing the codes requires a lot of resources for adjustment, and information security is difficult to guarantee.

Method used

A microservice-based approach is adopted to generate an industry segmentation network and a unified identification code. By using a preset mathematical model to calculate the industry correlation, a unified product identification is generated, which includes the concatenation of a prefix identification code, a channel identification code, and an information code. Anti-counterfeiting information is added to achieve identification uniformity and security.

Benefits of technology

Without altering the existing coding system, unified identification was achieved, improving industry efficiency and compatibility with terminal devices, reducing hardware development costs, and ensuring information security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114936617B_ABST
    Figure CN114936617B_ABST
Patent Text Reader

Abstract

This application provides a method, device, and medium for identifier processing based on a microservice architecture. The method acquires product industry information and generates an industry segmentation network based on this information. The industry segmentation network includes several industry segmentation blocks. Each industry segmentation block is assigned a preset prefix identifier code. The method then acquires identifier information to be processed. Based on this identifier information, it determines the corresponding industry sub-blocks of the industry segmentation blocks. Each industry sub-block includes at least a prefix identifier code and a channel identifier code. Based on the identifier information to be processed and the industry sub-blocks, it generates a unified product identifier for the corresponding identifier. This solution achieves identifier unification simply and securely.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet technology, and in particular to an identification processing method, device and medium based on a microservice architecture. Background Technology

[0002] In the era of the Internet of Things, various identification codes such as barcodes and QR codes have made the transmission and sharing of information more convenient. For example, product identification codes affixed to goods can carry information about the product's manufacturing process and traceability. There are now many different identification code encoding standards, each with its own recognition mechanism.

[0003] The current commodity transaction identification codes have too many types of codes, making the terminals that recognize the codes incompatible. If the existing coding system is unified and standardized, a lot of resources will be wasted on adjustments. Moreover, how to ensure the information security of the identification codes is also a problem that needs to be solved for the sake of unifying and standardizing the codes. Summary of the Invention

[0004] This application provides a microservice architecture-based identification processing method, device, and medium for easily and securely achieving identification unification and compatibility with terminal devices that recognize identification codes.

[0005] On the one hand, embodiments of this application provide an identifier processing method based on a microservice architecture, the method comprising:

[0006] Obtain product industry information. Based on this information, generate an industry segmentation network. This network comprises several industry segmentation blocks. Each segmentation block is assigned a preset prefix identifier. Obtain the identifier information to be processed. Based on this information, determine the corresponding industry sub-blocks within each industry segmentation block. Each sub-block must include at least a prefix identifier and a channel identifier. Based on the identifier information and the sub-blocks, generate the corresponding unified product identifier for each identifier to be processed.

[0007] In one implementation of this application, several industry identifiers and corresponding industry attribute data are determined from the commodity industry information. Each industry identifier corresponds one-to-one with an industry segmentation block. The industry attribute data is used to determine the association between the corresponding industry identifiers and each other. The industry attribute data at least includes the fund flow of the corresponding industry on the financial platform. Based on the industry attribute data and a preset mathematical model, the industry correlation degree of each industry segmentation block is determined. The preset mathematical model is used to calculate the industry correlation degree. The preset mathematical model is also used to calculate the Euclidean distance. Based on the industry correlation degree of each industry segmentation block, an industry segmentation network is determined.

[0008] In one implementation of this application, historical industry attribute data is input into a preset mathematical model for training until the preset mathematical model converges, resulting in a trained preset mathematical model. Industry attribute data is then input into the trained preset mathematical model to obtain the Euclidean distance between each industry identifier, and this Euclidean distance is used as the industry correlation degree.

[0009] In one implementation of this application, a correlation sequence of industry identifiers is generated according to the industry relevance and in a predetermined order. A negative sign is added to every other element value in the correlation sequence, and the sum of the correlation sequences after adding the negative signs is calculated. The correlation sequence corresponding to the minimum sum is taken as the correlation sequence of the central industry. Based on the correlation sequence of the central industry, each industry segmentation block is sequentially connected, centered on the industry segmentation block of the central industry, to determine the industry segmentation network.

[0010] In one implementation of this application, after identifying the identifier to be processed, an industry identifier and a channel identifier are generated for the identifier to be processed, so as to determine the identifier information to be processed based on the industry identifier and the channel identifier. The identifier information to be processed includes the industry identifier, the channel identifier, and the product information corresponding to the identifier. The channel identifier corresponds to the product's source channel. Based on the industry identifier in the identifier information to be processed, a corresponding industry segmentation block is determined. Based on the channel identifier, a corresponding industry sub-block is determined within the industry segmentation block.

[0011] In one implementation of this application, the identification information to be processed is converted into an information code. The information code is a binary code. The prefix identification code, channel identification code, and information code are sequentially concatenated to generate a unified product identifier based on the concatenated identification code.

[0012] In one implementation of this application, anti-counterfeiting information is generated and sent to a management terminal. Based on user operations on the management terminal, an anti-counterfeiting line is received and added to the product's unified identifier. The product's unified identifier is a QR code.

[0013] In one implementation of this application, anti-counterfeiting information is generated and sent to a management terminal. Based on the user's selection operation on the management terminal, the anti-counterfeiting dot matrix is ​​received and added to the product's unified identifier. The product's unified identifier is a QR code.

[0014] On the other hand, embodiments of this application also provide an identifier processing device based on a microservice architecture, the device comprising:

[0015] At least one processor; and a memory communicatively connected to the at least one processor. The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to:

[0016] Obtain product industry information. Based on this information, generate an industry segmentation network. This network comprises several industry segmentation blocks. Each segmentation block is assigned a preset prefix identifier. Obtain the identifier information to be processed. Based on this information, determine the corresponding industry sub-blocks within each industry segmentation block. Each sub-block must include at least a prefix identifier and a channel identifier. Based on the identifier information and the sub-blocks, generate the corresponding unified product identifier for each identifier to be processed.

[0017] Furthermore, embodiments of this application also provide a non-volatile computer storage medium for identifier processing based on a microservice architecture, storing computer-executable instructions configured as follows:

[0018] Obtain product industry information. Based on this information, generate an industry segmentation network. This network comprises several industry segmentation blocks. Each segmentation block is assigned a preset prefix identifier. Obtain the identifier information to be processed. Based on this information, determine the corresponding industry sub-blocks within each industry segmentation block. Each sub-block must include at least a prefix identifier and a channel identifier. Based on the identifier information and the sub-blocks, generate the corresponding unified product identifier for each identifier to be processed.

[0019] This application regenerates prefix and channel identifier codes for existing identifiers to be processed through a generated industry segmentation network. This unification of identifiers is achieved without altering the original coding system. By saving on identifier unification costs, the solution provided in this application can improve industry efficiency. After providing unified encoding, a universal decoding method is offered, improving compatibility with different external systems. Furthermore, based on unified encoding logic, equipment manufacturing possesses multiple compatibility features, reducing hardware development costs. This application achieves identifier unification simply and securely using the above solution. Attached Figure Description

[0020] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0021] Figure 1 This is a flowchart illustrating an identifier processing method based on a microservice architecture, as described in an embodiment of this application.

[0022] Figure 2 This is a schematic diagram of the structure of an identification processing device based on a microservice architecture, as described in an embodiment of this application. Detailed Implementation

[0023] To make the purpose, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the specific embodiments of this application and the corresponding drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0024] This application provides a microservice-based identifier processing method, device, and medium for easily and securely achieving identifier unification and compatibility with terminal devices that recognize identifier codes. The identifier processing method established in this application is implemented through a microservice architecture, dividing a single application into a set of small services that coordinate and cooperate with each other to provide end-user value. For example, identifier recognition, collection of identifiers to be processed, and encoding of industry identifiers and channel identifiers in this application can all be implemented as microservices.

[0025] The various embodiments of this application are described in detail below with reference to the accompanying drawings.

[0026] This application provides an identification processing method based on a microservice architecture, such as... Figure 1 As shown, the method may include steps S101-S105:

[0027] S101, the server retrieves product industry information.

[0028] In this embodiment, the server can obtain product industry information via the Internet. Product industry information refers to different industry identifiers and industry attributes. For example, the industry identifier is "agriculture," and the corresponding fund flows for industry attributes include grain processing, fertilizer manufacturing, etc. Product industry information can also be information stored in a preset database. This application does not specifically limit the source of product industry information.

[0029] It should be noted that the server, as the execution entity of the identification processing method based on the microservice architecture, exists only as an example, and the execution entity is not limited to the server. This application does not make any specific limitation in this regard.

[0030] S102, the server generates an industry segmentation network based on the product industry information.

[0031] The industry segmentation network comprises several industry segmentation blocks. Each industry segmentation block is assigned a pre-defined prefix identifier.

[0032] In this embodiment of the application, the server generates an industry segmentation network based on product industry information, specifically including:

[0033] First, the server identifies several industry identifiers and corresponding industry attribute data in the product industry information.

[0034] Each industry identifier corresponds one-to-one with a specific industry segmentation block. Industry attribute data is used to determine the association between the corresponding industry identifier and other industry identifiers. Industry attribute data must at least include the fund flows of the corresponding industry on the financial platform.

[0035] In this embodiment of the application, the relationship refers to the flow of funds and the fund transfers between various industry identifiers.

[0036] Next, the server determines the industry correlation of each industry segment based on industry attribute data and a preset mathematical model.

[0037] A preset mathematical model is used to calculate industry correlation. A preset mathematical model is also used to calculate Euclidean distance.

[0038] The server determines the industry correlation of each industry segment based on industry attribute data and a pre-set mathematical model, specifically including:

[0039] The server inputs historical industry attribute data into a preset mathematical model for training until the preset mathematical model converges, thus obtaining a trained preset mathematical model.

[0040] In this embodiment, the preset mathematical model can be a convolutional neural network (CNN) model or a recurrent neural network (RNN) model. Historical industry attribute data is used as samples to train the preset mathematical model. The output of the preset mathematical model is the industry correlation degree between each industry identifier and other industry identifiers. This industry correlation degree is obtained by the preset mathematical model calculating the proportion of capital flows between industries. When calculating the industry correlation degree, the preset mathematical model can also determine the industries with the same capital flows between two industry identifiers based on the obtained capital flow ratio, and obtain the Euclidean distance between the two industry identifiers based on the capital flow ratio, and use this Euclidean distance as the correlation degree between the two industries.

[0041] For example, industry A1 has funds flowing to industries B1, B2, and B3, with the respective fund flow ratios being (a1, b1, c1). Similarly, industry A2 has funds flowing to industries B1, B2, and B3, with the respective fund flow ratios being (a2, b2, c2). By calculating the Euclidean distance between (a1, b1, c1) and (a2, b2, c2), the industry correlation can be obtained.

[0042] By training the pre-set mathematical model with historical industry attribute data until the mathematical model converges, a more reliable industry correlation can be obtained.

[0043] The server inputs industry attribute data into a pre-trained mathematical model to obtain the Euclidean distance of each industry identifier, and uses the Euclidean distance as the industry relevance.

[0044] Finally, the server determines the industry segmentation network based on the industry relevance of each industry segmentation block.

[0045] After obtaining the industry correlation between industry segments, the industry segments can be spliced ​​together. The splicing can be done in order of the degree of industry correlation, forming an industry segmentation network composed of several industry segments.

[0046] The server determines the industry segmentation network based on the industry relevance of each industry segmentation block, specifically including:

[0047] First, the server generates a sequence of associations for each industry identifier according to the industry relevance and in a predetermined order.

[0048] The order of the pre-selection can be in ascending order. For example, the correlation sequence of industry correlation for industry A3 is [1,1,2,2,3,3,4,4], and the correlation sequence of industry correlation for industry A4 is [1,2,3,4,5,6,7,8].

[0049] Next, the server adds a negative sign to the associated sequence at intervals of one sequence element value, and calculates the sum of the associated sequences after adding the negative sign.

[0050] The associated sequence [1,1,2,2,3,3,4,4] is modified by adding a negative sign to each element value at intervals of one, resulting in the associated sequence [1,-1,2,-2,3,-3,4,-4]. The sum of the associated sequences after adding negative signs is calculated to be 0.

[0051] Then, the server uses the association sequence corresponding to the minimum value among the sums as the association sequence for the central industry.

[0052] After obtaining the sum of each associated sequence after adding a negative sign, find the associated sequence corresponding to the minimum sum and take that sequence as the associated sequence of the central industry, such as agriculture.

[0053] Finally, based on the association sequence of the central industry, the server connects each industry segment block sequentially, with the industry segment block of the central industry as the center, to determine the industry segmentation network.

[0054] In other words, taking agriculture as the central industry, the various industry segments are connected sequentially according to their industry relevance. For example, industries with a distance of 1 include processing and fertilizer manufacturing, while industries with a distance of 2 include snack food factories and livestock farms. After connecting the industry segments in sequence, an industry segmentation network can be obtained.

[0055] In addition, when generating industry-specific blocks, the server can pre-assign a unique industry identifier code to each industry-specific block, such as 001 for agriculture and 002 for catering.

[0056] The above scheme can differentiate between industries, thereby providing industry prefix codes for identification when unifying the identifier. This not only achieves unified identification but also ensures that the identifier code can be generated easily.

[0057] S103, the server obtains the identifier information to be processed.

[0058] In this embodiment, the server can collect the identifier to be processed via a PDA device, or it can obtain the digital code and image (QR code image) of the identifier to be processed, and then parse the identifier to obtain the identifier information carried by the identifier. The server in this application has the function of recognizing identifiers with different encoding specifications, thereby ensuring that identifiers with different encoding specifications are identified uniformly.

[0059] The identifier to be processed can be a transaction QR code for a product, such as an identification code used for payment.

[0060] S104, the server determines the industry sub-block of the corresponding industry segmentation block based on the identifier information to be processed.

[0061] The industry sub-blocks must include at least a prefix identifier and a channel identifier.

[0062] In this embodiment of the application, the server determines the industry sub-block of the corresponding industry segmentation block based on the identifier information to be processed, specifically including:

[0063] After identifying the identifier to be processed, the server generates an industry identifier and a channel identifier for the identifier to be processed, and determines the identifier information to be processed based on the industry identifier and the channel identifier.

[0064] The pending identification information includes industry identification, channel identification, and the corresponding product information. The channel identification corresponds to the product's source channel.

[0065] Product information should include at least the manufacturer or production process information, the selling price, and the pricing information. The product sourcing channel should include, for example, WeChat or Alipay.

[0066] In this embodiment, the server can identify the industry and channel corresponding to the product associated with the identifier to be processed. For example, after identifying the identifier, the information carried within the identifier includes an industry identifier and a channel identifier. Alternatively, the server can send industry confirmation information and channel confirmation information to the user terminal corresponding to the identifier to determine the industry identifier and channel identifier. For instance, the server can send confirmation information to the user terminal that is unifying the identifier of the identifier to be processed. Based on this confirmation information, the user terminal can input or select the industry identifier and channel identifier of the product corresponding to the identifier to be processed and send them to the server.

[0067] The server determines the corresponding industry segmentation block based on the industry identifier in the identifier information to be processed.

[0068] After obtaining the industry identifier from the identifier information to be processed, the server can use the industry identifier to identify the industry segmentation block to which the industry identifier belongs in the industry segmentation network, thereby obtaining the industry prefix code of the industry identifier.

[0069] The server determines the corresponding industry sub-block within the industry segmentation block based on the channel identifier.

[0070] Based on the channel identifier, the corresponding industry sub-block can be further obtained from the industry segmentation block. For example, the channel identifiers corresponding to the industry sub-blocks include WeChat, Alipay, etc. Furthermore, the industry sub-blocks include channel identifier codes containing the channel identifiers; for example, the WeChat channel identifier code is 003, and the Alipay channel identifier code is 004.

[0071] S105, the server generates a unified product identifier for the corresponding identifier based on the identifier information to be processed and the industry sub-block.

[0072] In this embodiment, the server generates a unified product identifier for the corresponding identifier to be processed based on the identifier information to be processed and the industry sub-block, specifically including:

[0073] The server converts the identification information to be processed into information codes.

[0074] The information code is a binary code.

[0075] After receiving the identification information to be processed, the server digitizes it to obtain a binary information code. For example, if the content of the identification information to be processed is: Manufacturer X of product T, the server converts this content into an information code.

[0076] In addition, the identification information to be processed can be self-created information, such as inputting it into the server: the manufacturer X of product T. The server can use this content as the identification information to be processed and convert it into an information code.

[0077] The server concatenates the prefix identifier, channel identifier, and information code in sequence to generate a unified product identifier based on the concatenated identifier.

[0078] After obtaining the prefix identifier, channel identifier, and information code, the server can concatenate the codes sequentially. For example, if the prefix identifier is A0001, the channel prefix is ​​C100010, and the information code is 1010101010..., the server can generate a unified product identifier after concatenating them sequentially.

[0079] By using a unified product identifier, all identification code recognition terminals can decode the code using this unified encoding standard, thus avoiding incompatibility issues between different terminal devices due to different encoding standards.

[0080] In this embodiment of the application, after the server generates a unified product identifier based on the concatenated identifier code, it further includes:

[0081] The server generates anti-counterfeiting information and sends it to the management terminal.

[0082] Based on user operations on the management terminal, the server receives the anti-counterfeiting line and adds it to the product's unified identifier. The unified identifier is a QR code.

[0083] In this embodiment of the application, in order to better generate a secure and anti-counterfeiting unified product identifier, the server can generate anti-counterfeiting information. The management terminal can perform the operation indicated by the anti-counterfeiting information, and the user can slide in any direction to generate a sliding anti-counterfeiting line. The anti-counterfeiting line is then added to the unified product identifier, thereby achieving the purpose of anti-counterfeiting through the identifier code.

[0084] Alternatively, the server can generate anti-counterfeiting information and send it to the management terminal.

[0085] Based on the user's selection of the management terminal, the server receives the anti-counterfeiting dot matrix and adds it to the product's unified identifier. The product's unified identifier is a QR code.

[0086] The server can generate anti-counterfeiting dot matrix based on the generated product unified identifier. The anti-counterfeiting dot matrix can be a dot matrix of evenly arranged pixels added to the product unified identifier.

[0087] The above scheme achieves unified coding standards without altering the existing coding system, simplifying and securely unifying the coding, thus ensuring the identifier code is compatible with various terminal devices. The identifier processing scheme provided in this application eliminates the need for wasting resources adjusting the identifier code coding standard.

[0088] For terminals that identify the identification code in this application, a unified product identifier can be generated through this application for identification. Each terminal that identifies the identification code only needs to use the decoding specification provided by the unified product identifier in this application to identify the unified product identifier in this application, thereby solving the problem of incompatibility between terminals that identify the identification code. This application does not change the data in the original identification code, but adds the same product identification code according to the industry and channel, and encodes the original data into the same product identifier without modification, thereby ensuring information security and preventing information loss.

[0089] In one embodiment of this application, the industry sub-block can also be further quantified by encoding the identification code based on the time and space of the product, thereby preventing the problem of duplicate identification when identifying the unified identification of the product.

[0090] For example, after encoding the I time and D region, it is added to the channel identification code, which makes it easier to distinguish the channel identification codes of industry sub-blocks.

[0091] Figure 2 A schematic diagram of a microservice-based identifier processing device provided in this application embodiment, the device comprising:

[0092] At least one processor; and a memory communicatively connected to the at least one processor. The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to:

[0093] Obtain product industry information. Based on this information, generate an industry segmentation network. This network comprises several industry segmentation blocks. Each segmentation block is assigned a preset prefix identifier. Obtain the identifier information to be processed. Based on this information, determine the corresponding industry sub-blocks within each industry segmentation block. Each sub-block must include at least a prefix identifier and a channel identifier. Based on the identifier information and the sub-blocks, generate the corresponding unified product identifier for each identifier to be processed.

[0094] This application embodiment also provides a non-volatile computer storage medium for identifier processing based on a microservice architecture, storing computer-executable instructions, which are configured as follows:

[0095] Obtain product industry information. Based on this information, generate an industry segmentation network. This network comprises several industry segmentation blocks. Each segmentation block is assigned a preset prefix identifier. Obtain the identifier information to be processed. Based on this information, determine the corresponding industry sub-blocks within each industry segmentation block. Each sub-block must include at least a prefix identifier and a channel identifier. Based on the identifier information and the sub-blocks, generate the corresponding unified product identifier for each identifier to be processed.

[0096] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and medium embodiments are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0097] The devices, media, and methods provided in this application are one-to-one correspondences. Therefore, the devices and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0098] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0099] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of this application should be included within the scope of the claims of this application.

Claims

1. A method for identifier processing based on a microservice architecture, characterized in that, The method includes: Obtain product industry information; Based on the product industry information, an industry segmentation network is generated; wherein, the industry segmentation network includes several industry segmentation blocks; each industry segmentation block is assigned a preset prefix identifier code; Obtain the identifier information to be processed; Based on the identification information to be processed, the corresponding industry sub-block of the industry segmentation block is determined; the industry sub-block includes at least the prefix identification code and the channel identification code; Based on the pending identifier information and the industry sub-block, generate a unified product identifier for the corresponding pending identifier; Specifically, based on the product industry information, an industry segmentation network is generated, including: The process involves identifying several industry identifiers and corresponding industry attribute data within the product industry information; wherein each industry identifier corresponds one-to-one with an industry segmentation block; the industry attribute data is used to determine the association between the corresponding industry identifier and each industry identifier; and the industry attribute data includes at least the fund flow of the corresponding industry on the financial platform. Based on the industry attribute data and the preset mathematical model, the industry correlation degree of each industry segment is determined; the preset mathematical model is used to calculate the industry correlation degree; the preset mathematical model is used to calculate the Euclidean distance. The industry segmentation network is determined based on the industry correlation of each industry segmentation block; Specifically, determining the industry segmentation network based on the industry relevance of each industry segmentation block includes: Based on the industry relevance, an association sequence of each industry identifier is generated in a predetermined order; Add a negative sign to the associated sequence at intervals of one sequence element value, and calculate the sum of the associated sequence after adding the negative sign; The association sequence corresponding to the minimum value among the sums is taken as the association sequence of the central industry; Based on the association sequence of the central industry, the industry segmentation blocks are sequentially connected, with the industry segmentation block of the central industry as the center, to determine the industry segmentation network.

2. The method according to claim 1, characterized in that, Based on the industry attribute data and a preset mathematical model, the industry correlation degree of each industry segmentation block is determined, specifically including: Historical industry attribute data is input into the preset mathematical model for training until the preset mathematical model converges, thus obtaining the trained preset mathematical model. The industry attribute data is input into the trained preset mathematical model to obtain the Euclidean distance of each industry identifier, and the Euclidean distance is used as the industry relevance.

3. The method according to claim 1, characterized in that, Based on the identifier information to be processed, the corresponding industry sub-block of the industry segmentation block is determined, specifically including: After identifying the identifier to be processed, an industry identifier and a channel identifier are generated for the identifier to be processed, so as to determine the identifier information based on the industry identifier and the channel identifier; wherein, the identifier information includes the industry identifier, the channel identifier, and the product information corresponding to the identifier to be processed; the channel identifier corresponds to the product source channel; Based on the industry identifier in the identifier information to be processed, determine the corresponding industry segmentation block; Based on the channel identifier, the corresponding industry sub-block in the industry segmentation block is determined.

4. The method according to claim 1, characterized in that, Based on the pending identifier information and the industry sub-block, a corresponding unified product identifier for the pending identifier is generated, specifically including: The identification information to be processed is converted into an information code; wherein the information code is a binary code; The prefix identifier, the channel identifier, and the information code are sequentially concatenated to generate the unified product identifier based on the concatenated identifier.

5. The method according to claim 4, characterized in that, After generating the unified product identifier based on the concatenated identifier code, the method further includes: Generate anti-counterfeiting information and send the anti-counterfeiting information to the management terminal; Based on the user's operation of the management terminal, the anti-counterfeiting line is received and added to the unified product identifier; the unified product identifier is a QR code.

6. The method according to claim 4, characterized in that, After generating the unified product identifier based on the concatenated identifier code, the method further includes: Generate anti-counterfeiting information and send the anti-counterfeiting information to the management terminal; Based on the user's selection operation of the management terminal, the anti-counterfeiting dot matrix is ​​received and added to the unified product identifier; the unified product identifier is a QR code.

7. A microservice-based identifier processing device, characterized in that, The device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform an identification processing method based on a microservice architecture as described in any one of claims 1-6.

8. A non-volatile computer storage medium for identifier processing based on a microservice architecture, storing computer-executable instructions, characterized in that, The computer-executable instructions are capable of executing an identification processing method based on a microservice architecture as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Industrial Internet identifier coding method and device

    CN112653774A