Search

CN-116070659-B - Processing method for identifying information of SIM card supply chain label

CN116070659BCN 116070659 BCN116070659 BCN 116070659BCN-116070659-B

Abstract

The embodiment of the invention relates to a processing method for identifying information of a supply chain label of a SIM card, which comprises the steps of carrying out information scanning on a first supply chain label on a first SIM card logistics package to obtain corresponding first scanning information; and carrying out code identification information identification processing on the first analysis data packet based on a preset code identification analysis rule to obtain a corresponding first identification information set. The invention can reduce the complexity of supply chain management and the cost of informationized processing.

Inventors

  • Tao Lisi
  • LI ZONGSHENG

Assignees

  • 北京树米网络科技有限公司
  • 北京树米智能科技有限公司
  • 深圳树米网络科技有限公司

Dates

Publication Date
20260508
Application Date
20230210

Claims (9)

  1. 1. A processing method for identifying information of a supply chain tag of a SIM card, the method comprising: The method comprises the steps of carrying out information scanning on a first supply chain label on a first SIM card logistics package to obtain corresponding first scanning information, wherein the first scanning information comprises a first package mode and a first package data packet, and the first package mode comprises a first mode, a second mode, a third mode and a fourth mode; Performing data analysis processing on the first encapsulated data packet according to the first encapsulation mode to obtain a corresponding first analysis data packet; Performing code identification information identification processing on the first analysis data packet based on a preset code identification analysis rule to obtain a corresponding first identification information set, wherein the first identification information set comprises first country name information, first industry name information, first enterprise name information and a first product object information set, and the first product object information set comprises a plurality of first product object information; the code identification analysis rule comprises a primary code domain identifier, a secondary code domain identifier, a country code identification analysis rule, an industry code identification analysis rule, an enterprise code identification analysis rule, a product object code identification analysis rule and/or a safety code identification analysis rule, wherein the primary code domain identifier defaults to a single-point identifier "/", the secondary code domain identifier defaults to a single-point identifier "", and the safety code identification analysis rule is an optional rule; the country code identification analysis rule comprises a first primary code domain index and a first country code identification information table, wherein the first country code identification information table comprises a plurality of first country code identification information records, and the first country code identification information records comprise a first country code identification field and a first country name field; the industry code identification analysis rule comprises a second-level code domain index and a first industry code identification information table, wherein the first industry code identification information table comprises a plurality of first industry code identification information records, and the first industry code identification information records comprise a first industry code identification field and a first industry name field; the enterprise code identification analysis rule comprises a third-level code domain index and a first enterprise code identification information table, wherein the first enterprise code identification information table comprises a plurality of first enterprise code identification information records, and the first enterprise code identification information records comprise a first enterprise code identification field and a first enterprise name field; The product object code identification analysis rule comprises a secondary code domain number N and a first product object code identification information table, wherein the first product object code identification information table comprises N first product object code identification information records, the first product object code identification information records comprise a first product object index field and a first product object name field, and the value range of the field value of the first product object index field is 1 to N; The security code identification analysis rule comprises a first security code identification information table, wherein the first security code identification information table comprises a plurality of first security code identification information records, the first security code identification information records comprise a first algorithm identification field, a first algorithm key field and a first algorithm interface field, and if the corresponding algorithm of the first algorithm identification field is an algorithm without key intervention, the corresponding first algorithm key field is null.
  2. 2. The method for identifying information on a supply chain label of a SIM card according to claim 1, wherein the scanning information on the first supply chain label on the first SIM card logistics package to obtain corresponding first scanned information specifically includes: Identifying the label type of the first supply chain label on the first SIM card logistics package to obtain a corresponding first label type, wherein the first label type comprises a bar code label type, a two-dimensional code label type, an RFID label type and an NFC label type; When the first label type is a bar code label type, carrying out bar code information scanning processing on the first supply chain label based on preset bar code scanning equipment to obtain corresponding first scanning information; when the first label type is a two-dimensional code label type, carrying out two-dimensional code information scanning processing on the first supply chain label based on preset two-dimensional code scanning equipment to obtain corresponding first scanning information; when the first tag type is an RFID tag type, performing RFID tag data reading processing on the first supply chain tag based on preset RFID tag reading equipment to obtain corresponding first RFID tag data, and taking the first RFID tag data as corresponding first scanning information; when the first tag type is an NFC tag type, NFC tag data reading processing is conducted on the first supply chain tag based on preset NFC tag reading equipment to obtain corresponding first NFC tag data, and the first NFC tag data is used as corresponding first scanning information.
  3. 3. The method for identifying information on a SIM card supply chain tag according to claim 1, wherein the performing data parsing on the first encapsulated packet according to the first encapsulation mode to obtain a corresponding first parsed packet specifically includes: when the first encapsulation mode is a first mode, the first encapsulation data packet is used as the corresponding first analysis data packet; When the first packaging mode is a second mode, extracting a corresponding first key identification, a first algorithm identification and first encrypted data from the first packaging data packet, and performing data decryption processing on the first encrypted data by using a first key corresponding to the first key identification based on a first encryption and decryption algorithm corresponding to the first algorithm identification to obtain corresponding first decrypted data; When the first packaging mode is a third mode, extracting corresponding second algorithm identification, first plaintext data and first check code data from the first packaging data packet, performing check code calculation processing according to the first plaintext data based on a first check code algorithm corresponding to the second algorithm identification to obtain corresponding second check code data, and identifying whether the first check code data and the second check code data are matched or not; when the first packaging mode is a fourth mode, corresponding second key identification, third algorithm identification, fourth algorithm identification, second encryption data and third check code data are extracted from the first packaging data packet, data decryption processing is carried out on the second encryption data by using a second key corresponding to the second key identification based on a second encryption and decryption algorithm corresponding to the third algorithm identification to obtain corresponding second decryption data, check code calculation processing is carried out on the second decryption data by using a second check code algorithm corresponding to the fourth algorithm identification to obtain corresponding fourth check code data, whether the third check code data and the fourth check code data are matched or not is identified, if so, the second decryption data are used as corresponding first analysis data packets, and if not, the corresponding first analysis data packets are empty.
  4. 4. The method for identifying information on a SIM card supply chain tag according to claim 1, wherein the identifying information on the code identification of the first parsed data packet based on a preset code identification parsing rule to obtain a corresponding first set of identifying information specifically includes: Step 51, performing character string data conversion on the first analysis data packet to obtain a corresponding first character string; Step 52, confirming whether the code identification analysis rule contains the safety code identification analysis rule or not, if not, setting a corresponding first verification result as verification success, and if so, carrying out safety code verification processing on the first character string based on the safety code identification analysis rule to generate the corresponding first verification result, wherein the first verification result comprises verification success and verification failure; Step 53, identifying whether the first verification result is successful, if so, turning to step 54, otherwise, setting the first country name information, the first business name information and the first product object information set to be empty, and turning to step 57; Step 54, splitting the sub-strings of the first string based on the primary code domain delimiter of the code identification analysis rule, extracting the sub-string located before the primary code domain delimiter in the first string as a corresponding first prefix string, and extracting the sub-string located after the primary code domain delimiter in the first string as a corresponding first suffix string; step 55, performing country, industry and enterprise code identification information identification processing on the first prefix string based on the secondary code domain identifier of the code identification analysis rule, the country code identification analysis rule, the industry code identification analysis rule and the enterprise code identification analysis rule to obtain corresponding first country name information, first industry name information and first enterprise name information; Step 56, carrying out product object code identification information identification processing on the first suffix character string based on the secondary code domain identifier of the code identification analysis rule and the product object code identification analysis rule to obtain the corresponding first product object information set; and step 57, composing and outputting the corresponding first identification information set by the obtained first country name information, the first business name information and the first product object information set.
  5. 5. The method for identifying information on a SIM card supply chain tag according to claim 4, wherein the performing a security code check process on the first string based on the security code identification parsing rule generates the corresponding first check result, and specifically includes: Extracting a sub-string from the last character of the secondary code domain breaker to the end character in the first character string to serve as a corresponding second character string, and taking the rest character strings except the second character string in the first character string as corresponding third character strings; Extracting the characters of the appointed number of the initial positions in the second character string to serve as corresponding fifth algorithm identifications, and extracting the character strings of the second character string except for the fifth algorithm identifications to serve as corresponding first security codes, wherein the appointed number of the initial positions defaults to 2; Extracting the first algorithm key field and the first algorithm interface field of the first security code identification information record, which are matched with the fifth algorithm identification, in the first security code identification information table of the security code identification analysis rule to serve as a corresponding third key and a first algorithm interface, inputting the third character string and the third key into the first algorithm interface to perform security code calculation processing, and taking the security code character string returned by the first algorithm interface as a corresponding second security code; identifying whether the first and second safety codes are matched, setting the corresponding first check result as successful check if the first and second safety codes are matched, and setting the corresponding first check result as failed check if the first and second safety codes are not matched.
  6. 6. The method for processing information identification on a SIM card supply chain tag according to claim 4, wherein the processing for performing country, industry and enterprise code identification information identification processing on the first prefix string based on the secondary code domain blocker, the country code identification analysis rule, the industry code identification analysis rule and the enterprise code identification analysis rule of the code identification analysis rule to obtain the corresponding first country name information, first industry name information and first enterprise name information specifically includes: Extracting a first prefix character string from a first character to a first character of the second code domain partition character to be used as a corresponding first sub character string, and distributing a first sub character string index which is specifically set to be 1 to the first sub character string, extracting a second sub character string from a character which is the next character of the first second code domain partition character to a character which is the previous character of the second code domain partition character to be used as a second sub character string from the first character of the first code domain partition character to the last character of the second code domain partition character to be used as a first sub character string index which is the last character of the second code domain partition character to be used as a first sub character string, and distributing a first sub character string index which is specifically set to be 2 to the second first sub character string from the last character of the second code domain partition character to be used as a last sub character string to be used as a first sub character string; the first sub-string corresponding to the first sub-string index matched with the first primary code domain index of the country code identification analysis rule is used as a corresponding first country code identification, and the first country name field of the first country code identification information record matched with the first country code identification in the first country code identification information table of the country code identification analysis rule is extracted as corresponding first country name information; the first sub-string corresponding to the first sub-string index matched with the second level code domain index of the industry code identification analysis rule is used as a corresponding first industry code identification, and the first industry code identification field and the first industry name field of the first industry code identification information record matched with the first industry code identification in the first industry code identification information table of the industry code identification analysis rule are extracted to be used as corresponding first industry name information; the first sub-string corresponding to the first sub-string index matched with the third level code domain index of the enterprise code identification analysis rule is used as a corresponding first enterprise code identification, and the first enterprise name field of the first enterprise code identification information record matched with the first enterprise code identification in the first enterprise code identification information table of the enterprise code identification analysis rule is extracted as corresponding first enterprise name information; And outputting the obtained first country name information, the first business name information and the first business name information as corresponding processing results.
  7. 7. The method for identifying information on a SIM card supply chain tag according to claim 4, wherein the identifying the product object code identification information on the first suffix string based on the secondary code domain blocker of the code identification resolution rule and the product object code identification resolution rule to obtain the corresponding first product object information set specifically includes: The first suffix character string is extracted according to the secondary code domain partition character and the secondary code domain number N of the product object code identification analysis rule, the sub character string from the initial character to the character before the first secondary code domain partition character in the first suffix character string is extracted to be used as a corresponding first sub character string and a second sub character string index which is specifically set to be 1 is allocated to the first sub character string; extracting a substring from a character after the second code domain blocker to a character before a second code domain blocker in the first suffix character string as a second substring, and distributing a second substring index specifically set as 2 to the second substring, and the like until extracting a substring from a character after the (N-1) th second code domain blocker to a character before the N th second code domain blocker in the first prefix character string as an N-th second substring and distributing the second substring index specifically set as N to the N-th second substring; Extracting the first product object name field of the first product object code identification information record matched with the first product object index field and each second substring index from the first product object code identification information table of the product object code identification analysis rule to serve as a corresponding first product object name; And forming corresponding first product object information by the name of each first product object and the corresponding second substring, and forming corresponding first product object information set by all the obtained first product object information.
  8. 8. An electronic device comprising a memory, a processor, and a transceiver; The processor being operative to couple with the memory, read and execute instructions in the memory to implement the method of any one of claims 1-7; the transceiver is coupled to the processor and is controlled by the processor to transmit and receive messages.
  9. 9. A computer readable storage medium storing computer instructions which, when executed by a computer, cause the computer to perform the method of any one of claims 1-7.

