CN110110003A - The data storage control method and device of M2M platform - Google Patents

The data storage control method and device of M2M platform Download PDF

Info

Publication number
CN110110003A
CN110110003A CN201810079558.1A CN201810079558A CN110110003A CN 110110003 A CN110110003 A CN 110110003A CN 201810079558 A CN201810079558 A CN 201810079558A CN 110110003 A CN110110003 A CN 110110003A
Authority
CN
China
Prior art keywords
data
stored
data storage
parameter
request
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.)
Pending
Application number
CN201810079558.1A
Other languages
Chinese (zh)
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.)
Guangzhou Computer Network Information Center Chinese Academy Of Sciences
Computer Network Information Center of CAS
Original Assignee
Guangzhou Computer Network Information Center Chinese Academy Of Sciences
Computer Network Information Center of CAS
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 Guangzhou Computer Network Information Center Chinese Academy Of Sciences, Computer Network Information Center of CAS filed Critical Guangzhou Computer Network Information Center Chinese Academy Of Sciences
Priority to CN201810079558.1A priority Critical patent/CN110110003A/en
Publication of CN110110003A publication Critical patent/CN110110003A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The present invention provides a kind of data storage control method of M2M platform, which comprises the following steps: receives the data storage request comprising data to be stored that data collection station is sent;In response to the data storage request, the data storage location parameter in the data storage request is extracted;The data to be stored is stored to block chain or specified data library according to the data storage location parameter.The present invention carries out the safety that data sharing improves data, authenticity by block chain, and circulation worldwide compensates for the deficiency of Data Share System in M2M platform.Meanwhile the problems such as low efficiency, capacity are not able to satisfy when solving based on the storage of block chain.One kind is provided in M2M platform, the method that efficient, safe, credible, circulation worldwide data sharing is realized based on block chain.

Description

