CN111831653A - Method and device for storing self-media data of Internet on block chain - Google Patents

Method and device for storing self-media data of Internet on block chain Download PDF

Info

Publication number
CN111831653A
CN111831653A CN201911327650.6A CN201911327650A CN111831653A CN 111831653 A CN111831653 A CN 111831653A CN 201911327650 A CN201911327650 A CN 201911327650A CN 111831653 A CN111831653 A CN 111831653A
Authority
CN
China
Prior art keywords
self
storage
media
media data
node
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
CN201911327650.6A
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.)
Beijing Aimo Ruice Technology Co Ltd
Beijing Ai Morui Strategic Technology Co Ltd
Original Assignee
Beijing Aimo Ruice Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Aimo Ruice Technology Co Ltd filed Critical Beijing Aimo Ruice Technology Co Ltd
Priority to CN201911327650.6A priority Critical patent/CN111831653A/en
Publication of CN111831653A publication Critical patent/CN111831653A/en
Pending legal-status Critical Current

Links

Images

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/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a storage method and a device of internet self-media data on a block chain, wherein a block chain system comprises a first storage node and a first block outlet node, the first storage node stores data through a local database, and the first block outlet node is used for packaging blocks and chaining the blocks; the method is applied to the first storage node, the first storage node comprises a first public key and a first private key, and the method comprises the following steps: receiving a user self-media data uplink request sent by a terminal; storing user self-media data through a local database, and generating a first storage certificate of the self-media data, so that a first storage node sends the first storage certificate of the self-media data to a block node, and the block node links the user self-media data; and sending the first storage certificate of the self-media data to the terminal so as to inform the terminal that the self-media data of the user has been stored by the block chain system. The method can shorten the uplink time of the user from the media data, thereby improving the uplink experience of the user from the media data.

Description

