CN109191033A - Item Information retroactive method and system - Google Patents

Item Information retroactive method and system Download PDF

Info

Publication number
CN109191033A
CN109191033A CN201810775868.7A CN201810775868A CN109191033A CN 109191033 A CN109191033 A CN 109191033A CN 201810775868 A CN201810775868 A CN 201810775868A CN 109191033 A CN109191033 A CN 109191033A
Authority
CN
China
Prior art keywords
data
article
information
database
tracing
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
CN201810775868.7A
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.)
Shenzhen Rex Logistics Co Ltd
Original Assignee
Shenzhen Rex Logistics 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 Shenzhen Rex Logistics Co Ltd filed Critical Shenzhen Rex Logistics Co Ltd
Priority to CN201810775868.7A priority Critical patent/CN109191033A/en
Publication of CN109191033A publication Critical patent/CN109191033A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0833Tracking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of Item Information retroactive method, is related to logistics transportation field, and the initial information of article is sent to database and is saved, and, generate the code of tracing to the source of article;It recycles intelligent measurement box to acquire the environmental data and position data of article in real time, and environmental data and position data is sent to database and saved;Finally using the code of tracing to the source of terminal scanning article, the preservation address in code of tracing to the source is parsed, and reads the information of article from preservation address.The present invention also provides a kind of Item Information traceability systems, due to can use the code of tracing to the source of terminal scanning article, read the information of article, so that user can then pass through the information tracing of article to the information such as date of manufacture, the transportation environment of article, and the safety and quality of article are judged accordingly, health risk is avoided, the experience of user is improved.

Description

