CN107770182A - The date storage method and home gateway of home gateway - Google Patents

The date storage method and home gateway of home gateway Download PDF

Info

Publication number
CN107770182A
CN107770182A CN201711033636.6A CN201711033636A CN107770182A CN 107770182 A CN107770182 A CN 107770182A CN 201711033636 A CN201711033636 A CN 201711033636A CN 107770182 A CN107770182 A CN 107770182A
Authority
CN
China
Prior art keywords
data
stored
home gateway
block information
home
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
CN201711033636.6A
Other languages
Chinese (zh)
Other versions
CN107770182B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201711033636.6A priority Critical patent/CN107770182B/en
Publication of CN107770182A publication Critical patent/CN107770182A/en
Application granted granted Critical
Publication of CN107770182B publication Critical patent/CN107770182B/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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • 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
    • H04L63/101Access control lists [ACL]
    • 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
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3297Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving time stamps, e.g. generation of time stamps

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The date storage method and home gateway of home gateway provided by the invention, the data storage request sent by home gateway receiving terminal, storage request include data to be stored;Home gateway generates private key and the first public key respectively according to data to be stored and preset algorithm, and home gateway treats data storage using private key and is encrypted and adds timestamp, generates and stores the first block information of data to be stored;Other home gateways in the block chain network that home gateway is connected into home gateway broadcast the first block information and the first public key of data to be stored, so that other home gateways parse according to the first public key to the first block information, and to being stored after the first block information addition timestamp after parsing, so that the data to be stored that terminal uploads can be stored in block chain network in the form of block information, and then data safety is improved, caused by avoiding home gateway under attack the problem of loss of data.

Description

