CN105025079A - Method and system for storing resources in Internet of Things (IOT) system - Google Patents

Method and system for storing resources in Internet of Things (IOT) system Download PDF

Info

Publication number
CN105025079A
CN105025079A CN201510290431.0A CN201510290431A CN105025079A CN 105025079 A CN105025079 A CN 105025079A CN 201510290431 A CN201510290431 A CN 201510290431A CN 105025079 A CN105025079 A CN 105025079A
Authority
CN
China
Prior art keywords
storage resources
resource
data
attached
storage
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
CN201510290431.0A
Other languages
Chinese (zh)
Other versions
CN105025079B (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.)
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Original Assignee
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
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 Qingdao Haier Intelligent Home Appliance Technology Co Ltd filed Critical Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Priority to CN201510290431.0A priority Critical patent/CN105025079B/en
Publication of CN105025079A publication Critical patent/CN105025079A/en
Application granted granted Critical
Publication of CN105025079B publication Critical patent/CN105025079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The invention provides a method and system for storing resources in an Internet of Things (IOT) system. The method comprises that: a data collection platform determines whether an established first storage resource exceeds a storage limit; if yes, the data collection platform searches and selects a data storage platform for establishing a second storage resource; the data collection platform sends a request for establishing the second storage resource to the data storage platform in order that the data storage platform establishes the second storage resource; and the data collection platform marks the second storage resource as an attributed resource in the first storage resource and stores received acquisition data in the attributed resource. By means of the above scheme, the method and the system expand the storage space of a container by reasonably utilizing the storage space of peripheral equipment.

Description

