CN106599968A - Multi-dimensional input commodity information processing method and apparatus for generating 2D codes - Google Patents

Multi-dimensional input commodity information processing method and apparatus for generating 2D codes Download PDF

Info

Publication number
CN106599968A
CN106599968A CN201611166081.8A CN201611166081A CN106599968A CN 106599968 A CN106599968 A CN 106599968A CN 201611166081 A CN201611166081 A CN 201611166081A CN 106599968 A CN106599968 A CN 106599968A
Authority
CN
China
Prior art keywords
information
commodity
label
data
classification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611166081.8A
Other languages
Chinese (zh)
Inventor
秦文韬
黎艳阳
蔡旭芬
张勤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Golden Dimension Information Technology (beijing) Co Ltd
Original Assignee
Golden Dimension Information Technology (beijing) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Golden Dimension Information Technology (beijing) Co Ltd filed Critical Golden Dimension Information Technology (beijing) Co Ltd
Priority to CN201611166081.8A priority Critical patent/CN106599968A/en
Publication of CN106599968A publication Critical patent/CN106599968A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/14Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using a plurality of keys or algorithms

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Signal Processing (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a multi-dimensional input commodity information processing method and apparatus for generating 2D codes, and relates to the field of information processing. The method includes the following steps: acquiring all kinds of commodity-related information through an existed database and network platform; classifying all kinds of commodity-related information to obtain all classified information of a commodity; labeling all classified information of the commodity to obtain all labeled information of the commodity; coding all the labeled information of the commodity to obtain metadata for generating 2D codes. According to the embodiments of the invention, the method labels and codes the all kinds of acquired commodity-related information on the basis of standards, and uses the obtained metadata obtained to generate 2D codes. The method helps the use and management of the 2D codes and commodity tracking with the aid of the 2D codes.

Description

A kind of multidimensional input merchandise information processing method generated for Quick Response Code and device
Technical field
The present invention relates to field of information processing, at more particularly to a kind of multidimensional input merchandise news generated for Quick Response Code Reason method and device.
Background technology
Production, transport and sale etc. are the important steps for ensureing product quality.To prevent counterfeit and shoddy goods, with secondary Substitute the bad for the good product, poisonous and harmful product commercially destroys normal market environment, affects even injury consumer health and life, goes out The various systems for product back-tracing are showed.
There is the extensive market demand in the system for being presently used for product back-tracing, however, due on market existing product deposit The problems such as surcharge height, product use inconvenient, product function is short of, therefore preferably do not applied.From product work( Consideration can be gone up, problems with is primarily present:
1. the method for input system is single, that is, limit input method, causes input difficult, inefficiency;
2nd, existing information processing method need repeatedly arrange in diverse location, arrange relevant information, when product quantity it is thousands of When up to ten thousand, cause workload very huge, it is difficult to realize data processing.
The content of the invention
A kind of multidimensional input merchandise information processing method generated for Quick Response Code for there is provided according to embodiments of the present invention and Device, at least solves the single technical problem processed with big data of existing product traceability system input method.
A kind of multidimensional input merchandise information processing method generated for Quick Response Code for providing according to embodiments of the present invention, bag Include:
By data with existing storehouse and the network platform, the various information related to commodity are obtained;
The various information related to commodity are classified, each classification information of the commodity is obtained;
Labeling process is carried out respectively to each classification information of the commodity, each label information of the commodity is obtained;
Each label information of the commodity is encoded, the metadata generated for Quick Response Code is obtained.
Preferably, described by data with existing storehouse and the network platform, obtaining the various information related to commodity includes:
By accessing data with existing storehouse, the related information of commodity is obtained from the data with existing storehouse;
By application programming interfaces, the related information of commodity is captured from each network platform.
Preferably, described by data with existing storehouse and the network platform, obtaining the various information related to commodity also includes:
By the related information of the commodity obtained from the data with existing storehouse related to the commodity captured from network platform letter Ceasing carries out including the pretreatment of data cleansing and Data Integration, is met the various information of requirement.
Preferably, it is described that the various information related to commodity are classified, obtain each classification of the commodity Information includes:
According in information type, information source, information attribute space, information physical space, information display platform at least One, the various information related to commodity are classified, obtain the classification information that associates with information type accordingly and The classification information of information source association and classification information and the classification of information physical space correlation of information attribute space correlation The classification information that information is associated with information display platform.
Preferably, the described each classification information to the commodity carries out labeling process respectively, obtains the commodity Each label information includes:
Label is marked respectively to each information in every class classification information, the label letter of every category information of the commodity is obtained Breath.
Preferably, it is described that label is marked respectively to each information in every class classification information, obtain the every of the commodity The label information of category information includes:
According to preset order, it is determined that per the sorting position of each information in class classification information, and according to the sequence position Put, successively to each information labeling label.
Preferably, represent that the position has the corresponding information of the commodity by " 1 " in the information space of the metadata And the label of mark, the label of the corresponding information and mark that there are no the commodity is represented by " 0 ".
Preferably, the position being located according to " 0 " in the information space of the metadata or " 1 ", storage respective labels correspondence Source file.
Preferably, the source file is obtained from by encoding to described each information related to commodity.
The storage medium for providing according to embodiments of the present invention, which is stored for realizing the above-mentioned multidimensional generated for Quick Response Code The program of input merchandise information processing method.
A kind of multidimensional input commodity information processor generated for Quick Response Code for providing according to embodiments of the present invention, bag Include:
Data obtaining module, for by data with existing storehouse and the network platform, obtaining the various information related to commodity;
Information classification module, for classifying to the various information related to commodity, obtains each of the commodity Classification information;
Label for labelling module, for carrying out labeling process respectively to each classification information of the commodity, obtains the business Each label information of product;
Metadata generation module, for encoding each label information of the commodity, obtains generating for Quick Response Code Metadata.
Technical scheme provided in an embodiment of the present invention has the advantages that:
1. the embodiment of the present invention realizes multi-modal file format input mode, can effectively improve the user of product Method, service efficiency lift scalability;
2. the embodiment of the present invention the various information related to commodity for obtaining are carried out including marking according to unified standard and The process of coding, is easy to use and manages, it is adaptable to big data process;
3rd, the embodiment of the present invention can will process the metadata for obtaining for generating Quick Response Code, be conducive to the use of Quick Response Code And management, and commodity tracing is carried out by Quick Response Code.
Description of the drawings
Fig. 1 is the multidimensional input merchandise information processing method block diagram generated for Quick Response Code provided in an embodiment of the present invention;
Fig. 2 is the multidimensional input commodity information processor block diagram generated for Quick Response Code provided in an embodiment of the present invention;
Fig. 3 is that Quick Response Code provided in an embodiment of the present invention generates system architecture diagram;
Fig. 4 a are that source file provided in an embodiment of the present invention deposits the first schematic diagram;
Fig. 4 b are that source file provided in an embodiment of the present invention deposits the second schematic diagram;
Fig. 5 is automated tag engine process chart in Fig. 3;
Fig. 6 is Quick Response Code traceability system Organization Chart provided in an embodiment of the present invention;
Fig. 7 is coding region schematic diagram provided in an embodiment of the present invention;
Fig. 8 is multi-layer security encoding and decoding flow chart provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with accompanying drawing to a preferred embodiment of the present invention will be described in detail, it will be appreciated that described below is excellent Select embodiment to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 1 is the multidimensional input merchandise information processing method block diagram generated for Quick Response Code provided in an embodiment of the present invention, As shown in figure 1, step includes:
Step S101:By data with existing storehouse and the network platform, the various information related to commodity are obtained.
Specifically, merchandise related information can be obtained by following two approach:
1., by accessing data with existing storehouse, the related information of commodity is obtained from the data with existing storehouse, such as by food The data base of drug surveilance office obtains food and medicine information.
2. crawler technology is utilized, and by application programming interfaces, the related information of commodity is captured from each network platform, for example, is grabbed The information of corresponding commodity on the electric business platform such as Jingdone district is taken, the corresponding commodity information on the instantaneous communication systems such as wechat, crawl is captured The corresponding commodity information shown on the platforms such as Sina.
After various information are obtained, information there may be duplicate contents content unrelated with product etc., it is therefore desirable to pass through Pretreatment, carries out the operation such as data cleansing, Data Integration, so as to be met the various information of requirement to above- mentioned information.For example, When requiring to the size of picture, picture that can be as requested to obtaining carry out the process such as cutting.
Step S102:The various information related to commodity are classified, each classification information of the commodity is obtained.
According in information type, information source, information attribute space, information physical space, information display platform at least One, the various information related to commodity are classified, obtain the classification information that associates with information type accordingly and The classification information of information source association and classification information and the classification of information physical space correlation of information attribute space correlation The classification information that information is associated with information display platform.
For example, according to information type, it is Word message, pictorial information, video information, audio-frequency information etc. by information classification; According to information source, it is from the information in data with existing storehouse, the information from electric business platform, the letter from producer by information classification Breath etc..
Step S103:Labeling process is carried out respectively to each classification information of the commodity, each mark of the commodity is obtained Label information.
Labeling in step S103 processes and refers to and mark label to each information in every class classification information, obtains described The label information of every category information of commodity.Specifically, can be according to preset order, it is determined that per each information in class classification information Sorting position, and according to the sorting position, successively to each information labeling label.
For example, when the classification information to associating with information type carries out labeling process, it is assumed that preset order:First Be set to word, the second position for picture, the 3rd position be video, the 4th position be audio frequency.Video and audio frequency to a certain commodity When carrying out labeling process, first and second first positions are sky, and video and audio frequency are sequentially arranged in third and fourth Put, then the video and audio frequency to being arranged in the third and fourth position marks label successively.
Step S104:Each label information of the commodity is encoded, the metadata generated for Quick Response Code is obtained.
As metadata corresponds to each label, therefore can be appreciated which commodity include by the information space of metadata Information.Specifically, represent that the position has the corresponding information and mark of the commodity by " 1 " in the information space of metadata Label, represents the label of the corresponding information and mark that there are no the commodity by " 0 ".For example, commodity only exist video and sound During frequency, the dimension that word and picture are represented in the information space of metadata is the dimension difference of " 0 ", video and audio representative respectively It is " 1 ".
For ease of data storage and query, the position that can be located according to " 0 " in the information space of the metadata or " 1 " Put, the corresponding source file of storage respective labels.Wherein, the corresponding source file in " 0 " position is sky, is not take up memory space.
Wherein, the source file is obtained from by encoding to described each information related to commodity.
It will appreciated by the skilled person that all or part of step in realizing above-described embodiment method can be Instruct related hardware to complete by program, described program can be stored in computer read/write memory medium, should Program upon execution, including step S101 to step S104.Wherein, described storage medium can be ROM/RAM, magnetic disc, light Disk etc..
Fig. 2 is the multidimensional input commodity information processor block diagram generated for Quick Response Code provided in an embodiment of the present invention, As shown in Fig. 2 including:
Data obtaining module 10, for by data with existing storehouse and the network platform, obtaining the various information related to commodity.
Information classification module 20, for classifying to the various information related to commodity, obtains the commodity Each classification information, specifically, can be according to information type, information source, information attribute space, information physical space, information exhibition Show that platform etc. is classified.
Label for labelling module 30, for carrying out labeling process respectively to each classification information of the commodity, obtains described Each label information of commodity, it should be noted that each information related to commodity of label for labelling module 30 is intended to mark label.
Metadata generation module 40, for encoding each label information of the commodity, obtains giving birth to for Quick Response Code Into metadata.
Fig. 3 is that Quick Response Code provided in an embodiment of the present invention generates system architecture diagram, as shown in Figure 3.
First, Data Enter
Based on data base, data acquisition is divided into two parts, and a part is imported the number of the embodiment of the present invention by existing database According to storehouse, such as food and medicine information is imported by the associated databases of office of food and medicine prison office, and the data in existing database press class Type includes word, picture, video etc., includes PDF, Word, Excel etc. by file format;Another part is by application programming interfaces (API) data, and real-time update data base are captured from each network platform (i.e. interface platform) by crawler technology, the interface is put down Platform include the electric business platforms such as such as social media such as Sina weibo, Facebook, Amazon, Jingdone district and pay close attention to it is each big News website.
Existing conventional input system, limits input method, causes input difficult, inefficiency, and the present invention is real Example is applied by the extensive information medium interface (i.e. application programming interfaces) of opening and multi-modal file format input method, Ke Yiyou The using method for improving product of effect, service efficiency lift scalability, and user oneself can be allowed to carry out to product information point Layer, arranges tree structure, and per layer of information that can show client oneself configuration is freely played, while being easy to businessman with various shapes Formula, represents and publicizes the products & services of oneself.
In addition, all kinds of typing information, a typing single, the message form required for can freely forming afterwards, it is to avoid Repeatedly input, process, storing same information.
2nd, pretreatment
After having new data to import data base, the embodiment of the present invention all can be done to data and be necessary ground pretreatment, for example, count According to cleaning, Data Integration etc., so as to the auto-scaling sought unity of standard to data by automated tag engine after the pre-treatment, And with data base's automatic butt.
3rd, automated tag engine
The function of automated tag engine implementation above-mentioned steps S102 and step S103.
Label construction is defined as follows:
1. define file type, such as word, picture, video, PDF, Excel, Word etc., DT=text, image, video,pdf,excel,word,…};
2. define document source, such as network interface, producer, businessman, user etc., DS=api, manu, merch, custo,…};
3. the attribute space of definition information, such as temporal information, geography information, source-information etc., Σ={ T, G, F ... };
4. the physical space of definition information, such as scale size, time length, dimension size etc., U={ S, N, D ... };
5. the display platform or engine of definition information, such as animation platform, music platform, video platform, VR platforms, AR are put down Platform etc., P={ C, M, V, VR, AR ... };
6. other possible classification information follow above-mentioned definition standard.
Metadata is generated according to filling label by standard logarithmic defined above, Metadata information spaces are defined as follows:
Info spaces represent a category information per a line, are set to 0 automatically at information gap in matrix, the not enough row square of information dimension Automatically 0 is mended in battle array;Per a line as included respective dimensions information, then the dimension is put into 1 in metadata info, while generation is right Source file is answered to retain the dimension character string or oss message in specified memory;Set to 0 if not comprising the dimensional information, correspondence source document Part content is sky, is not take up memory space.
Source file format is defined as:
IfThe relevant position subscript that then each dimension is stored in source file is represented simultaneously Index, source file data storage source file as shown in fig. 4 a deposit the first schematic diagram.
For example, certain brand red wine, producer import red wine relevant textual information such as production time, the place of production;Import pictorial information Comprising red wine size;Producer will carry out the red wine virtual display on VR platforms and publicize.Text=1, image=1, manu =1, T=1, G=1, S=1, VR=1..
Therefore,Correspondence source file storage source file as shown in Figure 4 b deposits the second schematic diagram.
The automated tag engine of the embodiment of the present invention passes through system data and customer information, adds to related data and marks automatically Label information, improves the speed of typing information, it is to avoid the manual errors and later maintenance problem of typing information
Fig. 5 is automated tag engine process chart in Fig. 3, as shown in figure 5, database data is after pretreatment, typing To automated tag engine, and it is identified, calibrates and coding in automated tag engine, the output of automated tag engine is comprising required letter The source file of breath and corresponding metadata (metadata) file.According to the content-defined standard of Quick Response Code, by source file with it is right The metadata for answering generates Quick Response Code.
Standard is defined according to label constructionization, end of tracing to the source can be by the two dimension comprising source file information with metadata information Code is decoded simultaneously, rebuilds all information.Wherein, Quick Response Code it is content-defined, generate and traced back based on the Quick Response Code of authority Source is elaborated in further part.
The automated tag engine of the embodiment of the present invention with automatic identification file type, document source, and can press mark to file Quasi- classification, test file dimension, the storage of reasonable arrangement file and using method, carry out Multidimensional Comprehensive description to product, convenient Intelligent personalized displaying.
Prior art needs repeatedly to arrange arrangement relevant information in diverse location, when product quantity is thousands of, causes Workload is huge, it is difficult to realize data processing.And method of the automated tag engine index provided in an embodiment of the present invention with showing By the media information of automated tag, the method that can be specified according to user, it is intended that the space of a whole page, it is intended that the information such as time, Auto arrangement, shows, plays to client or user, be that the use of data brings great convenience, after reducing operation With the loaded down with trivial details task such as layout.Businessman can in different forms, time and space on-link mode (OLM) and arrangement mode, form businessman and make by oneself The product information introduction of justice and description system.In different applications and display interface, different forms can be combined into, just Show and publicity in businessman.
The embodiment of the present invention can also be easy to data management analysis, and specifically, the product multidimensional information of typing is included not With the production qualification information related to the product cart-load of woods material of sales stage, the original design of product, product, inspection and checking Information, the test information of relevant criterion, patent are proved and the polytype information such as client feedback and evaluation with overpraising, convenient to be System backstage can manage at any time, calls and analyze.
The embodiment of the present invention is based on automated tag engine, can also carry out intelligent personalized displaying, specifically, Jing unifications The data of standard label can enter the independent assortment of row information according to demand, such as businessman from the wholesale a collection of red wine of producer, Need now to carry out publicity sale by Internet channel, now businessman can be drawn based on automated tag according to the orientation of publicity of oneself Hold up and choose the data message for expecting to show, the place of production of such as red wine, publicizes official documents and correspondence, video, user comment etc. at the production time.Letter Intelligent typesetting can be carried out by WEB technologies after breath combination, realize that intelligent personalized information shows.Wherein, label information is straight The Label space for calling automated tag engine is connect, template sets are shown with information and realized based on existing WEB technologies.
The embodiment of the present invention is based on automated tag engine, can also carry out data management analysis, specifically, data management point Analysis is broadly divided into three big modules:Data processing module, data analysis module and data visualization module.Wherein, data processing mould Block carries out the information processing of such as classification such as classification, combination, bulk management mainly for the management user for having operating right, after being Phase data analysiss are laid the foundation with visualization;Data analysis module mainly provides the data analysis tool of correlation, for example can be real Now the automatic arranging of data, alignment, screening etc., also provide the algorithm that data are carried out with quantitative analyses in addition, such as calculate average, pole Big value minimum, variance etc.;Based on qualitative analyses above and quantitative analyses, the system can utilize existing related tool and technology Carry out visualization and the real-time, interactive of data.
Fig. 6 is Quick Response Code traceability system Organization Chart provided in an embodiment of the present invention, as shown in fig. 6, being drawn based on automated tag Hold up, it is possible to achieve generate Quick Response Code.Specifically, first can be by required data genaration by automated tag engine Metadata, for convenience user obtain information, metadata is converted into Quick Response Code, the embodiment of the present invention by the embodiment of the present invention The form by metadata to Quick Response Code based on a kind of mixing Quick Response Code of multi-level information encryption, facilitate later stage rights encryption With decryption.The mixing Quick Response Code of multi-level information encryption is largely divided into general code region and minisize code region, the embodiment of the present invention Mainly first coding region in general code region is defined with the second code area domain content in minisize code region.In Fig. 7, lead to It is the first coding region with the white portion in code region, the first coding region is made up of the white hexagon of honeycomb type structure, six sides Figurate number mesh can deposit source file information according to data-carrying capacity additions and deletions, for storing general information;Minisize code area inner layer six Side shape white portion is second code area, for storing important information, that is, deposits metadata fileinfos, and metadata is based on The definition standard of Label space, comparatively data are in openness, are suitably positioned over minisize code region.Further, in Fig. 7 also Including index area (not shown), the index area is the intersection region in three regular hexagon regions, and is located at respectively miniature On the extended line of the line on code area's internal layer hexagonal centre and six summits, for indexing the encoding and decoding order of encryption information.
Fig. 8 is multi-layer security encoding and decoding flow chart provided in an embodiment of the present invention, as shown in Figure 8.
Wherein, the generation step of the mixing Quick Response Code encrypted based on multi-level information is included:
Step 1. utilizes public key, and the input data (including source file and metadata) for generating Quick Response Code is carried out successively Network layer encryption and multi-layer security are processed, and obtain the ciphertext of Jing network layer encryptions and multi-layer security.
Specifically, source file and metadata are converted to binary information, and after network layer encryption, carry out Information Level Multi-level encryption.
Multi-layer security correspondence multilamellar authority, when this layer is encrypted, be input into for the output information and this layer of previous high authority layer it is new The information of addition, encryption key are the corresponding key of this layer of authority.Wherein, this layer of new information for adding is this layer and high authority layer The information that user can check but cannot check in rear low rights layer user.
It should be noted that this layer of authority user is with the corresponding key of this layer of authority and all in rear low layer authority pair The key answered.
Step 2. is interleaved to ciphertext N after process using interleaver, obtains information to be compiled.
Step 3. carries out Quick Response Code coding to information to be compiled, obtains the mixing encrypted based on multi-level information shown in Fig. 7 Quick Response Code.
For the information to be compiled corresponding to source file, binary information, the binary information are converted into first Being packaged (0 is then mended less than 16 bytes) for one group according to 16 bytes, forming a group information { A, B, C }, wherein A is 8 bytes, B and C is respectively 4 bytes.Then according to the group information is converted to YUV color group informations, by certain by predefined transformational rule Order is placed in the first coding region shown in Fig. 7, such as the color after changing is { A, 16*B+4,16*C+9 }, is set using the color Certain hexagon of the first coding region is put, wherein, the lightness of the hexagon is A, and color is 16*B+4, and saturation is 16*C+ 9。
For the information to be compiled corresponding to metadata, can be processed in the same way, difference is, corresponding After the information processing to be compiled of metadata is color group information, the second code area being placed in shown in Fig. 7.
Wherein, the decoding step of the mixing Quick Response Code encrypted based on multi-level information is included:
Step 1. pair carries out Quick Response Code decoding process based on the mixing Quick Response Code that multi-level information is encrypted, and obtains letter to be compiled Breath.
By scanning the mixing Quick Response Code shown in Fig. 7, the first coding region and second code area are determined.In certain sequence to The colouring information of one coding region carries out conversion and conciliates encapsulation process, obtains binary information, and the binary information is carried out Quick Response Code decoding process, obtains the information to be compiled corresponding to source file.Similarly, the colouring information of second code area is carried out Conversion conciliate encapsulation process, obtain binary information, and Quick Response Code decoding process carried out to the binary information, obtain corresponding to The information to be compiled of metadata.
Step 2. carries out the process that deinterleaves to information to be compiled, obtains ciphertext.
Step 3. considers the user with different rights, ciphertext is successively decrypted successively and Internet decryption, is obtained To binary information, and binary information is converted to into source file and metadata.
After user obtains product, user scans the mixing Quick Response Code shown in Fig. 7 by scanning device, decoded, go After interleaver process, the ciphertext of multi-level encryption is obtained.The existing key of ciphertext and the user is uploaded through communication layers together Compare to server, the information of layer is accordingly decrypted to user by server feedback.Specifically, multi-layer security correspondence multilamellar Authority, when this layer is decrypted, is decrypted to ciphertext using this layer and the corresponding key of all low layer authorities, and obtaining this layer of user can With all information checked, including the information that this layer of user can check but cannot check in rear low rights layer user, Yi Ji The information that low rights layer user can check afterwards.
For example, the layer 1 that reduced with authority successively, layer 2, layer 3, the key of respective layer are respectively key1, key2, key3, Now 1 user of authority highest layer possesses key1, key2, key3, and 2 user of layer possesses key2, and key3, the minimum layer 3 of authority are used Family possesses key3.Assume that 1 user of layer can see information 1, information 2 and information 3,2 user of layer can see information 2 and information 3,3 user of layer Information 3 can be seen, information 1, information 2 and information 3 are the information after network layer encryption, including corresponding source file and first number According to.During multi-layer security, for layer 1, using the key1 encryption information 1 that only 1 user of layer can see, M1 is obtained;For layer 2, profit M1 and information 2 that only 2 user of layer can see are encrypted with key2, M12 and M2 is obtained;For layer 3, using using key3 encryption M12, The information 3 that M2,3 user of layer can see, obtains M123 and M23 and M3.During multilamellar is decrypted, for 3 user of layer, by scanning mixing two Tie up code and process obtains ciphertext (i.e. M123, M23, M3) and key (key3) is uploaded onto the server, server by utilizing key3 pair M123, M23, M3 are decrypted, and obtain M12, M2 and information 3, information 3 is carried out being available for 3 user of layer to check after Internet decryption;It is right In 2 user of layer, scanning is mixed into Quick Response Code and process obtains ciphertext (i.e. M123, M23, M3) and key (key2, key3) is uploaded To server, server by utilizing key3 obtains M12, M2 and information 3 to M123, M23, M3 decryption, using key2 to M12, M2 solution It is close to obtain M1 and information 2, information 2 and information 3 are carried out being available for 2 user of layer to check after Internet decryption;Similarly, for layer Scanning is mixed Quick Response Code and process obtains ciphertext (i.e. M123, M23, M3) and key (key1, key2, key3) is uploaded by 1 user To server, server by utilizing key3 obtains M12, M2 and information 3 to M123, M23, M3 decryption, using key2 to M12, M2 solution It is close to obtain M1 and information 2, information 1 is obtained to M1 decryption using key1, Internet decryption is carried out to information 1, information 2 and information 3 It is available for 1 user of layer to check afterwards.
Level based on automated tag engine arranges and is follow-up tracking of tracing to the source, alters with level rights encryption 2 D code system Goods early warning, client feedback etc. establish good communication channelss.For example, information, the red wine of different batches are provided according to data base Corresponding specialty report can be generated, batch specialty report is connected with product, generates the corresponding Quick Response Code of the batch products, pass through Level Quick Response Code is capable of achieving the automatic nested type Package Management of red wine, can trace into each product inside each case;By layer Level encryption arranges authority Quick Response Code, the information of corresponding authority can be opened to different identity user, agrees with producer, businessman, buyer etc. The information attention emphasis of different identity user.
The embodiment of the present invention can be traced to the source in order to Quick Response Code, and user carries out two-dimensional code scanning and is input into key, Jing in system After authority judgement, the information of corresponding authority will be decoded and be uploaded.Now automatic checking information is carried out falsifying detection by system background.Such as Information matches are then without falsifying, you can normally using product;If any falsifying, falsifying early warning system is jumped to.Falsifying early warning system meeting Record scans the flow time line traced to the source every time:Barcode scanning position, barcode scanning time, scanning User IP, barcode scanning quantity, log-on message Deng.Such as be found and distort, comparison data is changed the concrete data in period by early warning system, monitoring management falsifying and simultaneously to Self-defined level sends early warning.Standard is defined with Quick Response Code mutually to unify, basis of tracing to the source, the convenient product based on Quick Response Code is established Product are traced to the source.
Although being described in detail to the present invention above, the invention is not restricted to this, those skilled in the art of the present technique Various modifications can be carried out with principle of the invention.Therefore, all modifications made according to the principle of the invention, all should be understood to Fall into protection scope of the present invention.