Item Information retroactive method and system
Technical field
The present invention relates to logistics transportation field more particularly to a kind of Item Information retroactive method and systems.
Background technique
With the sustainable development of Electronic Commerce in China, electric business enterprise gradually penetrates into fresh field, and Cold Chain Logistics are Electric business enterprise carries out the basic guarantee of fresh dispatching, and cold chain distribution is undoubtedly the core competence and competitiveness of this kind of electric business website Place.
Cold chain distribution refers to refrigerating based food in production, storage transport, sale, preceding each ring into consumer's hand In section always under defined low temperature environment, to guarantee food quality, a systematic engineering of business of food loss is reduced.Cold chain is matched The needs of people are to fresh food can not only be met by sending, additionally it is possible to food be made to reduce loss and waste to the greatest extent in transit. In current cold chain distribution, be mostly be put into after freezing article in the preferable cold chain distribution vehicle of heat insulation effect after just directly under Hair goes to dispense.
In the above prior art, due to during cold chain distribution without the environmental information and location information of monitoring article, The authenticity and validity for lacking supervision cold chain distribution cause expense person that can not judge article by tracing the transit information of article Safety and quality.
Summary of the invention
The main purpose of the present invention is to provide a kind of Item Information retroactive method and systems, it is intended to solve the prior art In due to without the environmental information and location information of monitoring article, causing expense person can not be by retrospect article during cold chain distribution Safety and quality of the transit information to judge article the technical issues of.
To achieve the above object, first aspect present invention provides a kind of Item Information retroactive method, which comprises
First terminal obtains the initial information of article, and the initial information of the article is sent to database and is saved, with And the code of tracing to the source of the article is generated, the identity and all information in the code of tracing to the source including the article are described The preservation address of database;
Intelligent measurement box acquires the environmental data and position data of the article in real time, and by the environmental data and institute It states position data and is sent to the database preservation;
Second terminal scans the code of tracing to the source of the article, the preservation address in code of tracing to the source described in parsing, and from described Save the information that the article is read in address.
Second aspect of the present invention also provides a kind of Item Information traceability system, the system comprises:
First terminal, intelligent measurement box and second terminal;
The first terminal is sent to data for obtaining the initial information of article, and by the initial information of the article Library saves, and, generate the code of tracing to the source of the article, include in the code of tracing to the source the article identity and all letters Breath is in the preservation address of the database;
The intelligent measurement box, for acquiring the environmental data and position data of the article in real time, and by the ring Border data and the position data are sent to the database and save;
The second terminal, for scanning the code of tracing to the source of the article, the preservation address in code of tracing to the source described in parsing, And the information of the article is read from the preservation address.
The present invention provides a kind of Item Information retroactive method and system, passes through the initial letter that first terminal obtains article Breath, and the initial information of article is sent to database and is saved, and, generate the code of tracing to the source of article;Recycle intelligent measurement box The environmental data and position data of the sub article of acquisition in real time, and environmental data and position data are sent to database and saved;Most Afterwards using the code of tracing to the source of second terminal scanning article, the preservation address in code of tracing to the source is parsed, and reads article from saving in address Information.Due to can use the code of tracing to the source of second terminal scanning article, all information of article are read, user can then lead to The information for crossing article judges the safety and quality of article.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those skilled in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow diagram of Item Information retroactive method provided in an embodiment of the present invention;
Fig. 2 is that a kind of article of Item Information retroactive method provided in an embodiment of the present invention is traced to the source the functional sequence of platform Figure;
Fig. 3 is a kind of intelligent measurement box data collecting flowchart of Item Information retroactive method provided in an embodiment of the present invention Figure;
Fig. 4 is a kind of double-encryption flow chart of Item Information retroactive method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of the intelligent measurement box of Item Information retroactive method provided in an embodiment of the present invention Figure;
Fig. 6 is a kind of working principle of the intelligent measurement box of Item Information retroactive method provided in an embodiment of the present invention Figure;
Fig. 7 is a kind of work flow diagram of the single-chip microcontroller of Item Information retroactive method provided in an embodiment of the present invention;
Fig. 8 is a kind of schematic diagram of Item Information traceability system provided in an embodiment of the present invention.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality Applying example is only a part of the embodiment of the present invention, and not all embodiments.Based on the embodiments of the present invention, those skilled in the art Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of Item Information retroactive method provided in an embodiment of the present invention, it should Method includes:
S101, first terminal obtain the initial information of article, and the initial information of article is sent to database and is saved, with And the code of tracing to the source of article is generated, the identity and all information in code of tracing to the source including article are in the preservation address of database.
Wherein, which can be set in the server, also can be set in first terminal.
First terminal is preferably the smart machines such as mobile phone, plate and computer, and first terminal is with scanning function Equipment, application program is installed in the first terminal, which is specially that article is traced to the source platform, and article is traced to the source main function Can be article identity information is uploaded for article consigner enterprise, dealer is in the transport, logistics, storage process of article Information record and save, and for consumer's fraction limit carry out relative article information tracing.The application program needs user to step on It could continue to operate after record verifying, the way to manage of polygonal color fraction limit facilitates the article to trace to the source the management of platform, reduces article The resource overhead traced to the source improves the operational efficiency that article is traced to the source.
Further, referring to Fig. 2, Fig. 2 is a kind of article of Item Information retroactive method provided in an embodiment of the present invention It traces to the source the functional flow diagram of platform.
As shown in Fig. 2, article is traced to the source, platform includes register interface and login interface, and register interface is for providing different angles The user's registration article of color is traced to the source platform, to distribute the permission that the user's operation article of different role traces to the source platform;Log in boundary User's listing that face is used to provide after registering is traced to the source platform, to inquire the relevant information of article.
Specifically, user's registration is traced to the source, the method for platform includes:
The type of selection registration user, user type are divided into: consigner enterprise, dealer, consumer-user and system Administrator, consigner enterprise include: enterprise customer and purchasing agent, and dealer includes: warehousing management person and logistics person.It is different The permission that user possesses platform of tracing to the source is different, wherein enterprise customer by trace to the source platform management enterprise essential information and Manage a yard Item Information of tracing to the source;Purchasing agent checks Item Information by platform of tracing to the source;Warehousing management person can pass through platform of tracing to the source Check the storage status information of buying status information and management article;Logistics person can pass through the object for platform management article of tracing to the source Flow state information;System Administrator Management is entirely traced to the source platform;Consumer-user inquires the letter of tracing to the source of article by platform of tracing to the source Breath.
The identity information of user, confirmation registration are filled in, so as to save the information of user, and user in database is uploaded to and infuses In volume table.
Specifically, the method that user logs in platform of tracing to the source includes:
Input user verification information, by the verification information of the user and database in user's log form the user number According to comparing;
If the data comparison of the user is successful in user's log form in the verification information and database of user, allow the use Family listing is traced to the source platform, and allows the content in its extent of competence of the user's operation;
If the data comparison of the user fails in user's log form in the verification information and database of user, do not allow this User's listing is traced to the source platform.
Wherein, the registration user type selected in registration due to different user is different, traces to the source platform in operation When, different types of user, which possesses, different operating right and operation interface, to meet different types of user couple The operation requirement of Item Information.
Further, the initial information of article includes: that the Item Information of consigner enterprise offer and dealer provide The logistics information and storage information of article.Such as: the Item Information that consigner enterprise provides can be the specification of article, production Information, the place of production and manufacturing enterprise's information etc..And the logistics information and storage information of the article that dealer provides can be During goods transportation, logistics information and storage information that the logistics personnel of different phase provide.
Further, consigner enterprise is traced to the source after platform by first terminal listing, is traced to the source the object of platform in article Product information solicitation interface inputs Item Information, and the Item Information that first terminal fills in consigner is sent to database, and protects It deposits in article Basic Information Table and logistics information table in the database, and, first terminal passes through connection number after double-encryption According to library, and code building is generated by code of tracing to the source and is uniquely traced to the source code, which can form in first terminal, can also be with It generates in the server, first terminal is sent to by server, be attached on article so that consigner enterprise is fabricated to entity tag It is sent at dealer.
Further, the code of tracing to the source of each article is unique, and the purpose is to guarantee the code and each of tracing to the source of each article The data of article correspond, it is preferred that trace to the source yard two dimensional code or other there is the mark with two dimensional code identical function advantage Code, two dimensional code had the advantage that: information capacity is big, coding range is wide, decode high reliablity, to correct mistake ability strong, easy Production and at low cost, secrecy, range performance are good, shape of bar code symbol is variable etc..It should be noted that use two dimensional code Generate two dimensional code as plug-in unit when tracing to the source yard, can be generated by two dimensional code, it is main call jquery-1.10.2.min.js and The corresponding data of article is generated the two dimensional code that can uniquely identify by the correlative code of jquery.qrcode.min.js.Because making a living The realization of the coding techniques of two dimensional code it is not related at the code of two dimensional code, so can to scan the two dimensional code complete by all users At decoding, but decoded information can only be obtained, only article trace to the source the user after succeeding in registration on platform just can be carried out into The decryption of one step obtains correct data.
Further, the identity for including article in code and all information are traced to the source in the preservation address of database, institute Have information include: consigner's business data information, dealership data information, consumer data information, article environmental data information, Transportation logistics data information, storage data information etc., first terminal can obtain the identity of article by scanning code of tracing to the source And all information recycle all information in the preservation address of database in the preservation address of database, it may be connected to number According to library, and all information of the article are obtained from database, and increases the information of article and be added in database.
S102, intelligent measurement box acquire the environmental data and position data of article in real time, and by environmental data and position Data are sent to database preservation.
Wherein, intelligent measurement box is mounted on article predetermined position before transportation, and wherein predeterminated position can basis The shape of article and transport distance are made adjustment, with guarantee intelligent measurement box can accurately measure the environmental data of article with And position data.Since intelligent measurement box is mounted on the predetermined position of article, thus intelligent measurement box can be able to Article transport together, and then the position data of article can be measured.
Further, after environmental data and position data are sent to database by intelligent measurement box, it is stored in database Environmental information table in.
The code of tracing to the source of S103, second terminal scanning article parse the preservation address in code of tracing to the source, and read from saving in address Take the information of article.
Wherein, second terminal can be different from first terminal, can also be same terminal with first terminal.Article is through transporting When defeated arrival dealer, dealer can scan the code of tracing to the source pasted on article by the scanning means in second terminal, pass through The identity for parsing the article of the preservation in code of tracing to the source and all information are in the preservation address of database, by all Information is connected to database in the preservation address of database, on the one hand, dealer saves in the database before can inquiring Information, on the other hand can also increase logistics information and be sent in database with storage information and save.Consumer is whole by second End or article consigner scan the code of tracing to the source of article by first terminal, parse the preservation address traced to the source in code, and from preservation All information of article are read in address, wherein can learn the life of article from the article production information that consigner enterprise inputs The date is produced, the logistics information of the article uploaded from dealer, storage information can learn which stream is goods transportation process have passed through Journey, the environmental information of the article uploaded from detection box, can learn whether article is intact during transportation, by upper Stating information may determine that the safety and quality of article.
The initial information of article is sent to database and saved by Item Information retroactive method provided in an embodiment of the present invention, And generate the code of tracing to the source of article;Intelligent measurement box is recycled to acquire the environmental data and position data of article in real time, and will Environmental data and position data are sent to database preservation;Finally using the code of tracing to the source of terminal scanning article, parsing is traced to the source in code Preservation address, and from save address in read article information.Due to can use the code of tracing to the source of terminal scanning article, read To the information of article so that user then can by the information tracing of article to the information such as date of manufacture, the transportation environment of article, And the safety and quality of article are judged accordingly, health risk is avoided, the experience of user is improved.
Further, referring to Fig. 3, Fig. 3 is a kind of intelligence of Item Information retroactive method provided in an embodiment of the present invention Detect box data collecting flowchart figure.
As shown in figure 3, intelligent measurement box acquires the environmental data and position data of article in real time, and by environmental data and Position data is sent to the specific steps that database saves
S201, intelligent measurement box acquire in real time the temperature data of article, humidity data, gas data, alcohol data and Positional number.
S202, the temperature data of article, humidity data, gas data, alcohol data and position data are subjected to dual add It is close, it is sent to database, is saved in the environmental information table of the relation database table of article in the database.
Wherein, the temperature data of article, humidity data, gas data, alcohol data and position data have been carried out dual Encryption, it should be noted that in all embodiments of the invention, upload data to database and from database downloading data Process all carried out double-encryption, data include: consigner's business data, dealership data, consumer data, article environment Data, transportation logistics data, storage data etc. are not cracked interception so as to the related data in safeguard protection database.
Referring to Fig. 4, Fig. 4 is a kind of double-encryption process of Item Information retroactive method provided in an embodiment of the present invention Figure.As shown in figure 4, the step of specific double-encryption, includes:
S301, obtain N number of character at random, be added the temperature data of article, humidity data, gas data, alcohol data and New data are constituted in position data.
S302, the data newly constituted are divided into multiple groups, the data interchange of each group of data and designated position, and will be each Group data are whole mobile to assigned direction from the position in the data newly constituted, repeatedly obtain encrypted number for the first time According to duplicate number is identical as the data length newly constituted.
Wherein, N is natural number, preferably 8, character includes number, letter etc..When to take N below be 8, the is illustrated Primary encryption algorithm are as follows:
8 numbers are obtained at random or letter is integrated to the temperature data, humidity data, gas data, alcohol data of article With constituted in position data in new data, it is assumed that the temperature data of article, humidity data, gas data, alcohol data at this time It is a with new data length is constituted in position data, every three are one group in new data, second number and third in data group Number swaps, then whole to move to left, and obtains first time encrypted data the step cycle a time.
S303, will encrypted data for the first time, pass through symmetric encipherment algorithm and carry out second and encrypt.Wherein symmetric cryptography Algorithm are as follows:
The temperature data of article, humidity data, gas data, alcohol data and position data and encryption key are carried out special Different Encryption Algorithm processing, obtains second of encrypted data.
Second of encrypted data is wherein if desired decrypted, then is made when needing using the key used when encrypting and encryption Second of encrypted data is decrypted in the algorithm for inversion of identical algorithms, obtains the data before second of encryption.? In symmetric encipherment algorithm, due to the key that uses only one, encryption and decryption all use the key, thus decryption side to Ciphertext data must know encryption key in advance.
Further, database be used to standardize, manage, all link data informations that integrated article is traced to the source, in data Relation database table is defined in library to store consigner's business data information, dealership data information, consumer data information, article Environmental information, transporting commodities-circulation information, storage information etc..Wherein, the relation database table of article preferably includes following table:
Article Basic Information Table, for storing the essential information of article, the Item Information including consigner's offer;
User's registration table, the details filled in when for storing different types of user's registration;
User's log form, for storing the information for needing to verify when user logs in;
Logistics information table, for storing logistics information and storage information of the article in transport;
Environmental information table, temperature data, humidity data, the gas number of the article for storing the acquisition of intelligent measurement box According to, alcohol data and position data.
Wherein, in Item Information table field include: ID, Product_nam, Specification_model, Manufacturer_nam、Owner_name、Date_of_manufacture、Quality_guarantee_period、 Production_batch、Company_code。
Field includes: in user's registration table
Legal_representative、Company_code、Company_address、Tax_number、Company_ nature、Registered_capital、Contact_name、Contact_number、Contact_email、password。
Field includes: in user's log form
Account_number、password。
Field includes: in logistics information table
Logistics_ID、ProID、Logistics_packaging_unit、Number_of_packages、Plate_ number、Warehouse_number。
Field includes: in environmental information table
CO2、O2、CO、Temperature、Humidity、Alcohol、Time、Adress、Longitude、 Latitude。
Relation database table is to pass through article Basic Information Table, user's registration table, user's log form, logistics information table and environment Information table is formed, specifically, this public keyword is referred to as if public keyword is major key in a table The external key of another table, external key illustrate the correlative connection between two tables, due to all having an external key, institute in above-mentioned each table With the external key of second table of outer key connection of first table, the external key of second table is connecting third target external key, successively class Push away, above-mentioned each table is cascaded by respective external key, form relation database table, relation database table can effectively, it is easy The each table of access queries in content, be respectively stored in additionally, due to content different in relation database table in different tables, The content of each table does not conflict mutually, also complies with the realization for platform fraction limit query function of tracing to the source.
Wherein, the article production information of consigner enterprise input can be learnt from article Basic Information Table, and then is learnt The date of manufacture of article;Logistics information, the storage information of the article that dealer uploads can be learnt from logistics information table, and then are obtained Know the process that goods transportation process is passed through;The environmental information that the article that detection box uploads can be learnt from environmental information table, into And learn whether article is intact during transportation, it may determine that the safety and quality of article by above- mentioned information.
Further, it after first terminal, second terminal and intelligent measurement box are connect with Database, needs to connect Select suitable network communication protocol, and build server, Item Information that first terminal and second terminal are obtained and The collected data of intelligent measurement box are transferred to server, be processed and stored in database.
Detailed process includes: listening port, record log and data echo, wherein port snoop and data echo Namely Socket programming, it is that the socket of current request client is got, then message is exported away by stream, log Record need to want a variety of implementation strategies, used an Observer Pattern to realize in embodiments of the present invention, server can With add it is any number of observe, the purpose is to make system have more flexible scalability, in the specific implementation can be in journey ConsoleRecordHandler is provided in sequence, the information got is directly printed to console, and the side of storage database Formula is MysqlRecordHandler.
Further, referring to Fig. 5, Fig. 5 is a kind of intelligence of Item Information retroactive method provided in an embodiment of the present invention Detect the structural schematic diagram of box.
As shown in figure 5, intelligent measurement box includes: control module 2011, environmental sensor 2012,2013 and of locating module Communication module 2014, wherein control module 2011 and environmental sensor 2012 are arranged on pcb board 2015.
Wherein, control module JA(junction ambient) sensor, locating module and communication module.Control module includes a monolithic Machine;Environmental sensor includes: Temperature Humidity Sensor, carbon monoxide transducer, carbon dioxide, oxygen sensor and alcohol sensing Device is respectively used to data of the Temperature and Humidity module, the carbon monoxide content data, carbon dioxide content of detection article ambient enviroment Data, oxygen content data and alcohol content data;Locating module preferably uses global positioning system in detection module (GPS, Global Positioning System) module, can also be used other locating modules for reaching same effect;Detect mould Communication module preferably uses fourth generation mobile communication technology (4G, the 4th Generation mobile in block Communication technolog) module, other communication modules for reaching same effect can also be used.
Further, it can be completed by the program pre-set to the single-chip microcontroller burning difference in control module to inspection The parameter setting of each sensor, locating module and communication module in box is surveyed, for example, each sensor acquisition article can be set The interval duration of physics numeric field data, wherein preset duration is arranged according to varying environment, to meet different demands.
Further, referring to Fig. 6, Fig. 6 is a kind of intelligence of Item Information retroactive method provided in an embodiment of the present invention Detect the working principle diagram of box.
As shown in fig. 6, environmental data is sent to monolithic after each sensor collects the environmental data of article ambient enviroment Machine, the environmental data that single-chip microcontroller can acquire environmental sensor carries out parsing and completely processing, and locating module navigates to object After the position data of product, position data is sent to single-chip microcontroller, single-chip microcontroller carries out parsing and preliminary treatment to position data, after Continuous processing will carry out again after position data is uploaded onto the server, the purpose for the arrangement is that reducing the data of the server in cloud Treating capacity.Data this time can be packaged after the complete all information of single-chip microcontroller single treatment in control module, by logical Module incoming communication network is interrogated, data are reached into cloud server, and be stored in the environmental information table of database.
Referring to Fig. 7, Fig. 7 is a kind of workflow of the single-chip microcontroller of Item Information retroactive method provided in an embodiment of the present invention Cheng Tu.As shown in fig. 7, the single-chip microcontroller in control module at work the step of include:
S401, initialization microcontroller serial port.Its purpose is to the connections of single-chip microcontroller and other modules.
S402, the initial data that environmental sensor and locating module are passed back is received.Wherein initial data includes: environment passes What sensor was passed back, data of the Temperature and Humidity module, carbon monoxide content data, carbon dioxide content data, oxygen content data and alcohol Content data, and, the position data that locating module is passed back.
The initial data that S403, parsing are passed back, and the data after parsing are handled.Due to environmental sensor and determine The initial data that position module is passed back directly cannot be identified and be handled by single-chip microcontroller, and single-chip microcontroller is needed to parse initial data. Wherein, single-chip microcontroller handles the environmental data after parsing completely, preliminary treatment is carried out to the position data after parsing, to subtract The data processing amount of the server at partly cloudy end.
S404, the data handled are packaged, and are uploaded to server.Single-chip microcontroller can execute always in the process of running Step is stated, until closing the power supply of control module.
The initial information of article is sent to database and saved by Item Information retroactive method provided in an embodiment of the present invention, And generate the code of tracing to the source of article;Intelligent measurement box is recycled to acquire the environmental data and position data of article in real time, and will Environmental data and position data are sent to database preservation;Finally using the code of tracing to the source of terminal scanning article, parsing is traced to the source in code Preservation address, and from save address in read article information.Due to can use the code of tracing to the source of terminal scanning article, read To the information of article so that user then can by the information tracing of article to the information such as date of manufacture, the transportation environment of article, And the safety and quality of article are judged accordingly, health risk is avoided, the experience of user is improved.
Further, referring to Fig. 8, Fig. 2 is a kind of signal of Item Information traceability system provided in an embodiment of the present invention Figure, the system include:
First terminal 10, intelligent measurement box 20 and second terminal 30.
The initial information of article for obtaining the initial information of article, and is sent to database 40 and protected by first terminal 10 Deposit, and, generate the code of tracing to the source of article, include in code of tracing to the source article identity and all information database 40 guarantor Deposit address.
Intelligent measurement box 20, for acquiring the environmental data and position data of article in real time, and by environmental data and position It sets data and is sent to the preservation of database 40.
Second terminal 30 parses the preservation address in code of tracing to the source, and from preservation address for scanning the code of tracing to the source of article Read the information of article.
Further, intelligent measurement box 20 includes:
Acquisition module 201, for acquiring temperature data, humidity data, gas data, alcohol data and the position of article in real time Set data.
Encrypting module 202, for by the temperature data of article, humidity data, gas data, alcohol data and position data Double-encryption is carried out, database 40 is sent to.Database 40 is by the temperature data of article, humidity data, gas data, alcohol number It is stored in the relation database table of article according to position data.
Further, encrypting module 202 is also used to:
Article is added in N number of character temperature data, humidity data, gas data, alcohol data and positional number are obtained at random New data are constituted according to middle.
The data newly constituted are divided into multiple groups, the data interchange of each group of data and designated position, and by each group of number First time encrypted data are repeatedly obtained to assigned direction movement according to from the position in the data newly constituted is whole, it is heavy Multiple number is identical as the data length newly constituted.
By encrypted data for the first time, passes through symmetric encipherment algorithm and carry out second of encryption, wherein N is natural number.
Further, the relation database table of article includes:
Article Basic Information Table, user's registration table, user's log form, logistics information table and environmental information table.
Relation database table is to pass through article Basic Information Table, user's registration table, user's log form, logistics information table and environment Information table is formed.
Wherein, the article production information of consigner enterprise input can be learnt from article Basic Information Table, and then is learnt The date of manufacture of article;Logistics information, the storage information of the article that dealer uploads can be learnt from logistics information table, and then are obtained Know the process that goods transportation process is passed through;The environmental information that the article that detection box uploads can be learnt from environmental information table, into And learn whether article is intact during transportation, it may determine that the safety and quality of article by above- mentioned information.
Further, acquisition module 201 includes:
Control module 2011, environmental sensor 2012, locating module 2013 and communication module 2014.
Wherein, 2011 JA(junction ambient) sensor 2012 of control module, locating module 2013 and communication module 2014.
The embodiment of the present invention provides a kind of Item Information traceability system, and the initial information of article is sent to database and is protected It deposits, and, generate the code of tracing to the source of article;Intelligent measurement box is recycled to acquire the environmental data and position data of article in real time, And environmental data and position data are sent to database and saved;Finally using the code of tracing to the source of terminal scanning article, parsing is traced to the source Code in preservation address, and from save address in read article information.Due to can use the code of tracing to the source of terminal scanning article, The information of article is read, so that user can then pass through date of manufacture, the transportation environment etc. of the information tracing of article to article Information, and the safety and quality of article are judged accordingly, health risk is avoided, the experience of user is improved.
In several embodiments provided herein, it should be understood that disclosed method and system can pass through it Its mode is realized.For example, system embodiment described above is only schematical, for example, the division of device, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple devices or component can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or module It connects, can be electrical property, mechanical or other forms.
Module may or may not be physically separated as illustrated by the separation member, show as module Component may or may not be physical module, it can and it is in one place, or may be distributed over multiple networks In module.Some or all of the modules therein can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in a processing module It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
If integrated module is realized in the form of software function module and as independent items sold or in use, can To be stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention substantially or Say that all or part of the part that contributes to existing technology or the technical solution can be embodied in the form of software article Out, which is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes all or part of each embodiment method of the present invention Step.And storage medium above-mentioned include: USB flash disk, it is mobile hard disk, read-only memory (ROM, Read-Only Memory), random Access various Jie that can store program code such as memory (RAM, Random Access Memory), magnetic or disk Matter.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this hair Necessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
The above are the descriptions to a kind of Item Information retroactive method provided by the present invention and system, for this field Technical staff, thought according to an embodiment of the present invention, there will be changes in the specific implementation manner and application range, comprehensive On, the contents of this specification are not to be construed as limiting the invention.