Description

Processing method for identifying information of SIM card supply chain label Technical Field The invention relates to the technical field of data processing, in particular to a processing method for identifying information of a SIM card supply chain label. Background Although a standardized product, SIM cards are not standardized package identification solutions for SIM card packages by different operators and card vendors. This results in a complicated SIM card package identification system being set up by a telecommunications carrier (hereinafter referred to as a service carrier) who purchases SIM card products from different carriers, and from different carriers, to identify the package identification on each SIM card package. This clearly increases the supply chain management complexity and the cost of the informative processing for the service operators. Disclosure of Invention The invention provides a processing method, electronic equipment and a computer readable storage medium for identifying information of a SIM card supply chain label, which are used for providing a unified code identification definition rule and a label data encapsulation rule, and requiring each operator or card manufacturer to encapsulate code identification information conforming to the code identification definition rule into corresponding label data according to the label data encapsulation rule in advance before sending out the SIM card encapsulation, generating a corresponding supply chain label according to the label data, and adding the obtained supply chain label on the SIM card encapsulation, and analyzing label scanning information of the package supply chain label based on a data analysis processing flow corresponding to the label data encapsulation rule when the SIM card encapsulation enters each circulation link of a service operator, and identifying the code identification information of the analysis data packet based on the code identification analysis rule corresponding to the code identification definition rule to obtain a corresponding code identification information set. According to the invention, the service operators only need to identify SIM card package supply chain labels of different operators or different card operators based on one set of rules, so that the purposes of reducing the complexity of supply chain management and the cost of informatization processing are achieved. To achieve the above object, a first aspect of the present invention provides a processing method for identifying information of a SIM card supply chain tag, where the method includes: The method comprises the steps of carrying out information scanning on a first supply chain label on a first SIM card logistics package to obtain corresponding first scanning information, wherein the first scanning information comprises a first package mode and a first package data packet, and the first package mode comprises a first mode, a second mode, a third mode and a fourth mode; Performing data analysis processing on the first encapsulated data packet according to the first encapsulation mode to obtain a corresponding first analysis data packet; And carrying out code identification information identification processing on the first analysis data packet based on a preset code identification analysis rule to obtain a corresponding first identification information set, wherein the first identification information set comprises first country name information, first industry name information, first enterprise name information and a first product object information set, and the first product object information set comprises a plurality of first product object information. Preferably, the step of performing information scanning on the first supply chain tag on the first SIM card logistics package to obtain corresponding first scanning information specifically includes: Identifying the label type of the first supply chain label on the first SIM card logistics package to obtain a corresponding first label type, wherein the first label type comprises a bar code label type, a two-dimensional code label type, an RFID label type and an NFC label type; When the first label type is a bar code label type, carrying out bar code information scanning processing on the first supply chain label based on preset bar code scanning equipment to obtain corresponding first scanning information; when the first label type is a two-dimensional code label type, carrying out two-dimensional code information scanning processing on the first supply chain label based on preset two-dimensional code scanning equipment to obtain corresponding first scanning information; when the first tag type is an RFID tag type, performing RFID tag data reading processing on the first supply chain tag based on preset RFID tag reading equipment to obtain corresponding first RFID tag data, and taking the first RFID tag data as corresponding first scanning information; when the first tag type is