CN104301313B - A kind of method and convergence device for extending sensing network life cycle using caching - Google Patents

A kind of method and convergence device for extending sensing network life cycle using caching Download PDF

Info

Publication number
CN104301313B
CN104301313B CN201410509509.9A CN201410509509A CN104301313B CN 104301313 B CN104301313 B CN 104301313B CN 201410509509 A CN201410509509 A CN 201410509509A CN 104301313 B CN104301313 B CN 104301313B
Authority
CN
China
Prior art keywords
data
caching
validity
cache policy
term
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201410509509.9A
Other languages
Chinese (zh)
Other versions
CN104301313A (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.)
Northwestern Polytechnical University
Original Assignee
Northwestern Polytechnical University
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 Northwestern Polytechnical University filed Critical Northwestern Polytechnical University
Priority to CN201410509509.9A priority Critical patent/CN104301313B/en
Publication of CN104301313A publication Critical patent/CN104301313A/en
Application granted granted Critical
Publication of CN104301313B publication Critical patent/CN104301313B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

The embodiments of the invention provide a kind of method and convergence device for extending sensing network life cycle using caching, it is related to sensor network field, can reduces power consumption in the case of high-frequency exterior I nternet access, extend the life cycle of sensing network.The convergence device includes access processing module, the information for the data asked for receiving and parsing through out access request;Whether control module, the information for inquiring about asked data to cache policy module meet the requirement of cache policy, and when the information for the data asked meets the requirement of cache policy, asked data are directly obtained from spatial cache management module;When the data asked do not meet the requirement of cache policy, instruction is sent to sensor node by sensor node communication module and obtains real time data;The spatial cache management module, for storing cache policy corresponding to various data and various data.

Description

