CN102014113A - Storage method and system of dynamic information of goods in internet of things - Google Patents

Storage method and system of dynamic information of goods in internet of things Download PDF

Info

Publication number
CN102014113A
CN102014113A CN2010102285623A CN201010228562A CN102014113A CN 102014113 A CN102014113 A CN 102014113A CN 2010102285623 A CN2010102285623 A CN 2010102285623A CN 201010228562 A CN201010228562 A CN 201010228562A CN 102014113 A CN102014113 A CN 102014113A
Authority
CN
China
Prior art keywords
registrar
information server
information
logical address
address
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.)
Granted
Application number
CN2010102285623A
Other languages
Chinese (zh)
Other versions
CN102014113B (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.)
Beijing Hetian Huizhi Information Technology Co Ltd
Beijing Computer Network And Information Security Research Center Of Harbin Institute Of Technology
National University of Defense Technology
Original Assignee
Beijing Hetian Huizhi Information Technology Co Ltd
Beijing Computer Network And Information Security Research Center Of Harbin Institute Of Technology
National University of Defense Technology
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 Hetian Huizhi Information Technology Co Ltd, Beijing Computer Network And Information Security Research Center Of Harbin Institute Of Technology, National University of Defense Technology filed Critical Beijing Hetian Huizhi Information Technology Co Ltd
Priority to CN 201010228562 priority Critical patent/CN102014113B/en
Publication of CN102014113A publication Critical patent/CN102014113A/en
Application granted granted Critical
Publication of CN102014113B publication Critical patent/CN102014113B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a storage method and system of dynamic information of goods in an internet of things, belonging to the field of the internet of things. The storage method comprises the following steps of: receiving goods information, determining a target registration server according to EPC (Electronic Product Code) and sending the goods information to the target registration server by a registration server, wherein the goods information comprises the EPC and the dynamic information; receiving the goods information sent by the registration server, determining a target information server according to the EPC and sending the goods information to the information server by the target registration server; and storing the dynamic information by the target information server. The storage system comprises the registration server, the target registration server and the target information server. In the invention, the registration server determines the target registration server according to the EPC in the goods information, and the target registration server determines the target information server according to the EPC in the goods information, therefore, storage of the dynamic information in the goods information is finally realized; and a large number of analysis servers do not need to be arranged, thus hardware resources are saved.

Description