Claims (10)

1. it is a kind of to be input into merchandise information processing method for the multidimensional that Quick Response Code is generated, it is characterised in that to include:
By data with existing storehouse and the network platform, the various information related to commodity are obtained;
The various information related to commodity are classified, each classification information of the commodity is obtained;
Labeling process is carried out respectively to each classification information of the commodity, each label information of the commodity is obtained;
Each label information of the commodity is encoded, the metadata generated for Quick Response Code is obtained.
2. method according to claim 1, it is characterised in that described by data with existing storehouse and the network platform, obtains The various information related to commodity include:
By accessing data with existing storehouse, the related information of commodity is obtained from the data with existing storehouse;
By application programming interfaces, the related information of commodity is captured from each network platform.
3. method according to claim 2, it is characterised in that described by data with existing storehouse and the network platform, obtains The various information related to commodity also include:
The related information of the commodity obtained from the data with existing storehouse related to the commodity captured from network platform information is entered Row includes data cleansing and the pretreatment of Data Integration, is met the various information of requirement.
4. method according to claim 1, it is characterised in that described is carried out to the various information related to commodity Classification, each classification information for obtaining the commodity include:
According at least one of information type, information source, information attribute space, information physical space, information display platform, The various information related to commodity are classified, classification information and the information for associating with information type accordingly is obtained The classification information of the classification information of source association and the classification information of information attribute space correlation and information physical space correlation, The classification information associated with information display platform.
5. method according to claim 1, it is characterised in that the described each classification information to the commodity is carried out respectively Labeling process, each label information for obtaining the commodity include:
Label is marked respectively to each information in every class classification information, the label information of every category information of the commodity is obtained.
6. method according to claim 5, it is characterised in that described distinguishes to each information in every class classification information Mark label, the label information for obtaining every category information of the commodity include:
According to preset order, it is determined that the sorting position of each information in per class classification information, and according to the sorting position, according to It is secondary to each information labeling label.
7. method according to claim 1, it is characterised in that being represented by " 1 " in the information space of the metadata should There is the label of the corresponding information and mark of the commodity in position, by " 0 " represent do not exist the commodity corresponding information and The label of mark.
8. method according to claim 7, it is characterised in that " 0 " or " 1 " institute in the information space according to the metadata Position, the storage corresponding source file of respective labels.
9. method according to claim 8, it is characterised in that the source file is by described related to commodity every Obtained from individual information is encoded.
10. it is a kind of to be input into commodity information processor for the multidimensional that Quick Response Code is generated, it is characterised in that to include:
Data obtaining module, for by data with existing storehouse and the network platform, obtaining the various information related to commodity;
Information classification module, for classifying to the various information related to commodity, obtains each classification of the commodity Information;
Label for labelling module, for carrying out labeling process respectively to each classification information of the commodity, obtains the commodity Each label information;
Metadata generation module, for encoding to each label information of the commodity, obtains the unit generated for Quick Response Code Data.
CN201611166081.8A 2016-12-16 2016-12-16 Multi-dimensional input commodity information processing method and apparatus for generating 2D codes Pending CN106599968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611166081.8A CN106599968A (en) 2016-12-16 2016-12-16 Multi-dimensional input commodity information processing method and apparatus for generating 2D codes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611166081.8A CN106599968A (en) 2016-12-16 2016-12-16 Multi-dimensional input commodity information processing method and apparatus for generating 2D codes