The date storage method and home gateway of home gateway
Technical field
The present invention relates to the date storage method and home gateway of data storage technology, more particularly to a kind of home gateway.
Background technology
Recently as the development of family's Internet technology, various smart machines can be connected to one with home gateway Rise, and the business network of the operator carried by home gateway or internet are surfed the Net.
The existing management to being connected into the smart machine of home gateway is typically all to use centralised storage scheme.It is specific next Say, in data storage procedure, by home gateway as unique data storage center, receive and store connected various The service data or status information or communication data of smart machine.
But during being stored using home gateway to data, because the security performance of home gateway is poor, Once the home gateway is broken, the data being stored in home gateway are easily lost, and are extremely unfavorable for user's use.
The content of the invention
During home gateway data storage existing for the above-mentioned utilization referred to, home gateway security performance is not high and causes The technical problem that is easily lost of data, the invention provides a kind of date storage method of home gateway and home gateway.
On the one hand, the invention provides a kind of date storage method of home gateway, including:
The data storage request that home gateway receiving terminal is sent, the storage request include data to be stored;
The home gateway generates private key and the first public key respectively according to the data to be stored and preset algorithm, and utilizes The private key is encrypted to the data to be stored and adds timestamp, generates and stores the firstth area of the data to be stored Block message;
Treated described in other home gateways broadcast in the block chain network that the home gateway is connected into the home gateway First block information of data storage and first public key so that other described home gateways according to first public key to institute The first block information is stated to be parsed, and to being stored after the first block information addition timestamp after parsing.
In alternate embodiments, in order to improve the storage efficiency of home gateway, the data storage request also includes institute Privacy class corresponding to data to be stored is stated to identify;
Accordingly, after the data storage request that the home gateway receiving terminal is sent, in addition to:
Judge whether the data to be stored are private data according to the privacy class of the data to be stored mark;
If so, then the home gateway execution generates private key and first respectively according to the data to be stored and preset algorithm Public key, and the data to be stored are encrypted using the private key and add timestamp, generate and store described to be stored The step of first block information of data;
If it is not, then timestamp is added to the data to be stored by the home gateway, generates and store described to be stored First block information of data, first block information is broadcasted to other home gateways in the block chain network, with Other described home gateways are made to store first block information.
In alternate embodiments, in order to further improve data storage security, the data storage request is also included eventually End mark;
Accordingly, after the data storage request that the home gateway receiving terminal is sent, in addition to:
According to the terminal iidentification and the identification list to prestore, the legitimacy of the terminal is verified.
In alternate embodiments, other home gateways broadcast in the block chain network is received when the home gateway The second block information and during the second public key, second block information is parsed according to second public key, and to solution Stored after the second block information addition timestamp after analysis.
In alternate embodiments, data storage is obtained for the ease of terminal, the home gateway is according to described to be stored Data and preset algorithm also include after generating private key and the first public key respectively:
The home gateway sends the private key to the terminal.
In alternate embodiments, the preset algorithm is hash algorithm.
On the other hand, present invention also offers a kind of home gateway, including:
Communication module, the data storage request sent for receiving terminal, the storage request include data to be stored;Also The first block letter of the data to be stored is broadcasted for other home gateways in the block chain network that is connected into home gateway Breath and first public key, so that other described home gateways solve according to first public key to first block information Analyse and stored after timestamp is added;
Block information processing module, for generating private key and the first public affairs respectively according to the data to be stored and preset algorithm Key, the home gateway are encrypted to the data to be stored using the private key and add timestamp, are generated and are stored institute State the first block information of data to be stored.
In alternate embodiments, in order to improve the storage efficiency of home gateway, the data storage request also includes institute Privacy class corresponding to data to be stored is stated to identify;
Accordingly, the block information processing module is additionally operable to the data storage sent in the communication module receiving terminal Whether it is that private data is sentenced to the data to be stored according to the privacy class of the data to be stored mark after request It is fixed;If the data to be stored are private data, the block information processing module generates private key respectively according to preset algorithm With the first public key, the data to be stored are encrypted using the private key and add timestamp, generated and store described treat First block information of data storage;If the data to be stored are not private data, the block information processing module root The first public key is generated according to preset algorithm, and timestamp is added to the data to be stored, generates and stores the number to be stored According to the first block information.Accordingly, the block information processing module is additionally operable to send in the communication module receiving terminal Data storage request after, according to the privacy class of the data to be stored mark whether be privacy to the data to be stored Data are judged;If the data to be stored are private data, the block information processing module is according to preset algorithm point Not Sheng Cheng private key and the first public key, the data to be stored are encrypted using the private key and add timestamp, generation simultaneously Store the first block information of the data to be stored;If the data to be stored are not private data, the block information Timestamp is added to the data to be stored by processing module, is generated and is stored the first block information of the data to be stored
Accordingly, the communication module, if being additionally operable to when the data to be stored are not private data, by described first Block information is broadcasted to other home gateways in the block chain network, so that other described home gateways are to firstth area Block message is stored.
In alternate embodiments, in order to further improve data storage security, the data storage request is also included eventually End mark;Accordingly, the home gateway also includes authentication module;
The authentication module, for according to the terminal iidentification and the identification list that prestores, to the legitimacy of the terminal Verified.
In alternate embodiments, the communication module, it is additionally operable to receive other home networks in the block chain network Close the second block information and the second public key of broadcast;
The block information processing module, it is additionally operable to solve second block information according to second public key Analysis, and to being stored after the second block information addition timestamp after parsing.
The date storage method and home gateway of home gateway provided by the invention, are sent by home gateway receiving terminal Data storage request, it is described storage request include data to be stored;The home gateway is according to the data to be stored and in advance Imputation method generates private key and the first public key respectively, and the data to be stored are encrypted using the private key for the home gateway And timestamp is added, generate and store the first block information of the data to be stored;The home gateway is to the home network Other home gateways in the block chain network correlated broadcast the first block information and described first of the data to be stored Public key, so that other described home gateways parse according to first public key to first block information, and to parsing Stored after the first block information addition timestamp afterwards, so that the data to be stored that terminal uploads can be believed with block The formation of breath is stored in block chain network, and then improves data safety, number caused by avoiding home gateway under attack The problem of according to losing.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of network architecture schematic diagram provided by the invention;
Fig. 2 is a kind of schematic flow sheet of the date storage method for home gateway that the embodiment of the present invention one provides;
Fig. 3 is a kind of schematic flow sheet of the date storage method for home gateway that the embodiment of the present invention two provides;
Fig. 4 is a kind of structural representation for home gateway that the embodiment of the present invention three provides;
Fig. 5 is a kind of structural representation for home gateway that the embodiment of the present invention four provides.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings It is not intended to limit the scope of disclosure design by any mode with word description, but is by reference to specific embodiment Those skilled in the art illustrate the concept of the disclosure.
Embodiment
Recently as the development of family's Internet technology, various smart machines can be connected to one with home gateway Rise, and the business network of the operator carried by home gateway or internet are surfed the Net.The existing intelligence to being connected into home gateway The management of equipment is typically all to use centralised storage scheme.Specifically, in data storage procedure, by home gateway conduct Unique data storage center, receive and store service data or status information or the communication of connected various smart machines Data.But during being stored using home gateway to data, because the security performance of home gateway is poor, one The denier home gateway is broken, and the data being stored in home gateway are easily lost, and is extremely unfavorable for user's use.
, can be mutual by multiple home gateways in order to solve the problems, such as that the data of single home gateway storage are easily lost Connection gets up, and realizes data storage using block chain technology.Fig. 1 is a kind of network architecture schematic diagram provided by the invention, this hair The date storage method and home gateway of the home network of bright offer may be applicable to framework shown in Fig. 1.Specifically, block chain It is a kind of a kind of linked data structure for being sequentially in time combined into data block in a manner of being sequentially connected, it can be used for The data storage of decentralization, as shown in figure 1, in the network architecture that the present invention uses, block chain network is by some interconnections Home gateway forms, and each home gateway communicates to connect with each intelligent home device in family.Each implementation of the invention Date storage method for wherein any one home gateway is specifically described example, other home networks in block chain network The date storage method of pass is then similar with the date storage method of the home gateway in embodiment.
It should be noted that will be illustrated in detail to exemplary embodiment here, its example is illustrated in the accompanying drawings.Under When the description in face is related to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Below Embodiment described in exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they Only it is the example of the apparatus and method consistent with some aspects being described in detail in such as appended claims, the disclosure.
How to be solved to the technical scheme of technical scheme and the application with specifically embodiment below above-mentioned Technical problem is described in detail.These specific embodiments can be combined with each other below, for same or analogous concept Or process may repeat no more in certain embodiments.Below in conjunction with accompanying drawing, embodiments of the invention are described.
A kind of schematic flow sheet of the date storage method for home gateway that Fig. 2 provides for the embodiment of the present invention one, such as Fig. 2 Shown, the date storage method for the home gateway that the present embodiment one provides includes:
The data storage request that step 101, home gateway receiving terminal are sent, storage request include data to be stored.
Specifically, terminal can be the home equipments such as the intelligent air condition shown in Fig. 1, intelligent refrigerator, intelligent lighting lamp, Can be the interactive terminal facilities such as mobile phone terminal, computer equipment, movable flat computer, and the entity of home gateway can be then WLAN terminal, router or other terminal devices that can be used for bearer service network or carry Internet service.Wherein, terminal can Home gateway is connected into by wired communication modes such as the communications such as WLAN or wired connections, and referred to according to user Order sends a data storage request for including data to be stored according to pre-set programs to home gateway, the data tool to be stored Body can be digital data, byte type data or text-type data, its content can relate to communication signaling and message, media file, Interactive instruction etc., the present embodiment treats the data type of data storage and data content is not limited.
Step 102, home gateway generate private key and the first public key respectively according to data to be stored and preset algorithm, utilize private Key treats data storage and is encrypted and adds timestamp, generates and stores the first block information of data to be stored.
Specifically, can be according to preset algorithm and data to be stored after home gateway receives data storage request Generation private key corresponding with data to be stored and the first public key, then, the data to be stored are carried out using the private key of generation Encryption, and timestamp is added in data to be stored after encryption, generation first block corresponding with the data to be stored Information, first block information is stored.It will be appreciated that above-mentioned preset algorithm concretely hash algorithm, and add Close mode can use any one existing mode.
Other home gateways of step 103, home gateway into block chain network broadcast the first block of data to be stored Information and the first public key so that other home gateways parse according to the first public key to the first block information, and to parsing after The first block information addition timestamp after stored.
Specifically, because the home gateway is connected into region chain network, it can be by way of broadcast, will be to be stored with this First block information corresponding to data and the first public key are sent to other each home gateways in block chain network.These other Home gateway parses after broadcast is received using the first public key received to first block information, and To being stored after the first block information addition timestamp after parsing.
Pass through such processing mode, on the one hand, so that the data to be stored that terminal is sent to home gateway can be distributed The each home gateway being stored in block chain network in, the data for avoiding being stored in single home gateway are easily lost Lose;On the other hand, because each home gateway is both needed to add when operating the data to be stored or corresponding block information Add timestamp, so that the operating process of home gateway is controllable, avoid the occurrence of when home gateway is broken or is controlled by hacker When, data message is deleted or is tampered, and also improves security.
In other optional embodiments, in order to further improve data storage security, data storage request also includes Terminal iidentification;Accordingly, after the data storage request that the home gateway receiving terminal in step 101 is sent, in addition to:According to Terminal iidentification and the identification list to prestore, are verified to the legitimacy of terminal.
Specifically, when terminal sends data storage request to home gateway, may also include in the data storage request There is terminal iidentification.For example, if terminal is interactive terminal facility, the terminal iidentification can be International Mobile Equipment Identity code, matchmaker Body reference address etc. can be used for representing and the mark of distinguishing terminal identity.And default identification list can be then to pre-set to be in In the gateway of front yard, it can be used for representing to allow to access the home gateway or allow the end of trusted terminal for being connected into the home gateway End mark.
In other optional embodiments, data storage is obtained for the ease of terminal, the home gateway in step 102 according to Data and preset algorithm to be stored also include after generating private key and the first public key respectively:Home gateway sends private key to end End.By the way that private key is sent to terminal so that terminal using the private key to home gateway and its block chain gateway being connected into Data read request is initiated, realizes the reading to data storage.
In other optional embodiments, when home gateway receives other home gateways broadcast in block chain network When the second block information and the second public key, the second block information is parsed according to the second public key, and after parsing second Stored after block information addition timestamp.
Specifically, in the date storage method for the home gateway that present embodiment provides, the home gateway also can use The data message of other home gateways generation in memory block networks network, that is to say, that when home gateway receives other When the second block information and the second public key of home gateway broadcast, the second block can be parsed according to the second public key, and To being stored after the second block information addition timestamp after parsing.
What the date storage method for the home gateway that the embodiment of the present invention one provides was sent by home gateway receiving terminal Data storage request, storage request include data to be stored, and home gateway generates respectively according to data to be stored and preset algorithm Private key and the first public key, home gateway treat data storage using private key and are encrypted and add timestamp, generate and store and treat First block information of data storage, other home gateways broadcast in the block chain network that home gateway is connected into home gateway The first block information and the first public key of data to be stored so that other home gateways according to the first public key to the first block information Parsed, and to being stored after the first block information addition timestamp after parsing, so that terminal upload is waited to deposit Storage data can be stored in block chain network with the formation of block information, and then improve data safety, avoid home gateway Caused by under attack the problem of loss of data.
In order to further improve the storage processing speed in home gateway, in each embodiment that above-described embodiment one provides On the basis of, Fig. 3 is a kind of schematic flow sheet of the date storage method for home gateway that the embodiment of the present invention two provides.
As shown in figure 3, this method includes:
The data storage request that step 201, receiving terminal are sent, storage request include data to be stored and data to be stored Corresponding privacy class mark.
With embodiment one similarly, terminal can be the intelligent air condition shown in Fig. 1, intelligent refrigerator, intelligent lighting lamp etc. Home equipment, or the interactive terminal facility such as mobile phone terminal, computer equipment, movable flat computer, and home gateway Entity can be then WLAN terminal, router or other terminal devices that can be used for bearer service network or carry Internet service. Wherein, terminal can be connected into home gateway by wired communication modes such as the communications such as WLAN or wired connections, And a data storage request for including data to be stored is sent to home gateway according to user instruction or according to pre-set programs, should Concretely digital data, byte type data or text-type data, its content can relate to communication signaling and report to data to be stored Text, media file, interactive instruction etc., the present embodiment treats the data type of data storage and data content is not limited.
And unlike embodiment one, in the present embodiment two, it is corresponding that data storage request also includes data to be stored Privacy class mark, the keyword message that privacy class mark can be specifically carried in the data content according to data to be stored It is determined that if carrying keywords such as " password " " account " " amount of money " or keyword relevant information in data to be stored, then terminal When initiating pending data storage request, it can will treat privacy class mark corresponding to data storage and be identified, so that home network It is private data to close the clearly data to be stored.In addition, privacy class mark can also determine according to terminal own type, if When the terminal is the equipment for carrying userspersonal information's type, such as body index measuring instrument or PIN PAD, then should Privacy class mark may be configured as identified corresponding to all data to be stored transmitted by terminal.
Step 202, according to the privacy class of data to be stored mark judge whether data to be stored are private data.If It is then to perform step 203;If it is not, then perform step 205.
Step 203, generate private key and the first public key respectively according to data to be stored and preset algorithm, home gateway utilizes private Key treats data storage and is encrypted and adds timestamp, generates and stores the first block information of data to be stored.
Step 204, other home gateways into block chain network broadcast the first block information and the of data to be stored One public key, so that other home gateways parse according to the first public key to the first block information, and to the firstth area after parsing Stored after block message addition timestamp.
Step 205, timestamp is added to the data to be stored, generates and store the firstth area of the data to be stored Block message, first block information is broadcasted to other home gateways in the block chain network, so that other described families Front yard gateway stores to first block information.
Specifically, unlike embodiment one, in step 202 to step 205, due to the number of home gateway reception Include privacy class corresponding to data to be stored in asking according to storage to identify, it can be identified to be stored according to the privacy class Whether data are that private data is judged.
When the data to be stored are private data, then can use according to preset algorithm and data to be stored generation with waiting to deposit The data to be stored then, are encrypted by private key and the first public key corresponding to storing up data using the private key of generation, and Add timestamp in data to be stored after encryption, generation first block information corresponding with the data to be stored, by this One block information is stored.Subsequently, as the home gateway is connected into region chain network, it can be by way of broadcast, will be with First block information and the first public key corresponding to the data to be stored are sent to other each home gateways in block chain network. These other home gateways solve after broadcast is received using the first public key received to first block information Analysis, and stored after the first block information addition timestamp after to parsing.It will be appreciated that above-mentioned preset algorithm tool Body can be hash algorithm, and the mode encrypted can use any one existing mode.
When the data to be stored are not private data, then timestamp directly can be added in the data to be stored, generated First block information corresponding with the data to be stored, first block information is stored.Subsequently, as the home gateway Region chain network is connected into, it can be sent first block information corresponding with the data to be stored to area by way of broadcast Other each home gateways in block chain network.These other home gateways, can be directly to first after broadcast is received Stored after block information addition timestamp.
Therefore, in the above-described embodiment, the privacy of the data to be stored in the data storage request sent due to terminal Level identification, therefore, home gateway also treat whether data storage is that private data is judged, and are performed according to result of determination Different storing steps.By such processing, in the case where the security for ensureing private data is unaffected, simplify to non- The Stored Procedure of private data, so as to effectively improve the storage treatment effeciency for treating data storage.
In other optional embodiments, in order to further improve data storage security, data storage request also includes Terminal iidentification;Accordingly, after the data storage request that the home gateway receiving terminal in step 201 is sent, in addition to:According to Terminal iidentification and the identification list to prestore, are verified to the legitimacy of terminal.
In other optional embodiments, data storage is obtained for the ease of terminal, the home gateway in step 203 according to Data and preset algorithm to be stored also include after generating private key and the first public key respectively:Home gateway sends private key to end End, so that terminal is parsed using private key to sending the first block information obtained after read requests to home gateway.
In other optional embodiments, when home gateway receives other home gateways broadcast in block chain network When the second block information and the second public key, the second block information is parsed according to the second public key, and to second after parsing Stored after block information addition timestamp;Or when other home gateways that home gateway is received in block chain network are wide During the second block information broadcast, directly stored after timestamp is added to the second block information.
The date storage method for the home gateway that the embodiment of the present invention two provides is on the basis of embodiment one, always according to end The privacy class mark of the data to be stored in the data storage request sent is held, treats whether data storage is that private data enters Row judges, and different storing steps is performed according to result of determination.By such processing, ensureing the security of private data In the case of unaffected, simplify the Stored Procedure to non-private data, treated so as to effectively improve at the storage of data storage Manage efficiency.
During home gateway data storage existing for the above-mentioned utilization referred to, home gateway security performance is not high and causes The technical problem that is easily lost of data, Fig. 4 is a kind of structural representation for home gateway that the embodiment of the present invention three provides, such as Shown in Fig. 4, the home gateway includes:
Communication module 10, the data storage request sent for receiving terminal, the storage request include data to be stored; Other home gateways in the block chain network for being additionally operable to be connected into home gateway broadcast the first block of the data to be stored Information and first public key, so that other described home gateways are carried out according to first public key to first block information Parse and stored after timestamp is added;
Block information processing module 20, for generating private key and first respectively according to the data to be stored and preset algorithm Public key, the data to be stored are encrypted using the private key and add timestamp, generated and store the number to be stored According to the first block information.
In alternate embodiments, in order to improve the storage efficiency of home gateway, the data storage request also includes institute Privacy class corresponding to data to be stored is stated to identify;
Accordingly, the data storage that block information processing module 20 is additionally operable to send in the communication module receiving terminal is asked Whether it is that private data is sentenced to the data to be stored according to the privacy class of the data to be stored mark after asking It is fixed;If the data to be stored are private data, the block information processing module generates private key respectively according to preset algorithm With the first public key, the data to be stored are encrypted using the private key and add timestamp, generated and store described treat First block information of data storage;If the data to be stored are not private data, the block information processing module will Timestamp is added to the data to be stored, generates and stores the first block information of the data to be stored.Communication module 10, It is additionally operable to, when the data to be stored are not private data, first block information be broadcasted into the block chain network Other home gateways so that other described home gateways store to first block information.
In alternate embodiments, the communication module 10, it is additionally operable to receive other families in the block chain network The second block information and the second public key of gateway broadcasts;
The block information processing module 20, it is additionally operable to solve second block information according to second public key Analysis, and to being stored after the second block information addition timestamp after parsing.
The home gateway that the embodiment of the present invention three provides, the data storage request sent by using receiving terminal are described Storage request includes data to be stored;The home gateway according to the data to be stored and preset algorithm generate respectively private key and First public key, the home gateway are encrypted to the data to be stored using the private key and add timestamp, and generation is simultaneously Store the first block information of the data to be stored;In the block chain network that the home gateway is connected into the home gateway Other home gateways broadcast the first block information of the data to be stored and first public key so that other described families Gateway parses according to first public key to first block information, and to after parsing the first block information add when Between stab after stored so that terminal upload data to be stored block link network can be stored in the formation of block information In network, and then data safety is improved, caused by avoiding home gateway under attack the problem of loss of data.
On the basis of each embodiment shown in Fig. 4, Fig. 5 is a kind of knot for home gateway that the embodiment of the present invention four provides Structure schematic diagram, as shown in figure 5, similarly the home gateway includes with embodiment three:
Communication module 10, the data storage request sent for receiving terminal, the storage request include data to be stored; Other home gateways in the block chain network for being additionally operable to be connected into home gateway broadcast the first block of the data to be stored Information and first public key, so that other described home gateways are carried out according to first public key to first block information Parse and stored after timestamp is added;
Block information processing module 20, for generating private key and first respectively according to the data to be stored and preset algorithm Public key, the data to be stored are encrypted using the private key and add timestamp, generated and store the number to be stored According to the first block information.
Unlike embodiment three, authentication module 30 is also included in home gateway.Wherein, the number that communication module 10 receives Also include terminal iidentification in being asked according to storage, authentication module 30 is used for according to the terminal iidentification and the identification list to prestore, right The legitimacy of the terminal is verified.
So that after the data storage request that the receiving terminal of communication module 10 is sent, block information processing module 20 Before handling data storage request, authentication module 30 can be tested first the terminal identity for sending the data storage request Card, with the data source of storage in legal terminal, further improves data storage security.
In addition, in other optional embodiments, in order to improve the storage efficiency of home gateway, the data storage request Also include privacy class corresponding to the data to be stored to identify.Block information processing module 20 is additionally operable in the communication module After the data storage request that receiving terminal is sent, identified according to the privacy class of the data to be stored to the number to be stored According to whether being that private data is judged;If the data to be stored are private data, the block information processing module root Private key and the first public key are generated respectively according to preset algorithm, when the data to be stored being encrypted and added using the private key Between stab, generate and store the first block information of the data to be stored;If the data to be stored are not private data, institute State block information processing module and timestamp is added to the data to be stored, generate and store the first of the data to be stored Block information.Communication module 10, it is additionally operable to when the data to be stored are not private data, first block information is wide Other home gateways cast in the block chain network, so that other described home gateways are carried out to first block information Storage.
In other optional embodiments, the communication module 10, it is additionally operable to receive other in the block chain network The second block information and the second public key of home gateway broadcast;The block information processing module 20, it is additionally operable to according to described Two public keys parse to second block information, and to being deposited after the second block information addition timestamp after parsing Storage.
The home gateway that the embodiment of the present invention four provides is additionally provided with authentication module on the basis of embodiment three, so as to The identity for the terminal for sending the data storage request can effectively can be verified, be entered when receiving data storage request And ensure data storage security.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.It is contemplated that cover any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claims are pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claims System.