The data storage control method and device of M2M platform
Technical field
The present invention relates to internet of things field more particularly to a kind of data sharing sides of the M2M platform based on block chain Method and device.
Background technique
Machine communication (Machine-to-Machine Communications, M2M) is a kind of Core, networking application and service, by being internally embedded wirelessly or non-wirelessly communication module and application processing in machine Logic realizes the data communication for being not necessarily to manual intervention, to meet user to sides such as monitoring, command scheduling, data acquisition and measurements The information system requirement in face.
The increasing number of internet of things equipment will rise to 1,000,000,000,000 to internet of things equipment quantity in 2035.Such huge object Networked devices quantity will generate huge internet of things data.Distort and the decentralization data recording fashion of block chain, can be with The data of big data are made to acquire guarantee genuine and believable.Further, block chain can ensure that data carry out with natural transaction attribute Lossless circulation, and transaction rate is improved, data value is played, isolated island is broken.In addition the security feature of block chain can be data Security and privacy protection provide may.
Block chain, which is applied to M2M/ Internet of Things, can largely ensure data validity in M2M/ Internet of Things, data circulation Property (data silo), data safety and privacy violation.And it is currently directed to and how to be total to the data of M2M platform by block chain It enjoys, does not there is molding solution also.
In addition, if storing mass data to publicly-owned block chain, low efficiency will lead to, it is difficult to meet huge data Capacity requirement, detailed data can not be stored directly, and also higher using publicly-owned block chain storing data cost.Therefore, it is necessary to It provides one kind efficiently, meets large capacity needs, the side of the inexpensive data sharing combined based on M2M platform with block chain Method.
Summary of the invention
The present invention provide a kind of M2M platform data storage control method and corresponding system with realize it is efficient, safe, can Believe, the method for the data sharing of circulation worldwide.
In a first aspect, the present invention provides a kind of data storage control method of M2M platform, comprising the following steps:
Receive the data storage request comprising data to be stored that data collection station is sent;
In response to the data storage request, the data storage location parameter in the data storage request is extracted;
The data to be stored is stored to block chain or specified data library according to the data storage location parameter.
Specifically, the data storage location parameter includes first position parameter and second position parameter, described first Location parameter is the address mark of the currently stored entity of data to be stored, and the second position parameter is that data are stored in area The node address of block chain.
Specifically, described store the data to be stored to block chain or specify according to the data storage location parameter Database, specifically include:
Check the data storage location parameter in the data storage request, if the first position parameter is null value, Data to be stored is stored to block chain or specified database according to the second position parameter;
If the first position parameter is the address mark of the currently stored entity of data to be stored, by described first The address mark of the entity in location parameter is stored to block chain.
If specifically, first position parameter be null value, will number be stored according to the second position parameter According to storing to block chain or specified database, specifically include:
If the second position parameter is null value, data to be stored is stored to specified database;
If the second position parameter is the node address of specified block chain, data to be stored is stored to described the The node address of block chain specified by two location parameters.
Preferably, the specified data library includes the resource information created under the corresponding resource of data collection station, If second position parameter is null value, data to be stored is stored to specified database, is specifically included:
According to the data storage request, establishing resource information is under the corresponding resource of the data collection station to store The data to be stored.
Specifically, establishing resource information is under the corresponding resource of the data collection station to store the data to be stored Later, further includes:
The location parameter for receiving the transmission of authorized user end updates request, updates request according to the location parameter and updates the number According to storage location parameter.
Specifically, after the data storage location parameter according to information update request update, further includes:
The data to be stored is stored to block chain or specified database according to updated data storage location parameter.
It is preferably, described to store the data to be stored to block chain or specified database, further includes:
The newly-built request of resource for receiving data collection station transmission checks that the data in the newly-built request of the resource are deposited Location parameter is stored up, stores data to be stored to corresponding position according to the data storage location parameter.
Specifically, the newly-built request of the resource includes data capsule resource request or the newly-built request of its child resource.
Specifically, the establishing resource information under the corresponding resource of the data collection station is described wait store to store After data, further includes:
The notification message for creating the resource information is sent to user terminal.
Preferably, described that the data to be stored is stored to block chain or specified according to the data storage location parameter After database, comprising:
The resource information acquisition request that user terminal is sent is received, to the corresponding resource information of client feeds back.
Second aspect, the present invention provide a kind of data recording control apparatus of M2M platform, and described device includes data receiver Module, location parameter extraction module and data allocation module, wherein
Data reception module, the data storage request comprising data to be stored that acquisition terminal is sent for receiving data;
Location parameter extraction module, for extracting the number in the data storage request in response to the data storage request According to storage location parameter;
Data allocation module, for storing the data to be stored to block chain according to the data storage location parameter Or specified data library.
Compared with prior art, scheme provided by the invention has the advantage that
1, the invention discloses the data storage control methods and device of a kind of M2M platform, and the method is by receiving number The data storage request comprising data to be stored sent according to acquisition terminal;In response to the data storage request, the number is extracted According to the data storage location parameter in storage request;According to the data storage location parameter by the data to be stored store to Block chain or specified data library.The present invention carries out data sharing by block chain and improves the safeties of data, authenticity, entirely Ball circulation compensates for the deficiency of Data Share System in M2M platform.
2, one aspect of the present invention can update request by receiving the location parameter of authorized user end transmission, according to the position Parameter updating request updates the data storage location parameter.By the setting of authorized user terminal, number to be stored is determined According to storage location.On the other hand, the present invention can be with data collection station when submitting data storage request, direct designation date The position of storage, will be to according to the data storage location parameter carried in the request when M2M platform receives the data storage request Storing data is stored into block chain, to optimize the mechanism of the data sharing of M2M platform.
To sum up, the present invention carries out the safety that data sharing improves data, authenticity, circulation worldwide by block chain Property, compensate for the deficiency of Data Share System in M2M platform.Meanwhile the present invention solves efficiency when storing based on block chain The problems such as low, capacity cannot be satisfied provides one kind in M2M platform, is realized based on block chain efficient, safe, credible, complete The method of the data sharing of ball circulation.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is a kind of a kind of embodiment flow diagram of data storage control method of M2M platform of the invention;
Fig. 2 is to set data to be stored by user in a kind of data storage control method of M2M platform of the invention The flow chart of storage location;
Fig. 3 is to be set eventually wait store in a kind of data storage control method of M2M platform of the invention by data acquisition The flow chart of the storage location of data;
Fig. 4 is a kind of a kind of embodiment flow diagram of data recording control apparatus of M2M platform of the invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Referring to Fig. 1, a kind of data storage control method of M2M platform provided by the present invention, the method are implemented in Each functional module of M2M platform includes the following steps: specifically in a kind of embodiment
S11, the data storage request comprising data to be stored that data collection station is sent is received.
In the embodiment of the present invention, the data to be stored of acquisition is contained in data storage request and submits by data collection station It further include the storage location parameter of the data to be stored to M2M platform, in the data storage request.The storage location ginseng Number is used to indicate the current storage location of the data to be stored and to storage location.
In the embodiment of the present invention, the data to be stored can may be to store target data for a target data Address mark, when carrying out data storage, can be according to data storage request judgement treat the target data of storage into Row storage still stores the address mark for the entity for storing target data.
Specifically, the data storage request, which is used to indicate M2M platform, is stored in the storage location for data to be stored Position specified by parameter, alternatively, the data storage request is used to indicate M2M platform for the currently stored data to be stored Entity address mark store to corresponding position.
Further, the data storage request is also used to indicate that the storage location of the data to be stored is used by authorization The setting at family is determined or is determined by the setting of data collection station.
Further, M2M platform receives the data storage extracted in the data storage request after the data storage request and joins Number, stores the data to be stored according to the data storage parameters.
S12, in response to the data storage request, extract the data storage location parameter in the data storage request.
In the embodiment of the present invention, the data storage parameters include first position parameter and second position parameter, described First position parameter is the address mark of the currently stored entity of data to be stored, and the second position parameter is data storage In the node address of block chain.
Specifically, the first position parameter indicates the current storage location of the data to be stored.If this parameter is Null value then stores data in database or block chain with reference to second position parameter decision.If this parameter value is storage The address of the entity of data to be stored identifies (such as IP address), then stores the address mark of this entity to block chain.
Further, the second position parameter is with indicating the node for the block chain that the data to be stored need to store Location.If this parameter does not provide in solicited message, address storage can be pre-configured by platform.
Please refer to the following table 1, table 1 is shown in a kind of possible application, the first position parameter and the second position The mode of corresponding data storage under the different value conditions of parameter.
Data storage method under the different value conditions of 1 data storage location parameter of table
In upper table 1, when the first position parameter value is sky, the second position parameter value is When V8iAvbAN319uVJPm2qrxdJNgXSdFSiyQoQ4Y, then by the data to be stored store to The block chain node that V8iAvbAN319uVJPm2qrxdJNgXSdFSiyQoQ4Y is referred to.
When the first position parameter value is 20.168.1.1.0, the second position parameter value is When V8iAvbAN319uVJPm2qrxdJNgXSdFSiyQoQ4Y, then by the address of entity mark 20.168.1.1.0 store to The block chain node that V8iAvbAN319uVJPm2qrxdJNgXSdFSiyQoQ4Y is referred to.
When the first position parameter value is sky, when the second position parameter value is also sky, then by described wait deposit Store up data store specified database, later by authorized user send location parameter update request by data to be stored store to Block chain.
The present invention is mentioned by the setting to the first position parameter and the second position parameter value rule, realization The data to be stored for being sent to M2M platform can not only be determined its storage mode and storage location but also can be with by data collection station Its storage mode and storage location are determined by the setting of user, it specifically can be by storing each parameter in parameter to the position The decision of the operating right of setting and user is the storage mode with storing data to be determined by data collection station or by user Setting determine its storage location.The present invention enables data to be stored to pass through publicly-owned block chain with multiple channel with this solution It is shared to carry out the whole world, improves the flexibility of this programme, and improve Information Security, data is avoided to be tampered and deceptive information, it is excellent The mechanism of the data sharing of M2M system is changed.
S13, the data to be stored is stored to block chain or specified data according to the data storage location parameter Library.
It is described to store the data to be stored to block according to the data storage location parameter in the embodiment of the present invention Chain or specified data library, are realized especially by following steps:
Check the data storage location parameter in the data storage request, if the first position parameter is null value, Data to be stored is stored to block chain or specified database according to the second position parameter;If the first position parameter is The address of the currently stored entity of the data to be stored identifies, then by the ground of the entity in the first position parameter Location mark is stored to block chain.
Further, in a kind of embodiment, if the second position parameter is null value, data to be stored is stored to finger Determine database, needs user in addition to send location parameter in the case of this kind and update request storing the data to be stored to area Block chain.
Referring to FIG. 2, being determined by the setting of user described wait store Fig. 2 shows in a kind of embodiment of the invention The flow chart of the storage location of data.Join as shown in Fig. 2, data collection station is sent to M2M platform comprising data storage location Several data storage requests, in response to the data storage request, M2M platform extracts the data in the data storage request and deposits Location parameter is stored up, creates corresponding resource information according to the data storage location parameter to store the data to be stored.Tool Body, the specified data library includes the resource information created under the corresponding resource of data collection station, described second When location parameter is null value, according to the data storage request, the establishing resource under the corresponding resource of the data collection station For information to store the data to be stored, the resource information can be data capsule resource or its child resource.
Referring to FIG. 3, Fig. 3 is shown in another embodiment of the invention, the data set by data collection station Storage location parameter determines the flow chart of the storage location of the data to be stored.Specifically, as shown in figure 3, data acquisition is whole It holds to M2M platform and sends the data storage request comprising data storage location parameter, in response to the data storage request, M2M is flat Platform extracts the data storage location parameter in the data storage request, is judging the second position parameter for specified area When the node address of block chain, data to be stored is stored to the node address of block chain specified by the second position parameter. This kind of situation is that the storage location of the data to be stored is directly specified by data collection station, subsequent not need user and set again Set, if but user have the permission for updating the data storage location parameter, can also from authorized user to M2M platform send position Parameter updating request is set to update the storage location of data to be stored.
Further, in the case where the second position parameter is the node address of specified block chain, the situation table The storage location of the data to be stored is levied as specified by data collection station.In a kind of possible design, which can basis The value of the first position parameter is specifically divided into following two situation:
Data storage request comprising the data to be stored is submitted to M2M platform by one, data collection station, described When the second position parameter for including in data storage request is set as corresponding block chain node address, M2M platform according to The data to be stored is stored the block chain node address specified to data collection station by the data storage request.
Secondly, data collection station the data storage request comprising the data to be stored is submitted to M2M platform, it is described In data storage request includes data storage location parameter, the first position parameter in the data storage location parameter It is set as the address mark of data collection station, the second position parameter is set as corresponding block chain node address, then M2M The address mark of data collection station is stored the block specified to data collection station according to the data storage request by platform Chain node address.
In the embodiment of the present invention, user can be obtained by way of subscribing notification or resource discovering and created on M2M platform The resource information built.
Specifically, mode one: by way of subscribing notification, user has subscribed the corresponding resource of data collection station in advance Under asset creation, update and deletion event will be sent to user when creating the corresponding event of new resource information and occurring Create the notification message of the resource information.User is further according to the corresponding resource information of notification information request.
Mode two: user obtains corresponding resource information to M2M platform request by periodicity or event triggered fashion.Tool Body, the resource information acquisition request that M2M platform is sent by receiving user terminal, to the corresponding resource information of client feeds back.
In another embodiment of the invention, it is described by the data to be stored store to block chain or specified database it Afterwards, further includes:
The newly-built request of resource for receiving data collection station transmission checks that the data in the newly-built request of the resource are deposited Location parameter is stored up, stores data to be stored to corresponding position according to the data storage location parameter.The resource is newly-built Request includes data capsule resource request or the newly-built request of its child resource.
It is described in a kind of embodiment referring to FIG. 4, the present invention also provides a kind of data recording control apparatus of M2M system Device includes data reception module 11, location parameter extraction module 12 and data allocation module 13, wherein
Data reception module 11, the data storage comprising data to be stored that acquisition terminal is sent for receiving data are asked It asks.
In the embodiment of the present invention, the data to be stored of acquisition is contained in data storage request and submits by data collection station It further include the storage location parameter of the data to be stored to M2M platform, in the data storage request.The storage location ginseng Number is used to indicate the current storage location of the data to be stored and to storage location.
In the embodiment of the present invention, the data to be stored can may be to store target data for a target data Address mark, when carrying out data storage, can be according to data storage request judgement treat the target data of storage into Row storage still stores the address mark for the entity for storing target data.
Specifically, the data storage request, which is used to indicate M2M platform, is stored in the storage location for data to be stored Position specified by parameter, alternatively, the data storage request is used to indicate M2M platform for the currently stored data to be stored Entity address mark store to corresponding position.
Further, the data storage request is also used to indicate that the storage location of the data to be stored is used by authorization The setting at family is determined or is determined by the setting of data collection station.
Further, M2M platform receives the data storage extracted in the data storage request after the data storage request and joins Number, stores the data to be stored according to the data storage parameters.
Location parameter extraction module 12, for extracting in the data storage request in response to the data storage request Data storage location parameter.
In the embodiment of the present invention, the data storage parameters include first position parameter and second position parameter, described First position parameter is the address mark of the currently stored entity of data to be stored, and the second position parameter is data storage In the node address of block chain.
Specifically, the first position parameter indicates the current storage location of the data to be stored.If this parameter is Null value then stores data in database or block chain with reference to second position parameter decision.If this parameter value is storage The address of the entity of data to be stored identifies (such as IP address), then stores the address mark of this entity to block chain.
Further, the second position parameter is with indicating the node for the block chain that the data to be stored need to store Location.If this parameter does not provide in solicited message, address storage can be pre-configured by platform.
Please refer to table 1, table 1 is shown in a kind of possible application, the first position parameter and the second position The mode of corresponding data storage under the different value conditions of parameter.
In upper table 1, when the first position parameter value is sky, the second position parameter value is When V8iAvbAN319uVJPm2qrxdJNgXSdFSiyQoQ4Y, then by the data to be stored store to The block chain node that V8iAvbAN319uVJPm2qrxdJNgXSdFSiyQoQ4Y is referred to.
When the first position parameter value is 20.168.1.1.0, the second position parameter value is When V8iAvbAN319uVJPm2qrxdJNgXSdFSiyQoQ4Y, then by the address of entity mark 20.168.1.1.0 store to The block chain node that V8iAvbAN319uVJPm2qrxdJNgXSdFSiyQoQ4Y is referred to.
When the first position parameter value is sky, when the second position parameter value is also sky, then by described wait deposit Store up data store specified database, later by authorized user send location parameter update request by data to be stored store to Block chain.
Data allocation module 13, for storing the data to be stored to block according to the data storage location parameter Chain or specified data library.
It is described to store the data to be stored to block according to the data storage location parameter in the embodiment of the present invention Chain or specified data library, are realized especially by following steps:
Check the data storage location parameter in the data storage request, if the first position parameter is null value, Data to be stored is stored to block chain or specified database according to the second position parameter;If the first position parameter is The address of the currently stored entity of the data to be stored identifies, then by the ground of the entity in the first position parameter Location mark is stored to block chain.
Further, in a kind of embodiment, if the second position parameter is null value, data to be stored is stored to finger Determine database, needs user in addition to send location parameter in the case of this kind and update request storing the data to be stored to area Block chain.Specifically, the specified data library includes the resource information created under the corresponding resource of data collection station, it is described If the second position parameter is null value, according to the data storage request, in the corresponding resource of the data collection station For lower establishing resource information to store the data to be stored, the resource information can be data capsule resource or its child resource.
Further, in another embodiment, if the second position parameter is the node address of specified block chain, Data to be stored is stored to the node address of block chain specified by the second position parameter.This kind of situation is to be adopted by data Collection terminal directly specifies the storage location of the data to be stored, subsequent not need user and be arranged again, if but user have update The permission of the data storage location parameter can also send location parameter to M2M platform from authorized user and update request with more The storage location of new data to be stored.
Further, in the case where the second position parameter is the node address of specified block chain, the situation table The storage location of the data to be stored is levied as specified by data collection station.In a kind of possible design, which can basis The value of the first position parameter is specifically divided into following two situation:
Data storage request comprising the data to be stored is submitted to M2M platform by one, data collection station, described When the second position parameter for including in data storage request is set as corresponding block chain node address, M2M platform according to The data to be stored is stored the block chain node address specified to data collection station by the data storage request.
Secondly, data collection station the data storage request comprising the data to be stored is submitted to M2M platform, it is described In data storage request includes data storage location parameter, the first position parameter in the data storage location parameter It is set as the address mark of data collection station, the second position parameter is set as corresponding block chain node address, then M2M The address mark of data collection station is stored the block specified to data collection station according to the data storage request by platform Chain node address.
In the embodiment of the present invention, user can be obtained by way of subscribing notification or resource discovering and created on M2M platform The resource information built.
Specifically, mode one: by way of subscribing notification, user has subscribed the corresponding resource of data collection station in advance Under asset creation, update and deletion event will be sent to user when creating the corresponding event of new resource information and occurring Create the notification message of the resource information.User is further according to the corresponding resource information of notification information request.
Mode two: user obtains corresponding resource information to M2M platform request by periodicity or event triggered fashion.Tool Body, the resource information acquisition request that M2M platform is sent by receiving user terminal, to the corresponding resource information of client feeds back.
In another embodiment of the invention, it is described by the data to be stored store to block chain or specified database it Afterwards, further includes:
The newly-built request of resource for receiving data collection station transmission checks that the data in the newly-built request of the resource are deposited Location parameter is stored up, stores data to be stored to corresponding position according to the data storage location parameter.The resource is newly-built Request includes data capsule resource request or the newly-built request of its child resource.
Based on the above embodiments it is found that the maximum beneficial effect of the present invention is:
The present invention proposes the data sharing technology scheme in conjunction with block chain, meets and be based in existing M2M system M2M system application logarithm is accordingly and data association message is stored to the demand of block chain, solves in M2M system, data sharing The deficiency of mechanism, and the problems such as low efficiency, capacity are not able to satisfy when based on the storage of block chain.
One aspect of the present invention can update request by receiving the location parameter of authorized user end transmission, join according to the position Number updates request and updates the data storage location parameter.By the setting of authorized user terminal, data to be stored is determined Storage location.On the other hand, the present invention can be with data collection station when submitting data storage request, and direct designation date is deposited The position of storage, will be wait deposit according to the data storage location parameter carried in the request when M2M platform receives the data storage request Storage data are stored into block chain, to optimize the mechanism of the data sharing of M2M platform.
The present invention carries out the safety that data sharing improves data, authenticity by block chain, and circulation worldwide provides One kind is in M2M platform, the method for based on block chain realizing efficient, safe, credible, circulation worldwide data sharing.
Those of ordinary skill in the art will appreciate that all or part of the steps of above-described embodiment be can by program come Relevant hardware is instructed to complete, which can be stored in a computer readable storage medium, and storage medium may include: Read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic Disk or CD etc..
Those of ordinary skill in the art will appreciate that all or part of the steps for realizing above-described embodiment is can to pass through journey Sequence instructs the relevant hardware to complete, and the program can store in a kind of computer readable storage medium, mentioned above Storage medium can be read-only memory, disk or CD etc..
Detailed Jie has been carried out to the data storage control method and device of a kind of M2M platform provided by the present invention above It continues, for those of ordinary skill in the art, thought according to an embodiment of the present invention, in specific embodiments and applications There will be changes, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (12)

