The invention teaches managing an item in the Internet of Things, wherein the system comprises: an item registration module, configured to receive at least one registration information of the item, wherein the registration information of the item includes the item‘s unique number marked by an information sensing device and a tag of an external data source where related information of the item is located, the at least one registration information is from at least one external data source, the unique number is the same in the at least one registration information; a storage module, configured to store the item‘s registration information; and a query processing module, configured to receive a query to the related information of the item, and obtain the related information of the item from the external data source which corresponds to the external data source tag included in the stored registration information of the item.
Embodiments of the present invention generally relate to management of an item and attributes thereof in the Internet of Things (IOT), and in particular, to a method and system for managing an item in the Internet of Things.
The concept of the "Internet of Things" is a network concept on the basis of "Internet concept", where user terminals therein are extended and expanded to among any items for information exchange and communication. The definition of the Internet of Things (hereinafter as IOT) is a network concept, which connects any item with the Internet via an information sensing device such as Radio Frequency IDentification (RFID), an infrared sensor, Global Position System (GPS), a laser scanner and so on, according to protocols of the agreement, for information exchange and communication, in order to achieve intelligent identification, location, tracking, monitoring and management.
The items in the IOT have attributes, for example, a garment having many attributes such as color, material, price, brand, a washing requirement and so on. Each item could have many different types of attributes, which are normally maintained by different vendors during a lifetime of the item. In addition, the item could have many other attributes, which may be maintained by the owner or other companies or divisions; such information is distributed among different places while each place has its own information control manner, and it is very difficult to get such information for the IOT application or persons going to get the information.
Therefore, how to manage the information of the item in the IOT is necessary.
The preferred embodiments of the present invention will be described in more detailed with reference to the accompanying drawings, in which the preferred embodiments of the present invention are illustrated. The present invention may, however, be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided to make the invention more thorough and complete, and to fully convey the scope of the invention to those skilled in the art.
The item in the IOT are marked by using an information sensing device, including a Radio-Frequency Identification (RFID) tag, an infrared sensor, GPS, a laser scanner and so on, the current RFID technology has enabled the item globally unique, for example, a coding system of the EPC compatible with the EAN-UCC coding system can enable the RF tag globally unique.
After the item is identified uniquely, during the lifetime of the item, a plurality of vendors maintain different attribute information of the item by using different databases. Taken a garment as an example of the item in the IOT, the attribute information of the garment includes producing area, production date, lot number, color, a washing requirement and so on during a stage of production, which are stored and maintained by a manufacturer; when the item enters into a sale stage, the attribute information thereof includes retailer, purchase price, sale price, discount activity involved, shopping mall area where a good is located and so on, which are stored and maintained by a retailer; after the item has been purchased by a user, the user can also maintain a group of attribute information such as a user purchase time, a user purchase price, a washing way of the item preferred by the user, an occasion to wear the item preferred by the user and so on, according to his/her preference, which are stored and maintained by the user oneself. In practice, a network provider can provide a certain storage area for each user so that the user can store the attribute information of the item interested by the user oneself.
When the item is delivered to a dry cleaning shop by the user, if a washing machine of the dry cleaning shop can identify the information sensing device attached to the item, such as the Radio-Frequency Identification (RFID) tag, it can obtain the washing requirement of the item and the washing way of the item preferred by the user to thereby determine how to wash the item. If the item is damaged due to a washing quality, compensation can be negotiated by the user purchase time, the user purchase price, or the sale price of the item during the compensation. However, although the dry cleaning machine of the dry cleaning shop can access the information sensing device (e.g. RFID) of the item and obtain the unique identification number of the item, it is difficult to get the different attribute information required by a simple manner since they are stored in databases of the different vendors.
The present invention proposes a system for managing an item in the IOT, and?FIG. 1?illustrates a diagram of a structure of a system?100?for managing an item in the IOT according to an embodiment of the present invention. According to?FIG. 1, the system?100?includes an item registration module?101, a storage module?102?and query processing module?103.
The item registration module?101?is configured to receive at least one registration information of the item, of which the registration information may come from different data sources, for example, in the example of the garment item mentioned above, the unique number (ID) of the item is included among a data source module maintained by a manufacturer, a data source module maintained by a retailer and a data source module of the item information maintained by a user, therefore, the at least one registration information is from at least one external data source, and the unique number is the same in the at least one registration information. The respective data sources can register the unique number of the item, an external data source tag storing the item information in the system?100?through the item registration module?101, therefore, the registration information of the item includes the unique number of the item marked by an information sensing device and the external data source where the related information of the item is located. The external data source can be expressed as an IP address of the external data source, and can also be expressed as a link of the external data source, or any other tags to find the external data source therefrom. Preferably, the registration information further includes: an IP address of the external data source where the related information of the item is located, and an attribute of the item stored by the external data source. In a preferred embodiment, in order to save a communication bandwidth, can also be only registered the external data source storing the item information, a range of the unique number of the stored item and the attribute of the item stored by the external data source, and it is not necessary to register the attribute information of a particular item. Such manner can significantly reduce an amount of communication information for the registration where the manufacturer produces a number of products of a same type whose attribute ranges are exactly identical. Further, the external data source can communicate with the item registration module to register more information on the item, for example, can also register a role of a registrant (e.g. the manufacturer, the retailer or a consumer), a valid time of the information, which users the information can be exposed to, notes for using the information, a permission to use the information and so on. The registration information of the item can also be from an input of a user interface. The item registration module?101?can provide a program interface for the external data source, and a user directly links the external data source to the item registration module through programming to directly register the item data; also it can provide the user interface to perform a manual registration of the item and so on. The system may perform a large amount of interactions with the item, thus preferably, the system also includes a read device of the information sensing device to receive the unique number of the item. In a manner of the manual registration, the item registration module is the read device through the information sensing device, which reads the unique number of the item to simplify the input manner.
There is a problem whether the item registration information of the system is trustful; therefore, preferably, the system further includes a data source authentication module configured to authenticate the authenticity of the external data source included in the registration information of the item before storing the registration information of the item. the existing authentication technologies can be adopted, for example, a simple one is to adopt the registration by a data source name and a password, and a complex one is to adopt public key authentication, a third party authentication, etc.
The storage module?102?stores the registration information of the item. The storage module?102?can perform the storage by using a flexible storing mode, for example, it can use a relationship type database for storing, or it can also use a semi-structured XML mode for storing.
In a manner of using the relationship type database for storing, an embodiment is to store all the registration information by using one item table; and?FIG. 2?illustrates a table structure of the item table storing all the registration information, wherein if the data source further registers other information, it can be implemented by adding more columns into the table of?FIG. 2.
In a manner of using the relationship type database for storing, another embodiment is to perform the storage by using a plurality of tables so as to save storage space, and for example,?FIG. 3?illustrates a table structure for storing the registration information by using a plurality of tables. As shown in?FIG. 3, for the same registration information as shown in FIG. 2, three tables as shown in?FIG. 3?can be adopted to store the registration information such that the storage space can be saved.
In a manner of using XML mode for storing, a type of XML Schema is schematically defined as follows,
<ITEM> <item ID VALUE=‘XX1‘ registration IP=‘123‘ registrant=‘*PROD‘> <METADATA> <color/> <MATERIAL/> ...... </METADATA> </item ID > ...... </ITEM> The skilled in the art can define a suitable XML Schema according to the requirement to meet a suitable requirement.
The query processing module?103?receives a query for the related information of the item, and obtains the related information of the item from the external data source which corresponds to the external data source tag included in the stored registration information of the item. The related information of the item is normally included in the registration information of the item and/or in the information of the external data source, for example, the item garment is registered an attribute "color", but the registration information only comprises the registered attribute information of the item, and does not comprises an attribute value of the item. The specific attribute value is located in the external data source, and such attribute value information belongs to the related information of the registration information. In a preferred embodiment, in the query processing module, the received query for the related information of the item includes the attribute information of the item, obtaining the related information of the item from the external data source includes obtaining the related information of the item from the IP address of the external data source registering the attribute information of the item based on the attribute information of the above item. The query processing module?103?can negotiate with the external data source, and carry out the query for the related information of the item according to the negotiated program interface; and the query processing module?103?can also provide a program interface for a query user, or provide a user interface for the query user in order to input query by the user. As for an example of query by using the table structure of the database of table 1 (assuming the name of the database is DATACENTER, the name of the table is ITEMINFO), query statements can be:
SELECT IP FROM DATACENTER.ITEMINFO WHERE item ID=‘XX1‘ AND registered attribute CONTAINS(‘color‘) AND registrant role=‘manufacturer‘ After obtaining a registrant IP as a query result according to the above described query statements, the query processing module?103?further sends the query to the IP of the corresponding manufacturer for obtaining a required query result. The query result obtained by the user includes the attribute information of the same item for different registrant roles, which can be used by the user according to the need. In addition, the database of the manufacturer also generally provides a query interface for the system managing the item to perform the query.
As for the storage manner of using XML for storing item information, Xquery can be adopted to perform the query. The principal is the same except that the query statements are slightly different.
The query processing module?103?can also use the read device of the above mentioned information sensing device, which simplifies the input manner of the unique number of the item during the query to make the input of the query easier.
In addition, preferably, the registration information can also include the user‘s access permission to the related information of the item; furthermore, the specific attribute information of the item can also include the user‘s access permission. In this way, it can perform a permission control for the access, modification and deletion of the related information of the item; accordingly, the system for managing an item further need to include a user registration module for registering a user in the system, and the registered users have different identifications, so the permission for the query, modification and deletion of the item can also be different. In an embodiment, the user registration module receives the registration of the data source itself as a first class user, such user can be considered as a high level user, who can register the registration information of the item only after being authenticated by the data source and can also perform the access, modification and deletion for the registered information thereby. The user registration module also receives the registration from a second class user, and such user can be considered as a common user, who can only perform the query for the registration information of the item registered by the first class user, but cannot register, modify or delete the registration information of the item. Both classes of the users are also restricted by the user‘s access permission.
Preferably, the system for managing an item further includes a data mining module for the system for managing an item to perform a data mining in real time or periodically or in other manner to the managed item information, so as able to find a change in the content of the item information (including addition, modification, deletion) and obtain useful data information, for example, obtain some statistics information, some valuable data cube and so on. The information mined by the data mining module can be stored in the storage module?102, so that the interested user performs the query. In addition, it can also feed back some useful information found during the data mining process to the query user, making the user change his query mode, for example, the user probably never realizes that the laundry can control a washing temperature, but now many users can set their favorite washing temperature, thus the information feedback can include the query whether the user not setting the washing temperature would like to set their favorite washing temperature, and so on.
Under the same inventive concept,?FIG. 4?illustrates a flowchart of a method for managing an item in the IOT according to an embodiment of the present invention. Referring to?FIG. 4, the method comprises: in step S401, receiving at least one registration information of the item, wherein the registration information of the item includes the item‘s unique number marked by an information sensing device and a tag of an external data source where related information of the item is located, the at least one registration information is from at least one external data source, the unique number is the same in the at least one registration information; in step S402, storing the item‘s registration information; in step S403, receiving a query to the related information of the item; in step S404, obtaining the related information of the item from the external data source which corresponds to the external data source tag included in the stored registration information of the item. The external data source tag can be an IP address of the external data source, and can also be a link of the external data source, or any other tag to find the external data source therefrom. In this method, preferably, the item‘s registration information further includes: an attribute of the item stored by the external data source.
In an embodiment, before receiving the item‘s registration information, the method further comprises the step of authenticating an authenticity of the external data source included in the registration information of the item.
In a preferred embodiment, the received query to the related information of the item includes attribute information of the item, the obtaining the related information of the item from the external data source includes obtaining the related information of the item from the IP address of the external data source which registers the attribute information of the item based on the attribute information of the above item.
In a preferred embodiment, when receiving the registration information of the item, the unique number of the item is read through a reading means of an information sensing device. In this way, it is enabled more convenient for the user to input the item‘s registration information.
When storing the registration information of the item, a relationship type of database or a semi-structured XML mode can be configured to store the registration information of the item. Examples of the specific storage modes are previously given in detail, and the repeated descriptions are omitted herein.
In an embodiment, when receiving the query to the related information of the item, the unique number of the item is read through a reading means of an information sensing device. In this way, it is enabled more convenient for the user to inquire about the related information of the item.
In an embodiment, receiving the registration information of the item further comprises the steps of: receiving a registration from a first class user, wherein the first class user can register the registration information of the item, and perform an access, modification and deletion to the registered information. Preferably, receiving the query to the related information of the item further comprises the steps of: receiving a registration from a second class user, wherein the second class user can perform the query to the registration information of the item registered by the first class user. Preferably, the registration information of the item further includes the user‘s access permission to the item and/or the attribute information of the item. In this way, a permission control can be performed for a user‘s access to the item and/or the attribute information of the item.
In a preferred embodiment, after storing the registration information of the item, the method further comprises performing data mining to the managed item information, so as to obtain useful data information and feed back the obtained useful data information to the query user.
? ? ? ? ? ? ? ? ? ? ? ? ? ?
SRC=https://www.google.com.hk/patents/US20120110647
Managing uniquely tagged items using the internet,布布扣,bubuko.com
Managing uniquely tagged items using the internet
原文:http://www.cnblogs.com/coryxie/p/3861825.html