A kind of method and convergence device for extending sensing network life cycle using caching
Technical field
The present invention relates to sensor network field, more particularly to a kind of side for extending sensing network life cycle using caching Method and convergence device.
Background technology
Sensing network is commonly defined as a large amount of of random placement and is integrated with sensor, data processing unit and communication unit Microsensor node, the wireless network formed by way of self-organizing, these microsensor nodes are mostly by battery Power supply.When sensing network is specifically deployed in a region, these pass through biography by battery powered microsensor node Sensor can perceive, detect the information of surrounding environment, e.g., obtain the data such as temperature, humidity, illumination, vibration, pass through data processing The calculating processing of unit, then sends, self-organizing of these information in these microsensor nodes via communication unit The convergence device (gateway, aggregation node, aggregation gateway) of a sustainable power supply is ultimately transmitted under management.When a use When the user of network needs to access the real time data of these microsensor nodes acquisition in Internet some position, this Access request arrives first at convergence device, and convergence device retransmits instruction and arrives these microsensor nodes, works as microsensor Node gets and this real time data is finally transferred into convergence device after real time data, and convergence device is to accessing this number in real time According to user's returning result, access process terminates.In the case of using battery powered, when more using the number of users of network When, the real time data of frequent visit sensing network will allow these microsensor nodes, and high load capacity works always, battery electricity Amount accelerates to reduce, and sensing network life cycle greatly shortens.
Because sensor node is battery powered in actual deployment, therefore after sensing network uses a period of time Battery must be manually changed, when deployed environment people can not reach and (such as be encapsulated in concrete duct), it is necessary to reduce battery more Frequency is changed, extends sensing network life cycle to greatest extent, existing solution method is by microsensor node The software optimization of operation causes data processing unit increase calculating task to reach overall to exchange the workload of reduction communication unit for Electric quantity consumption is minimum, but life of such strategy in the case of high-frequency exterior I nternet access to extension sensing network The effect very little in cycle is ordered, because the electric quantity consumption that exterior I nternet access requests are brought each time is relative to sensor The reduced electric quantity consumption of node software optimization is much more, so frequently Internet access will allow sensor node electricity quick Consumption.
The content of the invention
Embodiments of the invention provide a kind of method and convergence device for extending sensing network life cycle using caching, can In the case of high-frequency exterior I nternet access, to reduce power consumption, extend the life cycle of sensing network.
To reach above-mentioned purpose, embodiments of the invention adopt the following technical scheme that:
A kind of convergence device, including:
Access processing module, the access request initiated for receiving user to sensor node, parsing the access please Seek the information of asked data;
Whether control module, the information for inquiring about the data that the access request is asked to cache policy module meet The requirement of cache policy;
The cache policy module, for storing cache policy corresponding to each data message and each data message, And judge whether the information of asked data meets the requirement of cache policy, wherein, the cache policy requires to include:Branch Hold caching and in the caching term of validity;The cache policy includes:Whether support caches;If support caching, the caching of data Whether the term of validity fixes or variable;If the caching term of validity of data is fixed, according to the ground of industry standard and deployment region Feature is managed, weather conditions set the fixed term of validity;If the caching term of validity of data is variable, according to different factor arrangements Variable term of validity rule table sets the variable term of validity;Whether exist with other data and associate validity, i.e., a variety of data it is effective Property it is synchronous change, if a kind of data must not also cache effectively not when caching in the term of validity with a variety of data that it associate In phase;
The control module, it is additionally operable to, when the information for the data asked meets the requirement of cache policy, directly postpone Deposit space management module and obtain asked data;When the data asked do not meet the requirement of cache policy, pass through sensing Device node communication module sends instruction to sensor node and obtains real time data, and reaches sensor node in the real time data During communication module, the corresponding cache policy of the information of the real time data is set in the cache policy module, and presses It is deposited into according to cache policy of the real time data in cache policy module in spatial cache management module, while by described in Real time data transfers to access processing module to return to user;
The spatial cache management module, for storing cache policy corresponding to various data and various data;
Sensor node communication module, for being communicated between sensor node.
A kind of method for extending sensing network life cycle using caching, including:
The access request that user initiates to sensor node is received, and parses the data that the access request is asked Information;
Whether the information that asked data are inquired about to cache policy module meets the requirement of cache policy, the caching plan Slightly module includes:Cache policy corresponding to each data message and each data message;The requirement bag of the cache policy Include:Support caching and in the caching term of validity;The cache policy includes:Whether support caches;If supporting caching, data Whether the caching term of validity fixes or variable;If the caching term of validity of data is fixed, according to industry standard and deployment region Geographical feature, weather conditions set the fixed term of validity;If the caching term of validity of data is variable, according to different factors Arrange variable term of validity rule table that the variable term of validity is set;Whether exist with other data and associate validity, i.e., a variety of data Validity synchronously changes, if a kind of data must not also not cache when caching in the term of validity with a variety of data that it is associated In the term of validity;
If met the requirements, data are directly obtained from spatial cache, return result to user;The spatial cache pipe Reason module includes cache policy corresponding to data and data;
If undesirable, real time data corresponding to instruction acquisition is sent to sensor node, and receiving The information of the real time data corresponding cache policy is set when stating real time data in the cache policy module, and pressed It is deposited into according to cache policy of the real time data in cache policy module in spatial cache management module, while by described in Real time data returns to user.
Above-mentioned technical proposal, by increasing cache policy and spatial cache in convergence device, from the frequent of outside When Internet is had access to up to convergence device, by the processing of cache policy, will have substantial amounts of access is actually according to caching Strategy obtains from spatial cache, and the data in the data cached term of validity are directly returned to user, and need not access biography Sensor node, this accesses the number of sensor node in sensing network, the electric quantity consumption pole of sensor node by greatly reducing The earth is reduced, and network lifecycle is extended;Simultaneously as cache policy can obtain number from the spatial cache of convergence device According to user is returned to, this Consumer's Experience of the access feedback speed of user can also be greatly enhanced.
Brief description of the drawings
Fig. 1 is a kind of structured flowchart of convergence device provided in an embodiment of the present invention;
Fig. 2 is that the browsing process that a kind of user provided in an embodiment of the present invention is carried out when exterior I nternet is accessed is illustrated Figure;
Fig. 3 is a kind of method for extending sensing network life cycle using caching provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The present invention implements to provide a kind of convergence device, as shown in figure 1, the convergence device includes:Control module 10, visit Ask processing module 11;Cache policy module 12;Spatial cache management module 13;Sensor node communication module 14.
With reference to shown in figure 2, browsing process figure when exterior I nternet is accessed is carried out for user, user can pass through Internet accesses the real time data of some sensor node in sensing network, and Client-initiated access request can be set by accessing It is standby to reach convergence device.
Access processing module 11 in the convergence device, please for receiving the access that user initiates to sensor node Ask, and parse the information for the data that the access request is asked.
Control module 10, for inquiring about what the access request was asked to cache policy module according to the data message Whether the information of data meets the requirement of cache policy.
Cache policy corresponding to each data message and each data message is stored in the cache policy module 12, this Sample it may determine that whether the information for going out asked data meets the requirement of cache policy, wherein, the cache policy will Ask including:Support caching and in the caching term of validity.
Here the cache policy includes:Whether support caches;If supporting caching, whether the caching term of validity of data It is fixed or variable;If the caching term of validity of data is fixed, according to industry standard and the geographical feature of deployment region, weather The term of validity that condition setting is fixed;If the caching term of validity of data is variable, the variable term of validity is arranged according to different factors Rule table sets the variable term of validity;Whether existing with other data and associate validity, i.e., the validity of a variety of data synchronously changes, If a variety of data that a kind of data associate not when caching in the term of validity with it also must not be in the caching term of validity.I.e. here Cache policy be exactly:Whether support caches, and the term of validity cached is how many.
The control module 10, be additionally operable to when the information for the data asked meets the requirement of cache policy, directly from Spatial cache management module 13 obtains asked data;When the data asked do not meet the requirement of cache policy, pass through Sensor node communication module 14 sends instruction to sensor node and obtains real time data, and reaches and sense in the real time data During device node communication module 14, the corresponding caching of the information of the real time data is set in the cache policy module 12 Strategy, and it is deposited into spatial cache management module 13 according to cache policy of the real time data in cache policy module 12 In, while transfer to access processing module 11 to return to user the real time data.
The spatial cache management module 13, for storing cache policy corresponding to various data and various data. When the space that the data that spatial cache management module 13 is deposited take exceedes the size that convergence device allows, release be not cached with The space that data in the effect phase take.
Sensor node communication module 14, for being communicated between sensor node.
The embodiments of the invention provide a kind of method for extending sensing network life cycle using caching, as shown in figure 3, institute The method of stating comprises the following steps:
301st, the access request that user initiates to sensor node is received, and parses the number that the access request is asked According to information.
Whether the information that asked data the 302nd, are inquired about to cache policy module meets the requirement of cache policy.
Wherein, the cache policy module includes:Caching plan corresponding to each data message and each data message Slightly;The cache policy requires to include:Support caching and in the caching term of validity;The cache policy includes:Whether support Caching;If supporting caching, whether the caching term of validity of data fixes or variable;If the caching term of validity of data is fixed, The fixed term of validity then is set according to industry standard and the geographical feature of deployment region, weather conditions;If data are cached with The effect phase is variable, then arranges variable term of validity rule table to set the variable term of validity according to different factors;Whether deposited with other data In association validity, i.e., the validity of a variety of data synchronously changes, if a kind of data are not closed when caching in the term of validity with it A variety of data of connection also must not be in the caching term of validity;
If met the requirements, step 303 is carried out, if undesirable, carries out step 304.
303rd, data are directly obtained from spatial cache, return result to user;Wrapped in the spatial cache management module Include cache policy corresponding to data and data.
304th, to sensor node send instruction obtain corresponding to real time data, and when receiving the real time data The information of the real time data corresponding cache policy is set in the cache policy module, and according to the real time data Cache policy in cache policy module is deposited into spatial cache management module, while the real time data is returned to User.
Wherein, the size that convergence device allows is exceeded in the space that the data deposited in spatial cache management module take When, the space of data occupancy of the release not in the caching term of validity.
Technical scheme provided in an embodiment of the present invention, by increasing cache policy and spatial cache in convergence device, come When having access to from the frequent Internet of outside up to convergence device, by the processing of cache policy, there will be substantial amounts of access actual On be to be obtained according to cache policy from spatial cache, the data in the data cached term of validity are directly returned to user, and Access sensors node is not needed, this accesses the number of sensor node in sensing network, sensor node by greatly reducing Electric quantity consumption greatly reduce, network lifecycle is extended;Simultaneously as cache policy can be from the slow of convergence device Deposit space acquisition data and return to user, this Consumer's Experience of the access feedback speed of user can also be greatly enhanced.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (4)

  1. A kind of 1. convergence device, it is characterised in that including:
    Access processing module, the access request initiated for receiving user to sensor node, parse the access request institute The information of the data of request;
    Whether control module, the information for inquiring about the data that the access request is asked to cache policy module meet caching The requirement of strategy;
    The cache policy module, for storing cache policy corresponding to each data message and each data message, and sentence Whether the information of disconnected asked data meets the requirement of cache policy, wherein, the cache policy requires to include:Support slow Deposit and in the caching term of validity;The cache policy includes:Whether support caches;If supporting caching, the caching of data is effective Whether the phase is fixed or variable;If the caching term of validity of data is fixed, the geography according to industry standard and deployment region is special Weather conditions of seeking peace set the fixed term of validity;, can according to different factor arrangements if the caching term of validity of data is variable Become term of validity rule table and the variable term of validity is set;Whether exist with other data and associate validity, i.e., the validity of a variety of data Synchronous change, if a variety of data that a kind of data associate not when caching in the term of validity with it also must not be in the caching term of validity It is interior;
    The control module, it is additionally operable to when the information for the data asked meets the requirement of cache policy, it is directly empty from caching Between management module obtain asked data;When the data asked do not meet the requirement of cache policy, pass through sensor section Point communication module sends instruction to sensor node and obtains real time data, and reaches sensor node communication in the real time data During module, the corresponding cache policy of the information of the real time data is set in the cache policy module, and according to institute Cache policy of the real time data in cache policy module is stated to be deposited into spatial cache management module, while will be described real-time Data transfer to access processing module to return to user;
    The spatial cache management module, for storing cache policy corresponding to various data and various data;
    Sensor node communication module, for being communicated between sensor node.
  2. 2. convergence device according to claim 1, it is characterised in that the spatial cache management module is additionally operable to caching When the space that the data of space management module storage take exceedes the size that convergence device allows, release is not in the caching term of validity Data take space.
  3. A kind of 3. method for extending sensing network life cycle using caching, it is characterised in that including:
    The access request that user initiates to sensor node is received, and parses the letter for the data that the access request is asked Breath;
    Whether the information that asked data are inquired about to cache policy module meets the requirement of cache policy, the cache policy mould Block includes:Cache policy corresponding to each data message and each data message;The cache policy requires to include:Branch Hold caching and in the caching term of validity;The cache policy includes:Whether support caches;If support caching, the caching of data Whether the term of validity fixes or variable;If the caching term of validity of data is fixed, according to the ground of industry standard and deployment region Manage the term of validity that feature and weather condition setting are fixed;If the caching term of validity of data is variable, pacify according to different factors Arrange variable term of validity rule table and the variable term of validity is set;Whether exist with other data and associate validity, i.e., a variety of data have Effect property is synchronous to be changed, if a kind of data must not be also cached with when caching in the term of validity with a variety of data that it is associated In the effect phase;
    If met the requirements, data are directly obtained from spatial cache management module, return result to user;The caching is empty Between management module include cache policy corresponding to data and data;
    If undesirable, real time data corresponding to instruction acquisition is sent to sensor node, and receiving the reality When data when the corresponding cache policy of the information of the real time data is set in the cache policy module, and according to institute Cache policy of the real time data in cache policy module is stated to be deposited into spatial cache management module, while will be described real-time Data return to user.
  4. 4. according to the method for claim 3, it is characterised in that in the sky that the data of spatial cache management module storage take Between exceed convergence device allow size when, release caching the term of validity in data take space.