Claims (10)

1. a kind of Item Information retroactive method, which is characterized in that the described method includes:
First terminal obtains the initial information of article, and the initial information of the article is sent to database and is saved, and, it is raw At the code of tracing to the source of the article, the identity and all information in the code of tracing to the source including the article are in the database Preservation address;
Intelligent measurement box acquires the environmental data and position data of the article in real time, and by the environmental data and institute's rheme It sets data and is sent to the database preservation;
Second terminal scans the code of tracing to the source of the article, the preservation address in code of tracing to the source described in parsing, and from the preservation The information of the article is read in address.
2. the method according to claim 1, wherein the intelligent measurement box acquires the ring of the article in real time Border data and position data, and the environmental data and the position data are sent to the database preservation and include:
The intelligent measurement box acquires temperature data, humidity data, gas data, alcohol data and the position of the article in real time Data are set, and the temperature data of the article, humidity data, gas data, alcohol data and position data are subjected to dual add It is close, it is sent to the database, in the relation database table for saving the article in the database.
3. according to the method described in claim 2, it is characterized in that, the temperature data, humidity data, gas by the article Volume data, alcohol data and position data carry out double-encryption
The article is added in N number of character temperature data, humidity data, gas data, alcohol data and positional number are obtained at random New data are constituted according to middle;
The data newly constituted are divided into multiple groups, the data interchange of each group of data and designated position, and by each group of data from Position in the data of the new composition is whole mobile to assigned direction, repeatedly obtains encrypted data for the first time, institute It is identical as the data length of the new composition to state duplicate number;
By the first time encrypted data, second is carried out by symmetric encipherment algorithm and is encrypted;
Wherein, N is natural number.
4. according to the method described in claim 2, it is characterized in that, the method also includes:
The relation database table of the article includes following table: article Basic Information Table, user's registration table, user's log form, object Stream information table and environmental information table, the relation database table is passes through the article Basic Information Table, the user's registration table, institute User's log form, the logistics information table and the environmental information table is stated to be formed.
5. according to the method described in claim 2, it is characterized in that, the intelligent measurement box includes: control module, environment biography Sensor, locating module and communication module;
Wherein, the control module connects the environmental sensor, the locating module and the communication module.
6. a kind of Item Information traceability system, which is characterized in that the system comprises:
First terminal, intelligent measurement box and second terminal;
The initial information of the article for obtaining the initial information of article, and is sent to database and protected by the first terminal It deposits, and, the code of tracing to the source of the article is generated, includes that the identity of the article and all information exist in the code of tracing to the source The preservation address of the database;
The intelligent measurement box, for acquiring the environmental data and position data of the article in real time, and by the environment number It is saved according to the database is sent to the position data;
The second terminal, for scanning the code of tracing to the source of the article, the preservation address in code of tracing to the source described in parsing, and from The information of the article is read in the preservation address.
7. system according to claim 6, which is characterized in that the intelligent measurement box includes:
Acquisition module, for acquiring temperature data, humidity data, gas data, alcohol data and the position of the article in real time Data;
Encrypting module, for by the temperature data of the article, humidity data, gas data, alcohol data and position data into Row double-encryption is sent to the database.
8. system according to claim 7, which is characterized in that the encrypting module is specifically also used to:
The article is added in N number of character temperature data, humidity data, gas data, alcohol data and positional number are obtained at random New data are constituted according to middle;
The data newly constituted are divided into multiple groups, the data interchange of each group of data and designated position, and by each group of data from Position in the data of the new composition is whole mobile to assigned direction, repeatedly obtains encrypted data for the first time, institute It is identical as the data length of the new composition to state duplicate number;
By the first time encrypted data, second is carried out by symmetric encipherment algorithm and is encrypted;
Wherein, N is natural number.
9. system according to claim 7, which is characterized in that the relation database table of the article includes:
Article Basic Information Table, user's registration table, user's log form, logistics information table and environmental information table, the relation data Table is by the article Basic Information Table, the user's registration table, user's log form, the logistics information table and described Environmental information table is formed.
10. system according to claim 7, which is characterized in that the acquisition module includes:
Control module, environmental sensor, locating module and communication module;
Wherein, the control module connects the environmental sensor, the locating module and the communication module.
CN201810775868.7A 2018-07-16 2018-07-16 Item Information retroactive method and system Pending CN109191033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810775868.7A CN109191033A (en) 2018-07-16 2018-07-16 Item Information retroactive method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810775868.7A CN109191033A (en) 2018-07-16 2018-07-16 Item Information retroactive method and system

