CN106790763A - A kind of Internet of Things unifies the implementation and system of trace platform - Google Patents

A kind of Internet of Things unifies the implementation and system of trace platform Download PDF

Info

Publication number
CN106790763A
CN106790763A CN201710046520.XA CN201710046520A CN106790763A CN 106790763 A CN106790763 A CN 106790763A CN 201710046520 A CN201710046520 A CN 201710046520A CN 106790763 A CN106790763 A CN 106790763A
Authority
CN
China
Prior art keywords
traceability system
internet
things
dns resolution
enterprise
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
CN201710046520.XA
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.)
Beijing Xin Zhi Yun Branch Information Technology Co Ltd
Original Assignee
Beijing Xin Zhi Yun Branch Information Technology 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 Beijing Xin Zhi Yun Branch Information Technology Co Ltd filed Critical Beijing Xin Zhi Yun Branch Information Technology Co Ltd
Priority to CN201710046520.XA priority Critical patent/CN106790763A/en
Publication of CN106790763A publication Critical patent/CN106790763A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention proposes the implementation and system that a kind of Internet of Things unifies trace platform, including:Traceability system unitary service platform is built and configures, including:Configuration feature, construction platform inquiry entrance, dns resolution server and the synchronous service of traceability system unitary service platform are built, for realizing the synchronous service between user and unitary service platform;Traceability system unitary service platform receives the registration request for reviewing enterprise, and ratifies the Internet of Things domain name of the enterprise after examination & verification passes through;Traceability system unitary service platform receives the inquiry request that user is sent by terminal device, and obtains the product back-tracing information of requesting query, and returns to the terminal device of user.The present invention realizes the single entrance of trace field, reduces consumer and abandons reviewing because of the disunity of various softwares or instrument, and each traceability system accesses this platform by easy mode.

Description