Method and device for storing self-media data of Internet on block chain
Technical Field
The invention relates to the technical field of internet big data, in particular to a method and a device for storing internet self-media data on a block chain.
Background
Currently, the blockchain technology is a distributed stored ledger that uses technologies such as encryption algorithm and consensus mechanism. With the application of the block chain technology, more and more internet data can be stored on the block chain; see patent nos.: 201910306004.5.
the existing self-media data are stored in a block chain, and block chain link points need to pack the data into blocks; and then storing the blocks into a block chain after the blocks are identified. If the workload proves PoW consensus method is adopted, the uplink process needs about 60 minutes; if the DPoS method is adopted, the uplink process needs about 15 minutes; the two consensus methods, PoW and DPoS, are the mainstream consensus methods of the current block chain system. When a user needs to uplink from media data (e.g., from a media platform such as WeChat, QQ, microblog, etc.), the ten and a few minutes of uplink time may affect the user's experience with blockchain techniques.
Therefore, how to shorten the time for uplink of user data for uplink storage of self-media data becomes an urgent problem to be solved.
The foregoing description is merely for convenience in understanding and is not to be construed as limiting the prior art to the present application.
Disclosure of Invention
Based on the above problems, the method and the device for storing the self-media data of the internet on the block chain can shorten the uplink time of the self-media data of the user, and further improve the uplink experience of the self-media data of the user.
The first aspect of the application discloses a method for storing internet self-media data on a block chain, wherein a block chain system comprises a first storage node and a first block outlet node, the first storage node stores data through a local database, and the first block outlet node is used for packaging blocks and linking the blocks; the storage method is applied to the first storage node, the first storage node comprises a first public key and a first private key, and the storage method comprises the following steps:
receiving a user self-media data uplink request sent by a terminal, wherein the user self-media data comprises self-media operation data, self-media operation data ID, user ID, self-media operation data hash value, a signature of a terminal private key on the self-media operation data and a terminal public key of a user on an Internet self-media platform;
storing the user self-media data through a local database, and generating a first storage certificate of the self-media data; the self-media data first storage certificate comprises the user self-media data, a storage address, a signature of a first private key on the user self-media data and a first public key, so that the first storage node sends the self-media data first storage certificate to the block-giving node, and the block-giving node uplinks the user self-media data;
and sending the self-media data first storage certificate to the terminal so as to inform the terminal that the self-media data has been stored by the block chain system.
In one possible implementation, the self-media operation data comprises one or more of video data, text data, picture data and self-media time data of a user on the internet self-media platform.
In one possible embodiment, the method further comprises: the first storage node randomly sends the user self-media data to a second storage node so that the second storage node backups and stores the user self-media data, the second storage node sends respective generated self-media data second storage certificates to the block-giving node, and the block-giving node links the user self-media data.
In one possible embodiment, the number M of the second storage nodes is greater than or equal to 2, and M is a positive integer.
In one possible embodiment, the method further comprises: and if the first storage node does not receive the user self-media data first storage certification uplink response sent by the block-out node, sending a user self-media data first storage certification to the block-out node at intervals of a preset time period until the block-out node performs uplink transmission on the user self-media data first storage certification.
In one possible embodiment, the method further comprises: the first storage node sends a user self-media data query request to the given block node, wherein the user self-media data query request comprises the self-media operation data ID;
receiving first self-media operation data corresponding to the self-media operation data ID sent by the block-out node;
and comparing a first hash value obtained by performing hash operation on the first self-media operation data with the hash value of the self-media operation, and if the first hash value is the same as the hash value of the self-media operation data, the first storage node confirms that the self-media operation data is linked up by the out-blocking node.
In one possible embodiment, the method further comprises: the first storage node receives the user self-media data query request sent by the block-out node at preset time intervals, wherein the user self-media data query request comprises the self-media operation data ID; and sending second self-media operation data to the self-media operation data, wherein the second self-media operation data corresponds to the self-media operation data ID, so that the self-media operation data is subjected to hash operation by the self-media node to obtain a second hash value, the second hash value is compared with the hash value of the self-media operation data, and if the second hash value is the same as the hash value of the self-media operation data, the first storage node is confirmed to store the self-media operation data within a preset time period.
In one possible embodiment, the method further comprises: the first storage node receives the integral mortgage operation of the terminal; allocating storage space authority to the terminal according to the integral number of the terminal; the storage space is the unit time storage space X storage time.
In one possible embodiment, the method further comprises: the first storage node verifies the storage space authority of the user according to the storage space required by the user self-media operation data; after the verification is passed, deducting the storage space authority corresponding to the user self-media operation data from the user storage space authority; and sending the user residual storage space authority to the terminal so as to inform the terminal of the corresponding user.
The second aspect of the application discloses a storage device for internet self-media data on a block chain, wherein a block chain system comprises a first storage node and a first block output node, the first storage node stores data through a local database, and the first block output node is used for packaging and chaining blocks; the storage device is applied to the first storage node, the first storage node comprises a first public key and a first private key, and the storage device comprises a receiving unit, a processing unit and a sending unit; wherein the content of the first and second substances,
the receiving unit is used for receiving a user self-media data uplink request sent by a terminal, wherein the user self-media data comprises self-media operation data, a self-media operation data ID, a user ID, a self-media operation data hash value, a signature of a terminal private key on the self-media operation data and a terminal public key of the user on an Internet self-media platform;
the processing unit stores the user self-media data through a local database and generates a first storage certificate of the self-media data; the self-media data first storage certificate comprises the user self-media data, a storage address, a signature of a first private key on the user self-media data and a first public key, so that the first storage node sends the self-media data first storage certificate to the block-giving node, and the block-giving node uplinks the user self-media data;
the sending unit sends the self-media data first storage certificate to the terminal so as to inform the terminal that the self-media data is stored by the block chain system.
In one possible implementation, the self-media operation data comprises one or more of video data, text data, picture data and self-media time data of a user on the internet self-media platform.
In a possible implementation manner, the sending unit sends the user self-media data to a second storage node at random, so that the second storage node stores the user self-media data in a backup manner, and the second storage node sends a second storage certificate of the self-media data generated by each storage node to the block-giving node, and the block-giving node uplinks the user self-media data.
In one possible embodiment, the number M of the second storage nodes is greater than or equal to 2, and M is a positive integer.
In a possible implementation manner, if the first storage node does not receive the user self-media data first storage certificate uplink response sent by the out-block node, the processing unit sends the user self-media data first storage certificate to the out-block node at a predetermined time interval until the out-block node uplinks the user self-media data first storage certificate.
The method and the device can shorten the uplink time of the user from the media data, and further improve the uplink experience of the user from the media data.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart illustrating a method for storing Internet self-media data on a blockchain according to the present disclosure;
FIG. 2 is a schematic diagram of a block-chain Internet self-media data storage device according to the present application;
FIG. 3 is a schematic diagram of a block-chained Internet self-media data storage device according to the present application;
fig. 4 is a block chain architecture diagram illustrating internet storage of media data from a block chain according to the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second" in this application are used for convenience of understanding only, and are not to be construed as sequential or limiting in any way.
For the purpose of facilitating understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
As shown in fig. 4, the blockchain system includes a first storage node and a first out-block node, the first storage node stores data through a local database, and the first out-block node is used for packing blocks and linking the blocks; the storage method is applied to the first storage node, and the first storage node comprises a first public key and a first private key.
As shown in fig. 1, a method for storing internet self-media data on a blockchain includes S101-S103.
S101, receiving a user self-media data uplink request sent by a terminal, wherein the user self-media data comprises self-media operation data, a self-media operation data ID, a user ID, a self-media operation data hash value, a signature of a terminal private key on the self-media operation data and a terminal public key of a user on an Internet self-media platform.
At this time, the self-media operation data ID or the user ID provides two query modes for the user; the terminal private key signs the self-media operation data, and the first storage node verifies the storage space authority corresponding to the private key.
S102, storing the user self-media data through a local database, and generating a first storage certificate of the self-media data; the self-media data first storage certificate comprises the user self-media data, a storage address, a signature of a first private key on the user self-media data and a first public key, so that the first storage node sends the self-media data first storage certificate to the block-giving node, and the block-giving node uplinks the user self-media data.
S103, sending the first storage certificate of the self-media data to the terminal so as to inform the terminal that the self-media data of the user is stored by the block chain system.
In the above description, after the storage node stores the user self-media data, it directly returns a storage certificate to the user, and the storage certificate prompts the user that the storage operation of the user blockchain system is completed; the user does not need to wait, and can directly perform other operations; meanwhile, the block chain system can perform packaging uplink processing on the storage certificate, and other functions of the block chain system used by a user are not influenced; thereby improving the user experience of storing data on the blockchain system.
In one example, the self-media operation data comprises one or more of video data, text data, picture data and self-media time data of a user on an internet self-media platform.
In one example, the method further comprises: the first storage node randomly sends the user self-media data to a second storage node so that the second storage node backups and stores the user self-media data, the second storage node sends respective generated self-media data second storage certificates to the block-giving node, and the block-giving node links the user self-media data.
It should be noted that, if the number of the user self-media data is greater than the preset threshold, after the first storage node stores the user self-media data, the user self-media data may be divided into self-media data fragments, and the self-media data fragments are sent to a plurality of second storage nodes, where one self-media data fragment corresponds to one second storage node. The data with large data volume is fragmented, and fragmented backup storage is performed, so that the efficiency of data backup storage can be improved.
In addition, when a plurality of second storage nodes are selected, in order to ensure the availability of the backup storage function, the downtime rates of the plurality of second storage nodes can be multiplied to obtain a total downtime rate; and selecting a plurality of second storage nodes with the total downtime rate smaller than the preset downtime rate.
In one example, the number M ≧ 2 of second storage nodes, M being a positive integer.
At this time, the number of the second storage nodes is the number of the backup data.
In one example, the method further comprises: and if the first storage node does not receive the user self-media data first storage certification uplink response sent by the block-out node, sending a user self-media data first storage certification to the block-out node at intervals of a preset time period until the block-out node performs uplink transmission on the user self-media data first storage certification.
In one example, the method further comprises: the first storage node sends a user self-media data query request to the given block node, wherein the user self-media data query request comprises the self-media operation data ID;
receiving first self-media operation data corresponding to the self-media operation data ID sent by the block-out node;
and comparing a first hash value obtained by performing hash operation on the first self-media operation data with the hash value of the self-media operation, and if the first hash value is the same as the hash value of the self-media operation data, the first storage node confirms that the self-media operation data is linked up by the out-blocking node.
In one example, the method further comprises: the first storage node receives the user self-media data query request sent by the block-out node at preset time intervals, wherein the user self-media data query request comprises the self-media operation data ID; and sending second self-media operation data to the self-media operation data, wherein the second self-media operation data corresponds to the self-media operation data ID, so that the self-media operation data is subjected to hash operation by the self-media node to obtain a second hash value, the second hash value is compared with the hash value of the self-media operation data, and if the second hash value is the same as the hash value of the self-media operation data, the first storage node is confirmed to store the self-media operation data within a preset time period.
In one example, the method further comprises: the first storage node receives the integral mortgage operation of the terminal; allocating storage space authority to the terminal according to the integral number of the terminal; the storage space is the unit time storage space X storage time.
At this time, after the time of the self-media data required to be stored by the user is up, the storage node can delete the self-media data; in addition, the user does not have the used storage space authority, and the user can initiate a mortgage operation through the terminal to redeem the points corresponding to the remaining unused storage space authority.
In one example, the method further comprises: the first storage node verifies the storage space authority of the user according to the storage space required by the user self-media operation data; after the verification is passed, deducting the storage space authority corresponding to the user self-media operation data from the user storage space authority; and sending the user residual storage space authority to the terminal so as to inform the terminal of the corresponding user.
It should be noted that, the ways of deducting the storage space authority include two ways: one is to directly deduct the storage space required by the user to operate the data from the media; one is to deduct the storage space right per unit time. The unit time may be one day, one week, or one month.
In one example, the method further comprises: the first storage node sends a user self-media data query request to the given block node, wherein the user self-media data query request comprises the self-media operation data ID; receiving first self-media operation data corresponding to the self-media operation data ID sent by the block-out node; and comparing a first hash value obtained by performing hash operation on the first self-media operation data with the hash value of the self-media operation, and if the first hash value is the same as the hash value of the self-media operation data, the first storage node confirms that the self-media operation data is linked up by the out-blocking node.
In one example, the method further comprises: the first storage node receives the user self-media data query request sent by the block-out node at preset time intervals, wherein the user self-media data query request comprises the self-media operation data ID;
and sending second self-media operation data to the self-media operation data, wherein the second self-media operation data corresponds to the self-media operation data ID, so that the self-media operation data is subjected to hash operation by the self-media node to obtain a second hash value, the second hash value is compared with the hash value of the self-media operation data, and if the second hash value is the same as the hash value of the self-media operation data, the first storage node is confirmed to store the self-media operation data within a preset time period.
In one example, the method further comprises: the first storage node receives the integral mortgage operation of the terminal;
allocating storage space authority to the terminal according to the integral number of the terminal; the storage space is the unit time storage space X storage time.
In one example, the method further comprises: the first storage node verifies the storage space authority of the user according to the storage space required by the user self-media operation data; after the verification is passed, deducting the storage space authority corresponding to the user self-media operation data from the user storage space authority;
and sending the user residual storage space authority to the terminal so as to inform the terminal of the corresponding user.
The method and the device can shorten the uplink time of the user from the media data, and further improve the uplink experience of the user from the media data.
The second aspect of the application discloses a storage device for internet self-media data on a block chain, wherein a block chain system comprises a first storage node and a first block output node, the first storage node stores data through a local database, and the first block output node is used for packaging and chaining blocks; the storage device is applied to the first storage node, the first storage node comprises a first public key and a first private key, and the storage device comprises a receiving unit, a processing unit and a sending unit; wherein the content of the first and second substances,
the receiving unit is used for receiving a user self-media data uplink request sent by a terminal, wherein the user self-media data comprises self-media operation data, a self-media operation data ID, a user ID, a self-media operation data hash value, a signature of a terminal private key on the self-media operation data and a terminal public key of the user on an Internet self-media platform;
the processing unit stores the user self-media data through a local database and generates a first storage certificate of the self-media data; the self-media data first storage certificate comprises the user self-media data, a storage address, a signature of a first private key on the user self-media data and a first public key, so that the first storage node sends the self-media data first storage certificate to the block-giving node, and the block-giving node uplinks the user self-media data;
the sending unit sends the self-media data first storage certificate to the terminal so as to inform the terminal that the self-media data is stored by the block chain system.
In one example, the self-media operation data comprises one or more of video data, text data, picture data and self-media time data of a user on an internet self-media platform.
In an example, the sending unit sends the user self-media data to a second storage node at random, so that the second storage node stores the user self-media data in a backup manner, and the second storage node sends a second storage certificate of the self-media data generated by the second storage node to the block-giving node, and the block-giving node links the user self-media data.
In one example, the number M ≧ 2 of second storage nodes, M being a positive integer.
In an example, if the first storage node does not receive the user self-media data first storage certificate uplink response sent by the out-block node, the processing unit sends the user self-media data first storage certificate to the out-block node at a predetermined time interval until the out-block node uplinks the user self-media data first storage certificate.
It should be noted that, in the device embodiment, reference may be made to the same or similar parts as in the method embodiment, and details are not described herein.
The method and the device can shorten the uplink time of the user from the media data, and further improve the uplink experience of the user from the media data.
The application further discloses a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of the above embodiments when executing the program.
The present application also discloses a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of the above embodiments.
Fig. 3 shows a schematic diagram of a computer device, which may include: a processor 310, a memory 320, an input/output interface 330, a communication interface 340, and a bus 350. Wherein the processor 340, the memory 320, the input/output interface 330, and the communication interface 340 are communicatively coupled to each other within the device via a bus 350.
The processor 310 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present specification.
The Memory 320 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random access Memory), a static storage device, a dynamic storage device, or the like. The memory 320 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 320 and called to be executed by the processor 310.
The input/output interface 330 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 340 is used for connecting a communication module (not shown in the figure) to implement communication interaction between the present device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 350 includes a path that transfers information between the various components of the device, such as processor 310, memory 320, input/output interface 330, and communication interface 340.
It should be noted that although the above-mentioned device only shows the processor 310, the memory 320, the input/output interface 330, the communication interface 340 and the bus 350, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only illustrative of the present invention and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the scope of the present invention should be included in the scope of the present invention.

