Background technology
Internet of Things is by information collecting devices such as radio-frequency (RF) identification (RFID), infrared (IR), global positioning systems (GPS), automatically realize the information Perception of various objects, and be connected with information processing, application system by the Internet, thereby realize all kinds of intelligent Application.In order to set up the Internet of Things on global significance, 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 gathers.
Industry is set up the method that this mechanism is mainly served based on open Web at present, namely promote tissue take OASIS(structured message standard), the W3C(World Wide Web Consortium), WS-I(Web service interoperation tissue) for the relevant criterion (as XML, WSDL, BPEL, SOAP, HTTP etc.) of international organization's formulation of representative be basic, 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 service in the world, and present " service " become comprehensive IT noun, therefore these standards through constantly expanding, when becoming better and approaching perfection day by day, also become comparatively too fat to move, complicated, cause exploitation, configuration need to have very high technical level, be difficult to grasped and use by vast Internet of Things participant, 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) take the task scheduling of transducer discovery, dependent observation, observation data exchange and processing and transducer and sensing system as 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 targetedly version because be absorbed in the access of transducer, has reduced the complexity when the Web service system is applied to the sensor information access, has improved operability.Yet, SOS is for the transducer original information source, SPS, SAS, SNS are for 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 access respectively in a different manner above-mentioned serve port, and transducer also must provide corresponding various port to prepare against these service calls.This continues to remain on higher level with regard to the design difficulty that makes transducer, application.
There is following still an open question in the access 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 is absorbed in description and access method the Internet of Things information source, that simplify in the urgent need to a kind of, 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, can unify to describe and registration to information source, and for industry, and unified the description and access method of Internet of Things information source that can simplify 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 the method is to complete the registration of information source, the unified description and access by the server on the Internet, and it is specially:
A. the user's of the deployer of receiver networking awareness apparatus and/or data registration request, and mandate, described awareness apparatus is transducer or label reader;
B. receive the deployer to the registration of awareness apparatus, automatically generate its corresponding single piece of information source serve port and description thereof, described 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;
C. receive deployer or user's rule of combination definition, automatically generate combined information source serve port and description thereof;
D. single piece of information source and combined information source unified distribution are identified, and serve port and description thereof are stored;
E. receive user's retrieval request, search serve port and description thereof;
F1. the user accesses the awareness apparatus port of single piece of information source sensing, obtains data; Or
F2. user's access services port;
F21. when for the serve port in single piece of information source, server obtains single piece of 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 in single piece of information source, carries out F21, then according to the rule of combination definition, the data in single piece of information source is combined as the data in this combined information source;
F23. server transmits data to the user.
As preferably: step F 21 is specially: server access single piece of information source awareness apparatus pointed obtains data, or awareness apparatus active upload data are to server.
As preferably: step F 23 is specially: user initiatively access services device obtains data, or user and server set up the data subscription relation, and server sends the data to the user according to subscribing relationship.
As preferably: rule of combination has defined mathematics and the logic dependence of data between single piece of information source and/or combined information source, and the dependence of data access between 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 unified mode to register and describe the transducer on Internet of Things, the single piece of information source that this class awareness apparatus of label reader produces, also adopted the rule of combination definition, to the combined information source also registering and describe, not only realized the unified entrance of various types of information sources retrieval, and the user can use unified serve port visit information source, no matter information source is single piece of 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 the data transmission capacity with server, can form by rule of combination the information source of various complexity, 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 transmission that is converted between server and 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 the method is to complete the registration of information source, the unified description and access by the server on the Internet, before using the method, needs to set up as lower platform.
Set up on the internet registration center, access center and flow center, this three is server or other has the equipment of storage, disposal ability, can realize the mutual of data by the Internet, also need with single piece of information source and user's accessing Internet, wherein in addition:
One, registration center provides following webpage or serve port:
Institute registration: its major function is to supply deployer and the user of Internet of Things information source register and obtain the authorization, as the authentication infrastructure of usage platform issue and use information source, access statistics and charging.
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, assignment information source sign, and this serve port is deployed in the access 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 serve port and the description thereof in information generated source, and this serve port is deployed in the access center.
The information source retrieval: its major function is that the information retrieval function of all information sources is 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 access center provides following webpage or serve port:
Serve resident: for registration center with its information source service arrangement that automatically generates to the access center, for user's binding.
Data upload: a passive data acquisition serve port, for the single piece of information source calling, to upload its data to the access center.These data can be cushioned, be filtered in the access center according to the agreement of subscribing to information gathering cycle, filtercondition etc.
Data acquisition: the unified information issuing service port in single, a combined information source, call for the user, the information that provides with the obtaining information source, and the situation of each acquisition of information is registered to the flow center.
Data subscription: the unified information issuing service port in single, a combined information source, call for the user, setting up the data subscription relation between user and information source, the access center sends the data to the user according to subscribing relationship.
If information source is the combined information source, registration center automatically forms this combined information source 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 access center directly or indirectly.When information source, when change subscribe to occur, in time inform the access center.
Three, the flow center provides following webpage or serve port:
1. flow registration: its major function is for register information source, access center record.
2. traffic statistics: its major function is according to using record, 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, with the awareness apparatus accessing Internet
1. awareness apparatus comprises transducer, label reader, and awareness apparatus is accessing Internet directly, or by the equipment access such as host computer, fusion device the Internet.
2. awareness apparatus need to have the serve port of data acquisition, or has the ability of binding access central information subscription service port.
3. awareness apparatus is after registration center registration, checking, encapsulation, becomes the single piece of information source.
Five, with user's accessing Internet
1. the user can be computer, embedded device or other application that need to use Internet of Things information, terminal etc.
2. the user need to have the serve port of data receiver, or has the ability of binding access centre data upload service port.
Above-mentioned one, two, three, four, five, this five steps, without permanent order, establish and get 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 access center.
And realize complete information source registration and an access, its step is as follows:
1. the institute registration port of registration center, the deployer of receiver networking awareness apparatus and/or the user's of data registration request, and authorize, 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 simultaneously in registration center's registration, also can register in registration center respectively independently.
2. the awareness apparatus registered port of registration center to the registration request 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 serve port and the description thereof in its corresponding single piece of information source, and this serve port is deployed in the access 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: the SO regional according to certain city
2And NO
2Concentration judges comprehensively whether this Regional Atmospheric Environment pollution surpasses warning line), check the combination grammer, automatically generate combined information source serve port and description thereof; The definien in combined information source becomes the deployer of this information source, rule of combination has defined mathematics and the logic dependence of data between single piece of information source, combined information source, the combined information source is according to rule of combination, set up the dependence of data access between serve port, this rule of combination, can be divided into single piece of information source and single piece of information source, single piece of information source and combined information source, combined information source and these several situations of combined information source, but no matter be that is a kind of, rule of combination definition final is all the relation that is decomposed into single piece of information source serve port.
4. to single piece of 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, the present embodiment serve port and description thereof are stored in registration center, but its service resides in access 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, refer to search in the server database of registration center.
After finding serve port, if the serve port in single piece of information source, the user can directly access the awareness apparatus of its sensing, also can indirectly obtain data by the access center, if the combined information source can only obtain data indirectly by the access center; The indirect acquisition data here instigate the user to bind the information source serve port at access center, and the data upload of awareness apparatus is to the access center, and by the access center cushioning, store, send to the user.This section description specifically can be divided into following several situation:
6. if the serve port in single piece of information source, the user directly and the awareness apparatus of its sensing connect, realize data interaction, at this moment, realize the method for data interaction, can be specially the data access port that the user accesses awareness apparatus and obtain data, or awareness apparatus active upload data are to user's data receiver port.
7. if the serve port in single piece of information source, access center obtain single piece of information source awareness apparatus data pointed, then send data to user by the access center, be specially:
(1) user obtains data by serve port, and the data access port of the awareness apparatus that access single piece of information source, access center is pointed is obtained data, or awareness apparatus active upload data are to the data receiver port at access center;
(2) execution in step 9.
8. if the serve port in combined information source, access center need first obtain its corresponding single piece of information source awareness apparatus data pointed, after combination, then send data to user by the access center, be specially:
(1) the access center defines according to rule of combination, is decomposed into the serve port in single piece of information source, carries out the step (1) in above-mentioned steps 7;
(2) again according to rule of combination definition, the data in single piece of information source are combined as the data in this combined information source;
(3) execution in step 9.
9. in the access, the mind-set user transmits data.At this, in access, the mind-set user transmits data and can be divided into again two kinds of situations, and user initiatively access center obtains data or user and the data subscription relation is set up at the access center, and the access center sends the data to the user according to subscribing relationship.
Utilize at last the flow center that flow is registered and added up, be specially:
10 flows registrations: the access center is above-mentioned acquisition of information, information subscribing process record, is dealt into the flow center and carries 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 said process, registration center is the authentication service that mechanism, access center, flow center provides shutting mechanism, information source, subscription etc.
13 above-mentioned 1 ~ 12 steps are removed outside step 9, there is no certain sequencing, and may repeatedly be performed, 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 access center, and all the other are identical with embodiment 1.
The present invention can also when design, support the multilingual environment.