The storage means of article multidate information and system in a kind of Internet of Things
Technical field
The present invention relates to the Internet of Things field, the storage means and the system of article multidate information in particularly a kind of Internet of Things.
Background technology
Internet of Things is called as after computer, the Internet, the third wave of world's information industry, the main information sensing equipment that comprises radio-frequency (RF) identification etc. that utilizes obtains the information of article anywhere or anytime, and realizes intellectuality identification, location, tracking and the storage etc. of global article by existing the Internet.
At present, existing Internet of Things is realized the storage of Item Information by each information sensing equipment and resolution server, and its storing process is specific as follows:
Information sensing equipment is gathered Item Information, this Item Information comprises EPC (Electronic Product Code, the product electronic code), and the Item Information that collects sent to resolution server, resolution server is resolved EPC, determine to store the server of this Item Information, store Item Information into this server.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
Prior art need arrange that a large amount of resolution servers are to realize the storage to Item Information, when the Item Information of needs storage increases, need set up resolution server accordingly, can expend a large amount of hardware resources like this, simultaneously, also there are problems such as service overload and single point failure in resolution server.
Summary of the invention
For the economize on hardware resource, the embodiment of the invention provides the storage means and the system of article multidate information in a kind of Internet of Things.Described technical scheme is as follows:
The storage means of article multidate information in a kind of Internet of Things, described method comprises:
Registrar receives Item Information, and described Item Information comprises: product electronic code EPC and multidate information;
Described registrar is determined the purpose registrar according to described EPC;
Described registrar sends to described purpose registrar with described Item Information;
Described purpose registrar receives the described Item Information that described registrar sends;
Described purpose registrar is determined the purpose information server according to described EPC;
Described purpose registrar sends to described information server with described Item Information, the described multidate information of described purpose information server stores.
Further, described registrar determines that according to described EPC the purpose registrar comprises:
Described registrar carries out first Hash operation according to described EPC, generates the logical address of purpose registrar;
Described registrar is determined the corresponding target registrar according to the logical address of described purpose registrar.
Further, described registrar determines that according to the logical address of described purpose registrar the corresponding target registrar comprises:
If the logical address of described purpose registrar is identical with the upper layer logic address of described registrar, described registrar is described purpose registrar;
If the logical address of described purpose registrar is different with the upper layer logic address of described registrar, described registrar is searched upper layer logic address and the corresponding IP address with the nearest adjacent registrar of the logical address of described purpose registrar thereon in the layer logical address table; Described Item Information is sent to the adjacent registrar of described IP address correspondence, described adjacent registrar is carried out according to described Item Information, determine the step of purpose registrar, until determining described purpose registrar.
Further, described purpose registrar determines that according to described EPC the purpose information server comprises:
Described purpose registrar carries out second Hash operation according to described EPC, generates the logical address of purpose information server;
Described purpose registrar is determined the corresponding target information server according to the logical address of described purpose information server.
Further, described purpose registrar carries out second Hash operation according to described EPC and comprises:
Described purpose registrar carries out second Hash operation according to part field or the whole field of described EPC.
Further, described purpose registrar determines that according to the logical address of described purpose information server the corresponding target information server comprises:
Described purpose registrar judges whether the lower floor's logical address table of self comprises the logical address of described purpose information server;
If comprise, described purpose registrar obtains the logical address and the corresponding IP address of described purpose information server;
If do not comprise, described purpose registrar is searched lower floor's logical address and the corresponding IP address with the nearest adjacent information server of the logical address of described purpose information server in its lower floor's logical address table, described Item Information is sent to the adjacent information server of described IP address correspondence; Described adjacent information server is determined the corresponding target information server according to the described Item Information that receives.
Further, described adjacent information server determines that according to the described Item Information that receives the corresponding target information server comprises:
Described adjacent information server is searched second lower floor's logical address and corresponding the 2nd IP address with the nearest second adjacent information server of the logical address of described purpose information server in the lower floor's logical address table of self, described Item Information is sent to the second adjacent information server of described the 2nd IP address correspondence, make the described second adjacent information server carry out the step that described described Item Information according to reception is determined the corresponding target information server, until determining described purpose information server.
Further, comprise after the described multidate information of described purpose information server stores:
Described purpose information server sends to the adjacent information server that comprises in its lower floor's logical address table with described Item Information, and described adjacent information server backs up described multidate information.
The storage system of article multidate information in a kind of Internet of Things, described system comprises: registrar, purpose registrar and purpose information server;
Described registrar is used to receive Item Information, and described Item Information comprises: product electronic code EPC and multidate information, and according to described EPC, determine the purpose registrar, and described Item Information is sent to described purpose registrar;
Described purpose registrar is used to receive the described Item Information that described registrar sends, and according to described EPC, determines the purpose information server, and described Item Information is sent to described purpose information server;
Described purpose information server is used to receive the described Item Information that described purpose registrar sends, and stores described multidate information.
Further, described registrar comprises: first generation module and first determination module;
Described first generation module is used for carrying out first Hash operation according to described EPC, generates the logical address of purpose registrar;
Described first determination module is used for the logical address according to the purpose registrar of described first generation module generation, determines the corresponding target registrar.
Further, described first determination module, if it is identical with the upper layer logic address of described registrar specifically to be used for the logical address of described purpose registrar, described registrar is described purpose registrar;
If the logical address of described purpose registrar is different with the upper layer logic address of described registrar, in the upper layer logic address table of self, search upper layer logic address and corresponding IP address with the nearest adjacent registrar of the logical address of described purpose registrar; Described Item Information is sent to the adjacent registrar of described IP address correspondence, make described adjacent registrar carry out the function of described first determination module, until determining described purpose registrar.
Further, described purpose registrar comprises: second generation module and second determination module;
Described second generation module is used for carrying out second Hash operation according to described EPC, generates the logical address of purpose information server;
Described second determination module is used for the logical address according to the purpose information server of described second generation module generation, determines the corresponding target information server.
Further, described second determination module is used to specifically judge whether the lower floor's logical address table of self comprises the logical address of described purpose information server;
If comprise, obtain the logical address and the corresponding IP address of described purpose information server;
If do not comprise, in the lower floor's logical address table of self, search lower floor's logical address and corresponding IP address with the nearest adjacent information server of the logical address of described purpose information server, described Item Information is sent to the adjacent information server of described IP address correspondence; Described adjacent information server comprises the 3rd determination module, is used for determining the corresponding target information server according to the described Item Information that receives.
Further, described the 3rd determination module, specifically be used for searching second lower floor's logical address and corresponding the 2nd IP address with the nearest second adjacent information server of the logical address of described purpose information server at the lower floor's logical address table of self, described Item Information is sent to the second adjacent information server of described the 2nd IP address correspondence, make the described second adjacent information server carry out the function of described the 3rd determination module, until determining described purpose information server.
Further, described purpose registrar comprises: computing module is used for carrying out second Hash operation according to part field or the whole field of described EPC.
Further, described purpose information server also comprises: sending module, be used to store after the described Item Information, described Item Information is sent to the adjacent information server that comprises in its lower floor's logical address table, described adjacent information server backs up described multidate information.
The beneficial effect of the technical scheme that the embodiment of the invention provides is:
Determine the purpose registrar by registrar according to the EPC in the Item Information, the purpose registrar is determined the purpose information server according to the EPC in the Item Information, the final storage that realizes the multidate information in the Item Information, need not arrange a large amount of resolution servers, save hardware resource.
Description of drawings
Fig. 1 is the storage means flow chart of article multidate information in the Internet of Things that provides of the embodiment of the invention 1;
Fig. 2 is the network architecture diagram of the storage means of article multidate information in the Internet of Things that provides of the embodiment of the invention 1;
Fig. 3 is another storage means flow chart of article multidate information in the Internet of Things that provides of the embodiment of the invention 1;
Fig. 4 is the memory system architecture schematic diagram of article multidate information in the Internet of Things that provides of the embodiment of the invention 2.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
Referring to Fig. 1, present embodiment provides the storage means of article multidate information in a kind of Internet of Things, and this method may further comprise the steps:
Step S101, registrar receive Item Information, and this Item Information comprises: EPC and multidate information;
Step S102, registrar are determined the purpose registrar according to this EPC;
Step S103, registrar send to the purpose registrar with Item Information;
Step S104, purpose registrar receive the Item Information that registrar sends;
Step S105, purpose registrar are determined the purpose information server according to this EPC;
Step S106, purpose registrar send to the purpose information server with Item Information, make purpose information server stores multidate information.
The method that present embodiment provides, determine the purpose registrar by registrar according to the EPC in the Item Information, the purpose registrar is determined the purpose information server according to the EPC in the Item Information, the final storage that realizes the multidate information in the Item Information, need not arrange a large amount of resolution servers, save hardware resource.
At first introduce the network architecture of above-mentioned stores information below.
This Internet of Things comprises registrar and information server.Wherein, the static information of registrar stores comprises the keyword of representing article characteristics, as attribute keyword of article etc.The multidate information of information server stores article is as the current state of article, position etc.Registrar can adopt the higher equipment of stability, guarantees not lose for the higher static information of reliability requirement, and information server then can adopt cost and the lower equipment of stability, and storage is for the lower multidate information of reliability requirement.Between the registrar of this network, between the information server, link to each other by wide area network between registrar and the information server.
This network is a hierarchical network, is divided into upper layer network and lower floor's network.Upper layer network is made up of all registrar, and lower floor's network is made up of all information servers.This lower floor's network is divided into the experimental process network, concrete, sub-network is made up of at least one registrar of upper layer network and one or more information servers of lower floor's network, and any two sub-networks are non-intersect, a server only belongs to a sub-networking, and promptly a server can not belong to two sub-networks simultaneously.Wherein, the registrar in the sub-network provides interface with the upper layer network information interaction for information server.
Concrete, each registrar has one or more upper layer logic addresses that are used for upper layer network, and each upper layer logic address has a upper layer logic address table, is used to store the corresponding relation of adjacent registrar logical address in upper strata and IP address; Each registrar also has lower floor's logical address that is used for lower floor's network simultaneously, this lower floor's logical address has lower floor's logical address table, is used to store the corresponding relation of adjacent information server logical address of the lower floor that is in same sub-network with it and IP address.
Concrete, each information server has one or more lower floor's logical addresses that are used for lower floor's network, each lower floor's logical address has lower floor's logical address table, is used to store the corresponding relation of adjacent information server logical address of the lower floor that is in same sub-network with it and IP address; Each information server also has at least one IP address that is in the registrar in the same sub-network with it simultaneously.
The logical address of registrar is distributed specific as follows: as the node in the upper layer network, each registrar has the upper layer logic address of the individual N bit of i (i>=1), as the node in the sub-network, each registrar has lower floor's logical address of an identical M bit, and promptly M individual 0.Wherein, N is the logical address bit of upper layer network, represents that this network logical address space is 2 N, M is the logical address space of lower floor's sub-network, represents that this network logical address space is 2 M, N is predefined bigger value, can satisfy in the upper layer network and carry out the needs that logical address is distributed because of registrar increases.In the upper layer network that initially has n registrar, on average each thing registrar preassignment is about
Figure BSA00000194724800071
Individual upper layer logic address makes and all can locate a registrar according to each upper layer logic address.For example, upper layer network is made up of 10000 registrar, and during upper layer logic address bit position N=14, then the upper layer logic address space is 2 14=16384, bring above-mentioned formula into, 16384 divided by 10000, equal 1.6384, round downwards 1.6384 again, be that value is 1, then in 10000 registrar, average each registrar can have 1 14 logical address at least, also has 6384 logical address residue so, then these 6384 logical addresses is distributed the registrar of each existing logical address, then last, 16384 logical addresses are distributed to server in the network, and can obtain: 6384 registrar have 2 upper layer logic addresses, and all the other 3616 registrar have 1 upper layer logic address.The logical address of information server is distributed: as the node in the sub-network, each information server has lower floor's logical address of the individual M bit of j (j>=1).Wherein, M is predefined bigger value, can satisfy in any one sub-network and carry out the needs that logical address is distributed because of the increase of information server.If certain sub-network has one or several registrar, a m information server, then each information server preassignment is about Individual lower floor logical address (lower floor's logical address of complete 0 bit is shared by the registrar in this sub-network) makes and all can locate an information server according to each lower floor's logical address.For example, lower floor's network is made up of 10000 information servers, and during the logical address bit M=14 of lower floor, lower floor's logical address space is 2 14=16384, then with reference to registrar logical address distribution method, the information server logical address can be assigned as: 6383 information servers have 2 lower floor's logical addresses, and all the other 3617 information servers have 1 lower floor's logical address.
Adjacent server is the server that satisfies certain logical address distance in this network, and the distance of logical address i.e. the XOR value of two logical addresses, and it is far away more to be worth big more distance, is worth that small distance is near more more.
Concrete, according to different logical addresses, the corresponding different neighbors of each node is the set of adjacent server, according to certain logical address A of node E, and the set of the neighbors of node E
Figure BSA00000194724800073
Be defined as k the node that satisfies following condition, k is predefined value, and this condition is:
Figure BSA00000194724800074
In any logical address of having less than other nodes of the distance of certain logical address of node and logical address A and the distance of logical address A.
The maintenance of registrar node relationships: as the node in the upper layer network, for each logical address Au, each registrar R has a upper strata neighbor node table TR (Au), this list records in upper layer network, according to logical address Au, the mapping of the logical address of the neighbors of this registrar correspondence and IP address.As the node in lower floor's sub-network, each registrar has a neighbor node table TN of lower floor, this list records in lower floor's sub-network, the mapping of the logical address of its neighbors and IP address.
The maintenance of information server node relationships: as the node in lower floor's sub-network, for each logical address Ad, each information server I has a neighbor node table TN of lower floor (Ad), this list records in lower floor's sub-network, according to logical address Ad, the mapping of the logical address of the neighbors of this information server correspondence and IP address.Information server I has the logical address of certain registrar in this sub-network and the mapping of IP address simultaneously.
The dynamic management of node in this network: this hierarchical network need possess good extensibility, therefore need carry out dynamic management to the node in the network, add Network Management and information server adding and the management that exits network comprising registrar.
Registrar adds Network Management: the quantity of registrar can dynamically increase according to the storage demand of log-on message.When registrar R1 request adds hierarchical network, carry out following operation:
A, certain the registrar R2 with a plurality of upper layer logic address and registrar R1 consult, and give new registrar R1 with part upper layer logic address assignment;
B, registrar R2 will be corresponding to the Item Information unloading of these upper layer logic addresses to registrar R1 (information stores of article be on the node of fixed logic address);
C, registrar R1 add lower floor's sub-network at registrar R2 place and by each node in the information broadcast notice sub-network;
Registrar in d, the upper layer network upgrades the neighbor node table of each registrar by message.
Information server adds with the management that exits network and comprises the management that information server adding Network Management and information server exit network:
Information server adds the management of certain lower floor's sub-network: when information server I1 request adds certain lower floor sub-network, carry out following operation: information server I2 and information server I1 with a plurality of lower floors logical address consult, and part lower floor logical address is distributed to information server I1; Information server I2 will be corresponding to the Item Information unloading of these lower floor's logical addresses to information server I1; Information server in lower floor's sub-network upgrades the neighbor node table of each information server by message.
Information server withdraws from the management of certain lower floor's sub-network: the information server in lower floor's sub-network is safeguarded the survival condition information of neighbors by message, if information server I3 finds that certain information server I4 exits network, then I3 broadcast node I4 in lower floor's sub-network withdraws from the message of lower floor's sub-network, and the information server in lower floor's sub-network heavily distributes the logical address of this information server by exchanging messages.
The Internet of Things multidate information storage system extensibility of stratification of the present invention is strong, show that not only registrar in kind can dynamically add upper layer network to adapt to increasing of storage demand, the information server in kind that further shows as lower floor can independently select to add or withdraw from lower floor's sub-network flexibly.
Concrete, be example with the network architecture shown in Figure 2, this Internet of Things is illustrated, wherein,
Registrar is ORS 1, ORS 2, ORS 3, ORS 4, ORS 5
Information server is OIS 1,1, OIS 1,2OIS 1,3, OIS 2,1, OIS 2,2, OIS 3,1, OIS 3,2, OIS 3,3
Wherein, ORS 1, ORS 2, ORS 3, ORS 4, ORS 5Form upper layer network;
OIS 1,1, OIS 1,2OIS 1,3, OIS 2,1, OIS 2,2, OIS 3,1, OIS 3,2, OIS 3,3Form lower floor's network;
ORS 1, ORS 2, OIS 1,1, ORS 1,2, OIS 1,3Form first sub-network, ORS 2, ORS 3, OIS 2,1, OIS 2,2Form second sub-network, ORS 4, ORS 5, OIS 3,1, ORS 3,2, OIS 3,3Form the 3rd sub-network.
Wherein, each registrar is a node in the upper layer network, also is a node in certain lower floor's subnet.Registrar provides the interface that carries out information interaction with upper layer network for other nodes in lower floor's subnet.Between the registrar, between the information server, link to each other by wide area network between registrar and the information server.This network sends to server by information sensing equipment with the Item Information of collecting, and server is stored Item Information, and as shown in Figure 3, this storage means may further comprise the steps:
Step S201, registrar are determined the purpose registrar of this Item Information place sub-network;
Concrete step S201 is further comprising the steps of:
Step S201a, registrar receive Item Information, generate purpose registrar logical address;
Wherein, Item Information comprises multidate information, EPC (Electronic Product Code, product electronic code).EPC can be made up of different field, as version number field, domain name supervising field, and object sorting field sequence-number field etc., wherein, the domain name supervising field is represented manufacturer's information, the object sorting field is represented type of items.Obtain the destination server logical address and specifically can carry out computing by EPC coding or part EPC coding to article, generate the destination server logical address, for example, can carry out Hash operation to the EPC of article coding or part EPC coding by hash function, generate the destination server logical address, but the present invention does not limit.
Concrete, there are two kinds of situations in step S201a:
If first kind of information server receives Item Information, then Item Information is sent to certain registrar in this information server place sub-network.
This registrar receives Item Information, and the EPC of article is carried out computing, for example, Hash operation for the first time, promptly h1 (EPC) generates purpose registrar logical address.
If second kind of registrar receives Item Information, then the EPC to article carries out computing, for example, Hash operation for the first time, promptly h1 (EPC) generates purpose registrar logical address.
Step S201b, registrar judge whether purpose registrar logical address is identical with self upper layer logic address;
Concrete, if purpose registrar logical address is identical with this registrar upper layer logic address, determine that then this registrar is the purpose registrar, execution in step S202;
If purpose registrar logical address is different with its upper layer logic address, execution in step S201c;
Step S201c, registrar are determined the next registrar that receives Item Information;
Concrete, registrar is searched the upper layer logic address with the nearest adjacent registrar of purpose registrar logical address thereon in the layer logical address table, obtain the adjacent registrar IP address of its correspondence, and Item Information is sent to this neighbour's registrar, execution in step S201a is until determining the purpose registrar;
Step S202, purpose registrar are determined this Item Information place purpose information server;
Concrete step S202 is further comprising the steps of:
Step S202a, purpose registrar generate purpose information server logical address;
Concrete, obtain purpose information server logical address and be specially: the whole fields to article EPC are carried out the Hash operation second time, and promptly h2 (EPC) perhaps carries out the Hash operation second time to the part field of article EPC, i.e. h2 (sub_string (EPC)).
For example, for the ease of realizing coarseness retrieval to same class Item Information, then can be to EPC part field, as represent that the domain name supervising field of manufacturer and the object sorting field of expression product classification carry out Hash calculation formation logic address, thereby the product centralized stores of the same type of same manufacturer in identical information server, is convenient to the coarseness retrieval.
Step S202b, purpose registrar judge in its lower floor adjacent information server logical address table whether comprise purpose information server logical address;
Concrete, if comprise purpose information server logical address in this lower floor adjacent information server logical address table, then obtain purpose information server corresponding IP address, this Item Information is sent to purpose information server, execution in step S202e;
If do not comprise purpose information server logical address in this lower floor adjacent information server logical address table, then execution in step S202c;
Step S202c, purpose registrar are determined the next information server that receives Item Information;
Concrete, the purpose registrar is searched the logical address with the adjacent information server of the nearest lower floor of purpose information server logical address in this neighbour's information server logical address table, obtain the IP address of the adjacent information server of its correspondence, and Item Information is sent to this neighbour's information server, execution in step S202d;
Step S202d, adjacent information server receive Item Information, obtain purpose information server logical address, judge whether this purpose information server logical address is identical with himself logical address;
Concrete, if this purpose information server logical address is identical with himself logical address, then definite himself is the purpose information server, execution in step S202f;
If this purpose information server logical address is identical different with himself logical address, then execution in step S202e;
Step S202e, purpose information server are determined the next adjacent information server (the second adjacent information server) that receives Item Information;
Concrete, the purpose information server is searched the logical address (second lower floor's logical address) with the adjacent information server of the nearest lower floor of purpose information server logical address (the second adjacent information server) in its lower floor's logical address table, obtain the adjacent information server IP address (the 2nd IP address) of its correspondence, and Item Information is sent to this neighbour's information server, execution in step S202c is until determining purpose information server position;
Step S202f, purpose information server receive Item Information, and the multidate information in this Item Information is stored.
Further alternative, this method comprises also Item Information is backed up that concrete steps comprise:
Step S202g, purpose information server all adjacent information servers in its lower floor's logical address table send Item Information;
Step S202h, adjacent information server receive Item Information, and multidate information is wherein backed up.
Wherein, adjacent information server can be stored multidate information by Probability p=c/S, and wherein, c is this neighbour's information server current residual memory space, and S is this neighbour's information server stores space size always.According to the method for probability storage multidate information, the system that makes has preferable information server stores performance.
The purpose information server backs up multidate information in this step in its a plurality of adjacent information servers, therefore when one or several information servers lost efficacy or exitted network, can not influence the retrieval of user to Item Information, has avoided the single point failure problem.
The method that present embodiment provides, Internet of Things based on stratification, by secondary Hash calculation method, realized location to purpose registrar and purpose information server, and multidate information stored, with respect to prior art, need not arrange a large amount of resolution servers, saved hardware resource.
Embodiment 2
Referring to Fig. 4, present embodiment provides the storage system of article multidate information in a kind of Internet of Things, comprising: registrar 301, purpose registrar 302 and purpose information server 303;
Registrar 301 is used to receive Item Information, and Item Information comprises: product electronic code EPC and multidate information, and according to EPC, determine purpose registrar 302, and Item Information is sent to purpose registrar 302;
Purpose registrar 302 is used to receive the Item Information that registrar 301 sends, and according to EPC, determines purpose information server 303, and Item Information is sent to purpose information server 303;
Purpose information server 303 is used to receive the Item Information that purpose registrar 302 sends, and the storage multidate information.
Wherein, registrar 301 comprises: first generation module and first determination module;
First generation module is used for carrying out first Hash operation according to EPC, generates the logical address of purpose registrar;
First determination module is used for the logical address according to the purpose registrar of first generation module generation, determines the corresponding target registrar.
Wherein, first determination module, if it is identical with the upper layer logic address of registrar specifically to be used for the logical address of purpose registrar, registrar is the purpose registrar;
If the logical address of purpose registrar is different with the upper layer logic address of registrar, in the upper layer logic address table of self, search upper layer logic address and corresponding IP address with the nearest adjacent registrar of the logical address of purpose registrar; Item Information is sent to the adjacent registrar of IP address correspondence, make adjacent registrar carry out the function of first determination module, until determining the purpose registrar.
Wherein, purpose registrar 302 comprises: second generation module and second determination module;
Second generation module is used for carrying out second Hash operation according to EPC, generates the logical address of purpose information server;
Second determination module is used for the logical address according to the purpose information server of second generation module generation, determines the corresponding target information server.
Wherein, second determination module is used to specifically judge whether the lower floor's logical address table of self comprises the logical address of purpose information server;
If comprise, obtain the logical address and the corresponding IP address of purpose information server;
If do not comprise, in the lower floor's logical address table of self, search lower floor's logical address and corresponding IP address with the nearest adjacent information server of the logical address of purpose information server, Item Information is sent to the adjacent information server of IP address correspondence; Adjacent information server comprises the 3rd determination module, is used for determining the corresponding target information server according to the Item Information that receives.
Wherein, the 3rd determination module, specifically be used for searching second lower floor's logical address and corresponding the 2nd IP address with the nearest second adjacent information server of the logical address of purpose information server at the lower floor's logical address table of self, Item Information is sent to the second adjacent information server of the 2nd IP address correspondence, make the second adjacent information server carry out the function of the 3rd determination module, until determining the purpose information server.
Wherein, purpose registrar 302 comprises: computing module is used for carrying out second Hash operation according to part field or the whole field of EPC.
Wherein, purpose information server 303 also comprises: sending module, be used for after the stores information, and Item Information is sent to the adjacent information server that comprises in its lower floor's logical address table, adjacent information server backs up multidate information.
The system that present embodiment provides belongs to same design with method embodiment, and its specific implementation process sees method embodiment for details, repeats no more here.
The system that present embodiment provides, determine the purpose registrar by registrar according to the EPC in the Item Information, the purpose registrar is determined the purpose information server according to the EPC in the Item Information, the final storage that realizes the multidate information in the Item Information, need not arrange a large amount of resolution servers, save hardware resource.
All or part of content in the technical scheme that above embodiment provides can realize that its software program is stored in the storage medium that can read by software programming, storage medium for example: the hard disk in the computer, CD or floppy disk.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (16)

1. the storage means of article multidate information in the Internet of Things is characterized in that described method comprises:
Registrar receives Item Information, and described Item Information comprises: product electronic code EPC and multidate information;
Described registrar is determined the purpose registrar according to described EPC;
Described registrar sends to described purpose registrar with described Item Information;
Described purpose registrar receives the described Item Information that described registrar sends;
Described purpose registrar is determined the purpose information server according to described EPC;
Described purpose registrar sends to described information server with described Item Information, the described multidate information of described purpose information server stores.
2. the method for claim 1 is characterized in that, described registrar is determined the purpose registrar according to described EPC, comprising:
Described registrar carries out first Hash operation according to described EPC, generates the logical address of purpose registrar;
Described registrar is determined the corresponding target registrar according to the logical address of described purpose registrar.
3. method as claimed in claim 2 is characterized in that, described registrar determines that according to the logical address of described purpose registrar the corresponding target registrar comprises:
If the logical address of described purpose registrar is identical with the upper layer logic address of described registrar, described registrar is described purpose registrar;
If the logical address of described purpose registrar is different with the upper layer logic address of described registrar, described registrar is searched upper layer logic address and the corresponding IP address with the nearest adjacent registrar of the logical address of described purpose registrar thereon in the layer logical address table; Described Item Information is sent to the adjacent registrar of described IP address correspondence, make described adjacent registrar carry out the step of determining the purpose registrar according to described Item Information, until determining described purpose registrar.
4. the method for claim 1 is characterized in that, described purpose registrar is determined the purpose information server according to described EPC, comprising:
Described purpose registrar carries out second Hash operation according to described EPC, generates the logical address of purpose information server;
Described purpose registrar is determined the corresponding target information server according to the logical address of described purpose information server.
5. method as claimed in claim 4 is characterized in that, described purpose registrar carries out second Hash operation according to described EPC and comprises:
Described purpose registrar carries out second Hash operation according to part field or the whole field of described EPC.
6. method as claimed in claim 4 is characterized in that, described purpose registrar determines that according to the logical address of described purpose information server the corresponding target information server comprises:
Described purpose registrar judges whether the lower floor's logical address table of self comprises the logical address of described purpose information server;
If comprise, described purpose registrar obtains the logical address and the corresponding IP address of described purpose information server;
If do not comprise, described purpose registrar is searched lower floor's logical address and the corresponding IP address with the nearest adjacent information server of the logical address of described purpose information server in its lower floor's logical address table, described Item Information is sent to the adjacent information server of described IP address correspondence; Described adjacent information server is determined the corresponding target information server according to the described Item Information that receives.
7. method as claimed in claim 6 is characterized in that, described adjacent information server determines that according to the described Item Information that receives the corresponding target information server comprises:
Described adjacent information server is searched second lower floor's logical address and corresponding the 2nd IP address with the nearest second adjacent information server of the logical address of described purpose information server in the lower floor's logical address table of self, described Item Information is sent to the second adjacent information server of described the 2nd IP address correspondence, make the described second adjacent information server carry out the step that described described Item Information according to reception is determined the corresponding target information server, until determining described purpose information server.
8. the method for claim 1 is characterized in that, comprises after the described multidate information of described purpose information server stores:
Described purpose information server sends to the adjacent information server that comprises in its lower floor's logical address table with described Item Information, and described adjacent information server backs up described multidate information.
9. the storage system of article multidate information in the Internet of Things is characterized in that described system comprises: registrar, purpose registrar and purpose information server;
Described registrar is used to receive Item Information, and described Item Information comprises: product electronic code EPC and multidate information, and according to described EPC, determine the purpose registrar, and described Item Information is sent to described purpose registrar;
Described purpose registrar is used to receive the described Item Information that described registrar sends, and according to described EPC, determines the purpose information server, and described Item Information is sent to described purpose information server;
Described purpose information server is used to receive the described Item Information that described purpose registrar sends, and stores described multidate information.
10. system as claimed in claim 9 is characterized in that, described registrar comprises: first generation module and first determination module;
Described first generation module is used for carrying out first Hash operation according to described EPC, generates the logical address of purpose registrar;
Described first determination module is used for the logical address according to the purpose registrar of described first generation module generation, determines the corresponding target registrar.
11. system as claimed in claim 10, it is characterized in that, described first determination module, if it is identical with the upper layer logic address of described registrar specifically to be used for the logical address of described purpose registrar, described registrar is described purpose registrar;
If the logical address of described purpose registrar is different with the upper layer logic address of described registrar, in the upper layer logic address table of self, search upper layer logic address and corresponding IP address with the nearest adjacent registrar of the logical address of described purpose registrar; Described Item Information is sent to the adjacent registrar of described IP address correspondence, make described adjacent registrar carry out the function of described first determination module, until determining described purpose registrar.
12. system as claimed in claim 9 is characterized in that, described purpose registrar comprises: second generation module and second determination module;
Described second generation module is used for carrying out second Hash operation according to described EPC, generates the logical address of purpose information server;
Described second determination module is used for the logical address according to the purpose information server of described second generation module generation, determines the corresponding target information server.
13. system as claimed in claim 12 is characterized in that, described second determination module is used to specifically judge whether the lower floor's logical address table of self comprises the logical address of described purpose information server;
If comprise, obtain the logical address and the corresponding IP address of described purpose information server;
If do not comprise, in the lower floor's logical address table of self, search lower floor's logical address and corresponding IP address with the nearest adjacent information server of the logical address of described purpose information server, described Item Information is sent to the adjacent information server of described IP address correspondence; Described adjacent information server comprises the 3rd determination module, is used for determining the corresponding target information server according to the described Item Information that receives.
14. system as claimed in claim 13, it is characterized in that, described the 3rd determination module, specifically be used for searching second lower floor's logical address and corresponding the 2nd IP address with the nearest second adjacent information server of the logical address of described purpose information server at the lower floor's logical address table of self, described Item Information is sent to the second adjacent information server of described the 2nd IP address correspondence, make the described second adjacent information server carry out the function of described the 3rd determination module, until determining described purpose information server.
15. system as claimed in claim 9 is characterized in that, described purpose registrar comprises: computing module is used for carrying out second Hash operation according to part field or the whole field of described EPC.
16. system as claimed in claim 9, it is characterized in that, described purpose information server also comprises: sending module, be used to store after the described Item Information, described Item Information is sent to the adjacent information server that comprises in its lower floor's logical address table, and described adjacent information server backs up described multidate information.
CN 201010228562 2010-07-09 2010-07-09 Storage method and system of dynamic information of goods in internet of things Active CN102014113B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010228562 CN102014113B (en) 2010-07-09 2010-07-09 Storage method and system of dynamic information of goods in internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010228562 CN102014113B (en) 2010-07-09 2010-07-09 Storage method and system of dynamic information of goods in internet of things

Publications (2)

Publication Number Publication Date
CN102014113A true CN102014113A (en) 2011-04-13
CN102014113B CN102014113B (en) 2013-05-08

Family

ID=43844129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010228562 Active CN102014113B (en) 2010-07-09 2010-07-09 Storage method and system of dynamic information of goods in internet of things

Country Status (1)

Country Link
CN (1) CN102014113B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662979A (en) * 2012-03-13 2012-09-12 李卫伟 Information query method and system
CN115712684A (en) * 2022-11-24 2023-02-24 南京鼎山信息科技有限公司 Storage method and system for dynamic information of articles in Internet of things

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101551816A (en) * 2009-04-23 2009-10-07 华中科技大学 Article number analyzing system supporting multi-number
CN101751432A (en) * 2008-12-19 2010-06-23 中国科学院计算机网络信息中心 Addressing method and system for internet of things

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751432A (en) * 2008-12-19 2010-06-23 中国科学院计算机网络信息中心 Addressing method and system for internet of things
CN101551816A (en) * 2009-04-23 2009-10-07 华中科技大学 Article number analyzing system supporting multi-number

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662979A (en) * 2012-03-13 2012-09-12 李卫伟 Information query method and system
CN115712684A (en) * 2022-11-24 2023-02-24 南京鼎山信息科技有限公司 Storage method and system for dynamic information of articles in Internet of things
CN115712684B (en) * 2022-11-24 2023-10-24 南京鼎山信息科技有限公司 Storage method and system for dynamic information of articles in Internet of things

Also Published As

Publication number Publication date
CN102014113B (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN102204187B (en) Method, correlative device and system for virtual network migration
RU2375746C2 (en) Method and device for detecting network devices
US20100077250A1 (en) Virtualization based high availability cluster system and method for managing failure in virtualization based high availability cluster system
CN104572727A (en) Data querying method and device
WO2006054573A1 (en) Information processing device, program thereof, modular type system operation management system, and component selection method
CN106294073A (en) Service calling method and device
US20120047249A1 (en) Method of determining equivalent subsets of agents to gather information for a fabric
WO2019233061A1 (en) Routing resource control method and system for layer 3 switch
CN105045762A (en) Management method and apparatus for configuration file
Khanli et al. FRDT: footprint resource discovery tree for grids
Marzolla et al. Resource discovery in a dynamic grid environment
CN105357322A (en) Virtual machine distribution method based on topology partition
CN112732756B (en) Data query method, device, equipment and storage medium
Xu et al. Energy‐efficient big data storage and retrieval for wireless sensor networks with nonuniform node distribution
CN107172214A (en) A kind of service node with load balancing finds method and device
CN102014113B (en) Storage method and system of dynamic information of goods in internet of things
CN102006317B (en) Method for storing and inquiring object information
CN104639583A (en) Method and device for sharing environment contexts
CN107943423A (en) The management method and computer-readable recording medium of storage resource in cloud system
CN104424316A (en) Data storage method, data searching method, related device and system
Abid et al. A novel scheme for node failure recovery in virtualized networks
CN104618414A (en) Implementation method of distributed service, service agent device and distributed system
CN108124285B (en) Message transmission method and device
CN110611688A (en) Method, electronic device and computer program product for searching nodes
CN105025042A (en) Method of determining data information, system and proxy servers

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