A kind of method and system of storage resources of Internet of things system
Technical field
The present invention relates to Resource Storage technology, be specifically related to a kind of method and system of storage resources of Internet of things system.
Background technology
The communication of machine to machine refers to the data communication not needing between machine to carry out when artificially participating in, and is applicable to the scenes such as such as traffic control and management, remote meter reading, remote monitoring, medical monitoring, Intelligent housing.In order to provide the data communication between machine, service provider provides a business platform to the machinery equipment of user side or device gateway, and the machinery equipment of user side is directly or by one or more device gateway access service platform.General service functional module (or entity) in the machinery equipment of the general service functional module (or entity) in this business platform and user side or device gateway is set up data channel and is carried out data communication (A interface).This data channel such as can based on IP data link.General service functional module (or entity) in business platform/machinery equipment/device gateway accepts the service of network service function module (or entity) by B interface, such as network service function module (or entity) can provide the positional information of equipment to general service functional module (or entity), and carries out the services such as equipment control.
For the situation of machinery equipment or the direct access service platform of device gateway, if machinery equipment/device gateway has been registered in business platform set up A interface.It is to be noted: in said system, the route of the communication information based on registration relation, when namely only having machinery equipment to be registered to device gateway or another machinery equipment, the message that the former sends, directly can be sent to the latter, and other equipment can not be mail to.Therefore there is very large probability, the message of above-mentioned transmission can be routed to business platform.When follow-up business platform needs to machinery equipment/device gateway transferring messages, the down hop of message cannot be determined based on above-mentioned registration relation, because business platform is the equipment that can not be registered to other.
In the system of above-mentioned framework, some system data, user data etc. all exist in container resource.But in the process creating container, need to specify the capacity limit maxByteSize of container or the restricted number maxNrOfInstances of contentinstance, when above-mentioned two restrictions are broken, system has the process of some acquiescences, as deleted the contentinstance set up the earliest.
Have the demand gathering and preserve mass data at platform of internet of things, this " in a large number " likely breaks through the restriction of the container of foundation.The particularly scene of monitoring in real time, how data possibility " innumerable ", process this problem, in the standard of OneM2M, also do not relate to this problem.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of a kind of method and system of storage resources of Internet of things system overcoming the problems referred to above or solve the problem at least in part.
Based on the problems referred to above, embodiments provide a kind of method of storage resources of Internet of things system, described method comprises:
Data collection platform judges whether the first storage resources created exceeds and stores restriction;
If so, then described data collection platform is searched and is selected the data of establishment second storage resources to preserve platform;
Described data collection platform is preserved platform to described data and is sent the request creating described second storage resources, preserves platform create the second storage resources to make described data;
It is attached resource that described data collection platform identifies the second storage resources in the first storage resources, and the image data received is saved in this attached resource.
Described the image data received is saved in this attached resource, comprise: the second storage resources that described data collection platform preserves platform to described data transmits its image data of preserving, and empty described first resource data store, the image data that wait-receiving mode is new.
Described the image data received is saved in this attached resource, comprises: described acquired data storage to described second storage resources, and is retained the described image data in described first storage resources by described data collection platform.
Described first storage resources is primary resource, is direct access resources; Described second storage resources is attached resource, can only be accessed by described primary resource.
Before creating described second storage resources, described data collection platform detection has the equipment of storage capacity, and consults with it, whether creates attached resource on said device.
If described second storage resources all can not preserve the image data in described data collection platform, then need preserve in platform in described data and create the 3rd storage resources, preserve remaining image data, described 3rd storage resources constructive process is identical with the process creating described second storage resources.
Second aspect, a kind of method calling storage resources, is characterized in that, comprising:
Obtain the instruction of operation first storage resources;
Judge whether described first storage resources has attached resource, and judge whether opereating specification comprises attached resource or part satellite resource according to described operational order;
If then to the operation requests of the attached resource of attached resource transmit operation, described data are preserved platform and are performed corresponding operating and return operation result information;
Then described data collection platform performs corresponding operating and returns operating result if not.
The third aspect, embodiments provides the system of storage resources in a kind of Internet of Things, and described system comprises:
Judge module, stores restriction for judging whether the first storage resources created exceeds;
Search module, when storing restriction for exceeding when described first storage resources, searching and selecting the data of establishment second storage resources to preserve platform;
Attached asset creation request module, sends for preserving platform to described data the request creating described second storage resources, preserves platform create the second storage resources to make described data;
Memory module, is attached resource for identifying the second storage resources in the first storage resources, and the image data received is saved in this attached resource.Described first storage resources is primary resource, and be direct access resources, described attached resource can only be accessed by described primary resource.
If described data collection platform or described first storage resources can not preserve whole image data, then need to send to described data storage device the request creating attached resource, image data is sent in described data storage device.
Fourth aspect, embodiments provides the method for Data Collection in a kind of Internet of Things, and described method comprises:
Collect the data message of data acquisition A PP;
Judge that whether image data limits beyond the storage of the primary storage resource created;
If so, then search and select to create the memory device of attached storage resources;
The request creating described attached storage resources is sent to memory device;
After receiving the successful response of memory device establishment, in described primary storage resource, identify described attached storage resources is attached resource;
Described image data is sent to described attached storage resources.
Described described image data is sent to described attached storage resources, comprises: transmit its image data of preserving to described attached storage resources, and empty described primary storage resource data, the image data that wait-receiving mode is new.Described described image data is sent to described attached storage resources, comprises: transmit image data to described attached storage resources, and retain described primary storage resource data.
Described primary storage resource is direct access resources, and described attached storage resources can only by described primary storage resource access.
If described attached storage resources can not all preserve all image data, then need create attached resource again in described memory device, preserve remaining image data.
The beneficial effect of the embodiment of the present invention comprises:
The method and system of the storage resources of a kind of Internet of things system that the embodiment of the present invention provides, when platform of internet of things has the demand gathering and preserve mass data, the memory space of Appropriate application peripheral equipment, expands the memory space of container.Be applicable to monitoring in real time etc. need preserve in the scene of mass data.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
The method flow diagram of the storage resources of the Internet of things system that Fig. 1 provides for the embodiment of the present invention
The method platform interaction figure of the storage resources of the Internet of things system that Fig. 2 provides for the embodiment of the present invention
The method flow diagram of the operational processes image data that Fig. 3 provides for the embodiment of the present invention
The method platform interaction figure of the operational processes image data that Fig. 4 provides for the embodiment of the present invention
The method flow diagram of Data Collection in the Internet of Things that Fig. 5 provides for the embodiment of the present invention
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Below respectively by reference to the accompanying drawings, the method and system of the storage resources of the Internet of things system that the embodiment of the present invention provides is described respectively.
Specifically, the method for the storage resources of the Internet of things system that the embodiment of the present invention provides, as depicted in figs. 1 and 2, comprises the steps:
S101, data collection platform judge whether the first storage resources created exceeds and store restriction.
After data acquisition A PP (ADN) image data, send to data collection platform (MN).Data collection platform has created container-1 resource to deposit above-mentioned data.Following Railway Project may be there is in the process of store data:
(1). data break through container-1 capacity limit
(2). data break through the contentinstance restricted number of container-1
(3). breach the capacity that data collection platform distributes
If S102 exceeds store restriction, data collection platform is searched and is selected the data of establishment second storage resources to preserve platform, and data collection platform preserves to data the request that platform sends establishment second storage resources.
Data collection platform preserves to data the attached container-2 resource that container-1 is set up in platform (IN) request.Container-1 is primary resource, externally visible, can directly access; Container-2 is that attached resource is externally invisible only visible to container-1, and namely only have founder container-1 to access, other visitor can not access, and can feed back to its attached resource to the operation of container-1.
S103, data are preserved platform and are received request and after authentication, create the second storage resources and be designated the attached resource of the first storage resources;
It is attached resource that S104, data collection platform identify the second storage resources in the first storage resources;
After data collection platform receives the establishment successful respond of data preservation platform transmission, in container-1, identify it has attached resource container-2.Several attached resources can be had in theory.
The image data received is sent to the second storage resources that described data preserve platform by S105, described data collection platform.
It comprises two kinds of modes:
(1) the second storage resources that data collection platform preserves platform to described data transmits its image data of preserving, and empties described first resource data store, the image data that wait-receiving mode is new.
(2) data collection platform is by described acquired data storage to described second storage resources, does not empty the described image data in described first storage resources.
Data collection platform transmits preservation data or partial data preserves platform preservation (putting into container-2) to data.
Data are preserved platform and are included but not limited to IN, also can have the equipment of memory function for periphery.Before sending the request creating auxiliary resources, data collection platform carries out the discovery procedure that has storage capacity equipment, and consults with it, whether can create attached resource thereon.
If container-2 all can not preserve the image data in data collection platform, then need preserve in platform in data and create container-3, preserve remaining image data, if still can not all preserve, create container-4, by that analogy, until total data is all kept in attached resource, the process creating attached resource is identical.
As shown in Figure 3 and Figure 4, when the data gathered need to process, proceed as follows:
S301, judge whether container-1 has attached resource, and whether opereating specification comprises attached resource or part satellite resource;
If S302 is then to the operation requests of the attached resource of attached resource transmit operation, described data are preserved platform executable operations and are returned operation result information;
S303 otherwise described data collection platform executable operations also return operating result.
The system of storage resources in a kind of Internet of Things that the embodiment of the present invention provides, described system comprises:
Judge module, stores restriction for judging whether the first storage resources created exceeds;
Search module, when storing restriction for exceeding when described first storage resources, searching and selecting the data of establishment second storage resources to preserve platform;
Attached asset creation request module, sends for preserving platform to described data the request creating described second storage resources, preserves platform create the second storage resources to make described data;
Memory module, is attached resource for identifying the second storage resources in the first storage resources, and the image data received is saved in this attached resource.
Described first storage resources is primary resource, and be direct access resources, described attached resource can only be accessed by described primary resource.
If described data collection platform or described first storage resources can not preserve whole image data, then need to send to described data storage device the request creating attached resource, image data is sent in described data storage device.
The method of Data Collection in the Internet of Things that the embodiment of the present invention provides, as shown in Figure 5, described method comprises:
The data message of S501, collection data acquisition A PP;
Whether the primary storage resource that S502, judgement have created has exceeded stores restriction;
S503, if so, then search and select to create the memory device of attached storage resources;
S504, to send to memory device and create the request of described attached storage resources;
After S505, reception memory device create successfully response, in primary storage resource, identify described attached storage resources is attached resource;
S506, described image data is sent to described attached storage resources.
Step S506 comprises two kinds of modes:
(1) transmit its image data of preserving to described attached storage resources and all image data are sent to described attached storage resources, and empty described primary storage resource data, the image data that wait-receiving mode is new.
(2) transmit image data to described attached storage resources, do not empty described primary storage resource data.
Described primary storage resource is direct access resources, and described attached storage resources can only be accessed by described primary resource.
If described attached storage resources can not all preserve all data, then need create attached resource again in described memory device, preserve remaining data.
The step of described data processing operation is as follows:
Judge whether described primary storage resource has attached resource, and whether opereating specification comprises attached resource or part satellite resource;
If then to the operation requests of the attached resource of attached resource transmit operation, described memory device executable operations also returns operation result information;
Otherwise described primary resource executable operations also returns operating result.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit, although with reference to above-described embodiment to invention has been detailed description, those of ordinary skill in the field are to be understood that: still can modify to the specific embodiment of the present invention or equivalent replacement, and not departing from any amendment of spirit and scope of the invention or equivalent replacement, it all should be encompassed in the middle of right of the present invention.