Claims (10)

1. The method for storing internet self-media data on a block chain is characterized in that a block chain system comprises a first storage node and a first block outlet node, wherein the first storage node stores data through a local database, and the first block outlet node is used for packaging blocks and chaining the blocks; the storage method is applied to the first storage node, the first storage node comprises a first public key and a first private key, and the storage method comprises the following steps:
receiving a user self-media data uplink request sent by a terminal, wherein the user self-media data comprises self-media operation data, self-media operation data ID, user ID, self-media operation data hash value, a signature of a terminal private key on the self-media operation data and a terminal public key of a user on an Internet self-media platform;
storing the user self-media data through a local database, and generating a first storage certificate of the self-media data; the self-media data first storage certificate comprises the user self-media data, a storage address, a signature of a first private key on the user self-media data and a first public key, so that the first storage node sends the self-media data first storage certificate to the block-giving node, and the block-giving node uplinks the user self-media data;
and sending the self-media data first storage certificate to the terminal so as to inform the terminal that the self-media data has been stored by the block chain system.
2. The storage method according to claim 1, wherein the self-media operation data comprises one or more of video data, text data, picture data and self-media time data of a user on an internet self-media platform.
3. The storage method according to claim 1, wherein the method further comprises:
the first storage node randomly sends the user self-media data to a second storage node so that the second storage node backups and stores the user self-media data, the second storage node sends respective generated self-media data second storage certificates to the block-giving node, and the block-giving node links the user self-media data.
4. The storage method according to claim 3, wherein the number M of the second storage nodes is greater than or equal to 2, and M is a positive integer.
5. The storage method according to claim 1, wherein the method further comprises:
and if the first storage node does not receive the user self-media data first storage certification uplink response sent by the block-out node, sending a user self-media data first storage certification to the block-out node at intervals of a preset time period until the block-out node performs uplink transmission on the user self-media data first storage certification.
6. The device for storing internet self-media data on a block chain is characterized in that a block chain system comprises a first storage node and a first block outlet node, wherein the first storage node stores data through a local database, and the first block outlet node is used for packaging blocks and chaining the blocks; the storage device is applied to the first storage node, the first storage node comprises a first public key and a first private key, and the storage device comprises a receiving unit, a processing unit and a sending unit; wherein the content of the first and second substances,
the receiving unit is used for receiving a user self-media data uplink request sent by a terminal, wherein the user self-media data comprises self-media operation data, a self-media operation data ID, a user ID, a self-media operation data hash value, a signature of a terminal private key on the self-media operation data and a terminal public key of the user on an Internet self-media platform;
the processing unit stores the user self-media data through a local database and generates a first storage certificate of the self-media data; the self-media data first storage certificate comprises the user self-media data, a storage address, a signature of a first private key on the user self-media data and a first public key, so that the first storage node sends the self-media data first storage certificate to the block-giving node, and the block-giving node uplinks the user self-media data;
the sending unit sends the self-media data first storage certificate to the terminal so as to inform the terminal that the self-media data is stored by the block chain system.
7. The storage device of claim 6, wherein the self-media operation data comprises one or more of video data, text data, picture data and self-media time data of a user on an internet self-media platform.
8. The storage device of claim 6,
the sending unit sends the user self-media data to a second storage node randomly so that the second storage node backups and stores the user self-media data, the second storage node sends a second storage certificate of the self-media data generated by the second storage node to the block-giving node, and the block-giving node uplinks the user self-media data.
9. The storage device of claim 8, wherein the number M of second storage nodes is greater than or equal to 2, and M is a positive integer.
10. The storage device of claim 6,
if the first storage node does not receive the user self-media data first storage certificate uplink response sent by the out-block node, the processing unit sends the user self-media data first storage certificate to the out-block node at intervals of a predetermined time period until the out-block node uplinks the user self-media data first storage certificate.
CN201911327650.6A 2019-12-20 2019-12-20 Method and device for storing self-media data of Internet on block chain Pending CN111831653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911327650.6A CN111831653A (en) 2019-12-20 2019-12-20 Method and device for storing self-media data of Internet on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911327650.6A CN111831653A (en) 2019-12-20 2019-12-20 Method and device for storing self-media data of Internet on block chain