CN201410509509.9A 2014-09-18 2014-09-18 A kind of method and convergence device for extending sensing network life cycle using caching Expired - Fee Related CN104301313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410509509.9A CN104301313B (en) 2014-09-18 2014-09-18 A kind of method and convergence device for extending sensing network life cycle using caching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410509509.9A CN104301313B (en) 2014-09-18 2014-09-18 A kind of method and convergence device for extending sensing network life cycle using caching

Publications (2)

Publication Number Publication Date
CN104301313A CN104301313A (en) 2015-01-21
CN104301313B true CN104301313B (en) 2017-12-19

Family

ID=52320881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410509509.9A Expired - Fee Related CN104301313B (en) 2014-09-18 2014-09-18 A kind of method and convergence device for extending sensing network life cycle using caching

Country Status (1)

Country Link
CN (1) CN104301313B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102573021A (en) * 2010-12-31 2012-07-11 中兴通讯股份有限公司 Method and gateway for processing wireless sensor network (WSN) message
CN103067497A (en) * 2012-12-27 2013-04-24 北京时代凌宇科技有限公司 System of internet of things
CN203039730U (en) * 2013-01-15 2013-07-03 陕西延长石油(集团)有限责任公司研究院 Wisdom oil field ground internet of things system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0321096D0 (en) * 2003-09-09 2003-10-08 British Telecomm Hierarchical routing in ad-hoc networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102573021A (en) * 2010-12-31 2012-07-11 中兴通讯股份有限公司 Method and gateway for processing wireless sensor network (WSN) message
CN103067497A (en) * 2012-12-27 2013-04-24 北京时代凌宇科技有限公司 System of internet of things
CN203039730U (en) * 2013-01-15 2013-07-03 陕西延长石油(集团)有限责任公司研究院 Wisdom oil field ground internet of things system

