CN113343639B - Product identification code diagram generation and information query method based on product identification code diagram - Google Patents
Product identification code diagram generation and information query method based on product identification code diagram Download PDFInfo
- Publication number
- CN113343639B CN113343639B CN202110547721.4A CN202110547721A CN113343639B CN 113343639 B CN113343639 B CN 113343639B CN 202110547721 A CN202110547721 A CN 202110547721A CN 113343639 B CN113343639 B CN 113343639B
- Authority
- CN
- China
- Prior art keywords
- product
- information
- target
- string
- character string
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/126—Character encoding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
- G06F16/90344—Query processing by using string matching techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/111—Mathematical or scientific formatting; Subscripts; Superscripts
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
- G06F40/157—Transformation using dictionaries or tables
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Artificial Intelligence (AREA)
- Databases & Information Systems (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Mathematical Physics (AREA)
- Pure & Applied Mathematics (AREA)
- Algebra (AREA)
- Data Mining & Analysis (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application discloses a method for generating a product identification code diagram and inquiring information based on the product identification code diagram; the application can obtain a Chinese character set corresponding to at least one product attribute of a target product, wherein the Chinese character set comprises a plurality of Chinese character identifiers for indicating the corresponding product attribute and numbering information corresponding to each Chinese character identifier; generating a random character string of a target product; converting the random character strings to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried; inquiring a target Chinese character identifier corresponding to the number information to be inquired in the Chinese character set; generating at least one product code diagram of a target product according to the target Chinese character identification, wherein the product code diagram is used for providing the target Chinese character identification; the application can effectively improve the safety of the product identification code diagram.
Description
Technical Field
The application relates to the field of communication, in particular to a product identification code diagram generation and information query method based on the product identification code diagram.
Background
With the development of technology, a unique product identification code diagram can be designed for a product in daily life, the product can be registered, traced and the like conveniently through the product identification code diagram, the product identification code diagram can bear contents such as numbers and letters, and the difference between different product identification code diagrams can be smaller and smaller for ensuring that each product corresponds to one unique product identification code diagram under the condition that the number of the product is huge and the total amount of loadable information of the product identification code diagram is limited due to the fact that the total number of the numbers and the letters is limited, so that the safety of the product identification code diagram is lower.
Disclosure of Invention
The embodiment of the application provides a method for generating a product identification code diagram and inquiring information based on the product identification code diagram, which can effectively improve the safety of the product identification code diagram.
The embodiment of the application provides a method for generating a product identification code diagram, which comprises the following steps:
acquiring a Chinese character set corresponding to at least one product attribute of a target product, wherein the Chinese character set comprises a plurality of Chinese character identifiers for indicating the corresponding product attribute and numbering information corresponding to each Chinese character identifier;
generating a random character string of the target product;
converting the random character string to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried;
Inquiring a target Chinese character identifier corresponding to the number information to be inquired in the Chinese character set;
and generating at least one product identification code diagram of the target product according to the target Chinese character identification, wherein the product identification code diagram is used for providing the target Chinese character identification.
Correspondingly, the application provides a device for generating the product identification code graph, which comprises the following steps:
the system comprises an identification set acquisition module, a code generation module and a code generation module, wherein the identification set acquisition module is used for acquiring a Chinese character set corresponding to at least one product attribute of a target product, and the Chinese character set comprises a plurality of Chinese character identifications for indicating the corresponding product attribute and numbering information corresponding to each Chinese character identification;
the random generation module is used for generating a random character string of the target product;
the numerical value determining module is used for converting the random character string to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried;
the identification inquiry module is used for inquiring the target Chinese character identification corresponding to the number information to be inquired in the Chinese character set;
the mark generation module is used for generating at least one product mark code diagram of the target product according to the target Chinese character mark, and the product mark code diagram is used for providing the target Chinese character mark.
In some embodiments, the value determination module includes a calculation sub-module and a determination sub-module, wherein,
the calculation sub-module is used for carrying out hash calculation on the random character strings to obtain hash character strings corresponding to the random character strings;
and the determining submodule is used for converting the hash character string and the random character string to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried.
In some embodiments, the determination submodule includes an acquisition unit, a connection unit, and a determination unit, wherein,
an acquisition unit, configured to acquire a part of character strings in a preset position range in the hash character string;
the connection unit is used for carrying out connection processing on the random character string and the partial character string to obtain a characteristic character string of the target product;
and the determining unit is used for converting the characteristic character string to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried.
In some embodiments, the determining unit is specifically configured to:
dividing the characteristic character string into at least one sub-characteristic string according to a preset dividing strategy;
And carrying out information conversion on each sub-feature string to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried.
In some embodiments, the product attributes include a first product attribute corresponding to a first set of Chinese characters and a second product attribute corresponding to a second set of Chinese characters,
the random generation module is specifically used for:
generating a first random string of a first product attribute of the target product and generating a second random string of a second product attribute of the target product;
the numerical value determining module comprises a first sub-module and a second sub-module, wherein,
the first sub-module is used for converting the first random character string to obtain at least one piece of first converted information with the same format as the number information, and determining the first converted information as first number information to be queried;
the second sub-module is used for converting the first random character string and the second random character string to obtain at least one piece of second converted information with the same format as the number information, and determining the second converted information as second number information to be queried;
The identification inquiry module is specifically used for:
querying a first Chinese character identifier corresponding to the first number information to be queried in the first Chinese character set;
and inquiring a second Chinese character identifier corresponding to the second number information to be inquired in the second Chinese character set, wherein the first Chinese character identifier and/or the second Chinese character identifier are combined into a target Chinese character identifier of the target product.
In some embodiments, the second sub-module comprises a calculation unit, a partial acquisition unit, and a value generation unit, wherein,
the computing unit is used for carrying out hash computation on the first random character string to obtain a first hash character string corresponding to the first random character string, and carrying out hash computation on the second random character string to obtain a second hash character string corresponding to the second random character string;
a part acquisition unit, configured to acquire a first part of character strings in a preset first position range in the first hash character string, and acquire a second part of character strings in a preset second position range in the second hash character string;
the numerical value generating unit is configured to convert the second random string, the first partial string and the second partial string to obtain at least one piece of second converted information with the same format as the number information, and determine the second converted information as second number information to be queried.
In some embodiments, the value generation unit is specifically configured to:
performing connection processing on the second random character string, the first part character string and the second part character string to obtain a second characteristic character string of the target product;
dividing the second characteristic character string into at least one second sub-characteristic string according to a preset dividing strategy;
and converting each second sub-feature string to obtain at least one piece of second converted information with the same format as the number information, and determining the second converted information as second number information to be queried.
The embodiment of the application provides a product information query method based on a product identification code diagram, which comprises the following steps:
acquiring at least one product identification code diagram of a target product and a Chinese character set corresponding to at least one target product attribute of the target product, wherein the Chinese character set comprises a plurality of Chinese character identifications corresponding to the target product attribute and numbering information of each Chinese character identification;
decoding the product identification code diagram to obtain a target Chinese character identification of the target product;
inquiring target numbering information corresponding to the target Chinese character identifiers in the Chinese character set;
Generating product inquiry information of the target product according to the target number information;
and sending the product inquiry information to a blockchain system so as to inquire the product information of the target product in the blockchain system.
Accordingly, the present application provides a product information query device based on a product identification code map, comprising:
the device comprises an identification acquisition module, a code generation module and a code generation module, wherein the identification acquisition module is used for acquiring a product identification code diagram of a target product and a Chinese character set corresponding to at least one product attribute of the target product, and the Chinese character set comprises a plurality of Chinese character identifications corresponding to the product attribute and numbering information of each Chinese character identification;
the decoding module is used for decoding the product identification code diagram to obtain at least one target Chinese character identification of the target product;
the numerical value inquiry module is used for inquiring the target number information corresponding to the target Chinese character identifier in the Chinese character set;
the information generation module is used for generating product inquiry information of the target product according to the target number information;
and the information sending module is used for sending the product inquiry information to a blockchain system so as to inquire the product information of the target product in the blockchain system.
In some embodiments, the information generation module includes a conversion sub-module, a verification sub-module, and a generation sub-module, wherein,
the conversion sub-module is used for carrying out character conversion on the target number information to obtain a characteristic character string corresponding to the target number information;
the verification sub-module is used for determining verification information of the characteristic character string and carrying out safety verification on the characteristic character string based on the verification information;
and the generation sub-module is used for generating the product query information of the target product according to the characteristic character string when the characteristic character string passes the safety check.
In some embodiments, the target product attributes include a first target product attribute corresponding to a first set of Chinese characters and a second target product attribute corresponding to a second set of Chinese characters, the target Chinese character identifiers include at least one first target Chinese character identifier and at least one second target Chinese character identifier,
the numerical value query module is specifically used for:
querying at least one first target number information corresponding to the first target Chinese character identifier in the first Chinese character set and at least one second target number information corresponding to the second target Chinese character identifier in the second Chinese character set;
The conversion submodule is specifically used for:
performing character conversion on the first target number information to obtain a first characteristic character string corresponding to the first target number information, and performing character conversion on the second target number information to obtain a second characteristic character string corresponding to the second target number information.
In some embodiments, the verification sub-module includes a first unit, a second unit, a third unit, a fourth unit, a fifth unit, and a verification unit, wherein,
the first unit is used for carrying out hash calculation on the first characteristic character string to obtain a first check character string;
a second unit, configured to perform hash computation on the second feature string to obtain a second check string;
a third unit, configured to determine a first partial check string within a preset first position range in the first check string;
a fourth unit for determining a second partial check character string within a preset second position range in the second check character string;
a fifth unit, configured to determine a first partial feature string in a preset third position range and a second partial feature string in a preset fourth position range in the second feature string;
And the verification unit is used for carrying out security verification on the first characteristic character string and the second characteristic character string based on the first partial verification character string, the second partial verification character string, the first partial characteristic character string and the second partial characteristic character string.
In some embodiments, the verification unit is specifically configured to:
and when the first partial verification character string is identical to the first partial characteristic character string and the second partial verification character string is identical to the second partial characteristic character string, determining that the first characteristic character string and the second characteristic character string pass the security verification.
Correspondingly, the embodiment of the application also provides a storage medium, wherein the storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute any of the product identification code diagram generation and product identification code diagram-based information query methods provided by the embodiment of the application.
Correspondingly, the embodiment of the application also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes any one of the product identification code graph generation and the information query method based on the product identification code graph when executing the computer program.
The application can obtain a Chinese character set corresponding to at least one product attribute of a target product, wherein the Chinese character set comprises a plurality of Chinese character identifiers for indicating the corresponding product attribute and numbering information corresponding to each Chinese character identifier; generating a random character string of a target product; converting the random character strings to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried; inquiring a target Chinese character identifier corresponding to the number information to be inquired in the Chinese character set; and generating at least one product identification code diagram of the target product according to the target Chinese character identification, wherein the product identification code diagram is used for providing the target Chinese character identification.
The application can obtain at least one product identification code diagram of the target product and a Chinese character set corresponding to at least one product attribute of the target product, wherein the Chinese character set comprises a plurality of Chinese character identifications corresponding to the target product attribute and numbering information of each Chinese character identification; decoding the product identification code diagram to obtain a target Chinese character identification of a target product; inquiring target numbering information corresponding to target Chinese character identifiers in the Chinese character set; generating product inquiry information of a target product according to the target number information; and sending the product inquiry information to the blockchain system to inquire the product information of the target product in the blockchain system.
The application can determine the unique product identification code diagram of the target product according to the Chinese character set corresponding to the product attribute of the target product, so that the Chinese character set of one product attribute of the target product can comprise a large number of Chinese character identifications, and the Chinese characters can identify the product attribute.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic view of a product identification code pattern system provided by an embodiment of the present application;
FIG. 2 is a flowchart of a method for generating a product identifier code map according to an embodiment of the present application;
FIG. 3 is a flow chart of a method for querying information based on a product identification code map according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a product identification code map generating device according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a structure of an information query device according to an embodiment of the present application, which is based on a product identifier diagram;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described in the present application are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The product identification code diagram generation and information query method based on the product identification code diagram can be integrated in a product identification code diagram system, the product identification code diagram system can be integrated in one or more computer devices, the computer devices can comprise terminals or servers and the like, wherein the servers can be independent physical servers, can be server clusters or distributed systems formed by a plurality of physical servers, and can also be cloud servers for providing cloud computing services. The terminal may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the present application is not limited herein.
Referring to fig. 1, the product identification code pattern system may include a product identification code pattern generating device and a product information querying device, where the product identification code pattern generating device may obtain a set of chinese characters corresponding to at least one product attribute of a target product, the set of chinese characters including a plurality of chinese character identifiers corresponding to the corresponding product attribute and number information of each chinese character identifier; generating a random character string of a target product; converting the random character strings to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried; inquiring a target Chinese character identifier corresponding to the number information to be inquired in the Chinese character set; and generating at least one product identification code diagram of the target product according to the target Chinese character identification, wherein the product identification code diagram is used for providing the target Chinese character identification.
The product information inquiry device can acquire at least one product identification code diagram of a target product and a Chinese character set corresponding to at least one target product attribute, wherein the Chinese character set comprises a plurality of Chinese character identifications corresponding to the target product attribute and numbering information of each Chinese character identification; decoding the product identification code diagram to obtain a target Chinese character identification of a target product; inquiring target numbering information corresponding to target Chinese character identifiers in the Chinese character set; generating product inquiry information of a target product according to the target number information; and sending the product inquiry information to the blockchain system to inquire the product information of the target product in the blockchain system.
It should be noted that, the schematic view of the product identifier diagram system shown in fig. 1 is only an example, and the product identifier diagram system and the scene described in the embodiments of the present application are for more clearly describing the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application, and those skilled in the art can know that, as the product identifier diagram device and the product information query device evolve and new service scenarios appear, the technical solutions provided by the embodiments of the present application are applicable to similar technical problems.
The following will describe in detail. In this embodiment, a detailed description will be given of a method for generating a product identification code pattern, which may be integrated on a terminal or a server, as shown in fig. 2, and fig. 2 is a flow chart of the method for generating a product identification code pattern according to the embodiment of the present application. The method for generating the product identification code map can comprise the following steps:
101. and acquiring a Chinese character set corresponding to at least one product attribute of the target product, wherein the Chinese character set comprises a plurality of Chinese character identifiers for indicating the corresponding product attribute and numbering information corresponding to each Chinese character identifier.
The target product may include articles used in daily life, such as food, daily chemicals, office supplies, electronic products, electric appliances, medicines, household articles, etc., and may be mass-produced articles, for example, the target product may include mass-produced bottled drinks.
The product attribute may include information characterizing an attribute of the target product, for example, the product attribute may characterize a production time, a production lot, a product digital identification code, a quality inspection qualification record, and the like of the target product.
The Chinese character set may include a set of all Chinese character identifiers representing a certain product attribute, the Chinese character identifier may include a Chinese character representing a certain product attribute of a target product, the number information may include unique number information of a Chinese character label in the Chinese character set, the number information corresponding to each Chinese character identifier in the Chinese character set may be determined in various manners, for example, the Chinese character identifiers in the Chinese character set may be randomly numbered, and the number value of each Chinese character identifier may be used as the number information, for example, all Chinese character identifiers may be ordered according to characteristics such as a font/pronunciation of the Chinese character identifier, and the ordering value of each Chinese character identifier may be used as the number information.
Specifically, the Chinese character set may be stored locally in the computer device or may be stored in other computer devices; the corresponding process of acquiring the Chinese character set can be directly acquired from the local of the computer equipment, can also send a request to other computer equipment, receive the Chinese character set returned by other computer equipment based on the request, and the like. The number of Chinese character sets corresponding to one product attribute, and the number of Chinese character identifiers in one Chinese character set can be flexibly set according to the characteristics of the product attribute of the target product, the actual application requirement and the like, and the method is not limited.
For example, the kanji set 1 of the production year of the product a may be locally obtained from the server, where the kanji set 1 includes a plurality of kanji identifiers, and each kanji identifier corresponds to one number information.
102. And generating a random character string of the target product.
Wherein the random character string may include a plurality of characters randomly generated, the random character string includes at least one character, the characters may include at least one of numbers, letters, and the like, and in an application scenario, a range of numbers or letters included in the random character string, and the number of characters may be limited, for example, the number of characters included in the random character string may be 20, and part or all of the numbers 0 to 9 may be included in the random character string.
Specifically, the method for generating the random string may include various methods, for example, an existing random string generation function may be called to generate the random string, and so on.
For example, the string generation function may be invoked to generate a random string 1 for product A.
103. And converting the random character string to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried.
The number information to be queried can include number information used for identifying the target product, various ways of converting the number information to be queried based on the random character string can be adopted, for example, the number information to be queried can be digital, a mapping relation between at least one character and at least one digital can be established, and the number information to be queried corresponding to the random character string can be queried through the mapping relation; for another example, the random string and the number information may be different binary expressions of the same data, the random string may be binary, the number information may be decimal, and then the random string may be converted to obtain the number information to be queried corresponding to the random string, and so on.
For example, a preset mapping relation between characters and numbers can be obtained, and the random character string 1 is converted according to the preset mapping relation to obtain the target number information 1.
In some embodiments, the step of converting the random string to obtain at least one converted information in the same format as the numbered information, and determining the converted information as the numbered information to be queried may include:
carrying out hash calculation on the random character strings to obtain hash character strings corresponding to the random character strings;
based on the hash character string and the random character string, converting to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried.
The hash strings may include a string obtained by performing hash computation on a random string, and the hash computation on the random string may be performed by a hash Algorithm, where the hash Algorithm may include Message-Digest Algorithm 5 (md5), SHA256 (a hash Algorithm), and the like, and may specifically be flexibly selected in an actual application process, which is not limited herein.
Based on the hash character string and the random character string, the manner of converting the converted information (i.e. the label information to be queried) with the same format as the number information can include various manners, for example, the hash character string and the random character string can be connected, then at least one converted information corresponding to the connected character string is converted by a preset mapping relation query or system conversion manner, the converted information is determined as the number information to be queried, for example, characters at specific positions in the hash character string and the random character string can be extracted to obtain the number information to be queried, and the like.
For example, SHA256 hash calculation may be used on the random string 1 to obtain a hash string 1 corresponding to the random string 1, and then the hash string 1 and the random string 1 are connected to obtain the number information 1 to be queried of the product a.
In some embodiments, the step of converting the hash string and the random string to obtain at least one converted information in the same format as the number information, and determining the converted information as the number information to be queried may include:
acquiring partial character strings in a preset position range in the hash character strings;
connecting the random character string and part of character strings to obtain a characteristic character string of a target product;
and converting the characteristic character string to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried.
The preset position range may include a specific position in the character string, for example, a first character bit of the character string, a last three character bits of the character string, and the like, and the preset position information may be set in advance and stored in the computer device. Wherein, the partial character string may include characters within a preset position range of the random character string, and the partial character string may include at least one character.
The characteristic character string can comprise a character string used for identifying the target product, the characteristic character string can be obtained by connecting a random character string and a part of character strings, the random character string can be after the part of character string in front during connection processing, the characteristic character string can be after the random character string in front, and the like.
The method for converting the feature string to obtain the corresponding number information to be queried can be various, for example, the number information to be queried can be digital, a mapping relation between at least one character and at least one digital can be established, and the number information to be queried corresponding to the feature string can be queried through the mapping relation, namely, the process of converting the feature string; for another example, the feature string and the number information may be different binary expressions of the same data, the feature string may be binary, the number information may be decimal, and the feature string may be converted to obtain the number information to be queried corresponding to the feature string.
For example, a partial string 1 of the last Q character bits in the hash string 1 may be obtained, then the random string 1 and the partial string 1 are connected in an end-to-end manner to obtain a feature string 1 of the product a, and finally the number information 1 to be queried corresponding to the feature string 1 is determined.
In some embodiments, the step of converting the feature string to obtain at least one converted information in the same format as the numbered information, and determining the converted information as the numbered information to be queried may include:
dividing the characteristic character string into at least one sub-characteristic string according to a preset dividing strategy;
and carrying out information conversion on each sub-feature string to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried.
The preset segmentation strategy may include a strategy of segmenting the character string, the preset segmentation strategy may be determined in advance and stored in the computer device, and may be flexibly set according to characteristics of the feature character string, for example, may be determined according to the number of characters, the range of characters, and the like of the feature character string, specifically, the preset segmentation strategy may, for example, perform segmentation once every 10 characters, for example, sequentially alternate every 10 characters, perform segmentation once every 5 characters, and the like.
The sub-feature strings may include character strings obtained by dividing the feature strings according to a preset division policy, the sub-feature strings are part of the feature strings, and all the sub-feature strings are connected in sequence to obtain the feature strings.
The process of carrying out information conversion on the sub-feature strings can comprise various realization modes, for example, the information to be queried can be digital, a mapping relation between at least one character and at least one number can be established, and the information to be queried corresponding to the sub-feature strings can be queried through the mapping relation; for another example, the sub-feature strings and the target number information may be different binary expressions of the same data, the sub-feature strings may be binary, the number information may be decimal, and then the sub-feature strings may be converted into corresponding number information to be queried.
For example, the feature string 1 may be divided into 5 sub-feature strings according to a preset division policy 1, and the 5 sub-feature strings are sequentially subjected to information conversion to obtain 5 to-be-queried number information corresponding to the feature string 1.
104. And inquiring the target Chinese character identification corresponding to the number information to be inquired in the Chinese character set.
The target Chinese character identifiers can comprise at least one Chinese character identifier for identifying a target product, the Chinese character set comprises a plurality of Chinese character identifiers and numbering information of each Chinese character identifier, so that the numbering information matched with the numbering information to be queried can be queried in the plurality of numbering information of the Chinese character set, and the Chinese character identifier corresponding to the numbering information is the target Chinese character identifier.
For example, the number information identical to the number information to be queried can be queried from the number information of the Chinese character set 1, and then the Chinese character identifier corresponding to the number information is determined to be the target Chinese character identifier 1.
105. And generating at least one product identification code diagram of the target product according to the target Chinese character identification, wherein the product identification code diagram is used for providing the target Chinese character identification.
The product identification Code map may include a graphic Code that uniquely identifies a product attribute of a target product, and the product identification Code map may be in a form of a two-dimensional Code, a bar Code, or the like, specifically, a process of generating the product identification Code map is performed based on different graphic Code systems, for example, a common Code system of the two-dimensional Code includes a QR Code (a two-dimensional Code system), a Code 49 (a two-dimensional Code system), or the like, and a common Code system of the bar Code includes a UPC bar Code, an EAN bar Code, or the like, which may be specifically selected flexibly in an actual application process, and is not limited herein. The number of the product identifier patterns of the target product may be at least one, for example, one product attribute of the target product may correspond to one product identifier pattern, for example, a plurality of product attributes of the target product may correspond to one product identifier pattern, which may be specifically selected and processed flexibly in the practical process, and is not limited herein.
The product information may include information related to a target product, for example, the product information may include production information of the target product, such as a raw material supplier, a quality inspection record, production place information, a producer, etc., and for example, the product information may include rights information of the product, such as cashback information, after-sales information, gift information, lottery information, etc.
The product identification code diagram can be generated by the computer equipment and displayed on the entity of the target product, so that a user can conveniently scan the product identification code diagram on the entity by using the computer equipment, check the production information of the target product by the computer equipment, and obtain the rights and interests information of the target product and the like.
For example, a product identification code diagram 1 in the form of a two-dimensional code of the product A can be generated according to the target Chinese character identification 1, so that a user can inquire product information of the product A through the product identification code diagram 1.
In some embodiments, the product attributes include a first product attribute and a second product attribute, the first product attribute corresponding to a first set of chinese characters and the second product attribute corresponding to a second set of chinese characters, and the step of generating the random string of the target product may include:
generating a first random string of a first product attribute of the target product and generating a second random string of a second product attribute of the target product;
At this time, the step of converting the random string to obtain at least one converted information having the same format as the number information, and determining the converted information as the number information to be queried may include:
converting the first random character string to obtain at least one piece of first converted information with the same format as the numbered information, and determining the first converted information as first numbered information to be queried;
converting based on the first random character string and the second random character string to obtain at least one piece of second converted information with the same format as the number information, and determining the second converted information as second number information to be queried;
the step of searching the target Chinese character identifier matched with the number information to be searched in the Chinese character set at this time may include:
inquiring a first Chinese character identifier corresponding to first to-be-inquired numbering information in a first Chinese character set;
and inquiring a second Chinese character identifier corresponding to the second number information to be inquired in the second Chinese character set, wherein the first Chinese character identifier and/or the second Chinese character identifier are combined into a target Chinese character identifier of a target product.
In order to further improve the safety of generating the product identification code diagram, and simultaneously, the product information of the target product is carried in the product identification code diagram, the product identification code diagram of the target product can be generated through at least two product attributes of the target product and at least two Chinese character sets of the at least two product attributes.
For example, the product identification code map may be generated based on a first product attribute and a second product attribute of the target product, a first random string of the first product attribute and a second random string of the second product attribute may be randomly generated, and the process of generating the random string may be implemented by calling a random string generation function.
Then, at least one piece of first to-be-queried number information with the same format as the number information can be obtained through conversion based on the first random character string, and the process can comprise various implementation modes, for example, the number information to be queried can be digital, a mapping relation between at least one character and at least one digital can be established, and the first to-be-queried number information corresponding to the first random character string can be queried through the mapping relation; for another example, the first random string and the first number information to be queried may be different binary expressions of the same data, the first random string may be binary, the first number information to be queried may be decimal, and then the first random string may be subjected to binary conversion to obtain the corresponding first number information to be queried, and so on.
And then at least one piece of second converted information with the same format as the number information can be obtained based on the conversion of the first random character string and the second random character string, the second converted information is the second number information to be queried of the target product, the process can comprise various realization modes, for example, the first random character string and the second random character string can be encrypted, the second number information to be queried of the target product can be determined according to the encrypted random information, and the like.
The first product attribute corresponds to a first Chinese character set, the first Chinese character set comprises a plurality of Chinese character identifiers and the number information of each Chinese character identifier, the second product attribute corresponds to a second Chinese character set, the second Chinese character set comprises a plurality of Chinese character identifiers and the number information of each Chinese character identifier, therefore, the first Chinese character identifier matched with the first number information to be queried can be queried in the first Chinese character set, the second Chinese character identifier matched with the second number information to be queried can be queried in the second Chinese character set, the first Chinese character identifier, the second Chinese character identifier and/or the combination of the first Chinese character identifier and the second Chinese character identifier is the target Chinese character identifier of the target product, and finally at least one product identifier code diagram of the target product can be generated according to the target Chinese character identifier of the target product.
For example, the product attribute of the product C includes year information and product code information, the year information corresponds to a year chinese character set, the year chinese character set includes a year chinese character identifiers and decimal number values corresponding to each year chinese character identifier, the product code information corresponds to a product code chinese character set, the product code chinese character set includes b product code chinese character identifiers and decimal number values corresponding to each product code chinese character identifier.
And randomly generating an m-bit year binary random number and an n-bit product code binary random number, carrying out binary conversion on the year binary random number to obtain a year decimal random number, and generating the product code decimal random number according to the year binary random number and the product code binary random number.
And inquiring the target year Chinese character identifications corresponding to the year decimal random numbers in the year Chinese character set, inquiring the target product code Chinese character identifications corresponding to the product code decimal random numbers in the product code Chinese character set, and generating a product identification code diagram of the product C according to the target Chinese character identification codes, wherein the target year Chinese character identifications and the target product code Chinese character identifications are combined to form target Chinese character identification codes of the product C.
In some embodiments, the step of converting, based on the first random string and the second random string, to obtain at least one second converted information having the same format as the number information, and determining the second converted information as the second number information to be queried may include:
carrying out hash calculation on the first random character string to obtain a first hash character string corresponding to the first random character string, and carrying out hash calculation on the second random character string to obtain a second hash character string corresponding to the second random character string;
Acquiring a first part of character strings in a preset first position range in a first hash character string and acquiring a second part of character strings in a preset second position range in a second hash character string;
and converting the second random character string, the first part character string and the second part character string to obtain at least one piece of second converted information with the same format as the number information, and determining the second converted information as second number information to be queried.
The hash calculation may be performed by a hash Algorithm, which may include Message-Digest Algorithm4 (MD 4), SHA256 (a hash Algorithm), and the like, and specifically may be flexibly selected in the practical application process, which is not limited herein.
The preset first location range may include at least one specific character bit in the first hash character string, for example, the preset first location range may include the first 5 character bits of the first hash character string, then the first partial character string is a character value within the first 5 character bits of the first hash character string, and so on.
The preset second position range may include at least one specific character bit in the second hash character string, for example, the preset second position range may include the 6 th to 9 th character bits of the second hash character string, then the second partial character string is a character value within the 6 th to 9 th character bits of the second hash character string, and so on.
The method for converting the second random character string, the first part character string and the second part character string to obtain at least one second to-be-queried number information of the target product may include various modes, for example, characters of specific character bits in the second random character string, the first part character string and the second part character string may be respectively taken, at least one second to-be-queried number information of the target product is determined according to the obtained characters, for example, the obtained characters are copied, increased or decreased according to a preset rule, and the second to-be-queried number information is obtained.
In some embodiments, the step of converting, based on the second random string, the first partial string, and the second partial string, to obtain at least one second converted information having the same format as the number information, and determining the second converted information as the second number information to be queried may include:
connecting the second random character string, the first part character string and the second part character string to obtain a second characteristic character string of the target product;
dividing the second characteristic string into at least one second sub-characteristic string according to a preset dividing strategy;
and converting each second sub-feature string to obtain at least one piece of second converted information with the same format as the number information, and determining the second converted information as second number information to be queried.
The connection processing may perform first connection according to a certain sequence, for example, first connection may be sequentially performed on the second random string, the first partial string, and the second partial string, to obtain a second characteristic string.
The preset segmentation strategy may include a strategy of segmenting the character string, the preset segmentation strategy may be determined in advance and stored in the computer device, and may be flexibly set according to characteristics of the second feature character string, for example, may be determined according to the number of characters, the range of characters, and the like of the second feature character string, specifically, the preset segmentation strategy may, for example, segment every 10 characters, for example, from 15 characters, progressively decrease 1 character, and then the second sub-feature string at this time is sequentially 15 characters, 14 characters, 13 characters … …, and the like.
The process of converting may include various ways, such as performing a binary conversion, or querying through a preset relationship of characters and numbers, etc.
For example, hash calculation can be performed on the year binary random number and the product code binary random number through an SHA256 algorithm to obtain a year hash character string and a product code hash character string, an r character value of an r character bit of the year hash character string is determined, a v character value of a v character bit before the product code hash character string is determined, the product code hash character string, the r character value and the v character value are connected in the first bit to obtain a product code character string (binary number string) with n+r+v bits, the year code character string is split according to the fact that each K bits is a unit to obtain a plurality of product code binary number strings, and the product code binary number strings are sequentially subjected to binary conversion to obtain a plurality of product code decimal random numbers.
The application can determine the unique product identification code diagram of the target product according to the Chinese character set corresponding to the product attribute of the target product, so that the Chinese character set of one product attribute of the target product can comprise a large number of Chinese character identifications, and the Chinese characters can identify the product attribute.
The following will describe in detail. In this embodiment, a product information query method based on a product identifier diagram will be described in detail, where the product information query method based on a product identifier diagram may be integrated on a computer device, as shown in fig. 3, and fig. 3 is a flow chart of the product information query method based on a product identifier diagram according to the embodiment of the present application. The product information query method based on the product identification code diagram can comprise the following steps:
201. and acquiring at least one product identification code diagram of the target product and a Chinese character set corresponding to at least one target product attribute of the target product, wherein the Chinese character set comprises a plurality of Chinese character identifications corresponding to the target product attribute and numbering information of each Chinese character identification.
The product identification code map may include a graphic code that uniquely identifies a product attribute of the target product, and the product identification code map may be in a form of a two-dimensional code, a bar code, or the like.
The target product may include articles used in daily life, such as food, daily chemicals, office supplies, electronic products, electric appliances, medicines, household articles, etc., and may be mass-produced articles, for example, the target product may include mass-produced bottled drinks.
The product attribute may include information characterizing an attribute of the target product, for example, the product attribute may characterize a production time, a production lot, a product digital identification code, a quality inspection qualification record, and the like of the target product.
The Chinese character set may include a set of all Chinese character identifiers representing a certain product attribute, the Chinese character identifier may include a Chinese character representing a certain product attribute of a target product, the number information may include unique number information of a Chinese character label in the Chinese character set, the number information corresponding to each Chinese character identifier in the Chinese character set may be determined in various manners, for example, the Chinese character identifiers in the Chinese character set may be randomly numbered, and the number value of each Chinese character identifier may be used as the number information, for example, all Chinese character identifiers may be ordered according to characteristics such as a font/pronunciation of the Chinese character identifier, and the ordering value of each Chinese character identifier may be used as the number information.
Specifically, the product identification code map may exist on an entity of the target product, and acquiring the product identification code map may be acquiring the product identification code map on the target product through the computer device, or receiving the product identification code map of the target product acquired by other computer devices, and so on.
The Chinese character set can be stored locally on the computer equipment or can be stored on other computer equipment; the corresponding process of acquiring the Chinese character set can be directly acquired from the local of the computer equipment, can also send a request to other computer equipment, receive the Chinese character set returned by other computer equipment based on the request, and the like.
For example, the mobile terminal may be used to collect the product identification code pattern a in the packaging bag of the product a, and the mobile terminal may receive the kanji set of the product a sent by the server.
202. And decoding the product identification code diagram to obtain the target Chinese character identification of the target product.
The decoding algorithm can be called to decode the product identification code diagram according to the type of the product identification code diagram, for example, the product identification code diagram a can be decoded to obtain the target Chinese character identification of the product A.
In addition, after the product identification code diagram of the target product is obtained, the product identification code diagram is decoded to obtain the target Chinese character identification contained in the product identification code diagram and the storage address of the Chinese character set of the target product, and the Chinese character set of the target product can be further obtained from the storage address.
203. And inquiring the target number information corresponding to the target Chinese character identifier in the Chinese character set.
The Chinese character set includes a plurality of Chinese character identifiers and number information corresponding to each Chinese character identifier, so that the Chinese character identifier identical to the target Chinese character identifier can be determined from the plurality of Chinese character identifiers in the Chinese character set, and the number information corresponding to the Chinese character identifier is determined to be the target number information.
For example, the Chinese character identifier m which is the same as the target Chinese character identifier in the Chinese character set of the product A is queried, and the number information corresponding to the Chinese character identifier m is determined to be the target number information 1.
204. And generating product inquiry information of the target product according to the target number information.
The product query information may include information required for querying the product information of the target product in the blockchain, and various manners of generating the product query information may be used, for example, the product query information required for querying the product information is generated by using an encryption and decryption algorithm.
In some embodiments, the step of generating the product query information of the target product according to the target number information may include:
performing character conversion on the target number information to obtain a characteristic character string corresponding to the target number information;
determining verification information of the characteristic character string, and carrying out safety verification on the characteristic character string based on the verification information;
And when the characteristic character string passes the safety verification, generating product query information of the target product according to the characteristic character string.
The characteristic character string may include a character string for identifying a target product, and the mode of performing character conversion on the target serial number information to obtain the characteristic character string may be various, for example, the target serial number information may be digital, a mapping relationship between at least one character and at least one digital may be established, and the characteristic character string corresponding to the target serial number information may be queried through the mapping relationship; for another example, the feature string and the target number information may be different binary expressions of the same data, the feature string may be binary, the target number information may be decimal, and then the target number information may be converted into the corresponding feature string.
The verification information may include information used for verifying whether the target kanji identifier is tampered, may be stored in the computer device in advance, may be obtained from other computer devices, and may be generated based on at least one of the target kanji identifier, the target number information, and the like.
The method for performing the security check on the feature string based on the check information may include various methods, for example, when the check information is a character, whether part or all of the characters of the check information and the feature string are equal or matched may be compared, and if the characters are equal or matched, it is determined that the feature string passes the security check, and so on.
After the security inspection is passed, the product query information of the target product can be generated according to the feature character string, for example, a query information generation algorithm can be used for generating the product query information of the target product based on the feature character string.
205. And sending the product inquiry information to the blockchain system to inquire the product information of the target product in the blockchain system.
The application can store the product information of the target product in the blockchain system, for example, when the target Chinese character identifier of the target product is produced, the private key of the blockchain system can be generated according to the target Chinese character identifier, so as to generate the blockchain address, and the product information of the target product is stored in the blockchain address in the blockchain system.
The product information may include information related to a target product, for example, the product information may include production information of the target product, such as a raw material supplier, a quality inspection record, production place information, producer information, etc., and for example, the product information may include rights information of the product, such as cashback information, after-sales information, gift information, lottery information, etc.
After a user scans a product identification code diagram on a product, the computer equipment can generate product inquiry information (such as a private key) according to a target Chinese character identification in the product identification code diagram, and send the product inquiry information to target node equipment in a blockchain system, so that the node equipment of the blockchain is controlled to return the product information of the target product to the user, and the blockchain system is controlled to carry out rights transfer (such as red packet distribution) according to user operation.
For example, the product query information 1 may be sent to the target node device 1 of the blockchain, and the blockchain is controlled to return product information of the product a based on the product query information 1.
In some embodiments, the target product attributes include a first target product attribute corresponding to a first set of Chinese characters and a second target product attribute corresponding to a second set of Chinese characters, the target Chinese character identifiers include at least one first target Chinese character identifier and at least one second target Chinese character identifier,
the step of inquiring the target number information corresponding to the target Chinese character identifier in the Chinese character set may include:
inquiring at least one first target number information corresponding to the first target Chinese character identifier in the first Chinese character set and inquiring at least one second target number information corresponding to the second target Chinese character identifier in the second Chinese character set;
the step of performing character conversion on the target number information to obtain a feature character string corresponding to the target number information may include:
performing character conversion on the first target number information to obtain a first characteristic character string corresponding to the first target number information, and performing character conversion on the second target number information to obtain a second characteristic character string corresponding to the second target number information.
In order to further improve the safety of generating the product identification code diagram, and simultaneously bear the product information of the target product in the product identification code diagram, the product identification code diagram of the target product can be generated based on at least two product attributes of the target product, and the at least two product attributes correspond to at least two Chinese character sets.
For example, when the product identification code map is generated based on the first product attribute and the second product attribute of the target product, a first Chinese character set corresponding to the first product attribute is obtained, the first Chinese character set comprises a plurality of Chinese character identifications and the number information of each Chinese character identification, and a second Chinese character set corresponding to the second product attribute is obtained, and the second Chinese character set comprises a plurality of Chinese character identifications and the number information of each Chinese character identification.
The target Chinese character identifiers may include a first target Chinese character identifier corresponding to the first product attribute and a second target Chinese character identifier corresponding to the second product attribute, and at least one first target number information corresponding to the first target Chinese character identifier may be queried in the first Chinese character set, and at least one second target number information corresponding to the second target Chinese character identifier may be queried in the second Chinese character set.
Then, character conversion can be performed on the first target number information to obtain a first characteristic character string corresponding to the first target number information, and character conversion can be performed on the second target number information to obtain a second characteristic character string corresponding to the second target number information, wherein the character conversion mode can include various modes, for example, the number information can be in a digital form, a mapping relation between at least one character and at least one number can be established, and the first characteristic character string corresponding to the first target number information and the second characteristic character string corresponding to the second target number information can be queried through the mapping relation; for another example, the feature string and the target number information may be different binary expressions of the same data, the feature string may be binary, the target number information may be decimal, and then the first target number information may be subjected to binary conversion to obtain a first feature string corresponding to the first target number information, or the second target number information may be subjected to binary conversion to obtain a second feature string corresponding to the second target number information, and so on.
And then the verification information of the characteristic character strings can be determined, the target Chinese character identifiers are verified according to the first characteristic character strings and the second characteristic character strings of the verification information, whether the target Chinese character identifiers are tampered or not is determined, a safety verification result of the target Chinese character identifiers is obtained, if the verification is passed, product inquiry information of the target products is generated, and then the product information of the target products is inquired from the blockchain.
For example, the product identification code diagram of the product A is generated according to the year information and the product coding information, the year information corresponds to a year Chinese character set, the year Chinese character set comprises a plurality of year Chinese character identifications and decimal number information corresponding to each year Chinese character identification, the product coding information corresponds to a product coding Chinese character set, the year Chinese character set comprises a plurality of product coding Chinese character identifications and decimal number information corresponding to each product coding Chinese character identification,
after the product identification code diagram of the product A is acquired and analyzed, the target year Chinese character identification and the target product code Chinese character identification in the target Chinese character identification of the product A are determined, the year decimal number value corresponding to the target year Chinese character identification can be inquired in the year Chinese character set, and the product code decimal number value corresponding to the target product code Chinese character identification can be inquired in the product code Chinese character set.
And carrying out the binary conversion on the year decimal number value to obtain a year binary characteristic value, and carrying out the binary conversion on the product coded decimal number value to obtain a product coded binary characteristic value.
And then, expanding the year binary characteristic value and the product code binary characteristic value by using a key expansion function, further generating a key corresponding to the target Chinese character identifier by using an encryption and decryption algorithm, and controlling the product information of the target product in the blockchain system by using the key, such as inquiring, transferring rights and interests and the like.
In some embodiments, the step of "determining the verification information of the feature string, and performing security verification on the feature string based on the verification information" may include:
carrying out hash calculation on the first characteristic character string to obtain a first check character string;
performing hash calculation on the second characteristic character string to obtain a second check character string;
determining a first partial check character string in a preset first position range in the first check character string;
determining a second partial check character string in a preset second position range in the second check character string;
determining a first part of characteristic strings in a preset third position range and a second part of characteristic strings in a preset fourth position range in the second characteristic strings;
And performing security verification on the first characteristic character string and the second characteristic character string based on the first partial verification character string, the second partial verification character string, the first partial characteristic character string and the second partial characteristic character string.
For example, the year binary feature value may be hashed (e.g., SHA256 algorithm) to obtain a year check string, the product code binary feature value may be hashed (e.g., SHA256 algorithm) to obtain a product code check string, the h check string on the h character bit in the year check string may be determined (i.e., a year partial check string), the front z check string of the front z character bit in the product code check string may be determined (i.e., a product code partial check string), the inverted t character value on the last t character bit in the product code feature string (i.e., a first partial feature string) and the last s character string on the last s character bit may be determined (i.e., a second partial feature string), and then the year feature string and the product code feature string may be securely checked based on the year partial check string, the first partial check string, and the second partial feature string.
In some embodiments, the step of "security checking the first feature string and the second feature string based on the first partial check string, the second partial check string, the first partial feature string, and the second partial feature string" may include:
and when the first partial verification character string is the same as the first partial feature character string and the second partial verification character string is the same as the second partial feature character string, determining that the first feature character string and the second feature character string pass the security verification.
For example, when the h-th check character value is the same as the inverted t character value and the front z-check character string is the same as the back-to-last s-character string, the year characteristic character string and the product coding characteristic character string are determined to pass the security check.
In the application, a product identification code diagram with better safety is generated through the Chinese character set, one product usually contains certain product information, and in order to enhance the safety of the product information, a large amount of product information of the product is stored in a decentralised blockchain, so that the product identification code diagram of a target product can be decoded to obtain target number information (corresponding to a target Chinese character identifier) of the target product, and an information inquiry authentication control for inquiring the product information in the blockchain is generated according to the target characteristic data of the target product, thereby effectively improving the safety of the product information.
In order to facilitate better implementation of the method for generating the product identification code pattern provided by the embodiment of the application, the embodiment of the application also provides a device based on the method for generating the product identification code pattern. Wherein the meaning of nouns is the same as that in the method for generating the product identification code diagram, and specific implementation details can be referred to the description in the method embodiment.
As shown in fig. 4, fig. 4 is a schematic structural diagram of a product identifier graph generating apparatus according to an embodiment of the present application, where the product identifier graph generating apparatus may include an identifier set obtaining module 401, a random generating module 402, a numerical determining module 403, an identifier querying module 404, and an identifier generating module 405, where,
the identifier set obtaining module 401 is configured to obtain a set of chinese characters corresponding to at least one product attribute of a target product, where the set of chinese characters includes a plurality of chinese character identifiers for indicating corresponding product attributes, and numbering information corresponding to each chinese character identifier;
a random generation module 402, configured to generate a random string of the target product;
the numerical value determining module 403 is configured to obtain at least one piece of converted information with the same format as the number information based on the random string conversion, and determine the converted information as the number information to be queried;
The identifier query module 404 is configured to query, in the set of chinese characters, a target chinese character identifier corresponding to the number information to be queried;
the identifier generating module 405 is configured to generate at least one product identifier code map of the target product according to the target kanji identifier, where the product identifier code map is used to provide the target kanji identifier.
In some embodiments, the value determination module includes a calculation sub-module and a determination sub-module, wherein,
the computing sub-module is used for carrying out hash computation on the random character strings to obtain hash character strings corresponding to the random character strings;
the determining submodule is used for converting the hash character string and the random character string to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried.
In some embodiments, the determination submodule includes an acquisition unit, a connection unit, and a determination unit, wherein,
an acquisition unit, configured to acquire a part of character strings in a preset position range in the hash character string;
the connection unit is used for carrying out connection processing on the random character string and part of character strings to obtain a characteristic character string of a target product;
and the determining unit is used for converting the characteristic character string to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried.
In some embodiments, the determining unit is specifically configured to:
dividing the characteristic character string into at least one sub-characteristic string according to a preset dividing strategy;
and carrying out information conversion on each sub-feature string to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried.
In some embodiments, the product attributes include a first product attribute corresponding to a first set of Chinese characters and a second product attribute corresponding to a second set of Chinese characters,
the random generation module is specifically used for:
generating a first random string of a first product attribute of the target product and generating a second random string of a second product attribute of the target product;
the numerical value determining module comprises a first sub-module and a second sub-module, wherein,
the first sub-module is used for converting the first random character string to obtain at least one piece of first converted information with the same format as the number information, and determining the first converted information as first number information to be queried;
the second sub-module is used for converting based on the first random character string and the second random character string to obtain at least one piece of second converted information with the same format as the number information, and determining the second converted information as second number information to be queried;
The identification inquiry module is specifically used for:
inquiring a first Chinese character identifier corresponding to first to-be-inquired numbering information in a first Chinese character set;
and inquiring a second Chinese character identifier corresponding to the second number information to be inquired in the second Chinese character set, wherein the first Chinese character identifier and/or the second Chinese character identifier are combined into a target Chinese character identifier of a target product.
In some embodiments, the second sub-module comprises a calculation unit, a partial acquisition unit, and a value generation unit, wherein,
the computing unit is used for carrying out hash computation on the first random character string to obtain a first hash character string corresponding to the first random character string, and carrying out hash computation on the second random character string to obtain a second hash character string corresponding to the second random character string;
a part acquisition unit, configured to acquire a first part of character strings in a preset first position range in the first hash character string, and acquire a second part of character strings in a preset second position range in the second hash character string;
the numerical value generating unit is used for converting the second random character string, the first partial character string and the second partial character string to obtain at least one piece of second converted information with the same format as the number information, and determining the second converted information as second number information to be queried.
In some embodiments, the value generation unit is specifically configured to:
connecting the second random character string, the first part character string and the second part character string to obtain a second characteristic character string of the target product;
dividing the second characteristic string into at least one second sub-characteristic string according to a preset dividing strategy;
and converting each second sub-feature string to obtain at least one piece of second converted information with the same format as the number information, and determining the second converted information as second number information to be queried.
According to the method, the unique product identification code diagram of the target product can be determined according to the Chinese character set corresponding to the product attribute of the target product, so that the Chinese character set of one product attribute of the target product can comprise a large number of Chinese character identifications, the Chinese character identifications can all identify the product attribute.
In order to facilitate better implementation of the product information query method based on the product identification code diagram provided by the embodiment of the application, the embodiment of the application also provides a device based on the product information query method based on the product identification code diagram. The meaning of the nouns is the same as that of the product information query method based on the product identification code diagram, and specific implementation details can be referred to the description of the method embodiment.
As shown in fig. 5, fig. 5 is a schematic structural diagram of a product identifier graph generating device according to an embodiment of the present application, where the product identifier graph generating device may include an identifier obtaining module 501, a decoding module 502, a numerical value querying module 503, an information generating module 504, and an information sending module 505, where,
the identifier obtaining module 501 is configured to obtain at least one product identifier code map of a target product and a chinese character set corresponding to at least one target product attribute of the target product, where the chinese character set includes a plurality of chinese character identifiers corresponding to the target product attribute and numbering information of each chinese character identifier;
the decoding module 502 is configured to decode the product identifier code map to obtain a target kanji identifier of a target product;
a numerical value query module 503, configured to query a set of chinese characters for target number information corresponding to a target chinese character identifier;
an information generating module 504, configured to generate product query information of a target product according to the target number information;
the information sending module 505 is configured to send product query information to the blockchain system to query the blockchain system for product information of the target product.
In some embodiments, the information generation module includes a conversion sub-module, a verification sub-module, and a generation sub-module, wherein,
The conversion sub-module is used for carrying out character conversion on the target number information to obtain a characteristic character string corresponding to the target number information;
the verification sub-module is used for determining verification information of the characteristic character string and carrying out safety verification on the characteristic character string based on the verification information;
and the generation sub-module is used for generating product query information of the target product according to the characteristic character string when the characteristic character string passes the safety check.
In some embodiments, the target product attributes include a first target product attribute corresponding to a first set of Chinese characters and a second target product attribute corresponding to a second set of Chinese characters, the target Chinese character identifiers include at least one first target Chinese character identifier and at least one second target Chinese character identifier,
the numerical value query module is specifically used for:
inquiring at least one first target number information corresponding to the first target Chinese character identifier in the first Chinese character set and inquiring at least one second target number information corresponding to the second target Chinese character identifier in the second Chinese character set;
the conversion submodule is specifically used for:
performing character conversion on the first target number information to obtain a first characteristic character string corresponding to the first target number information, and performing character conversion on the second target number information to obtain a second characteristic character string corresponding to the second target number information.
In some embodiments, the verification sub-module includes a first unit, a second unit, a third unit, a fourth unit, a fifth unit, and a verification unit, wherein,
the first unit is used for carrying out hash calculation on the first characteristic character string to obtain a first check character string;
the second unit is used for carrying out hash calculation on the second characteristic character string to obtain a second check character string;
a third unit, configured to determine a first partial check string within a preset first position range in the first check string;
a fourth unit for determining a second partial check character string within a preset second position range in the second check character string;
a fifth unit for determining a first partial character string in a preset third position range and a second partial character string in a preset fourth position range in the second character string;
and the verification unit is used for carrying out safety verification on the first verification character string and the second verification character string based on the first partial verification character string, the second partial verification character string, the first partial characteristic character string and the second partial characteristic character string.
In some embodiments, the verification unit is specifically configured to:
and when the first partial verification character string is the same as the first partial feature character string and the second partial verification character string is the same as the second partial feature character string, determining that the first feature character string and the second feature character string pass the security verification.
In the application, a product identification code diagram with better safety is generated through the Chinese character set, one product usually contains certain product information, and in order to enhance the safety of the product information, a large amount of product information of the product is stored in a decentralised blockchain, so that the product identification code diagram of a target product can be decoded to obtain target number information (corresponding to a target Chinese character identifier) of the target product, and an information inquiry authentication control for inquiring the product information in the blockchain is generated according to the target characteristic data of the target product, thereby effectively improving the safety of the product information.
In addition, the embodiment of the present application further provides a computer device, which may be a terminal or a server, as shown in fig. 6, which shows a schematic structural diagram of the computer device according to the embodiment of the present application, specifically:
the computer device may include one or more processing cores 'processors 601, one or more computer-readable storage media's memory 602, power supply 603, and input unit 604, among other components. Those skilled in the art will appreciate that the computer device structure shown in FIG. 6 is not limiting of the computer device and may include more or fewer components than shown, or may be combined with certain components, or a different arrangement of components. Wherein:
Processor 601 is the control center of the computer device and connects the various parts of the overall computer device using various interfaces and lines to perform various functions and process data of the computer device by running or executing software programs and/or modules stored in memory 602 and invoking data stored in memory 602. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user pages, applications, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 601.
The memory 602 may be used to store software programs and modules, and the processor 601 may execute various functional applications and data processing by executing the software programs and modules stored in the memory 602. The memory 602 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the computer device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide access to the memory 602 by the processor 601.
The computer device further includes a power supply 603 for powering the various components, preferably, the power supply 603 can be logically coupled to the processor 601 through a power management system, such that functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 603 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The computer device may also include an input unit 604, which input unit 604 may be used to receive entered numerical or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the computer device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 601 in the computer device loads executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 executes the application programs stored in the memory 602, so as to implement various functions as follows:
Acquiring a Chinese character set corresponding to at least one product attribute of a target product, wherein the Chinese character set comprises a plurality of Chinese character identifiers for indicating the corresponding product attribute and numbering information corresponding to each Chinese character identifier; generating a random character string of a target product; converting the random character strings to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried; inquiring a target Chinese character identifier corresponding to the number information to be inquired in the Chinese character set; generating at least one product identification code diagram of the target product according to the target Chinese character identification, wherein the product identification code diagram is used for providing the target Chinese character identification,
or acquiring at least one product identification code diagram of the target product and a Chinese character set corresponding to at least one target product attribute of the target product, wherein the Chinese character set comprises a plurality of Chinese character identifications corresponding to the target product attribute and numbering information of each Chinese character identification; decoding the product identification code diagram to obtain a target Chinese character identification of a target product; inquiring target numbering information corresponding to target Chinese character identifiers in the Chinese character set; generating product inquiry information of a target product according to the target number information; and sending the product inquiry information to the blockchain system to inquire the product information of the target product in the blockchain system.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application further provides a storage medium, in which a computer program is stored, where the computer program can be loaded by a processor to perform any of the steps in the product identification code map generation or product information query method based on the product identification code map provided by the embodiment of the present application. For example, the computer program may perform the steps of:
acquiring a Chinese character set corresponding to at least one product attribute of a target product, wherein the Chinese character set comprises a plurality of Chinese character identifiers for indicating the corresponding product attribute and numbering information corresponding to each Chinese character identifier; generating a random character string of a target product; converting the random character strings to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried; inquiring a target Chinese character identifier corresponding to the number information to be inquired in the Chinese character set; generating at least one product identification code diagram of the target product according to the target Chinese character identification, wherein the product identification code diagram is used for providing the target Chinese character identification,
Or (b)
Acquiring at least one product identification code diagram of a target product and a Chinese character set corresponding to at least one target product attribute of the target product, wherein the Chinese character set comprises a plurality of Chinese character identifications corresponding to the target product attribute and numbering information of each Chinese character identification; decoding the product identification code diagram to obtain a target Chinese character identification of a target product; inquiring target numbering information corresponding to target Chinese character identifiers in the Chinese character set; generating product inquiry information of a target product according to the target number information; and sending the product inquiry information to the blockchain system to inquire the product information of the target product in the blockchain system.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The computer program stored in the storage medium can execute the steps in any product identification code diagram generation and product identification code diagram-based information query method provided by the embodiment of the present application, so that any product identification code diagram generation and product identification code diagram-based information query method provided by the embodiment of the present application can be implemented, and detailed descriptions of the foregoing embodiments are omitted.
The product identification code diagram generation and the information query method based on the product identification code diagram provided by the embodiment of the application are described in detail, and specific examples are applied to the description of the principle and the implementation mode of the application, and the description of the above embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, as those skilled in the art will vary in the specific embodiments and application scope according to the ideas of the present application, the present description should not be construed as limiting the present application in summary.
Claims (15)
1. A method for generating a product identification code pattern, comprising:
acquiring a Chinese character set corresponding to at least one product attribute of a target product, wherein the Chinese character set comprises a plurality of Chinese character identifiers for indicating the corresponding product attribute and numbering information corresponding to each Chinese character identifier;
generating a random character string of the target product;
converting the random character string to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried;
inquiring a target Chinese character identifier corresponding to the number information to be inquired in the Chinese character set;
Generating at least one product identification code diagram of the target product according to the target Chinese character identification, wherein the product identification code diagram is used for providing the target Chinese character identification;
the converting, based on the random string, at least one converted information with the same format as the number information, and determining the converted information as the number information to be queried, including:
carrying out hash calculation on the random character string to obtain a hash character string corresponding to the random character string;
performing connection processing on the hash character string and the random character string;
converting the connected character strings to obtain at least one converted information with the same format as the number information by a preset mapping relation query or binary conversion mode;
determining the converted information as the number information to be queried;
or, the converting, based on the random string, at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried, including:
and extracting the character at a specific position in the hash character string and the random character string to obtain the number information to be queried.
2. The method according to claim 1, wherein the performing connection processing on the hash string and the random string, converting the connected string to obtain at least one converted information in the same format as the number information by a preset mapping query or a binary conversion method, includes:
Acquiring part of character strings in a preset position range in the hash character string;
performing connection processing on the random character string and the partial character string to obtain a characteristic character string of the target product;
and converting the characteristic character string to obtain at least one converted information with the same format as the number information by a preset mapping relation query or binary conversion mode.
3. The method according to claim 2, wherein the converting the feature string into at least one converted information having the same format as the number information by means of a preset mapping query or a binary conversion includes:
dividing the characteristic character string into at least one sub-characteristic string according to a preset dividing strategy;
and carrying out information conversion on each sub-feature string in a preset mapping relation query or binary conversion mode to obtain at least one converted information with the same format as the number information.
4. The method of claim 1, wherein the product attributes comprise a first product attribute and a second product attribute, the first product attribute corresponding to a first set of Chinese characters, the second product attribute corresponding to a second set of Chinese characters,
The generating the random character string of the target product comprises the following steps:
generating a first random string of a first product attribute of the target product and generating a second random string of a second product attribute of the target product;
the converting, based on the random string, at least one converted information with the same format as the number information, and determining the converted information as the number information to be queried, including:
converting the first random character string to obtain at least one piece of first converted information with the same format as the number information, and determining the first converted information as first number information to be queried;
converting based on the first random character string and the second random character string to obtain at least one piece of second converted information with the same format as the number information, and determining the second converted information as second number information to be queried;
the step of querying the target Chinese character identifiers corresponding to the number information to be queried in the Chinese character set comprises the following steps:
querying a first Chinese character identifier corresponding to the first number information to be queried in the first Chinese character set;
and inquiring a second Chinese character identifier corresponding to the second number information to be inquired in the second Chinese character set, wherein the first Chinese character identifier and/or the second Chinese character identifier are combined into a target Chinese character identifier of the target product.
5. The method of claim 4, wherein converting based on the first random string and the second random string to obtain at least one second converted information in the same format as the number information, and determining the second converted information as the second number information to be queried, comprises:
performing hash calculation on the first random character string to obtain a first hash character string corresponding to the first random character string, and performing hash calculation on the second random character string to obtain a second hash character string corresponding to the second random character string;
acquiring a first part of character strings in a preset first position range in the first hash character string, and acquiring a second part of character strings in a preset second position range in the second hash character string;
and converting the second random character string, the first part character string and the second part character string to obtain at least one piece of second converted information with the same format as the number information, and determining the second converted information as second number information to be queried.
6. The method of claim 5, wherein converting, based on the second random string, the first partial string, and the second partial string, to obtain at least one second converted information in the same format as the number information, the determining the second converted information as the second number information to be queried, comprises:
Performing connection processing on the second random character string, the first part character string and the second part character string to obtain a second characteristic character string of the target product;
dividing the second characteristic character string into at least one second sub-characteristic string according to a preset dividing strategy;
and converting each second sub-feature string to obtain at least one piece of second converted information with the same format as the number information, and determining the second converted information as second number information to be queried.
7. The method as recited in claim 1, further comprising:
acquiring at least one product identification code diagram of the target product and a Chinese character set corresponding to at least one target product attribute of the target product, wherein the Chinese character set comprises a plurality of Chinese character identifications corresponding to the target product attribute and numbering information of each Chinese character identification;
decoding the product identification code diagram to obtain a target Chinese character identification of the target product;
inquiring target numbering information corresponding to the target Chinese character identifiers in the Chinese character set;
generating product inquiry information of the target product according to the target number information;
And sending the product inquiry information to a blockchain system so as to inquire the product information of the target product in the blockchain system.
8. The method of claim 7, wherein generating product query information for the target product based on the target number information comprises:
performing character conversion on the target number information to obtain a characteristic character string corresponding to the target number information;
determining verification information of the characteristic character string, and carrying out safety verification on the characteristic character string based on the verification information;
and when the characteristic character string passes the safety verification, generating product query information of the target product according to the characteristic character string.
9. The method of claim 8, wherein the target product attributes comprise a first target product attribute and a second target product attribute, the first target product attribute corresponding to a first set of Chinese characters,
the second target product attribute corresponds to a second set of Chinese characters, the target Chinese character identifiers include at least one first target Chinese character identifier and at least one second target Chinese character identifier,
the step of querying the target number information corresponding to the target Chinese character identifier in the Chinese character set comprises the following steps:
Querying at least one first target number information corresponding to the first target Chinese character identifier in the first Chinese character set and at least one second target number information corresponding to the second target Chinese character identifier in the second Chinese character set;
the character conversion is carried out on the target number information to obtain a characteristic character string corresponding to the target number information, and the character string comprises the following components:
performing character conversion on the first target number information to obtain a first characteristic character string corresponding to the first target number information, and performing character conversion on the second target number information to obtain a second characteristic character string corresponding to the second target number information.
10. The method of claim 9, wherein the determining the verification information for the feature string, and the performing security verification on the feature string based on the verification information, comprises:
carrying out hash calculation on the first characteristic character string to obtain a first check character string;
performing hash calculation on the second characteristic character string to obtain a second check character string;
determining a first partial check character string in a preset first position range in the first check character string;
Determining a second partial check character string in a preset second position range in the second check character string;
determining a first part of characteristic strings in a preset third position range and a second part of characteristic strings in a preset fourth position range in the second characteristic strings;
and carrying out security verification on the first characteristic character string and the second characteristic character string based on the first partial verification character string, the second partial verification character string, the first partial characteristic character string and the second partial characteristic character string.
11. The method of claim 10, wherein the security checking the first feature string and the second feature string based on the first partial check string, the second partial check string, the first partial feature string, and the second partial feature string comprises:
and when the first partial verification character string is identical to the first partial characteristic character string and the second partial verification character string is identical to the second partial characteristic character string, determining that the first characteristic character string and the second characteristic character string pass the security verification.
12. A product identification code pattern generating apparatus, comprising:
the system comprises an identification set acquisition module, a code generation module and a code generation module, wherein the identification set acquisition module is used for acquiring a Chinese character set corresponding to at least one product attribute of a target product, and the Chinese character set comprises a plurality of Chinese character identifications for indicating the corresponding product attribute and numbering information corresponding to each Chinese character identification;
the random generation module is used for generating a random character string of the target product;
the numerical value determining module is used for converting the random character string to obtain at least one piece of converted information with the same format as the number information, and determining the converted information as the number information to be queried;
the identification inquiry module is used for inquiring the target Chinese character identification corresponding to the number information to be inquired in the Chinese character set;
the mark generation module is used for generating at least one product mark code diagram of the target product according to the target Chinese character mark, and the product mark code diagram is used for providing the target Chinese character mark;
the numerical value determining module comprises a calculating submodule and a determining submodule;
the computing sub-module is used for carrying out hash computation on the random character strings to obtain hash character strings corresponding to the random character strings;
The determining submodule is used for carrying out connection processing on the hash character string and the random character string; converting the connected character strings to obtain at least one converted information with the same format as the number information by a preset mapping relation query or binary conversion mode; determining the converted information as the number information to be queried;
alternatively, the numerical value determining module is configured to perform:
and extracting the character at a specific position in the hash character string and the random character string to obtain the number information to be queried.
13. The apparatus of claim 12, wherein the apparatus further comprises:
the identification acquisition module is used for acquiring at least one product identification code diagram of the target product and a Chinese character set corresponding to at least one target product attribute of the target product, wherein the Chinese character set comprises a plurality of Chinese character identifications corresponding to the target product attribute and numbering information of each Chinese character identification;
the decoding module is used for decoding the product identification code diagram to obtain a target Chinese character identification of the target product;
the numerical value inquiry module is used for inquiring the target number information corresponding to the target Chinese character identifier in the Chinese character set;
The information generation module is used for generating product inquiry information of the target product according to the target number information;
and the information sending module is used for sending the product inquiry information to a blockchain system so as to inquire the product information of the target product in the blockchain system.
14. A storage medium storing a plurality of computer programs adapted to be loaded by a processor for performing the steps of the method according to any one of claims 1 to 11.
15. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 11 when the computer program is executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110547721.4A CN113343639B (en) | 2021-05-19 | 2021-05-19 | Product identification code diagram generation and information query method based on product identification code diagram |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110547721.4A CN113343639B (en) | 2021-05-19 | 2021-05-19 | Product identification code diagram generation and information query method based on product identification code diagram |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113343639A CN113343639A (en) | 2021-09-03 |
CN113343639B true CN113343639B (en) | 2023-10-03 |
Family
ID=77469713
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110547721.4A Active CN113343639B (en) | 2021-05-19 | 2021-05-19 | Product identification code diagram generation and information query method based on product identification code diagram |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113343639B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004006123A2 (en) * | 2002-07-03 | 2004-01-15 | 2012244 Ontario Inc. | Method and system of creating and using chinese language data and user-corrected data |
CN101122916A (en) * | 2007-09-17 | 2008-02-13 | 张卓 | Chinese characters encoding information inquiry method |
CN101459680A (en) * | 2007-12-10 | 2009-06-17 | 指点通(北京)科技有限公司 | Recognition method and device based on Chinese character anti-false code |
CN108183712A (en) * | 2017-12-28 | 2018-06-19 | 北京华生恒业科技有限公司 | A kind of Chinese character gene coding and decoding method and system |
CN111177324A (en) * | 2019-12-31 | 2020-05-19 | 支付宝(杭州)信息技术有限公司 | Method and device for classifying intentions based on voice recognition result |
CN111178010A (en) * | 2019-12-20 | 2020-05-19 | 国久大数据有限公司 | Method and system for displaying digital signature, data editing method and terminal |
CN111178003A (en) * | 2019-12-20 | 2020-05-19 | 许华敏 | Anti-fake method for forming random code by replacing Chinese character characteristic structure with numbers |
CN111291397A (en) * | 2020-02-09 | 2020-06-16 | 成都神殿科技有限责任公司 | Webpage data anti-crawling encryption method |
WO2020147140A1 (en) * | 2019-01-17 | 2020-07-23 | 北京悦时网络科技发展有限公司 | Phrase code generation method and apparatus, phrase code recognition method and apparatus, and storage medium |
CN112149774A (en) * | 2020-09-16 | 2020-12-29 | 南通大学 | Chinese character commodity anti-counterfeiting code generation method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3153993B1 (en) * | 2015-10-08 | 2021-07-28 | Surys | Method of securing a 2d barcode |
-
2021
- 2021-05-19 CN CN202110547721.4A patent/CN113343639B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004006123A2 (en) * | 2002-07-03 | 2004-01-15 | 2012244 Ontario Inc. | Method and system of creating and using chinese language data and user-corrected data |
CN101122916A (en) * | 2007-09-17 | 2008-02-13 | 张卓 | Chinese characters encoding information inquiry method |
CN101459680A (en) * | 2007-12-10 | 2009-06-17 | 指点通(北京)科技有限公司 | Recognition method and device based on Chinese character anti-false code |
CN108183712A (en) * | 2017-12-28 | 2018-06-19 | 北京华生恒业科技有限公司 | A kind of Chinese character gene coding and decoding method and system |
WO2020147140A1 (en) * | 2019-01-17 | 2020-07-23 | 北京悦时网络科技发展有限公司 | Phrase code generation method and apparatus, phrase code recognition method and apparatus, and storage medium |
CN111178010A (en) * | 2019-12-20 | 2020-05-19 | 国久大数据有限公司 | Method and system for displaying digital signature, data editing method and terminal |
CN111178003A (en) * | 2019-12-20 | 2020-05-19 | 许华敏 | Anti-fake method for forming random code by replacing Chinese character characteristic structure with numbers |
CN111177324A (en) * | 2019-12-31 | 2020-05-19 | 支付宝(杭州)信息技术有限公司 | Method and device for classifying intentions based on voice recognition result |
CN111291397A (en) * | 2020-02-09 | 2020-06-16 | 成都神殿科技有限责任公司 | Webpage data anti-crawling encryption method |
CN112149774A (en) * | 2020-09-16 | 2020-12-29 | 南通大学 | Chinese character commodity anti-counterfeiting code generation method |
Non-Patent Citations (3)
Title |
---|
何娟.基于PDF417二维条码的农产品追溯编码的设计.《中国优秀硕士学位论文全文数据库(电子期刊)信息科技 * |
农产品追溯码的编码研究;余华;吴振华;;中国农业科学(第23期);第4801-4806页 * |
经济与管理科学专辑》.2014,全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN113343639A (en) | 2021-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109597822B (en) | User data storage and query method and user data processing device | |
CN110084070B (en) | Block chain-based identity construction and source tracing method for manufacturing cross-domain heterogeneous data | |
CN110245469B (en) | Webpage watermark generation method, watermark analysis method, device and storage medium | |
CN113918361A (en) | Terminal control method, device, equipment and medium based on Internet of things rule engine | |
CN112508145B (en) | Electronic seal generation and verification method and device, electronic equipment and storage medium | |
CN113382017B (en) | Permission control method and device based on white list, electronic equipment and storage medium | |
CN113704781A (en) | File secure transmission method and device, electronic equipment and computer storage medium | |
CN110489466A (en) | Generation method, device, terminal device and the storage medium of invitation code | |
CN113434542B (en) | Data relationship identification method and device, electronic equipment and storage medium | |
CN113591881A (en) | Intention recognition method and device based on model fusion, electronic equipment and medium | |
CN111311284B (en) | Cosmetics traceability platform system based on block chain | |
CN112667244A (en) | Data verification method and device, electronic equipment and computer readable storage medium | |
CN113343639B (en) | Product identification code diagram generation and information query method based on product identification code diagram | |
CN112052409A (en) | Address resolution method, device, equipment and medium | |
CN111355709A (en) | Data verification method and device, electronic equipment and computer readable storage medium | |
CN114840388A (en) | Data monitoring method and device, electronic equipment and storage medium | |
CN113987580A (en) | Block chain data access method, device, equipment and medium based on user attributes | |
CN114329030A (en) | Information processing method and device, computer equipment and storage medium | |
CN113656466A (en) | Policy data query method, device, equipment and storage medium | |
CN113407657A (en) | Data query method, device, equipment and storage medium based on single-level database | |
CN115311061B (en) | Electronic transaction management method, device, equipment and storage medium based on digital authentication | |
CN114138243B (en) | Function calling method, device, equipment and storage medium based on development platform | |
CN110378457A (en) | A kind of yard of target generation method and device | |
CN114710352B (en) | Password calling method and device of PHP system, electronic equipment and storage medium | |
CN115713334B (en) | Transaction data monitoring method and device |
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 |