1. a kind of data storage control method of M2M platform, which comprises the following steps:
Receive the data storage request comprising data to be stored that data collection station is sent;
In response to the data storage request, the data storage location parameter in the data storage request is extracted;
The data to be stored is stored to block chain or specified data library according to the data storage location parameter.
2. the method according to claim 1, wherein the data storage location parameter includes first position parameter And second position parameter, the first position parameter is the address mark of the currently stored entity of data to be stored, described Second position parameter is the node address that data are stored in block chain.
3. according to the method described in claim 2, it is characterized in that, it is described according to the data storage location parameter will it is described to Storing data is stored to block chain or specified data library, is specifically included:
The data storage location parameter in the data storage request is checked, if the first position parameter is null value, foundation The second position parameter stores data to be stored to block chain or specified database;
If the first position parameter is the address mark of the currently stored entity of data to be stored, by the first position The address mark of the entity in parameter is stored to block chain.
4. if according to the method described in claim 3, it is characterized in that, first position parameter is null value, foundation The second position parameter stores data to be stored to block chain or specified database, specifically includes:
If the second position parameter is null value, data to be stored is stored to specified database;
If the second position parameter is the node address of specified block chain, data to be stored is stored to the second Set the node address of block chain specified by parameter.
5. according to the method described in claim 4, it is characterized in that, the specified data library includes that data collection station is corresponding Resource under the resource information that is created data to be stored is stored to finger if second position parameter is null value Determine database, specifically include:
According to the data storage request, establishing resource information is described to store under the corresponding resource of the data collection station Data to be stored.
6. according to the method described in claim 5, it is characterized in that, creating money under the corresponding resource of the data collection station After source information is to store the data to be stored, further includes:
The location parameter for receiving the transmission of authorized user end updates request, updates the data according to location parameter update request and deposits Store up location parameter.
7. according to the method described in claim 6, it is characterized in that, described deposit according to the information update request update data After storage location parameter, further includes:
The data to be stored is stored to block chain or specified database according to updated data storage location parameter.
8. the method according to claim 1, wherein described store the data to be stored to block chain or refer to After determining database, further includes:
The data storage position in the newly-built request of the resource is checked in the newly-built request of resource for receiving data collection station transmission Parameter is set, stores data to be stored to corresponding position according to the data storage location parameter.
9. according to the method described in claim 8, it is characterized in that, the newly-built request of the resource includes data capsule resource request Or the newly-built request of its child resource.
10. according to the method described in claim 5, it is characterized in that, described under the corresponding resource of the data collection station After establishing resource information is to store the data to be stored, further includes:
The notification message for creating the resource information is sent to user terminal.
11. the method according to claim 1, wherein described will be described according to the data storage location parameter Data to be stored is stored to block chain or specified database, comprising:
The resource information acquisition request that user terminal is sent is received, to the corresponding resource information of client feeds back.
12. a kind of data recording control apparatus of M2M platform, which is characterized in that described device includes data reception module, position Parameter extraction module and data allocation module, wherein
Data reception module, the data storage request comprising data to be stored that acquisition terminal is sent for receiving data;
Location parameter extraction module, in response to the data storage request, the data extracted in the data storage request to be deposited Store up location parameter;
Data allocation module, for the data to be stored to be stored to block chain or referred to according to the data storage location parameter Fixed database.
CN201810079558.1A 2018-01-26 2018-01-26 The data storage control method and device of M2M platform Pending CN110110003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810079558.1A CN110110003A (en) 2018-01-26 2018-01-26 The data storage control method and device of M2M platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810079558.1A CN110110003A (en) 2018-01-26 2018-01-26 The data storage control method and device of M2M platform

