Background technology
Internet of Things is by radio-frequency (RF) identification (RFID), infrared (IR), global positioning system information gathering equipment such as (GPS), automatically realize the information perception of various objects, and be connected with information processing, application system, thereby realize all kinds of intelligent Application by the Internet.In order to set up the Internet of Things on the global meaning, need description, search, the access mechanism of a cover information source, the data that the awareness apparatus that application system can be used easily be distributed in all parts of the world is gathered.
Industry is set up this mechanism mainly based on the open Web service method at present, promptly promote tissue based on OASIS(structured message standard), the W3C(World Wide Web Consortium), WS-I(Web service interoperability tissue) be the relevant criterion (as XML, WSDL, BPEL, SOAP, HTTP etc.) of international organization's formulation of representative, all application, equipment is all abstract in Web service, describe, make up, bind grammer by Web service, realize mutual interoperability.But, because these systems need compatible all in the world services, and present " service " become comprehensive IT noun, therefore these standards when becoming better and approaching perfection day by day, also become comparatively too fat to move, complicated through constantly expanding, cause exploitation, configuration need have very high technical level, be difficult to be grasped by vast Internet of Things participant and use, cause it can't adapt to Internet of Things and use the constantly needs of rapid growth, be difficult to become the popular technology in Internet of Things epoch.
Association of OGC(open geographic information system of international organization) task scheduling with transducer discovery, dependent observation, observation data exchange and processing and transducer and sensing system is a target, formulated a cover transducer Web and enabled (SWE) system, the observation service (SOS), intended services (SPS), alert service (SAS), notification service (SNS) of relevant transducer etc. are provided to the sensor information user.SWE provides one of Web service to implement version targetedly because be absorbed in the visit of transducer, has reduced the complexity when the Web service system is applied to the sensor information visit, has improved operability.Yet, SOS is at the transducer original information source, SPS, SAS, SNS are then at the various combination information source that comprises service logic information, the difference that its service is used just causes the user still to need to visit above-mentioned serve port in a different manner respectively, and transducer also must provide corresponding various port to prepare against these service calls.This continues to remain on level than higher with regard to the design difficulty that makes transducer, application.
There is following an open question still in the visit of at present relevant Internet of Things information source:
1. for awareness apparatus such as transducer, label readers with comprise the rule of combination of basic service logic, lack unified information source describing method, cause the design complexities of application access higher;
2. present transducer Web enable mechanism requires awareness apparatus to provide multiple Web service to support different access modes, causes the design complexities of awareness apparatus higher.
Therefore, industry presses for a kind of be absorbed in description and access method the Internet of Things information source, that simplify, and with unified description of holder networking awareness apparatus, and application system is to the efficient access of the Internet of Things awareness apparatus disposed.
Summary of the invention
Purpose of the present invention just is that providing a kind of addresses the above problem, and can unify to describe and registration to information source, uses for industry, and can simplify unified the description and access method of Internet of Things information source of the design of application and awareness apparatus.
To achieve these goals, the technical solution used in the present invention is: a kind of Internet of Things information source is unified to be described and access method, and this method is to finish the registration of information source, the unified description and visit by the server on the Internet, and it is specially:
A. receive the user's of the deployer of Internet of Things awareness apparatus and/or data register requirement, and authorize, described awareness apparatus is transducer or label reader;
B. receive the registration of deployer, generate the single information source serve port and the description thereof of its correspondence automatically awareness apparatus;
C. receive deployer or user's rule of combination definition, generate combined information source serve port and description thereof automatically;
D. store to single information source and combined information source unified distribution sign, and to serve port and description thereof;
E. receive user's retrieval request, search serve port and description thereof;
F1. the user visits the awareness apparatus port that single information source is pointed to, and obtains data; Or
F2. user's access services port;
F21. when for the serve port of single information source, server obtains single information source awareness apparatus data pointed;
F22. when for the serve port in combined information source, server defines according to rule of combination, is decomposed into the serve port of single information source, carries out F21, again according to the rule of combination definition, is the data in this combined information source with the data combination of single information source;
F23. server transmits data to the user.
As preferably: step F 21 is specially: the single information source of server access awareness apparatus pointed obtains data, or awareness apparatus active upload data are to server.
As preferably: step F 23 is specially: user initiatively access server obtains data, or user and server set up the data subscribing relationship, and server sends the data to the user according to subscribing relationship.
As preferably: the information source serve port comprises that data upload port, data subscribe to port and data access port, and its description comprises the deployment mechanism of information source, the data item that comprises, serve port and access control scheme.
As preferably: rule of combination has defined the mathematics and the logic dependence of data between single information source and/or the combined information source, and the dependence of data access between the serve port has been set up according to rule of combination in the combined information source.
Compared with prior art, the invention has the advantages that:
1. adopt the uniform way registration and describe the transducer on the Internet of Things, the single information source that this class awareness apparatus of label reader is produced, also adopted the rule of combination definition, the combined information source is also registered and described, not only realized the unified inlet of various types of information sources retrieval, and the user can use unified serve port visit information source, no matter information source is single information source or combined information source, thereby greatly reduces Internet of Things application and development complexity.
2. all kinds of awareness apparatus only need possess and the data in server transmission capacity, the information source that can form various complexity by rule of combination, server can be according to the rule of combination that is included in the combined information source, resolve user's data access, the unified data passes that is converted between server and the awareness apparatus.This has reduced the specification requirement to awareness apparatus, thereby makes the Internet of Things can compatible a greater variety of awareness apparatus.
Embodiment
The invention will be further described below in conjunction with accompanying drawing.
Embodiment 1: referring to Fig. 1, Fig. 2, a kind of Internet of Things information source is unified to be described and access method, and this method is to finish the registration of information source, the unified description and visit by the server on the Internet, before this method of use, needs to set up as lower platform.
Set up registration center, visit center and flow center on the internet, this three is server or other has the equipment of storage, disposal ability, can realize the mutual of data by the Internet, also need in addition single information source and user are inserted the Internet, wherein:
One, registration center provides following webpage or serve port:
Institute registration: its major function is to register and obtain the authorization for the deployer of Internet of Things information source and user, as usage platform issue and the authentication infrastructure that uses information source, visit statistics and charge.
Awareness apparatus registration: its major function is to register the transducer, label reader etc. of its deployment for the deployer, registration center checks the log-on message integrality, the correctness of verification msg port validity and description thereof, automatically generate serve port and description thereof, the assignment information source identifies, and this serve port is deployed in the visit center.
The rule of combination definition: its major function is for deployer, user or application developers definition information combination rule, registration center checks combination grammer, assignment information source sign, automatically generate the serve port and the description thereof of information source, and this serve port is deployed in the visit center.
The information source retrieval: its major function is the information retrieval function that all information sources are provided to the user of information source.
Authentication service: its major function is that mechanism and the individual authentication service that provides about mechanism, information source, subscription etc. are provided.
Two, the visit center provides following webpage or serve port:
Serve resident: for registration center its information source service arrangement that generates is automatically arrived the visit center, for user's binding.
Data upload: a passive data acquisition serve port, call for single information source, to upload its data to the visit center.These data can be cushioned, be filtered in the visit center according to the agreement of subscribing to information gathering cycle, filtercondition etc.
Data are obtained: the unified information issuing service port in single, a combined information source, call for the user, and obtaining the information that information source provides, and the situation that each information is obtained is registered to the flow center.
Data are subscribed to: the unified information issuing service port in single, a combined information source, and the confession user calls, and to set up the data subscribing relationship between user and the information source, the visit center sends the data to the user according to subscribing relationship.
If information source is the combined information source, then registration center forms this combined information source automatically and forms obtaining or subscribing relationship between the information source in this combined information source.Registration center obtains these or the information of subscription and related information source is distributed to the visit center directly or indirectly.When information source, when subscribing to the generation change, in time inform the visit center.
Three, the flow center provides following webpage or serve port:
1. flow registration: its major function is for register information source, visit center service recorder.
2. traffic statistics: its major function is according to service recorder, statistical information source use traffic, and as the benchmark of user's payment information source supplier's information usage charges or other fees, and the basis of network supervision, traffic statistics, charging and QoS etc.
Four, awareness apparatus is inserted the Internet
1. awareness apparatus comprises transducer, label reader, and awareness apparatus can directly insert the Internet, or inserts the Internet by equipment such as host computer, fusion devices.
2. awareness apparatus need have the serve port that data are obtained, or has the ability of binding visit central information subscription service port.
3. awareness apparatus becomes single information source after registration center's registration, checking, encapsulation.
Five, the user is inserted the Internet
1. the user can be computer, embedded device or other application that need use Internet of Things information, terminal etc.
2. the user need have the serve port of Data Receiving, or has the ability of binding visit centre data upload service port.
Above-mentioned one, two, three, four, five, these five steps, no permanent order, set up good getting final product, and when follow-up daily registration, browsing process are carried out, above-mentioned two, three, four, five steps also may be performed repeatedly, so that Internet of Things holds increasing information source, user and visit center.
And realize a complete information source registration and a visit, its step is as follows:
1. the institute registration port of registration center receives the user's of the deployer of Internet of Things awareness apparatus and/or data register requirement, and authorizes, and described awareness apparatus is transducer or label reader; For example the deployer is the environmental monitoring station in certain city, and the user is the Police Command Center in certain city; Deployer and user can also can register in registration center respectively independently simultaneously in registration center's registration.
2. the awareness apparatus registered port of registration center to the register requirement of awareness apparatus (for example: a sulfur dioxide SO who is deployed in certain zone, city receives the deployer
2Concentration detector and a nitrogen dioxide NO
2The concentration detector), check the log-on message integrality, the correctness of verification msg port validity and description thereof, automatically generate the serve port and the description thereof of the single information source of its correspondence, and this serve port is deployed in the visit center, wherein the information source serve port comprises data upload port, data subscription port and data access port, and its description comprises the deployment mechanism of information source, the data item that comprises, serve port and access control scheme.
3. rule of combination definition port reception deployer or user's rule of combination definition (for example: according to the regional SO in certain city
2And NO
2Concentration judges comprehensively whether this regional atmospheric environmental pollution surpasses warning line), check the combination grammer, generate combined information source serve port and description thereof automatically; The definien in combined information source becomes the deployer of this information source, rule of combination has defined the mathematics and the logic dependence of data between single information source, the combined information source, the combined information source is according to rule of combination, set up the dependence of data access between the serve port, this rule of combination, can be divided into these several situations of single information source and single information source, single information source and combined information source, combined information source and combined information source, but no matter be that is a kind of, rule of combination definition final all is the relation that is decomposed into single information source serve port.
4. to single information source and combined information source unified distribution sign, as SO
2Concentration detector and NO
2The concentration detector is respectively 1203A information source, 1203B information source, the combined information source is the 1426A information source, and serve port and description thereof are stored, for user's binding, present embodiment serve port and description thereof are stored in the registration center, but its service resides in the visit in the heart.
5. the information source retrieval port of registration center receives user's retrieval request, searches serve port and description thereof; Here searching of indication is meant in the server database of registration center and searches.
After finding serve port, if the serve port of single information source, the user can directly visit the awareness apparatus of its sensing, also can obtain data indirectly by the visit center, if the combined information source then can only obtain data indirectly by the visit center; The indirect acquisition data here refer to that the user has bound the information source serve port at visit center, and the data upload of awareness apparatus is to the visit center, and are cushioned, store, sent to the user by the visit center.This section description specifically can be divided into following several situation:
6. if the serve port of single information source, user's awareness apparatus direct and its sensing connects, realize data interaction, at this moment, realize the method for data interaction, can be specially the data access port that the user visits awareness apparatus and obtain data, or awareness apparatus active upload data are to user's Data Receiving port.
7. if the serve port of single information source, the visit center obtains single information source awareness apparatus data pointed, sends data to user by the visit center again, is specially:
(1) user obtains data by serve port, and the visit center is visited the data access port of single information source awareness apparatus pointed and obtained data, or awareness apparatus active upload data are to the Data Receiving port at visit center;
(2) execution in step 9.
8. if the serve port in combined information source, the visit center needs to obtain earlier the single information source awareness apparatus data pointed of its correspondence, after the combination, sends data to user by the visit center again, is specially:
(1) the visit center defines according to rule of combination, is decomposed into the serve port of single information source, carries out the step (1) in the above-mentioned steps 7;
(2), be the data in this combined information source with the data combination of single information source again according to rule of combination definition;
(3) execution in step 9.
9. the mind-set user transmits data in the visit.At this, the mind-set user transmits data and can be divided into two kinds of situations again in the visit, and user initiatively access center obtains data or user and visit center and sets up the data subscribing relationship, and the visit center sends the data to the user according to subscribing relationship.
Utilize the flow center that flow is registered and added up at last, be specially:
10 flows registrations: the visit center with above-mentioned information obtain, the information subscribing process record, be dealt into the flow center and carry out record.
11. traffic statistics: the flow center is added up the message reference flow, generation is for user, deployer's charge, paying foundation, and can be for registration center, deployer, user and other Internet of Things equipment, the user basis as network supervision, traffic statistics, charging and QoS etc.
12. in the said process, registration center provides the authentication service of appropriate authority, information source, subscription etc. for mechanism, visit center, flow center.
13 above-mentioned 1 ~ 12 steps are removed outside the step 9, there is no certain sequencing, and may be performed repeatedly, so that Internet of Things holds more information source, user, subscription, information and function.
Embodiment 2:
The present invention removes flow center and associated step on the basis of embodiment 1, only set up registration center and visit center, and all the other are identical with embodiment 1.
The present invention can also support the multilingual environment when design.