Publications (1)

Publication Number Publication Date
CN106599968A true CN106599968A (en) 2017-04-26

Family

ID=58802928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611166081.8A Pending CN106599968A (en) 2016-12-16 2016-12-16 Multi-dimensional input commodity information processing method and apparatus for generating 2D codes

Country Status (1)

Country Link
CN (1) CN106599968A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107358431A (en) * 2017-06-27 2017-11-17 高波 Self-help settlement method and system
CN107545055A (en) * 2017-08-25 2018-01-05 苏州市千尺浪信息技术服务有限公司 A kind of querying method of big data information
CN107944885A (en) * 2017-12-08 2018-04-20 快创科技(大连)有限公司 A kind of commodity tracing management system based on AR technologies
CN108717639A (en) * 2018-07-17 2018-10-30 北京引领海逛科技有限公司 Barcode scanning is quickly obtained the method and system of product details
CN109086850A (en) * 2018-08-16 2018-12-25 北京奇虎科技有限公司 A kind of method and system carrying out information processing using hierarchical encoding of graphs data
CN109635904A (en) * 2018-11-16 2019-04-16 芜湖智久机器人有限公司 A kind of positioning unit of two dimensional code, modularization two dimensional code and information increase and decrease method
CN110675172A (en) * 2019-09-30 2020-01-10 上海仪电(集团)有限公司中央研究院 Food traceability data mining method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625681A (en) * 2008-07-11 2010-01-13 江苏怡丰通信设备有限公司 Quick commodity information query method
US20120281894A1 (en) * 2008-03-05 2012-11-08 International Business Machines Corporation Systems and Methods for Metadata Embedding in Streaming Medical Data
CN104966040A (en) * 2015-05-29 2015-10-07 上海爱数软件有限公司 Case document rapid tracking method based on code scanning mechanism
CN105550732A (en) * 2016-02-22 2016-05-04 冯贵良 Combined-type source tracing label and commodity source tracing method and system
CN106127640A (en) * 2016-07-06 2016-11-16 常熟理工学院 Campus information management method based on Quick Response Code and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120281894A1 (en) * 2008-03-05 2012-11-08 International Business Machines Corporation Systems and Methods for Metadata Embedding in Streaming Medical Data
CN101625681A (en) * 2008-07-11 2010-01-13 江苏怡丰通信设备有限公司 Quick commodity information query method
CN104966040A (en) * 2015-05-29 2015-10-07 上海爱数软件有限公司 Case document rapid tracking method based on code scanning mechanism
CN105550732A (en) * 2016-02-22 2016-05-04 冯贵良 Combined-type source tracing label and commodity source tracing method and system
CN106127640A (en) * 2016-07-06 2016-11-16 常熟理工学院 Campus information management method based on Quick Response Code and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107358431A (en) * 2017-06-27 2017-11-17 高波 Self-help settlement method and system
CN107545055A (en) * 2017-08-25 2018-01-05 苏州市千尺浪信息技术服务有限公司 A kind of querying method of big data information
CN107944885A (en) * 2017-12-08 2018-04-20 快创科技(大连)有限公司 A kind of commodity tracing management system based on AR technologies
CN108717639A (en) * 2018-07-17 2018-10-30 北京引领海逛科技有限公司 Barcode scanning is quickly obtained the method and system of product details
CN109086850A (en) * 2018-08-16 2018-12-25 北京奇虎科技有限公司 A kind of method and system carrying out information processing using hierarchical encoding of graphs data
CN109086850B (en) * 2018-08-16 2021-09-28 北京奇虎科技有限公司 Method and system for processing information by utilizing hierarchical graphic coding data
CN109635904A (en) * 2018-11-16 2019-04-16 芜湖智久机器人有限公司 A kind of positioning unit of two dimensional code, modularization two dimensional code and information increase and decrease method
CN110675172A (en) * 2019-09-30 2020-01-10 上海仪电(集团)有限公司中央研究院 Food traceability data mining method and system