Publications (1)

Publication Number Publication Date
CN110110003A true CN110110003A (en) 2019-08-09

Family

ID=67483528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810079558.1A Pending CN110110003A (en) 2018-01-26 2018-01-26 The data storage control method and device of M2M platform

Country Status (1)

Country Link
CN (1) CN110110003A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112543236A (en) * 2020-12-18 2021-03-23 中国联合网络通信集团有限公司 Data sharing method and block link point

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577561A (en) * 2013-10-24 2014-02-12 华为技术有限公司 Storage method, storage device and storage system of executive plan
CN103596117A (en) * 2012-08-13 2014-02-19 华为终端有限公司 Method, device and system for discovering machine-to-machine service
CN105636241A (en) * 2014-11-04 2016-06-01 中兴通讯股份有限公司 M2M node deletion and registration methods and M2M node
CN106446159A (en) * 2016-09-23 2017-02-22 华为技术有限公司 Method for storing files, first virtual machine and name node
CN106650344A (en) * 2016-12-07 2017-05-10 清华大学 Block chain-based data storage method with third-party authentication
CN107229415A (en) * 2016-03-24 2017-10-03 华为技术有限公司 A kind of data write method, data read method and relevant device, system
CN107566342A (en) * 2017-08-01 2018-01-09 东华大学 M2M safety methods in a kind of cotton spinning production CPS based on block chain technology

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103596117A (en) * 2012-08-13 2014-02-19 华为终端有限公司 Method, device and system for discovering machine-to-machine service
CN103577561A (en) * 2013-10-24 2014-02-12 华为技术有限公司 Storage method, storage device and storage system of executive plan
CN105636241A (en) * 2014-11-04 2016-06-01 中兴通讯股份有限公司 M2M node deletion and registration methods and M2M node
CN107229415A (en) * 2016-03-24 2017-10-03 华为技术有限公司 A kind of data write method, data read method and relevant device, system
CN106446159A (en) * 2016-09-23 2017-02-22 华为技术有限公司 Method for storing files, first virtual machine and name node
CN106650344A (en) * 2016-12-07 2017-05-10 清华大学 Block chain-based data storage method with third-party authentication
CN107566342A (en) * 2017-08-01 2018-01-09 东华大学 M2M safety methods in a kind of cotton spinning production CPS based on block chain technology

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112543236A (en) * 2020-12-18 2021-03-23 中国联合网络通信集团有限公司 Data sharing method and block link point

Similar Documents

Publication Publication Date Title
CN104937895B (en) The method and apparatus for controlling access in a wireless communication system
CN104639650B (en) A kind of fine granularity distributed interface access control method and device
CN103703444A (en) Enabling computing device to utilize another computing device
CN107484152B (en) Management method and device for terminal application
CN106034112B (en) Access control, strategy acquisition, attribute acquisition methods and relevant apparatus
CN103746969A (en) Vehicle terminal authentication method and authentication server
CN110110509A (en) Right management method and Related product
CN104268457B (en) Information processing method, electronic equipment and server
CN110554616A (en) Intelligent home data chaining method and system of Internet of things on block chain
CN110247857B (en) Current limiting method and device
CN108053088A (en) A kind of Subscriber Management System, method and apparatus
CN110660466A (en) Personal health data chaining method and system of Internet of things by combining block chains
CN105991624A (en) Safety management method and device of server
CN103023684A (en) Method, device and system for network information management
CN110390209A (en) Creation data access method and device
CN110110003A (en) The data storage control method and device of M2M platform
CN109787796B (en) Method and device for authorizing network function service
CN107666505A (en) The method and apparatus being controlled to resource access
CN104244242A (en) Network number allocation method and corresponding authentication method of Internet-of-things equipment
CN105897772A (en) Data transmission method and data transmission device based on cloud computing
CN103973747A (en) Method and device for acquiring content
KR102020488B1 (en) An apparatus for Internet access control of IoT devices and a method therefor
CN110969474B (en) Resource acquisition processing method, data processing system, storage medium and processor
CN107277640A (en) Interactive approach, device and storage medium based on live platform
CN106330899A (en) Private cloud device account management method and system, electronic device and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190809