Publications (1)

Publication Number Publication Date
CN109191033A true CN109191033A (en) 2019-01-11

Family

ID=64936553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810775868.7A Pending CN109191033A (en) 2018-07-16 2018-07-16 Item Information retroactive method and system

Country Status (1)

Country Link
CN (1) CN109191033A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110210812A (en) * 2019-06-12 2019-09-06 北京九纯健科技发展有限公司 A kind of article cold chain source tracing method and system
CN110675172A (en) * 2019-09-30 2020-01-10 上海仪电(集团)有限公司中央研究院 Food traceability data mining method and system
CN111310236A (en) * 2019-12-31 2020-06-19 天津津滨信钥信息技术有限公司 Commodity transportation abnormal information recording method, device, equipment and storage medium
CN111429152A (en) * 2020-03-20 2020-07-17 南京优物链科技有限公司 Traceability application system based on block chain technology
CN111695760A (en) * 2020-04-23 2020-09-22 优渊领智科技(武汉)有限公司 Production quality risk recording and tracing method and system
CN112182607A (en) * 2020-09-24 2021-01-05 北京每日优鲜电子商务有限公司 Method, device, electronic equipment and medium for encrypting article circulation information
CN113128634A (en) * 2021-03-02 2021-07-16 北京奇禹科技有限公司 Article management method and system
CN116823294A (en) * 2023-08-29 2023-09-29 中国(上海)宝玉石交易中心有限公司 Method and device for supervising traceability information of precious stones and jades

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105096126A (en) * 2014-05-07 2015-11-25 北京信威通信技术股份有限公司 Product information tracing system, terminal and method
CN106530515A (en) * 2016-12-12 2017-03-22 深圳市容大数字技术有限公司 Logistics distribution service system and logistics distribution method
US20170083856A1 (en) * 2015-09-18 2017-03-23 Alibaba Group Holding Limited Method and apparatus for processing transmission information
CN106845603A (en) * 2015-12-04 2017-06-13 陈芒 Cold chain article electronic label
CN107169701A (en) * 2017-04-30 2017-09-15 湖北经济学院 A kind of Circulation of Agricultural Products tracing management method based on cloud computing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105096126A (en) * 2014-05-07 2015-11-25 北京信威通信技术股份有限公司 Product information tracing system, terminal and method
US20170083856A1 (en) * 2015-09-18 2017-03-23 Alibaba Group Holding Limited Method and apparatus for processing transmission information
CN106845603A (en) * 2015-12-04 2017-06-13 陈芒 Cold chain article electronic label
CN106530515A (en) * 2016-12-12 2017-03-22 深圳市容大数字技术有限公司 Logistics distribution service system and logistics distribution method
CN107169701A (en) * 2017-04-30 2017-09-15 湖北经济学院 A kind of Circulation of Agricultural Products tracing management method based on cloud computing

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110210812A (en) * 2019-06-12 2019-09-06 北京九纯健科技发展有限公司 A kind of article cold chain source tracing method and system
CN110210812B (en) * 2019-06-12 2022-02-08 北京九纯健科技发展有限公司 Article cold chain tracing method and system
CN110675172A (en) * 2019-09-30 2020-01-10 上海仪电(集团)有限公司中央研究院 Food traceability data mining method and system
CN111310236A (en) * 2019-12-31 2020-06-19 天津津滨信钥信息技术有限公司 Commodity transportation abnormal information recording method, device, equipment and storage medium
CN111429152A (en) * 2020-03-20 2020-07-17 南京优物链科技有限公司 Traceability application system based on block chain technology
CN111695760A (en) * 2020-04-23 2020-09-22 优渊领智科技(武汉)有限公司 Production quality risk recording and tracing method and system
CN112182607A (en) * 2020-09-24 2021-01-05 北京每日优鲜电子商务有限公司 Method, device, electronic equipment and medium for encrypting article circulation information
CN113128634A (en) * 2021-03-02 2021-07-16 北京奇禹科技有限公司 Article management method and system
WO2022183688A1 (en) * 2021-03-02 2022-09-09 北京奇禹科技有限公司 Article management method and system
CN113128634B (en) * 2021-03-02 2024-02-27 北京奇禹科技有限公司 Article management method and system
CN116823294A (en) * 2023-08-29 2023-09-29 中国(上海)宝玉石交易中心有限公司 Method and device for supervising traceability information of precious stones and jades
CN116823294B (en) * 2023-08-29 2023-11-17 中国(上海)宝玉石交易中心有限公司 Method and device for supervising traceability information of precious stones and jades