Claims (10)

  1. A kind of 1. date storage method of home gateway, it is characterised in that including:
    The data storage request that home gateway receiving terminal is sent, the storage request include data to be stored;
    The home gateway generates private key and the first public key respectively according to the data to be stored and preset algorithm, and described in utilization Private key is encrypted to the data to be stored and adds timestamp, generates and stores the first block letter of the data to be stored Breath;
    Other home gateways of the home gateway into the block chain network being connected into broadcast the firstth area of the data to be stored Block message and first public key, so that other described home gateways enter according to first public key to first block information Row parsing, and to being stored after the first block information addition timestamp after parsing.
  2. 2. date storage method according to claim 1, it is characterised in that the data storage request also includes described treat Privacy class corresponding to data storage identifies;
    Accordingly, after the data storage request that the home gateway receiving terminal is sent, in addition to:
    Judge whether the data to be stored are private data according to the privacy class of the data to be stored mark;
    If so, then the home gateway execution generates private key and the first public affairs respectively according to the data to be stored and preset algorithm Key, and the data to be stored are encrypted using the private key and add timestamp, generate and store the number to be stored According to the first block information the step of;
    If it is not, then timestamp is added to the data to be stored by the home gateway, generates and store the data to be stored The first block information, first block information is broadcasted to other home gateways in the block chain network, so that institute Other home gateways are stated to store first block information.
  3. 3. date storage method according to claim 1, it is characterised in that the data storage request also includes terminal mark Know;
    Accordingly, after the data storage request that the home gateway receiving terminal is sent, in addition to:
    According to the terminal iidentification and the identification list to prestore, the legitimacy of the terminal is verified.
  4. 4. date storage method according to claim 1, it is characterised in that when the home gateway receives the block chain When the second block information and the second public key of other home gateways broadcast in network, according to second public key to described second Block information is parsed, and to being stored after the second block information addition timestamp after parsing.
  5. 5. date storage method according to claim 1, it is characterised in that the home gateway is according to the number to be stored After private key and the first public key is generated respectively with preset algorithm, in addition to:
    The home gateway sends the private key to the terminal.
  6. 6. according to the date storage method described in claim any one of 1-5, it is characterised in that the preset algorithm is calculated for Hash Method.
  7. A kind of 7. home gateway, it is characterised in that including:
    Communication module, the data storage request sent for receiving terminal, the storage request include data to be stored;It is additionally operable to Other home gateways in the block chain network being connected into home gateway broadcast the data to be stored the first block information and First public key, so that other described home gateways are parsed and added to first block information according to first public key Stored after adding timestamp;
    Block information processing module, for generating private key and the first public key respectively according to the data to be stored and preset algorithm, The data to be stored are encrypted using the private key and add timestamp, generates and stores the of the data to be stored One block information.
  8. 8. home gateway according to claim 7, the data storage request is also included corresponding to the data to be stored Privacy class identifies;
    Accordingly, the block information processing module is additionally operable to the data storage request sent in the communication module receiving terminal Afterwards, whether it is that private data judges to the data to be stored according to the privacy class of the data to be stored mark; If the data to be stored are private data, the block information processing module generates private key and according to preset algorithm respectively One public key, the data to be stored are encrypted using the private key and add timestamp, generated and store described to be stored First block information of data;If the data to be stored are not private data, the block information processing module is by the time Stamp is added to the data to be stored, generates and stores the first block information of the data to be stored;
    Accordingly, the communication module, it is additionally operable to when the data to be stored are not private data, first block is believed Breath broadcast is to other home gateways in the block chain network, so that other described home gateways are to first block information Stored.
  9. 9. home gateway according to claim 7, it is characterised in that the data storage request also includes terminal iidentification; Accordingly, the home gateway also includes:Authentication module;
    The authentication module, for according to the terminal iidentification and the identification list to prestore, being carried out to the legitimacy of the terminal Checking.
  10. 10. home gateway according to claim 7, it is characterised in that
    The communication module, be additionally operable to receive in the block chain network other home gateways broadcast the second block information and Second public key;
    The block information processing module, it is additionally operable to parse second block information according to second public key, and To being stored after the second block information addition timestamp after parsing.