A kind of Internet of Things unifies the implementation and system of trace platform
Technical field
The present invention relates to Internet of Things areas of information technology, more particularly to a kind of Internet of Things unifies the implementation of trace platform And Internet of Things unifies traceability system.
Background technology
With the development of informationization technology, carry out fine-grained management for Modern Manufacturing Enterprise and provide reliable means.With Product is served as theme, bar code, Quick Response Code, and the technology such as RFID is means, since plan, material, production process to product, half into Product, finished product carry out automatic identification, record and monitoring, implement the management of all-transparent, prevent aborning, find and correct in time wrong By mistake, product is reviewed afterwards, clearly inquire the true and false of product, whereabouts, storage, operation record, the producer, quality inspection person and The information such as date of manufacture, analyze bad products Producing reason, and production traceability system just arises at the historic moment.
Therefore a large amount of enterprises traceability system of oneself, correspondence generates the consumption terminal software or work of each traceability system Tool.But all kinds of softwares or instrument are incompatible;The product that consumer faces in use is various, therefore real Use to need to possess and various review instrument and review software.This it is clear that inconvenience because these are inconvenient;Cause Ample resources is wasted, and real consumer is used.
A large amount of traceability systems use custom coding, and its form is different, is all when data interchange is needed By consulting to complete between enterprise;A small amount of enterprise uses EPC (Electronic Power Control, Motronic control maps stabilization System), OID (Object Identifier), the international code such as Ucode, but equally there is wretched insufficiency in intercommunication.
EPC is based on radio frequency discrimination RFID and to the unique list product coding in the whole world of each object entity distribution, main application In fields such as logistics;OID is the identifier mechanism that International Organization for standardization's ISO/IEC, ITU-T joint is proposed, OID can be to any " object " assigns unique mark, and object here can be any entity, virtual article.Ucode is that Japan proposes only The coding that one identifier system is used, it is with international standard and incompatible.
The content of the invention
The purpose of the present invention is intended at least solve one of described technological deficiency.
Therefore, it is an object of the invention to propose that a kind of Internet of Things unifies the implementation and system of trace platform.
To achieve these goals, embodiments of the invention provide the implementation that a kind of Internet of Things unifies trace platform, Comprise the following steps:
Step S1, builds and configures traceability system unitary service platform, including:
Traceability system unitary service platform is built, configuration feature includes:User management, Internet of Things domain name registration and DNS solution Analysis configuration,
Construction platform inquires about entrance, for realizing that user accesses unitary service platform by the inquiry entrance;
Dns resolution server is built, for being parsed to the query statement of user by the dns resolution server;
Synchronous service is built, for realizing the synchronous service between user and unitary service platform;
Step S2, the traceability system unitary service platform receives the registration request for reviewing enterprise, and after examination & verification passes through Ratify the Internet of Things domain name of the enterprise, using dns resolution server by enterprise's custom coding escape for traceability system is unified to compile The inverted order of code, enterprise is configured into traceability system unitary service platform configuration interface, and it is same to parse data after the completion of configuration Step judges whether configuration is correct, and the enterprise accesses system if correct to dns resolution server by the dns resolution server The success of one trace platform, then can inquire about the product back-tracing information of enterprise by the Internet of Things domain logon;
Step S3, the traceability system unitary service platform receives the inquiry request that user is sent by terminal device, and Judge the inquiry request review Services Code whether preset format coding, if it is, by dns resolution server to institute State inquiry request to be parsed, extract parsing address and analytic parameter, replaced using the traceability system Unified coding after inverted order Change, to obtain final parsing address, access the product back-tracing information of the final parsing address acquisition requesting query, and return to use The terminal device at family.
Further, the traceability system unitary service platform is using the realization of Apache+PHP+Service technologies, the DNS Resolution server is built using the program technic bind for increasing income.
Further, in the step S2, the traceability system Unified coding is encoded using OID, and its form is to review Completely a coded format is Internet of Things domain name+" "+enterprise custom coding.
Further, it is described that inquiry address and parameter configuration, bag are obtained by dns resolution server in the step S3 Include following steps:
The dns resolution server is used to generate NS records and NAPTR records according to the Query Information, wherein, it is described NAPTR records the inquiry address and parameter configuration for parsing inquiry request;The NS is recorded for being directed to another DNS solution Analysis server, recurrence are until inquire the NAPTR records for being responsible for parsing.
Further, the traceability system unitary service platform also provides for user management, including:The basic note of user Volume, logs in, freezing for abnormal user, gives password for change, changes data, modification binding mobile phone, modification binding mailbox;
The Internet of Things domain name registration includes:Dns search, registered domain name retrieval, domain name is put on record, domain name supervising.
Embodiments of the invention also propose that a kind of Internet of Things unifies the solution system of trace platform, including:Traceability system is united One service platform, enterprises end and user terminal,
The traceability system unitary service platform is used for user management, Internet of Things domain name registration and dns resolution configuration, and carries For inquiry entrance, the inquiry entrance is used to realize that user accesses unitary service platform, the dns resolution by the inquiry entrance Configuration realizes that the dns resolution server is parsed to the query statement of user by dns resolution server, and realizes using Synchronous service between family and unitary service platform;
The traceability system unitary service platform is used to receive the registration request from the enterprises end, and passes through in examination & verification Ratify the Internet of Things domain name of the enterprise afterwards, using dns resolution server by enterprise's custom coding escape for traceability system is unified The inverted order of coding, enterprise is configured into traceability system unitary service platform configuration interface, and data will be parsed after the completion of configuration Dns resolution server is synchronized to, judges whether configuration is correct, and the enterprise accesses if correct by the dns resolution server Unified trace platform success, then can inquire about the product back-tracing information of enterprise by the Internet of Things domain logon;
The traceability system unitary service platform receives the inquiry request from user terminal, and judges the inquiry request Whether preset format is encoded to review Services Code, if it is, being solved to the inquiry request by dns resolution server Analysis, extracts parsing address and analytic parameter, is replaced using the traceability system Unified coding after inverted order, to obtain final parsing Address, accesses the product back-tracing information of the final parsing address acquisition requesting query, and returns to user terminal.
Further, the traceability system unitary service platform is using the realization of Apache+PHP+Service technologies, the DNS Resolution server is built using the program technic bind for increasing income.
Further, the traceability system Unified coding is encoded using OID, and its form is for traceability system Unified coding form Internet of Things domain name+" "+enterprise custom coding.
Further, the dns resolution server is used to generate NS records and NAPTR records according to the Query Information, its In, the NAPTR records the inquiry address and parameter configuration for parsing inquiry request;The NS records another for being directed to Platform dns resolution server, recurrence are until inquire the NAPTR records for being responsible for parsing.
Further, the traceability system unitary service platform also provides for user management, including:The basic note of user Volume, logs in, freezing for abnormal user, gives password for change, changes data, modification binding mobile phone, modification binding mailbox;The Internet of Things Domain name registration includes:Dns search, registered domain name retrieval, domain name is put on record, domain name supervising.
Internet of Things according to embodiments of the present invention unifies the implementation and system of trace platform, using more flexible Used as baseline encoded, OID can easily compatible its each enterprise's custom coding, EPC, Ucode etc., then by DNS for OID Mechanism for resolving realizes cross-system, the cross-platform, cross-region reviewed.Dns resolution technology has stability reliability, can distribution portion The advantages of administration, major-minor redundancy.The present invention realizes the single entrance of trace field, reduces consumer because various softwares or instrument Disunity and abandon reviewing, each traceability system accesses this platform by easy mode;Enterprise product is respectively reviewed from this realization Upstream and downstream information mutual communication, and consumption terminal single entrance, it is possible to reduce respectively review enterprise be promote itself product it is various Expenditure, consumer also can really use traceability system, enjoy active brought benefit of tracing back.The enterprise of existing traceability system Modification amount to original system is minimum, it is only necessary to developing and opening data-interface, compatible various traceability system coding structures.The present invention Existing reviewing in system is solved to do things in his own way, it is incompatible;Cross-system, the cross-platform, cross-region reviewed cannot be realized, and The problem of the powerless traceability system for building oneself of small business.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description Obtain substantially, or recognized by practice of the invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from description of the accompanying drawings below to embodiment is combined Substantially and be readily appreciated that, wherein:
Fig. 1 is the flow chart of the implementation for unifying trace platform according to the Internet of Things of the embodiment of the present invention;
Fig. 2 is the Organization Chart for unifying trace platform according to the Internet of Things of the embodiment of the present invention;
Fig. 3 is the structure chart for unifying traceability system according to the Internet of Things of the embodiment of the present invention.
Specific embodiment
Embodiments of the invention are described below in detail, the example of embodiment is shown in the drawings, wherein identical from start to finish Or similar label represents same or similar element or the element with same or like function.Retouched below with reference to accompanying drawing The embodiment stated is exemplary, it is intended to for explaining the present invention, and be not considered as limiting the invention.
The embodiment of the present invention proposes that implementation and Internet of Things that a kind of Internet of Things unifies trace platform unify traceability system, Unify trace platform by building a set of Internet of Things, each traceability system accesses this platform by easy mode, and realization is respectively reviewed The upstream and downstream information mutual communication of enterprise product, and consumption terminal single entrance, it is possible to reduce respectively review enterprise for promote itself produce The various expenditures of product, consumer also can really use traceability system;Enjoy the active a variety of benefits brought of tracing back.
As depicted in figs. 1 and 2, the Internet of Things of the embodiment of the present invention unifies the implementation of trace platform, including following step Suddenly:
Step S1, builds and configures traceability system unitary service platform, including:
(1) traceability system unitary service platform is built, configuration feature includes:User management, Internet of Things domain name registration and DNS Parsing configuration.Wherein, user management, including:The basic registration of user, logs in, freezing for abnormal user, gives password for change, modification Data, modification binding mobile phone, modification binding mailbox.Wherein, the Core Feature of traceability system unitary service platform only has parsing to match somebody with somebody Put.Internet of Things domain name registration includes:Dns search, registered domain name retrieval, domain name is put on record, domain name supervising.Internet of Things domain name is noted Volume includes:Dns search, registered domain name retrieval, domain name is put on record, domain name supervising.
In one embodiment of the invention, traceability system unitary service platform uses Apache+PHP+Service technologies Realize.
This three technology is introduced respectively below:
Apache is a web server software.It may operate in nearly all widely used computer platform On, it is one of most popular Web server end software because its is cross-platform and security is widely used.It is quick, reliable simultaneously And can be expanded by simple API.The cross-platform application of its open source, support (may operate in almost all of On Unix, Windows, linux system platform), the aspect advantage such as portable strong.
PHP is a kind of general script of increasing income.The characteristics of grammer absorbs C language, Java and Perl, beneficial to study, Using extensive, Web development fields are primarily adapted for use in.PHP unique grammer is mixed with C, Java, Perl and PHP from the language created Method.It can more quickly perform dynamic web page than CGI or Perl.The dynamic page made with PHP and other programming languages Speech is compared, and PHP is that program is embedded into HTML (application under standard generalized markup language) document to go to perform, and performs effect Rate is more many higher than generating the CGI of HTML markup completely;PHP can also carry out compiled code, compiling can reach encryption and Optimized code runs, and code is run faster.
Service layers uses Web Service technologies, and Web Service can cause to operate on different machines Different application need not be by additional, special third party software or hardware, so that it may be exchanged with each other data or integrated.Foundation Between the application of WebService enforcement of regulations, what language, platform or the internal agreement no matter they are used be, can It is exchanged with each other data.Web Service are self-described, self-contained available network module, can perform specific business function. Web Service are also easy to deployment, because they are based on some conventional industry standards and existing some technologies, such as Subset X ML, HTTP under standard generalized markup language.Web Service reduce the cost of application interface.Web Service For whole enterprise provides a general mechanism even more than the integrated of the operation flow between tissue.
(2) construction platform inquiry entrance, for realizing that user accesses unitary service platform by inquiring about entrance.
Traceability system unitary service platform inquiry entrance is realized using Apache+PHP+Service.It is responsible for user to initiate to look into During inquiry, by dns resolution server acquisition inquiry address and parameter configuration, the parameter after replacing and this inquiry are then used The external common interface address acquisition tracing information of traceability system.This part will obtain tracing information part and carries out in follow-up user Describe in detail.
(3) dns resolution server is built, for being parsed to the query statement of user by dns resolution server.
Dns resolution server is built using the program technic bind for increasing income, and is responsible for the sensing of Query Information, and sensing includes NS records and NAPTR record.NAPTR records are responsible for the specific address and parameter configuration of parsing inquiry;NS records are used for pointing to To another dns resolution server, recurrence until inquiring the NAPTR records for being responsible for parsing.
(4) synchronous service is built using Apache+PHP+Service, for realizing between user and unitary service platform Synchronous service.Postponed when user newly sets parsing configuration or changes to parse to match somebody with somebody;We are needed the change of user by synchronous Service is updated on dns resolution server.
Step S2, traceability system unitary service platform receives the registration request for reviewing enterprise, and ratifies after examination & verification passes through The Internet of Things domain name of the enterprise, by the escape of enterprise custom coding is traceability system Unified coding using dns resolution server Inverted order.
Specifically, enterprises registration traceability system unitary service platform user is reviewed, is examined by traceability system unitary service platform Whether core device meets qualification.If aptitude checking does not pass through, this application is rejected, enterprise cannot carry out subsequent operation and cannot connect Enter traceability system unitary service platform.If examination & verification passes through, enterprise obtains Internet of Things domain name.
It should be noted that aptitude checking is not by the repeatable submission networking domain name application for registration of enterprise, until examination & verification Pass through, obtain Internet of Things domain name;Or abandon Internet of Things domain name registration, then cannot carry out subsequent operation and cannot access to review be System unitary service platform.
After aptitude checking passes through, enterprise's custom coding escape is traceability system Unified coding by platform.Wherein, review and be System Unified coding is encoded using OID, and its form is that traceability system Unified coding form is that Internet of Things domain name+" "+enterprise is self-defined Coding.OID has layering flexibly, the features such as scalability is strong, be suitable as between existing various encoding schemes what is swapped First identifier mechanism.No matter in business administration how hierarchical layered, how enterprise product to be classified, can be solved using OID.
For example:Certain single product code is 01100300039208300000035221040842085A (system signs+company numbering + product coding+mono- product coding).
Coding disassembles table, as shown in table 1:
Disassemble coding Explanation
01100 System is indicated
300039208 Company numbering
30000003 Product coding
5221040842085A Single product coding
Table 1
It is that unified trace platform is encoded to by above-mentioned coding escape:
1.2.156.30006.300039208.30000003.5221040842085A
Unified trace platform coding disassembles table, as shown in table 2:
Table 2
Dns resolution server is parsed to the coding after escape using inverted order, therefore will first must be chased after when parsing configuration is carried out The systematic unity that traces back encodes inverted order.
For example encode:1.2.156.30006.300039208.30000003.5221040842085A
Form is after inverted order:5221040842085A.30000003.300039208.30006.156.2.1
Enterprise is configured into traceability system unitary service platform configuration interface, including herein below:
For example the common data open interface for reviewing enterprise is:
http://npc.iotcrc.com:8080/index.asmx/SearchCode= 01100300039208300000035221040842085A;
Wherein:http://npc.iotcrc.com:8080/index.asmx/Search is opened for enterprise's common data Interface;
Code is parameter name;01100300039208300000035221040842085A is the single product coding of the enterprise.
Following parsing configuration is done to the Internet of Things domain name:
!^.*300039208.30006.156.2.1$!http://npc.iotcrc.com:8080/index.asmx/ SearchCode=01100 { 2 } { 1 } { 0 }!
Parsing configuration instruction, such as table 3:
Table 3
The setting form such as table 4 below of analytic parameter:Traceability system Unified coding is parsed into an array (according to domain name mark Show that " " fractionation order sorts).
Table 4
Single product single product coding in enterprise is reviewed:01100300039208300000035221040842085A(01100 + company numbering+product coding+mono- product code), analytic parameter is set to:01100 { 2 } { 1 } { 0 }, the traceability system system of correspondence upper table The array numbering that one coding is disassembled, corresponding table such as table 5 below:
Coding is disassembled Explanation Parsing display form
01100 System is indicated 01100
300039208 Company numbering {2}
30000003 Product coding {1}
5221040842085A Single product coding {0}
Table 5
After the completion of configuration, by parsing data syn-chronization to dns resolution server, whether configuration is judged by dns resolution server Correctly, the enterprise accesses unified trace platform success if correct, then can inquire about enterprise by the Internet of Things domain logon Product back-tracing information.If improperly-configured, configuration error part is checked until configuration correctly, is successfully accessed.Otherwise, abandon accessing Traceability system unitary service platform.
Then, changed or increased newly by the synchronous service automatic decision configuration;If newly-increased, then a DNS is increased newly Record.
Newly-increased example:
update add*.300039208.30006.156.2.1IN NAPTR 0 100"u""ORS+OINF""!^.* 300039208.30006.156.2.1$!http://npc.iotcrc.com:8080/index.asmx/SearchCode= 01100{2}{1}{0}!".
NAPTR records include:The Order information of record ordering rule, the Pref information of record ordering authority's rule, record Interpret flag bit Flags information, record COS Service information, record regular expression volume Regexp information with And network alias volume Replacement information, and the Internet of Things domain name with regular expression, Information service address and configuration The NAPTR information agents of parameter composition.Such as table 6 below explanation:
Table 6
If modification operation, then original DNS records are deleted, then increase amended DNS records newly.
Delete example:
update delete*.300039208.30006.156.2.1NAPTR
If newly-increased or modification is failed, operation is preserved to journal file, and send alarm;Arranged by system manager Look into reason and solve.
In one embodiment of the invention, traceability system Unified coding and carrier, product are combined.Common vector includes Quick Response Code, NFC label, high-frequency label, ultrahigh-frequency tag.Traceability system Unified coding be carrier combine it is preceding, must mark its make It is OID with agreement;Form is " OID:"+traceability system Unified coding.
For example encode:1.2.156.30006.300039208.30000003.5221040842085A vector encoded is OID:1.2.156.30006.300039208.30000003.5221040842085A
To sum up, enterprises end treatment logic is:Enterprise customer passes through unified trace platform and registers the Internet of Things domain for obtaining enterprise Name.The unified trace platform for being combined into the product using Internet of Things domain name and product coding encodes (unique).Then enterprise is respectively reviewed Industry builds the tracing information opening interface of oneself.By traceability system unitary service platform Command Line Parsing scheme.Consumer Or need the upstream and downstream firms of this enterprise's tracing information by this single entrance, obtain tracing information.Traceability system uniform service Platform is connect the opening that the unified trace platform code parsing asked reviews enterprise to correspondence using the mode of the Authority Pointer of DNS Mouthful;Open interface is returned to data using unified form.
Step S3, traceability system unitary service platform receives the inquiry request that user is sent by terminal device, and judges Whether preset format is encoded the Services Code of reviewing of inquiry request, if it is, being entered to inquiry request by dns resolution server Row parsing, extracts parsing address and analytic parameter, is replaced using the traceability system Unified coding after inverted order, final to obtain Parsing address, accesses the product back-tracing information of the final parsing address acquisition requesting query, and returns to the terminal device of user.
Wherein, inquiry request is parsed by dns resolution server, extracts parsing address and analytic parameter, including Following steps:Dns resolution server is used to generate NS records and NAPTR records according to Query Information.Wherein, NAPTR records are used In the parsing address of parsing inquiry request and analytic parameter;
NAPTR (Naming Authority Pointer, NAPTR), is one kind of uniform resource identifier URI Definition format, is parsed mainly for product.Similar with ENUM technologies, NAPTR is to be mapped as Internet of Things domain name Record in DNS systems, by way of DNS Internet of Things domain name is addressed, distributed hierarchy addressing is carried out to Internet of Things domain name, will Internet of Things parsing is directed to the single product trace back data provided by service or file.At present, Internet of Things domain name center can manage Domain name can only reach enterprise-level, and the tracing information of product can only be parsed using NAPTR.
NS is recorded for being directed to another dns resolution server, recurrence until inquiring the NAPTR notes for being responsible for parsing Record.
NS records are name server records, are used to specify the domain name by which dns resolution server to be parsed.Make Used in such as group, large enterprise etc. has ready conditions and sets up in the environment of itself dns resolution server, can be subtracted by Classification DNS Light main DNS operating pressures, realize the authority classification of data.Such as one general headquarters of group subordinate multiple enterprise, we can just give Each enterprise distributes the independent DNS of oneself under group, realizes self-management, expands the independence of enterprise itself.
Domestic consumer can distinguish the load of traceability system Unified coding by terminal device (for example, mobile phone or other equipment) Body, obtains this traceability system Unified coding.Judge into row format getting to encode, with " OID:" start to be encoded to and unify to review Services Code, if form is judged to traceability system Unified coding, entrance is inquired about by calling traceability system unitary service platform Interface obtain Query Result;If it is not, then judgement is encoded to non-traceability system Unified coding, then prompting " Fei Benping is given Platform product ", end operation.
Traceability system unitary service platform inquiry portal server sets DNS and is oriented to Internet of Things root dns resolution server; When initiating traceability system Unified coding and inquiring about, reviewing of obtaining that recognizing apparatus transmit is by traceability system uniform server System Unified coding.
Traceability system Unified coding is carried out into inverted order treatment:
For example encode:1.2.156.30006.300039208.30000003.5221040842085A
It is encoded to after inverted order:5221040842085A.30000003.300039208.30006.156.2.1
Then using encoded after inverted order to Internet of Things root dns resolution server initiate parsing inquiry, if Internet of Things root DNS solve Analysis server does not return to effective result (returning to zero Authority Pointer NAPTR record);Then judge non-plateau coding of the coding, return Return prompt message " non-platform product ".
Dns resolution inquiry mode:
Step 1:Qualified NAPTR records are inquired about from the domain name list of Internet of Things root dns resolution server, and will The result record such as list to be returned for inquiring;
Step 2:Qualified NS records are inquired about from the domain name list of Internet of Things root dns resolution server, if without symbol Conjunction condition NS records then return to previous step;If there is NS records, inquiry request is committed to the dns resolution server, received The dns resolution server of inquiry request repeats dns resolution query steps 1 and 2 until recurrence terminates.
Return value is inquired about in dns resolution:In dns resolution inquiry, no matter the NAPTR for inquiring is recorded as how many;Will knot Fruit returns directly to initiate inquiry server.
If dns resolution server returns to NAPTR records (including one or more), the Pref values of information minimum is obtained The Regexp values of information in first NAPTR information, determine the Information service address and configuration parameter of the NAPTR main bodys.
Extract the parsing address in information agent and analytic parameter:
That is http://npc.iotcrc.com:8080/index.asmx/SearchCode=01100 { 2 } { 1 } { 0 } portion Point,
It is replaced using the traceability system Unified coding after inverted order;Final parsing address is:
http://npc.iotcrc.com:8080/index.asmx/SearchCode= 01100300039208300000035221040842085A
Final parsing address is accessed, if the address cannot access, " the product back-tracing server can not be visited return information Ask, please wait a moment accesses ", and alert log is recorded, enterprise's settlement server inaccessible problem is reviewed by keeper's contact.If visiting Ask that address is normal, returning result " commodity do not exist ", then " traceability system unitary service platform does not exist the commodity to return information Information, PLSCONFM product whether certified products ".If correctly inquiring the product back-tracing information;The product back-tracing is believed by interface then Breath backward reference end.
To sum up, the treatment logic of user terminal is:User terminal is distinguished to unification and reviews flat by mobile phone or professional handheld device Platform is encoded, and the carrier of unified trace platform coding can be Quick Response Code, high frequency ultrahigh frequency electronic tag, the common vector such as bar code. By correspondence technology access dns resolution server, the public open interface tracing information of correspondence enterprise is obtained.
As shown in figure 3, the Internet of Things of the embodiment of the present invention unifies traceability system, including traceability system unitary service platform 100th, enterprises end 200 and user terminal 300.Wherein, user distinguishes Internet of Things Unified coding by user terminal 300, inquires the volume The tracing information of code corresponding goods.Enterprises end 200 is chased after by configuring the Internet of Things domain name mapping of oneself and building the public of oneself The data-interface that traces back is realized to the access for reviewing the unified platform.
Specifically, traceability system unitary service platform 100 is matched somebody with somebody for user management, Internet of Things domain name registration and dns resolution Put, and inquiry entrance is provided, the inquiry entrance is used to realize that user accesses unitary service platform 100 by inquiring about entrance.Review Systematic unity service platform inquiry entrance is realized using Apache+PHP+Service.When being responsible for user's initiation inquiry, by DNS Resolution server obtains inquiry address and parameter configuration, then external using the parameter after replacing and this traceability system inquired about Common interface address acquisition tracing information.This part will obtain tracing information part and is described in detail in follow-up user.
Dns resolution configuration realizes that dns resolution server is solved to the query statement of user by dns resolution server Analysis, and realize the synchronous service between user and unitary service platform 100.Dns resolution server uses the program technic increased income Bind builds, and is responsible for the sensing of Query Information, and sensing includes NS records and NAPTR record.NAPTR records are responsible for parsing and are looked into The specific address and parameter configuration of inquiry;NS records are used for being directed to another dns resolution server, recurrence until inquiring responsible The NAPTR records of parsing.
Specifically, wherein, user management, including:The basic registration of user, logs in, freezing for abnormal user, gives for change close Code, changes data, modification binding mobile phone, modification binding mailbox.Wherein, the Core Feature of traceability system unitary service platform only has Parsing configuration.Internet of Things domain name registration includes:Dns search, registered domain name retrieval, domain name is put on record, domain name supervising.Internet of Things Domain name registration includes:Dns search, registered domain name retrieval, domain name is put on record, domain name supervising.
In one embodiment of the invention, traceability system unitary service platform 100 uses Apache+PHP+Service Technology realizes that dns resolution server is built using the program technic bind for increasing income.
Traceability system unitary service platform 100 is used to receive the registration request from enterprises end 200, and after examination & verification passes through Ratify the Internet of Things domain name of the enterprise, using dns resolution server by enterprise's custom coding escape for traceability system is unified to compile The inverted order of code.
It should be noted that aptitude checking is not by the repeatable submission networking domain name application for registration of enterprise, until examination & verification Pass through, obtain Internet of Things domain name;Or abandon Internet of Things domain name registration, then cannot carry out subsequent operation and cannot access to review be System unitary service platform.
After aptitude checking passes through, enterprise's custom coding escape is traceability system Unified coding by platform.Wherein, review and be System Unified coding is encoded using OID, and its form is that traceability system Unified coding form is that Internet of Things domain name+" "+enterprise is self-defined Coding.OID has layering flexibly, the features such as scalability is strong, be suitable as between existing various encoding schemes what is swapped First identifier mechanism.No matter in business administration how hierarchical layered, how enterprise product to be classified, can be solved using OID.
Enterprise is configured into the configuration interface of traceability system unitary service platform 100, and data will be parsed after the completion of configuration Dns resolution server is synchronized to, judges whether configuration is correct, and the enterprise accesses unification if correct by dns resolution server Trace platform success, then can inquire about the product back-tracing information of enterprise by the Internet of Things domain logon.
Traceability system unitary service platform 100 receives the inquiry request from user terminal 300, and judges chasing after for inquiry request Whether preset format is encoded the Services Code that traces back, if it is, being parsed to inquiry request by dns resolution server, is extracted Parsing address and analytic parameter, are replaced using the traceability system Unified coding after inverted order, to obtain final parsing address, are visited The product back-tracing information of the final parsing address acquisition requesting query is asked, and returns to user terminal.
Specifically, dns resolution server is used to generate NS records and NAPTR records according to Query Information, wherein, NAPTR Record the inquiry address for parsing inquiry request and parameter configuration;NS is recorded for being directed to another dns resolution server, Recurrence is until inquire the NAPTR records for being responsible for parsing.
NAPTR (Naming Authority Pointer, NAPTR), is one kind of uniform resource identifier URI Definition format, is parsed mainly for product.Similar with ENUM technologies, NAPTR is to be mapped as Internet of Things domain name Record in DNS systems, by way of DNS Internet of Things domain name is addressed, distributed hierarchy addressing is carried out to Internet of Things domain name, will Internet of Things parsing is directed to the single product trace back data provided by service or file.At present, Internet of Things domain name center can manage Domain name can only reach enterprise-level, and the tracing information of product can only be parsed using NAPTR.
NS records are name server records, are used to specify the domain name by which dns resolution server to be parsed.Make Used in such as group, large enterprise etc. has ready conditions and sets up in the environment of itself dns resolution server, can be subtracted by Classification DNS Light main DNS operating pressures, realize the authority classification of data.Such as one general headquarters of group subordinate multiple enterprise, we can just give Each enterprise distributes the independent DNS of oneself under group, realizes self-management, expands the independence of enterprise itself.
Traceability system unitary service platform inquiry portal server sets DNS and is oriented to Internet of Things root dns resolution server; When initiating traceability system Unified coding and inquiring about, reviewing of obtaining that recognizing apparatus transmit is by traceability system uniform server System Unified coding, inverted order treatment is carried out by traceability system Unified coding.Then using being encoded after inverted order to Internet of Things root dns resolution Server initiates parsing inquiry, if Internet of Things root dns resolution server does not return to effective result and (returns to zero Authority Pointer NAPTR is recorded);Then judge non-plateau coding of the coding, return to prompt message " non-platform product ".
Internet of Things according to embodiments of the present invention unifies the implementation and system of trace platform, using more flexible Used as baseline encoded, OID can easily compatible its each enterprise's custom coding, EPC, Ucode etc., then by DNS for OID Mechanism for resolving realizes cross-system, the cross-platform, cross-region reviewed.Dns resolution technology has stability reliability, can distribution portion The advantages of administration, major-minor redundancy.The present invention realizes the single entrance of trace field, reduces consumer because various softwares or instrument Disunity and abandon reviewing, each traceability system accesses this platform by easy mode;Enterprise product is respectively reviewed from this realization Upstream and downstream information mutual communication, and consumption terminal single entrance, it is possible to reduce respectively review enterprise be promote itself product it is various Expenditure, consumer also can really use traceability system, enjoy active brought benefit of tracing back.The enterprise of existing traceability system Modification amount to original system is minimum, it is only necessary to developing and opening data-interface, compatible various traceability system coding structures.The present invention Existing reviewing in system is solved to do things in his own way, it is incompatible;Cross-system, the cross-platform, cross-region reviewed cannot be realized, and The problem of the powerless traceability system for building oneself of small business.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means to combine specific features, structure, material or spy that the embodiment or example are described Point is contained at least one embodiment of the invention or example.In this manual, to the schematic representation of above-mentioned term not Necessarily refer to identical embodiment or example.And, the specific features of description, structure, material or feature can be any One or more embodiments or example in combine in an appropriate manner.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art is not departing from principle of the invention and objective In the case of above-described embodiment can be changed within the scope of the invention, change, replace and modification.The scope of the present invention By appended claims and its equivalent limit.

Claims (10)

1. a kind of Internet of Things unifies the implementation of trace platform, it is characterised in that comprise the following steps:
Step S1, builds and configures traceability system unitary service platform, including:
Traceability system unitary service platform is built, configuration feature includes:User management, Internet of Things domain name registration and dns resolution are matched somebody with somebody Put,
Construction platform inquires about entrance, for realizing that user accesses unitary service platform by the inquiry entrance;
Dns resolution server is built, for being parsed to the query statement of user by the dns resolution server;
Synchronous service is built, for realizing the synchronous service between user and unitary service platform;
Step S2, the traceability system unitary service platform receives the registration request for reviewing enterprise, and ratifies after examination & verification passes through The Internet of Things domain name of the enterprise, by the escape of enterprise custom coding is traceability system Unified coding using dns resolution server Inverted order, enterprise is configured into traceability system unitary service platform configuration interface, and data syn-chronization will be parsed extremely after the completion of configuration Dns resolution server, judges whether configuration is correct, and the enterprise accesses unification and chases after if correct by the dns resolution server The platform that traces back success, then can inquire about the product back-tracing information of enterprise by the Internet of Things domain logon;
Step S3, the traceability system unitary service platform receives the inquiry request that user is sent by terminal device, and judges Whether preset format is encoded the Services Code of reviewing of the inquiry request, if it is, being looked into described by dns resolution server Ask request to be parsed, extract parsing address and analytic parameter, be replaced using the traceability system Unified coding after inverted order, with Final parsing address is obtained, the product back-tracing information of the final parsing address acquisition requesting query is accessed, and returns to user's Terminal device.
2. Internet of Things as claimed in claim 1 unifies the implementation of trace platform, it is characterised in that the traceability system system One service platform realizes that the dns resolution server uses the program technic increased income using Apache+PHP+Service technologies Bind builds.
3. Internet of Things as claimed in claim 1 unifies the implementation of trace platform, it is characterised in that in the step S2 In, the traceability system Unified coding using OID encode, its form be traceability system Unified coding form be Internet of Things domain name+ " "+enterprise custom coding.
4. Internet of Things as claimed in claim 1 unifies the implementation of trace platform, it is characterised in that in the step S3 In, it is described the inquiry request is parsed by dns resolution server, parsing address and analytic parameter are extracted, including such as Lower step:
The dns resolution server is used to generate NS records and NAPTR records according to the Query Information, wherein, the NAPTR Record the parsing address for parsing inquiry request and analytic parameter;The NS is recorded for being directed to another dns resolution clothes Business device, recurrence are until inquire the NAPTR records for being responsible for parsing.
5. Internet of Things as claimed in claim 1 unifies the implementation of trace platform, it is characterised in that the traceability system system One service platform also provides for user management, including:The basic registration of user, logs in, freezing for abnormal user, gives for change close Code, changes data, modification binding mobile phone, modification binding mailbox;
The Internet of Things domain name registration includes:Dns search, registered domain name retrieval, domain name is put on record, domain name supervising.
6. a kind of Internet of Things unifies traceability system, it is characterised in that including:Traceability system unitary service platform, enterprises end and use Family end,
The traceability system unitary service platform is used for user management, Internet of Things domain name registration and dns resolution configuration, and offer is looked into Entrance is ask, the inquiry entrance is used to realize that user accesses unitary service platform, the dns resolution configuration by the inquiry entrance Realized by dns resolution server, the dns resolution server is parsed to the query statement of user, and realize user and Synchronous service between unitary service platform;
The traceability system unitary service platform is used to receive the registration request from the enterprises end, and is criticized after examination & verification passes through The Internet of Things domain name of the accurate enterprise, by enterprise's custom coding escape is traceability system Unified coding using dns resolution server Inverted order, enterprise configured into traceability system unitary service platform configuration interface, and data syn-chronization will be parsed after the completion of configuration To dns resolution server, judge whether configuration is correct, and the enterprise accesses unification if correct by the dns resolution server Trace platform success, then can inquire about the product back-tracing information of enterprise by the Internet of Things domain logon;
The traceability system unitary service platform receives the inquiry request from user terminal, and judges reviewing for the inquiry request Whether preset format is encoded Services Code, if it is, being parsed to the inquiry request by dns resolution server, is carried Parsing address and analytic parameter are taken, is replaced using the traceability system Unified coding after inverted order, to obtain final parsing address, The product back-tracing information of the final parsing address acquisition requesting query is accessed, and returns to user terminal.
7. Internet of Things as claimed in claim 6 unifies traceability system, it is characterised in that the traceability system unitary service platform Realized using Apache+PHP+Service technologies, the dns resolution server is built using the program technic bind for increasing income.
8. Internet of Things as claimed in claim 6 unifies traceability system, it is characterised in that the traceability system Unified coding is used OID is encoded, and its form is that traceability system Unified coding form is Internet of Things domain name+" "+enterprise custom coding.
9. Internet of Things as claimed in claim 6 unifies traceability system, it is characterised in that the dns resolution server is used for root Recorded according to Query Information generation NS records and NAPTR, wherein, the NAPTR records the inquiry for parsing inquiry request Address and parameter configuration;The NS is recorded for being directed to another dns resolution server, recurrence until inquiring responsible parsing NAPTR record.
10. Internet of Things as claimed in claim 6 unifies traceability system, it is characterised in that the traceability system uniform service is put down Platform also provides for user management, including:The basic registration of user, logs in, freezing for abnormal user, gives password, modification money for change Material, modification binding mobile phone, modification binding mailbox;The Internet of Things domain name registration includes:Dns search, registered domain name retrieval, Domain name is put on record, domain name supervising.
CN201710046520.XA 2017-01-18 2017-01-18 A kind of Internet of Things unifies the implementation and system of trace platform Pending CN106790763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710046520.XA CN106790763A (en) 2017-01-18 2017-01-18 A kind of Internet of Things unifies the implementation and system of trace platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710046520.XA CN106790763A (en) 2017-01-18 2017-01-18 A kind of Internet of Things unifies the implementation and system of trace platform