Similar Documents

Publication Publication Date Title
CN109191033A (en) Item Information retroactive method and system
EP3262785B1 (en) Tracking unitization occurring in a supply chain
CN103413227B (en) Product anti-counterfeiting tracing system and the false proof implementation method reviewing examination thereof
CN107909372A (en) A kind of agricultural product source tracing method based on block chain technology
WO2016090095A1 (en) Cryptographic verification of provenance in a supply chain
CN102801722B (en) Internet of Things authentication method and system
CN108960863A (en) A kind of food block chain retroactive method, device and electronic equipment
CN111858750B (en) Cargo warehousing system and method based on intelligent contracts
CN108009830A (en) Products in circulation tracking and system based on block chain
CN109255622A (en) A kind of back-tracing anti-fake data-storage system
US9024729B1 (en) Network-enabled RFID tag endorsement
CN110502922A (en) Item circulation link retroactive method, device and electronic equipment based on block chain
CN103544458A (en) Two-dimensional code, RFID (radio frequency identification) and GPS (global positioning system) trinity based electrical product positioning system and positioning method thereof
CN103577856B (en) Product back-tracing system and method
US9633326B2 (en) Load distribution and consolidation tracking system
CN103761597A (en) Method and device for processing product information
CN104182878A (en) Method and system for product authentication
Qi et al. Secure and private RFID-enabled third-party supply chain systems
WO2016192535A1 (en) Product logistics management system for internet-of-things
CN104715386A (en) WeChat ID-based anti-fake method for achieving authentication of all bar codes
CN113269565B (en) Anti-counterfeiting identification method and device for preventing identification code from being reused and electronic equipment
CN109949059A (en) Case code association anti-fake traceability system, method and computer equipment based on block chain
CN206757700U (en) A kind of false proof traceability system of logistics Means of Agricultural Production
JP2020197937A (en) Authenticity determining apparatus, authenticity determining system, and authenticity determining method
CN101321076A (en) Wireless check system and method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190111

RJ01 Rejection of invention patent application after publication