Claims (15)

1. a method for the storage resources of Internet of things system, is characterized in that, described method comprises:
Data collection platform judges whether the first storage resources created exceeds and stores restriction;
If so, then described data collection platform is searched and is selected the data of establishment second storage resources to preserve platform;
Described data collection platform is preserved platform to described data and is sent the request creating described second storage resources, preserves platform create the second storage resources to make described data;
It is attached resource that described data collection platform identifies the second storage resources in the first storage resources, and the image data received is saved in this attached resource.
2. the method for storage resources according to claim 1, it is characterized in that, described the image data received is saved in this attached resource, comprise: the second storage resources that described data collection platform preserves platform to described data transmits its image data of preserving, and empty described first resource data store, the image data that wait-receiving mode is new.
3. the method for storage resources according to claim 1, it is characterized in that, described the image data received is saved in this attached resource, comprise: described data collection platform by described acquired data storage extremely described second storage resources, and retains the described image data in described first storage resources.
4. the method for storage resources according to claim 1, it is characterized in that, described first storage resources is primary resource, is direct access resources; Described second storage resources is attached resource, can only be accessed by described primary resource.
5. the method for storage resources according to claim 1, is characterized in that, before creating described second storage resources, described data collection platform detection has the equipment of storage capacity, and consults with it, whether creates attached resource on said device.
6. the method for storage resources according to claim 1, it is characterized in that, if described second storage resources all can not preserve the image data in described data collection platform, then need preserve in platform in described data and create the 3rd storage resources, preserve remaining image data, described 3rd storage resources constructive process is identical with the process creating described second storage resources.
7. call a method for storage resources, it is characterized in that, comprising:
Obtain the instruction of operation first storage resources;
Judge whether described first storage resources has attached resource, and judge whether opereating specification comprises attached resource or part satellite resource according to described operational order;
If then to the operation requests of the attached resource of attached resource transmit operation, described data are preserved platform and are performed corresponding operating and return operation result information;
Then described data collection platform performs corresponding operating and returns operating result if not.
8. the system of storage resources in Internet of Things, it is characterized in that, described system comprises:
Judge module, stores restriction for judging whether the first storage resources created exceeds;
Search module, when storing restriction for exceeding when described first storage resources, searching and selecting the data of establishment second storage resources to preserve platform;
Attached asset creation request module, sends for preserving platform to described data the request creating described second storage resources, preserves platform create the second storage resources to make described data;
Memory module, is attached resource for identifying the second storage resources in the first storage resources, and the image data received is saved in this attached resource.
9. the system of storage resources according to claim 8, it is characterized in that, described first storage resources is primary resource, and be direct access resources, described attached resource can only be accessed by described primary resource.
10. the system of storage resources according to claim 8, it is characterized in that, if described data collection platform or described first storage resources can not preserve whole image data, then need to send to described data storage device the request creating attached resource, image data is sent in described data storage device.
In 11. 1 kinds of Internet of Things, the method for Data Collection, is characterized in that, described method comprises:
Collect the data message of data acquisition A PP;
Judge that whether image data limits beyond the storage of the primary storage resource created;
If so, then search and select to create the memory device of attached storage resources;
The request creating described attached storage resources is sent to memory device;
After receiving the successful response of memory device establishment, in described primary storage resource, identify described attached storage resources is attached resource;
Described image data is sent to described attached storage resources.
12. according to the method for Data Collection described in claim 11, it is characterized in that, described described image data is sent to described attached storage resources, comprise: transmit its image data of preserving to described attached storage resources, and empty described primary storage resource data, the image data that wait-receiving mode is new.
13., according to the method for Data Collection described in claim 11, is characterized in that, described described image data are sent to described attached storage resources, comprising: transmit image data to described attached storage resources, and retain described primary storage resource data.
14. according to the method for Data Collection described in claim 11, and it is characterized in that, described primary storage resource is direct access resources, and described attached storage resources can only by described primary storage resource access.
15., according to the method for Data Collection described in claim 11, is characterized in that, if described attached storage resources can not all preserve all image data, then need create attached resource again in described memory device, preserve remaining image data.
CN201510290431.0A 2015-05-29 2015-05-29 A kind of method and system of the storage resource of Internet of things system Active CN105025079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510290431.0A CN105025079B (en) 2015-05-29 2015-05-29 A kind of method and system of the storage resource of Internet of things system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510290431.0A CN105025079B (en) 2015-05-29 2015-05-29 A kind of method and system of the storage resource of Internet of things system