Publications (1)

Publication Number Publication Date
CN106790763A true CN106790763A (en) 2017-05-31

Family

ID=58943758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710046520.XA Pending CN106790763A (en) 2017-01-18 2017-01-18 A kind of Internet of Things unifies the implementation and system of trace platform

Country Status (1)

Country Link
CN (1) CN106790763A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107767143A (en) * 2017-10-30 2018-03-06 中国科学院计算机网络信息中心 A kind of food security electronic tracing method for directly using domain address
CN108446913A (en) * 2017-10-12 2018-08-24 南京朗赢信息技术有限公司 A kind of product quality retrospect service cloud platform
CN108510286A (en) * 2017-08-18 2018-09-07 智云天地农业信息技术(北京)有限公司 Whole industry product socialization traceability system, method and platform based on OID codings
CN108805245A (en) * 2018-06-08 2018-11-13 南京华博科技有限公司 A kind of generation method of the identity code of combination Handle
CN108875871A (en) * 2018-06-08 2018-11-23 南京华博科技有限公司 A kind of generation method of the identity code of combination OID
CN109101440A (en) * 2018-08-01 2018-12-28 浪潮软件集团有限公司 Method for processing concurrent request of trace data based on JVM (Java virtual machine) cache
CN109492151A (en) * 2018-11-12 2019-03-19 北京立思辰新技术有限公司 A kind of method and system carrying out the inquiry of electronics authority in more ticket service platforms
CN110245921A (en) * 2019-06-20 2019-09-17 普元信息技术股份有限公司 The method that data service upstream and downstream link tracing function is realized based on metadata in big data improvement
CN111079019A (en) * 2019-12-19 2020-04-28 国网冀北电力有限公司信息通信分公司 Information query method and device based on Internet of things
CN111787044A (en) * 2019-12-23 2020-10-16 北京沃东天骏信息技术有限公司 Internet of things terminal platform

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533477A (en) * 2008-03-10 2009-09-16 上海十进制网络信息科技有限公司 Information search and information exchange search process of business network and internet of things
CN101751432A (en) * 2008-12-19 2010-06-23 中国科学院计算机网络信息中心 Addressing method and system for internet of things
CN102930308A (en) * 2011-08-12 2013-02-13 马璟 Method for distributing unique identifiers (identification card) for organisms and articles based on all-figure codes and combined codes of figures and characters
CN103533094A (en) * 2013-09-17 2014-01-22 镇锡惠 Identification code all-in-one machine and identification code system
CN103927633A (en) * 2014-05-05 2014-07-16 中国科学院计算机网络信息中心 Thing information traceability system and method with relevance perception
CN204926164U (en) * 2015-06-12 2015-12-30 湖北省科技信息研究院 Product security traces back management system based on thing networking
CN105719099A (en) * 2016-01-28 2016-06-29 福州众联信息科技有限公司 IoT (Internet of Things) based tracing management system and safe tracing method of system
CN105872122A (en) * 2016-03-28 2016-08-17 中国科学院计算机网络信息中心 Internet of things identification method in support of multiple codes

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533477A (en) * 2008-03-10 2009-09-16 上海十进制网络信息科技有限公司 Information search and information exchange search process of business network and internet of things
CN101751432A (en) * 2008-12-19 2010-06-23 中国科学院计算机网络信息中心 Addressing method and system for internet of things
CN102930308A (en) * 2011-08-12 2013-02-13 马璟 Method for distributing unique identifiers (identification card) for organisms and articles based on all-figure codes and combined codes of figures and characters
CN103533094A (en) * 2013-09-17 2014-01-22 镇锡惠 Identification code all-in-one machine and identification code system
CN103927633A (en) * 2014-05-05 2014-07-16 中国科学院计算机网络信息中心 Thing information traceability system and method with relevance perception
CN204926164U (en) * 2015-06-12 2015-12-30 湖北省科技信息研究院 Product security traces back management system based on thing networking
CN105719099A (en) * 2016-01-28 2016-06-29 福州众联信息科技有限公司 IoT (Internet of Things) based tracing management system and safe tracing method of system
CN105872122A (en) * 2016-03-28 2016-08-17 中国科学院计算机网络信息中心 Internet of things identification method in support of multiple codes

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510286A (en) * 2017-08-18 2018-09-07 智云天地农业信息技术(北京)有限公司 Whole industry product socialization traceability system, method and platform based on OID codings
CN108446913A (en) * 2017-10-12 2018-08-24 南京朗赢信息技术有限公司 A kind of product quality retrospect service cloud platform
CN107767143A (en) * 2017-10-30 2018-03-06 中国科学院计算机网络信息中心 A kind of food security electronic tracing method for directly using domain address
CN108805245A (en) * 2018-06-08 2018-11-13 南京华博科技有限公司 A kind of generation method of the identity code of combination Handle
CN108875871A (en) * 2018-06-08 2018-11-23 南京华博科技有限公司 A kind of generation method of the identity code of combination OID
CN109101440A (en) * 2018-08-01 2018-12-28 浪潮软件集团有限公司 Method for processing concurrent request of trace data based on JVM (Java virtual machine) cache
CN109101440B (en) * 2018-08-01 2023-08-04 浪潮软件集团有限公司 Method for processing trace data concurrent request based on JVM (Java virtual machine) cache
CN109492151A (en) * 2018-11-12 2019-03-19 北京立思辰新技术有限公司 A kind of method and system carrying out the inquiry of electronics authority in more ticket service platforms
CN110245921A (en) * 2019-06-20 2019-09-17 普元信息技术股份有限公司 The method that data service upstream and downstream link tracing function is realized based on metadata in big data improvement
CN111079019A (en) * 2019-12-19 2020-04-28 国网冀北电力有限公司信息通信分公司 Information query method and device based on Internet of things
CN111787044A (en) * 2019-12-23 2020-10-16 北京沃东天骏信息技术有限公司 Internet of things terminal platform