CN201711033636.6A 2017-10-30 2017-10-30 Data storage method of home gateway and home gateway Active CN107770182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711033636.6A CN107770182B (en) 2017-10-30 2017-10-30 Data storage method of home gateway and home gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711033636.6A CN107770182B (en) 2017-10-30 2017-10-30 Data storage method of home gateway and home gateway

Publications (2)

Publication Number Publication Date
CN107770182A true CN107770182A (en) 2018-03-06
CN107770182B CN107770182B (en) 2020-09-08

Family

ID=61270265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711033636.6A Active CN107770182B (en) 2017-10-30 2017-10-30 Data storage method of home gateway and home gateway

Country Status (1)

Country Link
CN (1) CN107770182B (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108629204A (en) * 2018-05-15 2018-10-09 科影视讯(北京)信息科技有限公司 A kind of intelligent digital guide to visitors methods of exhibiting and system
CN108664631A (en) * 2018-05-15 2018-10-16 科影视讯(北京)信息科技有限公司 A kind of control method and device for indicating to adjust exhibition display by audio, video data file
CN108765579A (en) * 2018-05-15 2018-11-06 科影视讯(北京)信息科技有限公司 One kind being based on VR technology exhibition display connection methods and device
CN108768961A (en) * 2018-05-11 2018-11-06 中国联合网络通信集团有限公司 storage processing method and home gateway
CN108848156A (en) * 2018-06-08 2018-11-20 中国联合网络通信集团有限公司 access gateway processing method, device and storage medium
CN108923925A (en) * 2018-06-22 2018-11-30 北京京东尚科信息技术有限公司 Date storage method and device applied to block chain
CN109005220A (en) * 2018-07-17 2018-12-14 中国联合网络通信集团有限公司 The service implementation method and access gateway of internet of things of internet-of-things terminal
CN109327481A (en) * 2018-12-17 2019-02-12 北京信息科技大学 A kind of unified online authentication method and system of the whole network based on block chain
CN109635572A (en) * 2018-11-05 2019-04-16 深圳变设龙信息科技有限公司 A kind of contract signing method, apparatus and terminal device based on block chain
CN109660344A (en) * 2019-01-17 2019-04-19 如般量子科技有限公司 Anti- quantum calculation block chain method of commerce and system based on unsymmetrical key pond route device
CN109687961A (en) * 2019-01-15 2019-04-26 如般量子科技有限公司 Anti- quantum calculation block chain method of commerce and system based on pool of symmetric keys route device
CN109981673A (en) * 2019-04-04 2019-07-05 上海人行道网络信息技术有限公司 Data based on block chain deposit card method, apparatus, equipment and storage medium
CN110120949A (en) * 2019-05-10 2019-08-13 中国联合网络通信集团有限公司 A kind of date storage method and data-storage system
CN110263543A (en) * 2019-05-20 2019-09-20 阿里巴巴集团控股有限公司 Object level receipt storage method and node based on code mark
CN110445624A (en) * 2018-05-04 2019-11-12 中国移动通信有限公司研究院 A kind of CDR processing system and device
CN110557427A (en) * 2019-07-15 2019-12-10 浙江工业大学 Intelligent home security control method for balancing network performance and security
CN111866863A (en) * 2020-07-16 2020-10-30 国网山东省电力公司青岛供电公司 WiFi security encryption system and method
CN111885267A (en) * 2020-07-22 2020-11-03 中国联合网络通信集团有限公司 Terminal response method and ringing method based on block chain
WO2020233421A1 (en) * 2019-05-20 2020-11-26 创新先进技术有限公司 Object-level receipt storage method and node based on code marking
WO2020233639A1 (en) * 2019-05-20 2020-11-26 创新先进技术有限公司 Receipt storage method and node based on code labeling and event function type
CN112583772A (en) * 2019-09-30 2021-03-30 重庆傲雄在线信息技术有限公司 Data acquisition and storage platform
CN114168218A (en) * 2021-11-30 2022-03-11 深圳市名竹科技有限公司 Data processing method, data processing device, computer equipment and storage medium
US11847249B2 (en) 2018-10-25 2023-12-19 Sony Corporation Privacy-preserving mobility as a service supported by blockchain

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282218A (en) * 2008-05-20 2008-10-08 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for ciphering and deciphering host computer and pickaback plane of split type terminal
CN105812126A (en) * 2016-05-19 2016-07-27 齐鲁工业大学 Lightweight back-up and efficient restoration method of health block chain data encryption keys
CN106096441A (en) * 2016-06-08 2016-11-09 深圳市星辰帷幄信息技术有限公司 Date storage method and data storage device
US9569771B2 (en) * 2011-04-29 2017-02-14 Stephen Lesavich Method and system for storage and retrieval of blockchain blocks using galois fields
CN106446702A (en) * 2015-08-11 2017-02-22 腾讯科技(北京)有限公司 Cache information processing method and client
CN106598490A (en) * 2016-11-25 2017-04-26 深圳前海微众银行股份有限公司 Access method for block chain data and block chain management system
CN107171806A (en) * 2017-05-18 2017-09-15 北京航空航天大学 Mobile terminal network cryptographic key negotiation method based on block chain
CN107181599A (en) * 2017-07-18 2017-09-19 天津理工大学 The storage of route location data confidentiality and sharing method based on block chain

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282218A (en) * 2008-05-20 2008-10-08 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for ciphering and deciphering host computer and pickaback plane of split type terminal
US9569771B2 (en) * 2011-04-29 2017-02-14 Stephen Lesavich Method and system for storage and retrieval of blockchain blocks using galois fields
CN106446702A (en) * 2015-08-11 2017-02-22 腾讯科技(北京)有限公司 Cache information processing method and client
CN105812126A (en) * 2016-05-19 2016-07-27 齐鲁工业大学 Lightweight back-up and efficient restoration method of health block chain data encryption keys
CN106096441A (en) * 2016-06-08 2016-11-09 深圳市星辰帷幄信息技术有限公司 Date storage method and data storage device
CN106598490A (en) * 2016-11-25 2017-04-26 深圳前海微众银行股份有限公司 Access method for block chain data and block chain management system
CN107171806A (en) * 2017-05-18 2017-09-15 北京航空航天大学 Mobile terminal network cryptographic key negotiation method based on block chain
CN107181599A (en) * 2017-07-18 2017-09-19 天津理工大学 The storage of route location data confidentiality and sharing method based on block chain

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110445624A (en) * 2018-05-04 2019-11-12 中国移动通信有限公司研究院 A kind of CDR processing system and device
CN110445624B (en) * 2018-05-04 2022-09-13 中国移动通信有限公司研究院 CDR processing system and device
CN108768961A (en) * 2018-05-11 2018-11-06 中国联合网络通信集团有限公司 storage processing method and home gateway
CN108664631A (en) * 2018-05-15 2018-10-16 科影视讯(北京)信息科技有限公司 A kind of control method and device for indicating to adjust exhibition display by audio, video data file
CN108765579A (en) * 2018-05-15 2018-11-06 科影视讯(北京)信息科技有限公司 One kind being based on VR technology exhibition display connection methods and device
CN108629204A (en) * 2018-05-15 2018-10-09 科影视讯(北京)信息科技有限公司 A kind of intelligent digital guide to visitors methods of exhibiting and system
CN108848156B (en) * 2018-06-08 2021-06-29 中国联合网络通信集团有限公司 Access gateway processing method, device and storage medium
CN108848156A (en) * 2018-06-08 2018-11-20 中国联合网络通信集团有限公司 access gateway processing method, device and storage medium
CN108923925B (en) * 2018-06-22 2022-11-08 北京京东尚科信息技术有限公司 Data storage method and device applied to block chain
CN108923925A (en) * 2018-06-22 2018-11-30 北京京东尚科信息技术有限公司 Date storage method and device applied to block chain
CN109005220A (en) * 2018-07-17 2018-12-14 中国联合网络通信集团有限公司 The service implementation method and access gateway of internet of things of internet-of-things terminal
US11847249B2 (en) 2018-10-25 2023-12-19 Sony Corporation Privacy-preserving mobility as a service supported by blockchain
CN109635572A (en) * 2018-11-05 2019-04-16 深圳变设龙信息科技有限公司 A kind of contract signing method, apparatus and terminal device based on block chain
CN109327481A (en) * 2018-12-17 2019-02-12 北京信息科技大学 A kind of unified online authentication method and system of the whole network based on block chain
CN109687961A (en) * 2019-01-15 2019-04-26 如般量子科技有限公司 Anti- quantum calculation block chain method of commerce and system based on pool of symmetric keys route device
CN109687961B (en) * 2019-01-15 2021-12-07 如般量子科技有限公司 Quantum computation resistant blockchain transaction method and system based on symmetric key pool routing device
CN109660344A (en) * 2019-01-17 2019-04-19 如般量子科技有限公司 Anti- quantum calculation block chain method of commerce and system based on unsymmetrical key pond route device
CN109660344B (en) * 2019-01-17 2022-05-06 如般量子科技有限公司 Anti-quantum computation block chain transaction method and system based on asymmetric key pool routing device
CN109981673B (en) * 2019-04-04 2021-10-08 上海人行道网络信息技术有限公司 Block chain-based data evidence storage method, device, equipment and storage medium
CN109981673A (en) * 2019-04-04 2019-07-05 上海人行道网络信息技术有限公司 Data based on block chain deposit card method, apparatus, equipment and storage medium
CN110120949B (en) * 2019-05-10 2021-07-27 中国联合网络通信集团有限公司 Data storage method and data storage system
CN110120949A (en) * 2019-05-10 2019-08-13 中国联合网络通信集团有限公司 A kind of date storage method and data-storage system
CN110263543B (en) * 2019-05-20 2021-06-01 创新先进技术有限公司 Object-level receipt storage method and node based on code labeling
WO2020233421A1 (en) * 2019-05-20 2020-11-26 创新先进技术有限公司 Object-level receipt storage method and node based on code marking
CN110263543A (en) * 2019-05-20 2019-09-20 阿里巴巴集团控股有限公司 Object level receipt storage method and node based on code mark
WO2020233639A1 (en) * 2019-05-20 2020-11-26 创新先进技术有限公司 Receipt storage method and node based on code labeling and event function type
CN110557427A (en) * 2019-07-15 2019-12-10 浙江工业大学 Intelligent home security control method for balancing network performance and security
CN112583772B (en) * 2019-09-30 2022-07-15 重庆傲雄在线信息技术有限公司 Data acquisition and storage platform
CN112583772A (en) * 2019-09-30 2021-03-30 重庆傲雄在线信息技术有限公司 Data acquisition and storage platform
CN111866863A (en) * 2020-07-16 2020-10-30 国网山东省电力公司青岛供电公司 WiFi security encryption system and method
CN111885267A (en) * 2020-07-22 2020-11-03 中国联合网络通信集团有限公司 Terminal response method and ringing method based on block chain
CN114168218A (en) * 2021-11-30 2022-03-11 深圳市名竹科技有限公司 Data processing method, data processing device, computer equipment and storage medium
CN114168218B (en) * 2021-11-30 2024-03-29 深圳市名竹科技有限公司 Data processing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN107770182B (en) 2020-09-08

Similar Documents

Publication Publication Date Title
CN107770182A (en) The date storage method and home gateway of home gateway
CN112926982B (en) Transaction data processing method, device, equipment and storage medium
CN107801229A (en) Smart home is with network method, terminal, equipment and the device with store function
CN103596173B (en) Wireless network authentication method, client and service end wireless network authentication device
CN107454079B (en) Lightweight equipment authentication and shared key negotiation method based on Internet of things platform
CN106357396A (en) Digital signature method, digital signature system and quantum key card
US20030131082A1 (en) Wireless lan system, an access point apparatus and a managing method of a wireless lan system, which can determine the system manager without making the process for the authentication troublesome
CN106658493A (en) Key management method, device and system
CN104283688B (en) A kind of USBKey security certification systems and safety certifying method
CN110266642A (en) Identity identifying method and server, electronic equipment
CN111181912B (en) Browser identifier processing method and device, electronic equipment and storage medium
CN110035058B (en) Resource request method, device and storage medium
CN110381075B (en) Block chain-based equipment identity authentication method and device
CN115208705B (en) Encryption and decryption method and device based on link data self-adaptive adjustment
CN109729000B (en) Instant messaging method and device
CN113316149B (en) Identity security authentication method, device, system, wireless access point and medium
JP2001177513A (en) Authenticating method in communication system, center equipment, and recording medium with authentication program recorded thereon
CN108632042A (en) A kind of class AKA identity authorization systems and method based on pool of symmetric keys
CN108616521A (en) Method for network access, device, equipment and readable storage medium storing program for executing
CN112653556A (en) TOKEN-based micro-service security authentication method, device and storage medium
CN113055176A (en) Terminal authentication method and system, terminal device, P2P verification platform and medium
JP2003535497A (en) Cryptographically checkable identification method of physical units in public wireless telecommunications networks
CN108650096A (en) A kind of industrial field bus control system
CN110647583A (en) Block chain construction method, device, terminal and medium
CN113965425B (en) Access method, device and equipment of Internet of things equipment and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant