CN102394862B - Identifier based information exchange method - Google Patents

Identifier based information exchange method Download PDF

Info

Publication number
CN102394862B
CN102394862B CN201110264818.0A CN201110264818A CN102394862B CN 102394862 B CN102394862 B CN 102394862B CN 201110264818 A CN201110264818 A CN 201110264818A CN 102394862 B CN102394862 B CN 102394862B
Authority
CN
China
Prior art keywords
idtp
server
identification code
agreement
sub
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.)
Expired - Fee Related
Application number
CN201110264818.0A
Other languages
Chinese (zh)
Other versions
CN102394862A (en
Inventor
黄能耿
张炳良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Tech-Bank Co., Ltd.
Original Assignee
WUXI SENTOMAIL NETWORK 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 WUXI SENTOMAIL NETWORK TECHNOLOGY Co Ltd filed Critical WUXI SENTOMAIL NETWORK TECHNOLOGY Co Ltd
Priority to CN201110264818.0A priority Critical patent/CN102394862B/en
Publication of CN102394862A publication Critical patent/CN102394862A/en
Application granted granted Critical
Publication of CN102394862B publication Critical patent/CN102394862B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an identifier based information exchange method. In the invention, a special register port number is adopted for the information exchange between a client terminal and a server, so that the inquiry, the data uploading, updating, adding or deleting, and other business processes of an identifier and the related information are realized. The method comprises the following steps of: sending an IDTP (Identifier Tracing Protocol) request; responding the IDTP request; and transferring the IDTP request if necessary, and has the advantages of self-analysis, secondary expandability, universality, lightweight, and the like.

Description

A kind of information switching method based on identification code
Technical field
The present invention relates to a kind of Information Exchange Agreement based on identification code, particularly, the present invention relates to a kind of identification code and inquiry string thereof of utilizing, the method for carrying out information exchange.
Background technology
The Information Exchange Agreement of identification code is a basic technology in article code system, and conventional information of identification code exchange agreement has 2 large system: EPCglobal and UID at present.
Product electronic code (Electronic Product Code, EPC) system is a set of coding scheme standard of being set up by EPCglobal, and its final goal is to set up global sign standard for each single product.Its Information Exchange System is by EPC middleware, object oriented analysis service (Object Naming Service, ONS), EPC information service (EPCInformation Service, EPC IS) form, complex structure, is the system of a heavyweight.
Ubiquitous identification (Ubiquitous ID, UID) system is set up by the ubiquitous center of Japan, its Information Exchange System is by ubiquitous communicator (Ubiquitous Communicator, UC), ucode linked database (ucode Relation Database) and ucode information server (ucode Information Server) form, and are equally also the systems of a heavyweight.
There is following deficiency in said system:
(1) they are all heavyweight systems, so system configuration is complicated, performance difficulty.
(2) their information exchange all needs coding to resolve, and must obtain by object oriented analysis service or ucode linked database the server address of memory encoding information.
The method > > (application number 201110134860.0) of an existing patent application < < universal coding has invented a kind of general coding method, the method can be used for the coding of the tangible physical entity of unique identification and invisible service product, but the method for information of identification code exchange is not described.
Summary of the invention
The technical problem solving:
On the basis of the method > > of a < < universal coding (application number 201110134860.0) invention, the present invention proposes the method for the information exchange based on identification code, for coding is inquired about, the Business Processing such as data upload, renewal, interpolation, deletion.
Technical scheme:
What the method > > of a < < universal coding (application number 201110134860.0) invention proposed is encoded to:
Sign 1! Identify 2@and identify 3 $ coding classification # domain names
Wherein identify 1, identify 2 and identify the substantial portion of 3 formations codings, and identify 1, identify 2 and coding classification (comprise corresponding list separator! @and $) be optional.
This coding is carried out to complementary definition in the present invention and by the general identification code of tracing to the source of its called after (UniversallyTraceable Identifier, is abbreviated as UTID), the complete form of UTID is:
Idtp: sub-protocol: // sign 1! Identify 2@and identify 3 $ coding classification # domain names
Wherein idtp is the title of agreement proposed by the invention, Chinese identification code by name is traced to the source, and (English full name is Identifier Tracing Protocol to agreement, be abbreviated as IDTP), sub-protocol is a character string, it defines application or the industry of sub-protocol, identify 1, identify 2 and coding classification (comprise corresponding list separator! @and $) be optional, concrete norm is specified by sub-protocol.
UTID can have reduced representation form, omits " idtp: sub-protocol: // " part, and can omit selectively sign 1, identify 2 and coding classification (comprise corresponding list separator! @and $).The representation of simplifying is mainly used in the occasions such as printing, printing and screen display, is convenient to mankind's recognition under specific context environmental.
1, the course of work of IDTP agreement
IDTP agreement is an agreement based on Web Service, the IDTP request that IDTP client is sent adopts SOAP form to be encapsulated among HttpServletRequest, and the response of IDTP server is to be also encapsulated among HttpServletResponse with SOAP form, shown in Fig. 1 is the communication process of IDTP, be IDTP client and the communicating by letter of IDTP server, and the mechanism of communicating by letter between IDTP server and IDTP server is identical therewith.
2, IDTP request
IDTP request is soap protocol data with set form, is encapsulated in and in HttpServletRequest, sends to IDTP server.Its form is as follows:
The SOAP data of IDTP request have only encapsulated 1 parameter, i.e. UTID and inquiry string thereof, and the syntax format of inquiry string is identical with the syntax format of URI inquiry string, and semanteme is defined by the sub-protocol of IDTP.
If the data volume in IDTP request is too large, also can in SOAP data, increase the quantity of parameter, during enforcement, depending on concrete condition, in sub-protocol, stipulate.
IDTP server is in fact a Web Service server, so IDTP supports to realize by inquiry string the operations such as inquiry, data upload, renewal, interpolation, deletion, service logic that equally can invoking server end complexity.
3, IDTP response
IDTP response is IDTP server after request is processed to IDTP, and the return information that IDTP server generates is encapsulated among HttpServletResponse with SOAP form, returns to IDTP client.Its semanteme and standard are defined by the sub-protocol of IDTP.
The data encapsulation form of above-mentioned IDTP request and response is not limited to SOAP form, also comprises other form that Web Service agreement is supported.
4, IDTP agency
For realizing the interoperability of IDTP agreement, should use consistent port numbers and path to visit IDTP.Therefore the present invention uses special-purpose registered port numbers (for example 25604), and access path is defined as "/idtp/ sub-protocol name ".The URL of the IDTP service that for example sub-protocol of access domain tmail.test by name is tmails is:
https://tmail.test:25604/idtp/tmails
Therefore, need under normal conditions an IDTP agency that the IDTP service that is positioned at other port or other path is mapped to port and the path of aforementioned appointment, thereby reach the requirement of interoperability.
5, forward
For further realizing the interoperability of IDTP agreement, IDTP server also needs to possess the ability that forwards IDTP request, after the IDTP request that receives client, according to the domain-name information in UTID wherein, whether automatic decision needs to forward, if need to forward, is forwarded to the server of designated domain name in UTID, and using the return information of this server as response, return to client.
Beneficial effect:
The information switching method based on identification code that the present invention proposes has following beneficial effect:
(1) realize and the business operation such as inquiry for information about of identification code UTID, data upload, renewal, interpolation, deletion, thereby realize the information exchange of UTID.
(2) from analyticity: UTID self comprises DNS domain name, can oneself resolve, directly access the domain name IDTP server pointed that UTID carries, obtain the relevant information of UTID.No longer need to set up the resolution system as ONS or ucode linked database.
(3) secondary extensibility: IDTP agreement has secondary extension mechanism, can formulate sub-protocol for different application field, different industries background or different security requirement, then under same sub-protocol, carry out again the 2nd grade of expansion, specify different classes of coding, and different classes of coding can adopt different coding criterions.
(4) universality: UTID identification code can be used for pure digi-tal coding, also can be used for character code, and character code is conducive to the mankind directly to be distinguished, and can compatible existing coding scheme, such as EPC, UID, telephone number, e-mail address etc.Therefore be a kind of coding of universality, be applicable to the coding to concrete object and abstract concept simultaneously.
(5) lightweight: UTCode acts on the free and open principle of internet, it is based upon on ripe Web Service technical foundation, simply, freedom, opening, anyone or mechanism can set up the IDTP server that level of security is minimum by very simple technology.
Accompanying drawing explanation:
Fig. 1 is the course of work of IDTP agreement.
Embodiment
The invention discloses a kind of information switching method based on identification code, is below several embodiment:
1, single product identification
On server abc.test, setting up sub-protocol is the IDTP server of product, and provides information inquiry for coding classification pid.In this case, by following URL:
https://abc.test:25604/idtp/product
Following IDTP is asked:
Figure BDA0000089812860000041
Figure BDA0000089812860000051
Send on IDTP server abc.test, the correlation circumstance of 123@20110811 (may be expressed as lot number and be 20110811 123 the product of being numbered) will be encoded in inquiry coding classification pid, such as trade name, specification, date of manufacture etc., to realize product false proof information inquiry.
Wherein concrete form and the implication of coding, parameter name and the implication thereof of inquiry string in IDTP request, and the form returning results and implication are by sub-protocol (the present embodiment is product) standard in addition.Following all embodiment are identical therewith.
2, user's registration
On server tmail.test, setting up sub-protocol is the IDTP server of tmails, and provides user management and user login services for coding classification taddress.In this case, user huang passes through following URL:
https://tmail.test:25604/idtp/tmails
Following IDTP is asked:
Figure BDA0000089812860000052
Send to IDTP server tmail.test upper, realization is logined on this server, can also omit when needed coding classification " $ taddress ", thereby user account is reduced to " huang#tmail.test ".
3, information updating
On the basis of the embodiment registering aforementioned user, after user huang registration, then submit following IDTP request to:
Figure BDA0000089812860000053
The renewal of user profile will be carried out.Similarly, can also realize the Business Processing such as data upload, renewal, interpolation, deletion.
4, request forwards
For embodiment 2 " user's registration ", if user directly submits IDTP request to tmail.test, at this moment service need to be submitted to request another IDTP server (realized equally sub-protocol be tmails IDTP serve):
https://newmail.test:25604/idtp/tmails
Server newmail.test is by the server domain tmail.test by name finding from IDTP request in UTID, at this moment server newmai l.test need to directly be forwarded to tmai l.test server by request, and returning results of tmai l.test is transmitted to original client.
The present invention, by above-described embodiment, has illustrated the use of the information switching method based on identification code that the present invention proposes.
List of references:
1, the method > > of a < < universal coding (application number 201110134860.0)
2, Huang Nenggeng, Zhang Ping Liang: the design of the general coded system of tracing to the source of < < with realize > >, will be published in < < computer software with application > > 11 phases in 2011.

Claims (1)

1. the information switching method based on identification code, adopts a special-purpose registered port numbers, and the information exchange between client and server, comprises the steps:
(1) client is sent the access request to server by only comprising the URL of protocol name and sub-protocol name in path, and uses the data that encapsulated the SOAP packet of general trace to the source identification code and inquiry string or other form of Web Service agreement support as the parameter of asking;
(2) Business Processing such as the information realization inquiry that server comprises according to general trace to the source identification code and inquiry string in request and/or data upload and/or renewal and/or interpolation and/or deletion, and with other form of SOAP form or the support of Web Service agreement, return to the result of operation;
(3) server forwards the request of client when needed, is forwarded to the server of appointment in the general identification code of tracing to the source, and the result obtaining is forwarded and returns to this client;
In the described general identification code of tracing to the source, each yard of section is defined as respectively protocol name, sub-protocol name, coding, coding classification and server domain name;
The agreement IDTP by name of the described general identification code of tracing to the source, IDTP is the identification code agreement of tracing to the source, IDTP agreement is an agreement based on Web Service, IDTP that IDTP client is sent request adopts SOAP form to be encapsulated among HttpServletRequest, and the response of IDTP server is to be also encapsulated among HttpServletResponse with SOAP form; And can define a plurality of sub-protocols, and being applied to different fields, sub-protocol is a character string, it defines application or the industry of sub-protocol.
CN201110264818.0A 2011-09-08 2011-09-08 Identifier based information exchange method Expired - Fee Related CN102394862B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110264818.0A CN102394862B (en) 2011-09-08 2011-09-08 Identifier based information exchange method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110264818.0A CN102394862B (en) 2011-09-08 2011-09-08 Identifier based information exchange method

Publications (2)

Publication Number Publication Date
CN102394862A CN102394862A (en) 2012-03-28
CN102394862B true CN102394862B (en) 2014-01-29

Family

ID=45862071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110264818.0A Expired - Fee Related CN102394862B (en) 2011-09-08 2011-09-08 Identifier based information exchange method

Country Status (1)

Country Link
CN (1) CN102394862B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7917382B2 (en) * 2003-03-05 2011-03-29 Teradata Us, Inc. Integration of visualizations, reports, and data
CN100486208C (en) * 2003-12-30 2009-05-06 上海交通大学 Medium network station content monitoring information unified storage and alternating method
CN101533477A (en) * 2008-03-10 2009-09-16 上海十进制网络信息科技有限公司 Information search and information exchange search process of business network and internet of things
CN101751432B (en) * 2008-12-19 2013-04-17 中国科学院计算机网络信息中心 Addressing method and system for internet of things

Also Published As

Publication number Publication date
CN102394862A (en) 2012-03-28

Similar Documents

Publication Publication Date Title
Koshizuka et al. Ubiquitous ID: standards for ubiquitous computing and the internet of things
US9794321B2 (en) System, method and a tag for mapping tagged objects to context-aware applications
CN102947824A (en) System and method of addressing and accessing information using a keyword identifier
WO2014130291A1 (en) Context-aware tagging for augmented reality environments
US20100169761A1 (en) Computer and method for converting a web page
CN104410649B (en) Based on Identity Code across screen synchronous login method
CN103546593A (en) Wireless sensor network node identifier analyzing method based on IP and non-IP
CN110442611B (en) Automatic inquiring method and system for company brand domain name
CN109844732B (en) Determining geolocation of an IP address using user transformations over time
US20130212117A1 (en) Discovery of Asset Information Through Scanning of Communication Tags Associated with Assets
CN102394862B (en) Identifier based information exchange method
CN101014021B (en) Method, system and client for searching user in instant messaging client
KR101559152B1 (en) Method for sharing online information by camera image input and text recognition of universally unique character string information id and system thereof
CN106959975B (en) Transcoding resource cache processing method, device and equipment
CN101626628B (en) Digital number and web address mapping and pushing system
CN103793516B (en) Method and device for obtaining URL icon
CN103903036A (en) High-capacity easily-updated two-dimensional code system
CN107707648B (en) Credible positioning method
CN109451083A (en) Space structure part industry Internet of Things identify highly reliable resolution system
CN103222252A (en) Service access apparatus, method, computer program and computer program product for selective initiation of communication
KR101018787B1 (en) System for searching information using internet
KR20040014744A (en) System and Method for providing URL using pattern, and method for acquiring the network resource by using the same
JP2003052072A (en) Information access method and information access system
CN104102891A (en) Information interaction method based on two dimension code, and mobile terminal
CN114765738B (en) Geographic position determining method and device based on wireless network address and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: NINGBO TECH-BANK CO., LTD.

Free format text: FORMER OWNER: WUXI NEW WAY THINGS POST NETWORK TECHNOLOGY CO., LTD.

Effective date: 20150715

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150715

Address after: Yuli 315400 Yuyao Road, Zhejiang province Ningbo City Sunshine International A No. 55 room 1805

Patentee after: Ningbo Tech-Bank Co., Ltd.

Address before: Jinxi road Binhu District 214081 Jiangsu city of Wuxi province No. 100

Patentee before: Wuxi sentomail Network Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140129

Termination date: 20150908

EXPY Termination of patent right or utility model