Also Published As

Publication number Publication date
CN104301313A (en) 2015-01-21

Similar Documents

Publication Publication Date Title
CN105450780B (en) A kind of CDN system and its return source method
CN102571921B (en) Network access method and device for mobile equipment
CN104539681B (en) The processing method of distributed GIS acceleration systems and GIS service
CN102624881B (en) Mobile-device-oriented service cache system architecture and development method
CN101656985B (en) Method for managing url resource cache and device thereof
CN104798071A (en) Improving web sites performance using edge servers in fog computing architecture
CN100563214C (en) A kind of method and system that improve accesses network resource speed
CN104506637B (en) Solve caching method, system and the URL forwarding servers of network congestion
CN107016056B (en) Distributed storage system and method for large-volume heterogeneous sensing data in Internet of things
CN103227826A (en) Method and device for transferring file
CN102195971A (en) Website access control method
CN104346345B (en) The storage method and device of data
CN101510874A (en) Setup system and method for network connection, network communication tool and method
CN106230942A (en) A kind of method and system of time source access
CN107949046A (en) Wireless senser management method, apparatus and system
US20150006681A1 (en) Mobile device and method for controlling transmission to web server in mobile device
CN102625486A (en) Agent node and sensor network
CN106899692A (en) A kind of content center network node data buffer replacing method and device
CN103970678B (en) Catalogue designing method and device
CN102957744B (en) The method of shunting, system and device are positioned to mobile terminal
CN105279156B (en) Network information communication means and network information browsing apparatus
CN104301313B (en) A kind of method and convergence device for extending sensing network life cycle using caching
CN104539597A (en) Multimedia data pushing method and device
CN102075584B (en) Distributed file system and access method thereof
CN107070978A (en) A kind of inter-network acts on behalf of the method, system and proxy server of web map service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171219

Termination date: 20180918

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