Publications (2)

Publication Number Publication Date
CN105025079A true CN105025079A (en) 2015-11-04
CN105025079B CN105025079B (en) 2018-11-06

Family

ID=54414775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510290431.0A Active CN105025079B (en) 2015-05-29 2015-05-29 A kind of method and system of the storage resource of Internet of things system

Country Status (1)

Country Link
CN (1) CN105025079B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1196528A (en) * 1997-03-13 1998-10-21 摩托罗拉公司 System and method for delivery of information over narrow-band communications links
CN1481113A (en) * 2002-09-06 2004-03-10 () Method for automatic searching between devices on network
CN102129619A (en) * 2011-03-08 2011-07-20 国网信息通信有限公司 Service data processing method and system based on cloud storage
CN102651027A (en) * 2012-04-05 2012-08-29 福兴达科技实业(深圳)有限公司 Method and device for extending storage space
CN103973791A (en) * 2014-05-08 2014-08-06 江苏物联网研究发展中心 Rapid uniform storage system of internet of things

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1196528A (en) * 1997-03-13 1998-10-21 摩托罗拉公司 System and method for delivery of information over narrow-band communications links
CN1481113A (en) * 2002-09-06 2004-03-10 () Method for automatic searching between devices on network
CN102129619A (en) * 2011-03-08 2011-07-20 国网信息通信有限公司 Service data processing method and system based on cloud storage
CN102651027A (en) * 2012-04-05 2012-08-29 福兴达科技实业(深圳)有限公司 Method and device for extending storage space
CN103973791A (en) * 2014-05-08 2014-08-06 江苏物联网研究发展中心 Rapid uniform storage system of internet of things

Also Published As

Publication number Publication date
CN105025079B (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN103339901B (en) Terminal in content guiding network environment and the communication means of intermediate node and terminal and intermediate node
CN104767679B (en) A kind of method and device for transmitting data in network system
CN101779516A (en) Radio communication system and base station
CN103781055A (en) Data downloading method and associated device
CN113596191A (en) Data processing method, network element equipment and readable storage medium
US20120096136A1 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
CN102316416A (en) Access method for terminal and wireless communication network
CN103095587B (en) A method for registration service, network group center control nodes and system
CN112491944A (en) Edge application discovery method and device, and edge application service support method and device
CN113572864B (en) Data processing method, network element equipment and readable storage medium
GB2494473A (en) Caching of content in a mobile communications network
CN105307173A (en) Communication network architecture, access authentication method and system based on communication network architecture
CN109729011B (en) Flow forwarding method, device and computer readable storage medium
CN113765816A (en) Flow control method, system, equipment and medium based on service grid
CN101540969A (en) Method for realizing number carried in short message system and device thereof
CN109379764A (en) File transmitting method and device
CN105656978A (en) Resource sharing method and device
CN107580365B (en) Region management method and system for satellite communication
CN111600929B (en) Transmission line detection method, routing strategy generation method and proxy server
CN111356182A (en) Resource scheduling and processing method and device
CN107026878A (en) Subscribe to the dissemination method and device of message
CN105376706A (en) Method and apparatus for subscribing equipment position information
US20130268629A1 (en) Method and device for digital data communication
CN101471838B (en) Method, system and equipment for switching source
CN109962834B (en) Information processing method, system, terminal and computer storage medium

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Lv Xiaoqiang

Inventor after: Li Li

Inventor after: Zhong Lijing

Inventor after: Zhao Honglei

Inventor after: Mou Tingting

Inventor before: Lv Xiaoqiang