Similar Documents

Publication Publication Date Title
CN106599968A (en) Multi-dimensional input commodity information processing method and apparatus for generating 2D codes
Nobre et al. The state of the art in visualizing multivariate networks
Bradshaw et al. Sourcing and automation of political news and information over social media in the United States, 2016-2018
CN111507709B (en) Data tracing system
US9607056B2 (en) Providing a multi-tenant knowledge network
US8590776B2 (en) Physical product sample provided with at least one product sample code
Lin et al. Social network analysis in enterprise
US8635281B2 (en) System and method for attentive clustering and analytics
US9292545B2 (en) Entity fingerprints
CN107851267A (en) System and method for carrying out the synchronous data related to audio call via the virtual phone number of dynamically distributes
US20110231416A1 (en) Analyzing script for scanning mass internet content
US20190188211A1 (en) Linking Discrete Dimensions to Enhance Dimensional Analysis
CN108537314A (en) Product marketing system and method based on Quick Response Code
CN110532309B (en) Generation method of college library user portrait system
CN104574122A (en) Two-dimensional code anti-counterfeit and random product packaging goods-fleeing preventing method
Kanoje et al. User profiling for university recommender system using automatic information retrieval
CN107977845A (en) Food traceability system and method based on label information
CN110637317A (en) Distributed node cluster for establishing digital contact points across multiple devices on a digital communications network
Gioti et al. Social business intelligence: Review and research directions
CN109598171A (en) A kind of data processing method based on two dimensional code, apparatus and system
CN102622632A (en) Quality safety management identification forming method and quality safety management identification forming system based on internet of things
Hijazi Big Data and Knowledge Management: A Possible Course to Combine Them Together.
CN116664252A (en) Virtual commodity management method, device and storage medium
CN115114519A (en) Artificial intelligence based recommendation method and device, electronic equipment and storage medium
Ji et al. A Regulated Anticounterfeiting Traceability Metamodel Based on Blockchain in Supply Chain in the Era of IR 4.0

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170426

WD01 Invention patent application deemed withdrawn after publication