Publications (1)

Publication Number Publication Date
CN111831653A true CN111831653A (en) 2020-10-27

Family

ID=72912045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911327650.6A Pending CN111831653A (en) 2019-12-20 2019-12-20 Method and device for storing self-media data of Internet on block chain

Country Status (1)

Country Link
CN (1) CN111831653A (en)

Similar Documents

Publication Publication Date Title
CN110247753B (en) Block output method and device based on block chain node point network
CN111831669A (en) Method and device for storing internet voting data according to block chain
CN111831738A (en) Method and device for storing Internet recruitment data on block chain
CN111078715A (en) Synchronous storage method and device for internet advertisement data on block chain
CN111831671A (en) Method and device for storing internet advertisement data on block chain
CN111078795A (en) Method and device for storing social data of internet on block chain
CN111831670A (en) Storage method and device related to internet comment data on block chain
CN110233722B (en) Block output method and device on block chain
CN111046048A (en) Method and device for storing Internet business license data on block chain
CN111835815A (en) Synchronous storage method and device for internet self-media data on block chain
CN111831653A (en) Method and device for storing self-media data of Internet on block chain
CN111125250A (en) Method and device for storing internet evaluation data on block chain
CN111833055A (en) Method and device for storing Internet research data on block chain
CN111831652A (en) Method and device for storing internet community data on block chain
CN111078758A (en) Method and device for storing Internet marriage certificate data on block chain
CN111831732A (en) Method and device for storing tourism data on block chain
CN111831651A (en) Storage method and device for sharing economic data on block chain through Internet
CN111831730A (en) Method and device for storing internet knowledge payment data on block chain
CN111833054A (en) Method and device for storing Internet e-commerce data on block chain
CN111831859A (en) Method and device for storing internet knowledge question-answer data on block chain
CN111831725A (en) Synchronous storage method and device for internet tourism data on block chain
CN111831731A (en) Method and device for storing internet life service data on block chain
CN111833056A (en) Method and device for storing internet search data on block chain
CN111831729A (en) Storage method and device for internet academic certificate data on block chain
CN110224813B (en) Block discharging method and device based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20201027

WD01 Invention patent application deemed withdrawn after publication