CN104834999B - Commodity based on cloud, which are traced to the source and consumed, flows to statistical analysis technique and system - Google Patents

Commodity based on cloud, which are traced to the source and consumed, flows to statistical analysis technique and system Download PDF

Info

Publication number
CN104834999B
CN104834999B CN201510203004.4A CN201510203004A CN104834999B CN 104834999 B CN104834999 B CN 104834999B CN 201510203004 A CN201510203004 A CN 201510203004A CN 104834999 B CN104834999 B CN 104834999B
Authority
CN
China
Prior art keywords
commodity
code
ciphering
cloud computing
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510203004.4A
Other languages
Chinese (zh)
Other versions
CN104834999A (en
Inventor
孙瑞志
邓超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NANJING DASHU INTELLIGENT SCIENCE AND TECHNOLOGY Co.,Ltd.
Original Assignee
China Agricultural University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Agricultural University filed Critical China Agricultural University
Priority to CN201510203004.4A priority Critical patent/CN104834999B/en
Publication of CN104834999A publication Critical patent/CN104834999A/en
Application granted granted Critical
Publication of CN104834999B publication Critical patent/CN104834999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention, which discloses a kind of commodity based on cloud and traces to the source and consume, flows to statistical analysis technique and system, using the cloud computing platform and the co-operating cloud framework of cloud computing terminal in the present invention, it is responsible for coding, compression, encryption, generation, activation, assignment and the management of hundred million grades of ciphering two-dimension codes by the cloud computing platform, and the commodity service of tracing to the source is provided for consumer, consumption flow direction statistical analysis service is provided for enterprise;The cloud computing terminal is responsible for assigning commodity ciphering two-dimension code mark, the present invention computing capability and performance powerful using cloud, and convenient automation centralized management mode, it is ensured that operational efficiency, reliability, flexibility and the robustness of system.

Description

Commodity based on cloud, which are traced to the source and consumed, flows to statistical analysis technique and system
Technical field
The present invention relates to information technology fields, and in particular to flow direction statistics is traced to the source and consumed to a kind of commodity based on cloud Analysis method and system.
Background technique
Since consumption quantity is huge, the flow of commodity is complicated, and fast consumables industry and enterprise are difficult to the quotient to oneself production Flow direction analysis is traced to the source and consumed to product, this allows for user and is difficult to know the information of commodity, such as manufacturer, grown place Deng, meanwhile, once there is product quality problem, the flow direction of defective product can not be known in enterprise, can not also recover quotient inferior in time Product cause adverse effect to the fame of enterprise so that the interests of consumer are damaged.And it is advantageous to carry out consumption flow direction analysis The market comsupton trend of commodity is grasped in time in enterprise, to carry out the Brand Marketing strategy shot the arrow at the target.
There are company and carry out using planar bar code technology commodity to trace to the source and consume flow direction analysis at present, this method is with information The advantages such as big, low in cost, the easy popularization of load capacity, but the batch print production of two dimensional code is easy to appear repeated code, error code, therefore How to design a kind of effective commodity and trace to the source and consume and flow to statistical analysis technique, consumer can be allowed quickly and easily real Existing commodity true and false identifies, and allows enterprise quickly and easily to realize that the flow of commodity counts, and can ensure that this method can melt with industrialization It closes, being suitable for enterprise automation large-scale serial production becomes urgent need.
Summary of the invention
In view of this, the technical problem to be solved in the present invention is to provide a kind of rapid and convenient trace to the source commodity and statistics consumption stream To method or system, and can ensure that the batch that this method or system can be applied to industrialization automation is mass produced.
For this purpose, the present invention, which proposes that a kind of commodity based on cloud are traced to the source and consumed, flows to statistical analysis technique, packet It includes:
S1, cloud computing platform encode commodity, obtain commodity code, encrypt to the commodity code, generate Hundred million grades of ciphering two-dimension codes, and establish the one-to-one relationship of the commodity code Yu ciphering two-dimension code;
S2, cloud computing terminal obtain the ciphering two-dimension code, are identified using the ciphering two-dimension code to commodity;
S3, school code terminal scan the ciphering two-dimension code of the commodity after being identified one by one, and removal repeats and mistake Ciphering two-dimension code, obtain the ciphering two-dimension code of the commodity of actual use, and be sent to the cloud computing terminal;
S4, the cloud computing terminal send out the ciphering two-dimension code of the commodity for the actual use that the school code terminal is sent Give the cloud computing platform;
The ciphering two-dimension code of the commodity of the actual use and the correspondence are closed based on the received for S5, the cloud computing platform System, establishes commodity code information database, and the ciphering two-dimension code of the commodity of the actual use is activated and managed;
S6, commodity are scanned using barcode scanning terminal, and the ciphering two-dimension code of acquisition is parsed, obtain institute Commodity code is stated, sends the commodity code, the geography information of barcode scanning terminal and commodity from cloud computing platform described in trend later It traces to the source service request;
S7, the cloud computing platform analyze the commodity code, obtain commodity and trace to the source result and to feed back to user, And the geography information of the barcode scanning terminal is analyzed and counted, flow of commodity analytical database is established, is obtained comprising Commodity Flow To the electronic map and quantity statistics information of information, and automatically generate statistical report form.
Preferably, it in the step S1, before being encrypted to the commodity code, is compressed first.
Preferably, in the step S5, the encryption of cloud computing platform commodity of the actual use based on the received Two dimensional code and the corresponding relationship carry out information update to the commodity code information database, later to the ciphering two-dimension code It is activated and is managed.
Preferably, the step S7 is specifically included:
S71, the cloud computing platform carry out the received commodity code using the commodity code information database Analysis and inquiry judge that the commodity code whether there is in the commodity code information database, if it does not exist, then " will be somebody's turn to do Product is not in the database " result is sent to user, commodity result of tracing to the source otherwise is sent to user, and execute step S72;
S72, by the geographical information updating of the barcode scanning terminal to the flow of commodity analytical database, unite to the quantity Meter information is updated, and automatically generates statistical report form, wherein the statistical report form presses merchandise classification, selling time and sale Location options are classified and/or are combined statistics, and the sub- option of the selling time includes year, season, monthly, day, moment, The sub- option of the selling spot includes province, city, county, township, town, city and/or street;
S73, the geography information of the barcode scanning terminal is converted into the coordinate points in the electronic map, and updates the electricity Sub- map, wherein the show rulers in the electronic map are used for by province, city, county, township, town, city and/or street to coordinate Point zooms in or out display.
Preferably, encrypted in the step S1 using RSA rivest, shamir, adelman, wherein public key, private key to Machine generates, and for the two dimensional code to be encrypted and decrypted, realizes authentication.
Preferably, the communication between the cloud computing platform and the cloud computing terminal uses VPN (Virtual Private Network) encrypted communication tunnel, network communication protocol IPSec, encryption method is using hash function HMAC-MD5 algorithm.
Preferably, the two dimensional code uses hundred million grades of planar bar code technologies, generates several hundred million grades using described hundred million grades of planar bar code technologies Other ciphering two-dimension code have uniqueness and accuracy, the commodity code include service network address, the type of merchandise, specification, Model, batch, price, manufacturer, production site, date of manufacture, quality measurements and/or buyer's guide, the commodity Result of tracing to the source includes the type of merchandise, specification, model, batch, price, manufacturer, production site, date of manufacture, quality testing And/or buyer's guide as a result.
Preferably, the geography information of the barcode scanning terminal include media access control address, GPS system information and/ Or public network IP address information.
On the other hand, the present invention proposes that a kind of commodity based on cloud are traced to the source and consumed and flows to statistical analysis system, packet It includes:
Cloud computing terminal, cloud computing platform, school code terminal and barcode scanning terminal;
The cloud computing platform, encodes commodity, obtains commodity code, encrypts to the commodity code, raw At hundred million grades of ciphering two-dimension codes, and establish the one-to-one relationship of the commodity code Yu ciphering two-dimension code;
The cloud computing terminal obtains the ciphering two-dimension code, is identified using the ciphering two-dimension code to commodity;
The school code terminal, scans the ciphering two-dimension code of the commodity after being identified one by one, and removal repeats and mistake Ciphering two-dimension code accidentally, obtains the ciphering two-dimension code of the commodity of actual use, and be sent to the cloud computing terminal;By the cloud The ciphering two-dimension code of the commodity for the actual use that the school code terminal is sent is sent to the cloud computing and put down by computing terminal Platform, the ciphering two-dimension code and the corresponding relationship of cloud computing platform commodity of the actual use based on the received are established Commodity code information database, and the ciphering two-dimension code of the commodity of the actual use is activated and managed;
The barcode scanning terminal, is scanned commodity, and parses to the ciphering two-dimension code of acquisition, obtains described Commodity code sends the commodity code, the geography information of barcode scanning terminal and commodity from cloud computing platform described in trend later and traces back Source service request analyzes the commodity code by the cloud computing platform, obtains commodity and trace to the source result and to feed back to use Family, and the geography information of the barcode scanning terminal is analyzed and counted, flow of commodity analytical database is established, is obtained comprising commodity The electronic map and quantity statistics information of information are flowed to, and automatically generates statistical report form.
Preferably, the cloud computing platform includes tracing to the source unit and consumption flows to statistic unit,
The unit of tracing to the source, using the commodity code information database to the received commodity code carry out analysis and Inquiry judges that the commodity code whether there is in the commodity code information database, if it does not exist, then by " product is not Result is sent to user in the database ", and commodity result of tracing to the source otherwise is sent to user;
The consumption flows to statistic unit, and the geographical information updating of the barcode scanning terminal to the flow of commodity is analyzed number According to library, the quantity statistics information is updated, and automatically generates statistical report form, while the geography of the barcode scanning terminal being believed The coordinate points being converted into the electronic map are ceased, and update the electronic map, wherein the statistical report form presses commodity class , selling time and selling spot option are not classified and/or are combined statistics, the sub- option of the selling time include year, Season, monthly, day, moment, the sub- option of the selling spot include province, city, county, township, town, city and/or street, the electricity Show rulers in sub- map are aobvious for zooming in or out by province, city, county, township, town, city and/or street to coordinate points Show.
Above-mentioned technical proposal of the invention has the advantages that the present invention uses the cloud computing platform and cloud computing terminal Co-operating cloud framework, by the cloud computing platform be responsible for the codings of hundred million grades of ciphering two-dimension codes, compression, encryption, generation, Activation, assignment and management, and provide commodity for consumer and trace to the source, consumption, which is provided, for enterprise flows to statistical fractals;The cloud computing Terminal is responsible for assigning commodity ciphering two-dimension code mark (identity);Using cloud powerful computing capability and performance, and conveniently Automation manage concentratedly mode, it is ensured that operational efficiency, reliability, flexibility and the robustness of system.
The uniqueness and reliability that the ciphering two-dimension code of commodity is ensured using hundred million grades of ciphering two-dimension code technologies, are convenient for Industrialize automatic batch production;Using the verifying workflow scanned one by one to ciphering two-dimension code, it is ensured that be activated Commodity two dimensional code accuracy and validity, eliminate repeated code and error code;Using IPSec communication and hash function HMAC-MD5 algorithm for encryption technology ensure that the safety and confidentiality of system communication channel;Using RSA asymmetric encryption skill Art carries out encryption reconciliation wherein public, private key generates at random to for system for realizing to commodity ciphering two-dimension code encoded information Close and realization authentication, ensure that safety, confidentiality and the reliability of ciphering two-dimension code, technically solves commodity The problem of two dimensional code is cracked, guesses or forges.Method and system of the invention is widely used in each fast consumables industry And enterprise, consumer can be allowed quickly and easily to realize that commodity are traced to the source, allow enterprise quickly and easily to realize consumption flow direction statistics, again The batch that this method can really can be applied to industrialization automation is mass produced, and low in cost, strong operability.
Detailed description of the invention
Fig. 1 is that flow direction statistical analysis is traced to the source and consumed to the commodity based on cloud of a preferred embodiment one of the invention Method flow diagram;
Fig. 2 is that flow direction statistical analysis is traced to the source and consumed to the commodity based on cloud of a preferred embodiment two of the invention The schematic diagram of commodity code is carried out in method;
Fig. 3 is that flow direction statistical analysis is traced to the source and consumed to the commodity based on cloud of a preferred embodiment three of the invention The structural schematic diagram of system;
Fig. 4 is that flow direction statistical analysis is traced to the source and consumed to the commodity based on cloud of a preferred embodiment four of the invention The structural schematic diagram of system.
Specific embodiment
Specific embodiments of the present invention will be described in further detail with reference to the accompanying drawings and examples.Following embodiment For illustrating the present invention, but it is not intended to limit the scope of the invention.
Embodiment one:
Fig. 1 is that flow direction statistical analysis is traced to the source and consumed to the commodity based on cloud of a preferred embodiment one of the invention Method flow diagram the described method comprises the following steps:
S1, cloud computing platform encode commodity, obtain commodity code, encrypt to the commodity code, generate Hundred million grades of ciphering two-dimension codes, and establish the one-to-one relationship of the commodity code Yu ciphering two-dimension code;
S2, cloud computing terminal obtain the ciphering two-dimension code, are identified using the ciphering two-dimension code to commodity;
S3, school code terminal scan the ciphering two-dimension code of the commodity after being identified one by one, and removal repeats and mistake Ciphering two-dimension code, obtain the ciphering two-dimension code of the commodity of actual use, and be sent to the cloud computing terminal;
S4, the cloud computing terminal send out the ciphering two-dimension code of the commodity for the actual use that the school code terminal is sent Give the cloud computing platform;
The ciphering two-dimension code of the commodity of the actual use and the correspondence are closed based on the received for S5, the cloud computing platform System, establishes commodity code information database, and the ciphering two-dimension code of the commodity of the actual use is activated and managed;
S6, commodity are scanned using barcode scanning terminal, and the ciphering two-dimension code of acquisition is parsed, obtain institute Commodity code is stated, sends the commodity code, the geography information of barcode scanning terminal and commodity from cloud computing platform described in trend later It traces to the source service request;
S7, the cloud computing platform analyze the commodity code, obtain commodity and trace to the source result and to feed back to user, And the geography information of the barcode scanning terminal is analyzed and counted, flow of commodity analytical database is established, is obtained comprising Commodity Flow To the electronic map and quantity statistics information of information, and automatically generate statistical report form.
In the step S1 of the present embodiment, the ciphering two-dimension code uses hundred million grades of planar bar code technologies, and the cloud computing platform can It encoded, compressed with the commodity to several hundred million ranks, being encrypted, being generated, being activated, assignment and management;The step S1 and step It is encrypted in S6 using RSA rivest, shamir, adelman, wherein public, private key is generated to be random, for realizing system identity It authenticates and commodity two dimensional code encoded information is encrypted and decrypted.Cloud computing platform described in the present embodiment and the cloud meter It calculates the communication between terminal and uses encrypted communication tunnel, network communication protocol IPSec, encryption method is using Hash letter Several HMAC-MD5 algorithms.
Further, the cloud computing platform can carry out in plain text using private key as encryption key for encoding to two dimensional code Encryption, the school code terminal is using public key as decruption key, for the two dimensional code coding ciphertext encrypted to be decrypted; The school code terminal is described for encrypting to the commodity two-dimensional code data packet by verifying using public key as encryption key Cloud computing platform is using private key as decruption key, for being decrypted to what is encrypted by the commodity two-dimensional code data packet of verifying Processing had both realized system information encryption in this way, also achieved system identity certification.
Further, in the step S1, cloud computing platform encodes commodity according to user demand, obtains the quotient Product coding.
The method of the present embodiment uses cloud computing framework, centered on hundred million grades of ciphering two-dimension code cloud computing platforms, for consumption Person provides commodity true and false and identifies service, provides consumption for enterprise and flows to statistical fractals;Commodity are assigned by the cloud computing terminal and give two Tie up code mark (identity).The present embodiment computing capability and performance powerful using cloud, and easily automate concentrate tube Reason mode, it is ensured that operational efficiency, reliability, flexibility and the robustness of system;Ensured using hundred million grades of ciphering two-dimension code technologies The uniqueness and reliability of the ciphering two-dimension code of commodity is convenient for industrialization automatic batch production;Using to encryption two The verifying workflow that dimension code is scanned one by one, it is ensured that the accuracy and validity for the commodity two dimensional code being activated are eliminated Repeated code and error code;Using IPSec communication and the HMAC-MD5 algorithm for encryption technology of hash function, it ensure that system communication is believed The safety and confidentiality in road;Using RSA asymmetric encryption techniques, wherein public, private key generates at random to for system, for real Now authentication is encrypted and decrypted and realized to commodity ciphering two-dimension code encoded information, ensure that the peace of ciphering two-dimension code Quan Xing, confidentiality and reliability technically solve the problems, such as that commodity two dimensional code is cracked, guesses or forges, of the invention Method and system is widely used in each fast consumables industry and enterprise, and consumer can be allowed quickly and easily to realize that commodity trace back Source allows enterprise quickly and easily to realize consumption flow direction statistics, and this method can really can be applied to batch of industrialization automation Amount large-scale production, and low in cost, strong operability.
Embodiment two:
The step of method of the present embodiment, is with the step difference in embodiment one:
It in step S1, before being encrypted to commodity code, is compressed first, this operation can effectively reduce resource Waste, improve resource utilization.
Further, in step S5, the cloud computing platform carries out assignment to the ciphering two-dimension code first, carries out later Activation and management.Wherein assignment assigns the information such as some advertisements to ciphering two-dimension code according to demand.Further, if quotient Product encoded information database has built up completion, and the cloud computing platform can commodity of the actual use based on the received Ciphering two-dimension code and the corresponding relationship carry out information update to the commodity code information database, later to the encryption two Dimension code is activated and is managed.
Further, the step S7 is specifically included:
S71, the cloud computing platform carry out the received commodity code using the commodity code information database Analysis and inquiry judge that the commodity code whether there is in the commodity code information database, if it does not exist, then " will be somebody's turn to do Product is not in the database " result is sent to user, commodity result of tracing to the source otherwise is sent to user, and execute step S72;
S72, by the geographical information updating of the barcode scanning terminal to the flow of commodity analytical database, unite to the quantity Meter information is updated, and automatically generates statistical report form, wherein the statistical report form presses merchandise classification, selling time and sale Location options are classified and/or are combined statistics, and the sub- option of the selling time includes year, season, monthly, day, moment, The sub- option of the selling spot includes province, city, county, township, town, city and/or street;
S73, the geography information of the barcode scanning terminal is converted into the coordinate points in the electronic map, and updates the electricity Sub- map, wherein the show rulers in the electronic map are used for by province, city, county, township, town, city and/or street to coordinate Point zooms in or out display.
In the present embodiment and other steps are identical as the step of embodiment one kind, which is not described herein again.
In the present embodiment, described to generate the ciphering two-dimension code using hundred million grades of planar bar code technologies, the cloud computing platform can It encoded, compressed with the commodity two dimensional code to several hundred million ranks, being encrypted, being generated, being activated, assignment and management;The ciphering two-dimension Code uses RSA rivest, shamir, adelman, wherein public, private key generates at random to for system, believes for encoding to commodity two dimensional code Breath is encrypted and decrypted, and realizes system identity certification;Communication between the cloud computing platform and the cloud computing terminal is adopted With VPN encrypted communication tunnel, network communication protocol IPSec, encryption method is to be calculated using the HMAC-MD5 of hash function Method, the two dimensional code are used hundred million grades of planar bar code technologies, the ciphering two-dimension of several hundred million ranks are generated using described hundred million grades of planar bar code technologies Code has uniqueness and accuracy, and the commodity code includes service network address, the type of merchandise, specification, model, batch, valence Lattice, manufacturer, production site, date of manufacture, quality measurements and/or buyer's guide, commodity result of tracing to the source include The type of merchandise, specification, model, batch, price, manufacturer, production site, date of manufacture, quality measurements and/or commodity It introduces, the geography information of the barcode scanning terminal includes media access control address, GPS system information and/or public network IP Location information.
The present embodiment is provided using cloud computing framework centered on hundred million grades of ciphering two-dimension code cloud computing platforms for consumer Commodity true and false identifies service;Commodity are assigned by the cloud computing terminal and give two dimensional code mark (identity).The present embodiment with it is convenient from Dynamicization centralized management mode, it is ensured that operational efficiency, reliability, flexibility and the robustness of system;Using hundred million grades of ciphering two-dimensions Code technology ensures the uniqueness and reliability of the ciphering two-dimension code of commodity, is convenient for industrialization automatic batch production;It adopts With the verifying workflow scanned one by one to ciphering two-dimension code, it is ensured that the accuracy for the commodity two dimensional code being activated and have Effect property, eliminates repeated code and error code;Using IPSec communication and the HMAC-MD5 algorithm for encryption technology of hash function, ensure that The safety and confidentiality of system communication channel;Using RSA asymmetric encryption techniques, wherein public, private key to for system it is random It generates, is encrypted and decrypted and realizes authentication for realizing to commodity ciphering two-dimension code encoded information, ensure that and add Safety, confidentiality and the reliability of close two dimensional code, technically solve that commodity two dimensional code is cracked, guesses or forges asks Topic.Method and system of the invention is widely used in each fast consumables industry and enterprise, can allow consumer's rapid and convenient Realization commodity trace to the source, allow enterprise quickly and easily realize consumption flow direction statistics, and can really can by this method be applied to industry Change the batch large-scale production of automation, and low in cost, strong operability.
Fig. 2 is that flow direction statistical analysis is traced to the source and consumed to the commodity based on cloud of a preferred embodiment two of the invention The schematic diagram of commodity code is carried out in method, as shown, as a corresponding production firm, each production firm numbers (i.e. cloud meter Calculate terminal number), the corresponding marque number of every kind of commodity, the corresponding goods number of each commodity.For example, Aa00000000x indicates the commodity that the number of the model a of vendor A production is 00000000x;For another example, Zm00000000z is indicated The commodity that the number of the model m of manufacturer Z production is 00000000z.This is simplest situation.In order to reach better system Coding/decoding module can be arranged according to use demand, using more complex encoding and decoding in safety and practicability in cloud computing platform Algorithm realizes the one-to-one relationship of commodity and coding, improves system operation efficiency.
Below by taking certain manufacturing as an example, illustrate that flow direction statistical analysis is traced to the source and consumed to the commodity the present invention is based on cloud The application process of method.
Certain industry possesses 50 manufacturing enterprises, and there is the factory of oneself in each enterprise and is located at different provinces and cities. The sector has built cloud computing platform for realizing the product number of the whole industry and provides commodity and trace to the source and consume and flow to statistical Analysis service, each manufacturing enterprise or factory possess 1 cloud computing terminal and carry out ciphering two-dimension for the product to oneself Code mark.The two dimensional code of oneself commodity can be encoded on cloud computing platform according to self-demand by manufacturing enterprise, so It compresses, encrypt automatically, generating hundred million grades of ciphering two-dimension codes by cloud computing platform afterwards, and downloading to the cloud computing terminal of oneself;By Cloud computing terminal completes the distribution, printing, positive barcode scanning verifying of ciphering two-dimension code.Again by quotient actual use and by verifying Product two-dimensional code data packet carries out encrypting and transmitting to cloud computing platform;By cloud computing platform to actual use and by verifying Commodity two dimensional code carries out assignment, activation and management, and carries out calcellation processing to unused or unverified commodity two dimensional code. Enterprise can encourage consumer and retail customer to pass through use by a variety of marketing strategies such as commodity discounting, price reduction, preferential, warp, gift Family terminal carries out two dimensional code barcode scanning.User terminal passes through mobile internet certainly according to the system access address being embedded in two dimensional code It is dynamic to issue service request and equipment geography information;Automatically the data of user's barcode scanning terminal feedback verified automatically, calculated, looked into It askes, record, statistics, analysis, and sends result to user's barcode scanning terminal, to allow users to fast and convenient completion commodity Trace to the source and consume flow direction statistical analysis.Business licenses user, which then can directly log in cloud computing platform and check, more comprehensively to be counted Data information, and corresponding marketing strategy can be formulated according to system statistical analysis result.
Embodiment three:
Fig. 3 is that flow direction statistical analysis is traced to the source and consumed to the commodity based on cloud of a preferred embodiment three of the invention The structural schematic diagram of system, the system comprises:
Cloud computing platform 1, cloud computing terminal 2, school code terminal 3 and barcode scanning terminal 4;
The cloud computing platform 1, encodes commodity, obtains commodity code, encrypts to the commodity code, raw At hundred million grades of ciphering two-dimension codes, and establish the one-to-one relationship of the commodity code Yu ciphering two-dimension code;
The cloud computing terminal 2 obtains the ciphering two-dimension code, is identified using the ciphering two-dimension code to commodity;
The school code terminal 3, scans the ciphering two-dimension code of the commodity after being identified one by one, and removal repeats and mistake Ciphering two-dimension code accidentally, obtains the ciphering two-dimension code of the commodity of actual use, and be sent to the cloud computing terminal 2;By described The ciphering two-dimension code of the commodity for the actual use that the school code terminal 3 is sent is sent to the cloud meter by cloud computing terminal 2 Platform 1 is calculated, the cloud computing platform 1 based on the received close by the ciphering two-dimension code of the commodity of the actual use and the correspondence System, establishes commodity code information database, and the ciphering two-dimension code of the commodity of the actual use is activated and managed;
The barcode scanning terminal 4, is scanned commodity, and parses to the ciphering two-dimension code of acquisition, obtains institute Commodity code is stated, sends the commodity code, the geography information of barcode scanning terminal and commodity from cloud computing platform 1 described in trend later It traces to the source service request, the commodity code is analyzed by the cloud computing platform 1, obtain commodity and trace to the source result and to feed back to User, and the geography information of the barcode scanning terminal is analyzed and counted, flow of commodity analytical database is established, is obtained comprising quotient Product flow to the electronic map and quantity statistics information of information, and automatically generate statistical report form.
Further, the cloud computing platform includes tracing to the source unit and consumption flows to statistic unit,
The unit of tracing to the source, using the commodity code information database to the received commodity code carry out analysis and Inquiry judges that the commodity code whether there is in the commodity code information database, if it does not exist, then by " product is not Result is sent to user in the database ", and commodity result of tracing to the source otherwise is sent to user;
The consumption flows to statistic unit, and the geographical information updating of the barcode scanning terminal to the flow of commodity is analyzed number According to library, the quantity statistics information is updated, and automatically generates statistical report form, while the geography of the barcode scanning terminal being believed The coordinate points being converted into the electronic map are ceased, and update the electronic map, wherein the statistical report form presses commodity class , selling time and selling spot option are not classified and/or are combined statistics, the sub- option of the selling time include year, Season, monthly, day, moment, the sub- option of the selling spot include province, city, county, township, town, city and/or street, the electricity Show rulers in sub- map are aobvious for zooming in or out by province, city, county, township, town, city and/or street to coordinate points Show.
System and the above method of the invention is correspondingly that the present invention is not described in detail above system, weight Multiple content repeats no more.
Example IV:
Fig. 4 is that flow direction statistical analysis is traced to the source and consumed to the commodity based on cloud of a preferred embodiment four of the invention The structural schematic diagram of system, as shown, the present embodiment is with hundred million grades of ciphering two-dimension code cloud computing platforms using cloud framework Center (is equivalent to cloud computing platform), is responsible for encoding the commodity two dimensional code of several hundred million ranks by the cloud computing platform, press Contracting, encryption, generation, activation, assignment and management;Each cloud computing terminal is docked with the cloud computing platform, and passes through OBIX (function For use standard interface construct new application), session initiation protocol (Session Initiation Protocol, referred to as SIP), Simple Network Management Protocol (Simple Network Management Protocol, abbreviation SNMP), extensible markup The agreements such as language (Extensible Markup Language, abbreviation XML), peer-to-peer network (Peer to Peer, abbreviation P2P) Information exchange is carried out, communication tunnel is encrypted using ipsec security agreement and HMAC-MD5 Encryption Algorithm, with safeguards system The safety and confidentiality of communication;The cloud computing terminal obtains ciphering two-dimension code to cloud computing platform and marks to commodity Know, positive barcode scanning verifying is carried out by commodity two dimensional code of the school code terminal to actual use, then the commodity two dimensional code of verifying will be passed through Data packet carries out encrypting and transmitting to cloud computing platform.
The cloud computing platform is also responsible for offer commodity and traces to the source and consume flow direction statistical analysis service, each user's barcode scanning terminal (such as smart phone, tablet computer, laptop, desktop computer, two dimensional code scanning device) carries out two dimensional code barcode scanning, and passes through Internet or mobile communications network automatic addressing system service for checking credentials network address, Xiang Suoshu cloud computing platform send commodity and trace to the source Service request and equipment geography information;The cloud computing platform automatically tests the data of user's barcode scanning terminal feedback automatically Card calculates, inquiry, statistics, analysis, and sends result to user's barcode scanning terminal.
Cloud computing is a kind of by network access resource-sharing pond (such as hardware resource, software resource, application and service), On demand obtain resource model, it have high efficiency, high reliability, strong robustness, high expansibility, high flexibility, on demand The features such as service.
Two dimensional code be distributed on plane (two-dimensional directional) according to certain rules with specific geometric figure it is chequered with black and white Figure, has that density of encoding is high, range is wide, and information capacity is big, fault-tolerant, error correcting capability is strong, decodes high reliablity, can encrypt, at The features such as this is low, easy to manufacture.
The present embodiment computing capability and performance powerful using cloud, and convenient automation centralized management mode, Ensure operational efficiency, reliability, flexibility and the robustness of system.
Although the embodiments of the invention are described in conjunction with the attached drawings, but those skilled in the art can not depart from this hair Various modifications and variations are made in the case where bright spirit and scope, such modifications and variations are each fallen within by appended claims Within limited range.

Claims (10)

1. a kind of commodity based on cloud, which are traced to the source and consumed, flows to statistical analysis technique characterized by comprising
S1, cloud computing platform encode commodity, obtain commodity code, encrypt to the commodity code, generate hundred million grades Ciphering two-dimension code, and establish the one-to-one relationship of the commodity code Yu ciphering two-dimension code;
S2, cloud computing terminal obtain the ciphering two-dimension code, are identified using the ciphering two-dimension code to commodity;
S3, school yard terminal scan the ciphering two-dimension code of the commodity after being identified one by one, and removal repeats to add with wrong Close two dimensional code, obtains the ciphering two-dimension code of the commodity of actual use, and is sent to the cloud computing terminal;
The ciphering two-dimension code of the commodity for the actual use that the school code terminal is sent is sent to by S4, the cloud computing terminal The cloud computing platform;
The ciphering two-dimension code and the corresponding relationship of S5, the cloud computing platform commodity of the actual use based on the received, Commodity code information database is established, and the ciphering two-dimension code of the commodity of the actual use is activated and managed;
S6, commodity are scanned using barcode scanning terminal, and the ciphering two-dimension code of acquisition is parsed, obtain the quotient Product coding, sends the commodity code, the geography information of barcode scanning terminal and commodity from cloud computing platform described in trend later and traces to the source Service request;
S7, the cloud computing platform analyze the commodity code, obtain commodity and trace to the source result and to feed back to user, and right The geography information of the barcode scanning terminal analyzes and counts, and establishes flow of commodity analytical database, obtains believing comprising the flow of commodity The electronic map and quantity statistics information of breath, and automatically generate statistical report form.
2. the method according to claim 1, wherein being encrypted in the step S1 to the commodity code Before, it is compressed first.
3. according to the method described in claim 2, it is characterized in that, the cloud computing platform is according to reception in the step S5 The actual use commodity ciphering two-dimension code and the corresponding relationship letter is carried out to the commodity code information database Breath updates, and the ciphering two-dimension code is activated and managed later.
4. according to the method described in claim 3, it is characterized in that, the step S7 is specifically included:
S71, the cloud computing platform analyze the received commodity code using the commodity code information database And inquiry, judge that the commodity code whether there is in the commodity code information database, if it does not exist, then by the " product In the database " result is not sent to user, commodity result of tracing to the source otherwise is sent to user, and execute step S72;
S72, by the geographical information updating of the barcode scanning terminal to the flow of commodity analytical database, the quantity statistics are believed Breath is updated, and automatically generates statistical report form, wherein the statistical report form presses merchandise classification, selling time and selling spot Option is classified and/or is combined statistics, and the sub- option of the selling time includes year, season, monthly, day, moment, described The sub- option of selling spot includes province, city, county, township, town, city and/or street;
S73, the geography information of the barcode scanning terminal is converted into the coordinate points in the electronic map, and update is described electronically Figure, wherein the show rulers in the electronic map are used to click through coordinate by province, city, county, township, town, city and/or street Row zooms in or out display.
5. the commodity according to claim 4 based on cloud, which are traced to the source and consumed, flows to statistical analysis technique, feature exists In, encrypted in the step S1 using RSA rivest, shamir, adelman, wherein public key, private key are generated to random, for pair The two dimensional code is encrypted and decrypted, and realizes authentication.
6. the commodity according to claim 5 based on cloud, which are traced to the source and consumed, flows to statistical analysis technique, feature exists In the communication between the cloud computing platform and the cloud computing terminal is added using VPN (Virtual Private Network) Close communication tunnel, network communication protocol IPSec, encryption method use the HMAC-MD5 algorithm of hash function.
7. according to the method described in claim 6, it is characterized in that, the two dimensional code utilizes institute using hundred million grades of planar bar code technologies Stating the ciphering two-dimension code that hundred million grades of planar bar code technologies generate several hundred million ranks has uniqueness and accuracy, and the commodity code includes clothes Business network address, the type of merchandise, specification, model, batch, price, manufacturer, production site, date of manufacture, quality testing knot Fruit and/or buyer's guide, commodity result of tracing to the source includes the type of merchandise, specification, model, batch, price, manufacturer, life Place of production point, date of manufacture, quality measurements and/or buyer's guide.
8. the method according to the description of claim 7 is characterized in that the geography information of the barcode scanning terminal includes media interviews control Address, GPS system information and/or public network IP address information processed.
9. a kind of commodity based on cloud, which are traced to the source and consumed, flows to statistical analysis system characterized by comprising
Cloud computing terminal, cloud computing platform, school code terminal and barcode scanning terminal;
The cloud computing platform, encodes commodity, obtains commodity code, encrypts to the commodity code, generates hundred million Grade ciphering two-dimension code, and establish the one-to-one relationship of the commodity code Yu ciphering two-dimension code;
The cloud computing terminal obtains the ciphering two-dimension code, is identified using the ciphering two-dimension code to commodity;
The school code terminal, scans the ciphering two-dimension code of the commodity after being identified one by one, and removal repeats and mistake Ciphering two-dimension code, obtains the ciphering two-dimension code of the commodity of actual use, and is sent to the cloud computing terminal;By the cloud computing The ciphering two-dimension code of the commodity for the actual use that the school code terminal is sent is sent to the cloud computing platform, institute by terminal The ciphering two-dimension code and the corresponding relationship for stating cloud computing platform commodity of the actual use based on the received establish commodity volume Code information database, and the ciphering two-dimension code of the commodity of the actual use is activated and managed;
The barcode scanning terminal, is scanned commodity, and parses to the ciphering two-dimension code of acquisition, obtains the commodity Coding sends the commodity code, the geography information of barcode scanning terminal and commodity from cloud computing platform described in trend later and traces to the source clothes Business request, analyzes the commodity code by the cloud computing platform, obtains commodity and trace to the source result and to feed back to user, and The geography information of the barcode scanning terminal is analyzed and counted, flow of commodity analytical database is established, is obtained comprising the flow of commodity The electronic map and quantity statistics information of information, and automatically generate statistical report form.
10. the commodity according to claim 9 based on cloud, which are traced to the source and consumed, flows to statistical analysis system, feature exists It include tracing to the source unit and consumption flows to statistic unit in, the cloud computing platform;
The unit of tracing to the source is analyzed and is looked into the received commodity code using the commodity code information database It askes, judges that the commodity code whether there is in the commodity code information database, if it does not exist, then by " product does not exist In database " result is sent to user, commodity result of tracing to the source otherwise is sent to user;
The consumption flows to statistic unit, and the geographical information updating of the barcode scanning terminal to the flow of commodity is analyzed data Library is updated the quantity statistics information, and automatically generates statistical report form, while by the geography information of the barcode scanning terminal Coordinate points being converted into the electronic map, and update the electronic map, wherein the statistical report form by merchandise classification, Selling time and selling spot option are classified and/or are combined statistics, and the sub- option of the selling time includes year, season Degree, monthly, day, moment, the sub- option of the selling spot includes province, city, county, township, town, city and/or street, the electronics Show rulers in map are used to zoom in or out display to coordinate points by province, city, county, township, town, city and/or street.
CN201510203004.4A 2015-04-24 2015-04-24 Commodity based on cloud, which are traced to the source and consumed, flows to statistical analysis technique and system Active CN104834999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510203004.4A CN104834999B (en) 2015-04-24 2015-04-24 Commodity based on cloud, which are traced to the source and consumed, flows to statistical analysis technique and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510203004.4A CN104834999B (en) 2015-04-24 2015-04-24 Commodity based on cloud, which are traced to the source and consumed, flows to statistical analysis technique and system

Publications (2)

Publication Number Publication Date
CN104834999A CN104834999A (en) 2015-08-12
CN104834999B true CN104834999B (en) 2019-09-10

Family

ID=53812873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510203004.4A Active CN104834999B (en) 2015-04-24 2015-04-24 Commodity based on cloud, which are traced to the source and consumed, flows to statistical analysis technique and system

Country Status (1)

Country Link
CN (1) CN104834999B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106651413B (en) * 2015-10-30 2021-08-31 顶益(开曼岛)控股有限公司 Container label, mobile terminal, data analysis system and network sales platform
CN105488553A (en) * 2016-01-25 2016-04-13 四川虹慧云商科技有限公司 Two-dimensional code support system
CN105718816B (en) * 2016-01-25 2019-01-18 四川虹慧云商科技有限公司 The method of two dimensional code support system raising Information Security
CN105701673B (en) * 2016-02-29 2017-06-13 依波精品(深圳)有限公司 A kind of false proof source tracing method of wrist-watch based on Quick Response Code and system
CN106548354A (en) * 2016-10-10 2017-03-29 广州智慧城市发展研究院 A kind of commodity traceability system
CN106548359A (en) * 2016-11-25 2017-03-29 仲恺农业工程学院 It is a kind of to realize that industrial chain upstream and downstream firms are traced to the source the method for interconnection
CN108280690A (en) * 2018-01-31 2018-07-13 深圳市海淇展示文化有限公司 A kind of merchandise news stocking system based on big data
CN109190061A (en) * 2018-07-20 2019-01-11 深圳市易恒信科技有限公司 The endowed method of commodity, marking device and electronic equipment based on big data
CN110070154B (en) * 2019-03-26 2023-12-01 创新先进技术有限公司 Code material processing method and device, electronic equipment and readable storage medium
CN110689354B (en) * 2019-08-16 2022-06-21 广东省广袤科技有限公司 Two-dimensional code encryption website system for locking commodity origin place
CN110942127B (en) * 2019-11-26 2021-09-10 苏州长光华医生物医学工程有限公司 Method, system and storage medium for encrypting reagent two-dimensional code information of medical instrument
CN113506128B (en) * 2021-06-22 2023-06-06 中国联合网络通信集团有限公司 Marketing method based on industrial Internet identification and identification analysis system
CN114841721A (en) * 2022-07-04 2022-08-02 中国信息通信研究院 Product circulation process monitoring method and device based on identification technology

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663605A (en) * 2012-04-27 2012-09-12 镇江邦德信息技术有限公司 Two-dimension code commodity anti-fake traceability system and commodity anti-fake traceability method based on cloud computing
CN103123709A (en) * 2012-11-07 2013-05-29 广州众码汇信息科技有限公司 Bar-code-based information verification system
CN103955848A (en) * 2014-05-16 2014-07-30 张志高 Method and system for achieving sales management of mobile terminal
CN103996122A (en) * 2013-07-15 2014-08-20 中保宇投资有限公司 Merchandise anti-counterfeiting system and method
CN104240098A (en) * 2014-09-24 2014-12-24 于兵 Method and system for certificating authenticity of identity certifications of commodities on basis of encrypted two-dimensional codes

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110276502A1 (en) * 2010-05-06 2011-11-10 DACOM S.p.A. Centralized and computerized control system for checking the authenticity of a product

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663605A (en) * 2012-04-27 2012-09-12 镇江邦德信息技术有限公司 Two-dimension code commodity anti-fake traceability system and commodity anti-fake traceability method based on cloud computing
CN103123709A (en) * 2012-11-07 2013-05-29 广州众码汇信息科技有限公司 Bar-code-based information verification system
CN103996122A (en) * 2013-07-15 2014-08-20 中保宇投资有限公司 Merchandise anti-counterfeiting system and method
CN103955848A (en) * 2014-05-16 2014-07-30 张志高 Method and system for achieving sales management of mobile terminal
CN104240098A (en) * 2014-09-24 2014-12-24 于兵 Method and system for certificating authenticity of identity certifications of commodities on basis of encrypted two-dimensional codes

Also Published As

Publication number Publication date
CN104834999A (en) 2015-08-12

Similar Documents

Publication Publication Date Title
CN104834999B (en) Commodity based on cloud, which are traced to the source and consumed, flows to statistical analysis technique and system
CN109167695B (en) Federal learning-based alliance network construction method and device and readable storage medium
Xie et al. A survey of blockchain technology applied to smart cities: Research issues and challenges
US11277412B2 (en) System and method for storing and distributing consumer information
CN109034437A (en) A kind of library system based on cloud terminal
US20160164884A1 (en) Cryptographic verification of provenance in a supply chain
WO2019134005A1 (en) Architecture, systems, and methods used in carbon credit and block chain systems
US20120215898A1 (en) Applications of a Network-Centric Information Distribution Platform on the Internet
US20210256536A1 (en) Secure methods and systems for environmental credit scoring
CA3167365A1 (en) Secure methods and systems for environmental credit scoring
Firdaus et al. Decentralized trusted data sharing management on internet of vehicle edge computing (IoVEC) networks using consortium blockchain
CN202383724U (en) All-in-one machine for handling service
CN102202051A (en) Credible two-dimensional code system and application method thereof
CN107169364B (en) A kind of data security method and related system
CN103761597A (en) Method and device for processing product information
CN105719144A (en) Food safety tracing method and food safety tracing system based on two-dimensional code
TW201636918A (en) Digital transaction method and device
JP6869989B2 (en) Secure item identification based on physical label characteristics
Ma et al. The design and implementation of an innovative mobile payment system based on qr bar code
Zakaret et al. Blockchain and secure element, a hybrid approach for secure energy smart meter gateways
Sey et al. Vblock: A blockchain-based tamper-proofing data protection model for internet of vehicle networks
Shih et al. Hyperledger fabric access control for industrial internet of things
Iqbal et al. Blockchain-Modeled Edge-Computing-Based Smart Home Monitoring System with Energy Usage Prediction
Li et al. Recent advances of blockchain and its applications
US10970741B2 (en) Method and system for integrating audience data with a social media site

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220217

Address after: 210000 No.8, Yihuai street, Jiangning Economic and Technological Development Zone, Nanjing, Jiangsu Province

Patentee after: NANJING DASHU INTELLIGENT SCIENCE AND TECHNOLOGY Co.,Ltd.

Address before: 100193 No. 2 Old Summer Palace West Road, Beijing, Haidian District

Patentee before: CHINA AGRICULTURAL University

TR01 Transfer of patent right