Similar Documents

Publication Publication Date Title
CN106790763A (en) A kind of Internet of Things unifies the implementation and system of trace platform
CN106570728B (en) Internet + inspection detection service method and platform
CN101061500B (en) The method of dynamic product information, system, equipment and computer program are provided in short-haul connections
US20060053120A1 (en) Web service registry and method of operation
US20030158897A1 (en) Networked platform for creating and supporting communities
CN105868202A (en) Multi-platform access data management system
CN103814374B (en) information management system and method
CN111970138B (en) Network resource management and control system and resource management method
US20090271372A1 (en) Service provider framework
CN103825920A (en) Police device management method based on internet of things
Leong et al. EPC network architecture
CN101795206A (en) Method and device for realizing SNMP agent on distributed equipment
US20080154656A1 (en) Data Collection System with Document Production Capability
CN107273250A (en) The method of testing and device of electronic declaration form automatic cover system
KR102368721B1 (en) Integrated platform including transapi
TWI296093B (en)
CN103533094B (en) Coding all-in-one and coding system
CN110110051A (en) A kind of dialogue configuration method and server
CN111526039A (en) Electronic equipment opening method and device, electronic equipment and computer readable medium
Kim et al. RFID business aware framework for business process in the EPC network
CN1996989A (en) A personal page system and its realization method
CN105468752B (en) A kind of data product building system
CN101321076A (en) Wireless check system and method
CN203338404U (en) Product anti-counterfeiting system employing machine vision and based on two dimensional drawing
Ranasinghe et al. EPC network architecture

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

Application publication date: 20170531