CN107517256B - Information distribution method and device - Google Patents

Information distribution method and device Download PDF

Info

Publication number
CN107517256B
CN107517256B CN201710738360.5A CN201710738360A CN107517256B CN 107517256 B CN107517256 B CN 107517256B CN 201710738360 A CN201710738360 A CN 201710738360A CN 107517256 B CN107517256 B CN 107517256B
Authority
CN
China
Prior art keywords
information
block chain
information release
content
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710738360.5A
Other languages
Chinese (zh)
Other versions
CN107517256A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201710738360.5A priority Critical patent/CN107517256B/en
Publication of CN107517256A publication Critical patent/CN107517256A/en
Application granted granted Critical
Publication of CN107517256B publication Critical patent/CN107517256B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • 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/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC

Abstract

The invention provides an information issuing method and a device, wherein the method comprises the following steps: the first equipment generates an information release request and information release content corresponding to the information release request; searching a block chain, when a pre-stored information release request which is the same as the information release request does not exist in the block chain, releasing the information release request to a block chain network, and determining whether to write the information release request into the block chain or not by the block chain network; searching a block chain, when the block chain does not have pre-stored information release content which is the same as the information release content, searching whether an information release request matched with the information release content exists in the block chain, if so, releasing the information release content to the block chain network, and determining whether to write the information release content into the block chain by the block chain network. By the method, the problem of dependence of traditional information security release on a third-party organization can be solved, and the problems of high cost and low efficiency caused by dependence of the Internet of things on the centralized server are reduced.

Description

Information distribution method and device
Technical Field
The invention relates to the field of Internet of things, in particular to an information publishing method and device.
Background
With the development of the technology of the internet of things, the internet of things is more and more closely related to the life of people, and therefore the safety problem of data interaction among all nodes in the internet of things is also paid attention to. In the traditional method, when each node in the internet of things issues information, the risk of information tampering exists, so that the communication safety between each node can be ensured only by using a trusted third party Certification Authority (CA) to perform identity authentication and issue a digital certificate. However, the introduction of the third-party mechanism inevitably leads the whole internet of things to carry out network autonomy by taking the third-party mechanism as a center, and runs counter to the decentralized development of the internet of things, so that the decentralized capability of the internet of things is limited, and the maintenance cost is increased.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide an information publishing method and apparatus, so as to alleviate the problem of dependence on a third-party organization in the conventional information security publishing, and reduce the problems of high cost and low efficiency caused by dependence of the internet of things on a centralized server.
In a first aspect, an embodiment of the present invention provides an information publishing method, where the method includes: a first device in the Internet of things generates an information release request and information release content corresponding to the information release request; the first device searches a block chain, when a pre-stored information release request which is the same as the information release request does not exist in the block chain, the first device releases the information release request to the block chain network, and waits for the block chain network to write the information release request into the block chain; the first device searches the block chain, when the pre-stored information release content which is the same as the information release content does not exist in the block chain, whether the information release request matched with the information release content exists is searched in the block chain, if yes, the first device releases the information release content to the block chain network, and the block chain network is waited to write the information release content into the block chain.
In a second aspect, an embodiment of the present invention provides an information distribution apparatus, where the apparatus includes: the generating module is used for generating an information publishing request and information publishing contents corresponding to the information publishing request; the searching module is used for searching a block chain, issuing the information issuing request to the block chain network when the block chain does not have a pre-stored information issuing request which is the same as the information issuing request, and waiting for the block chain network to write the information issuing request into the block chain; the judging module is used for searching the block chain, and when the pre-stored information release content which is the same as the information release content does not exist in the block chain, whether the information release request matched with the information release content exists or not is searched in the block chain; and the execution module is used for judging the existence of the information release content by the judgment module, releasing the information release content to the block chain network, and waiting for the block chain network to write the information release content into the block chain.
Compared with the prior art, the information issuing method and the information issuing device provided by the embodiments of the invention have the beneficial effects that: the method comprises the steps that a first device in the Internet of things generates an information release request and information release content corresponding to the information release request in advance, whether a pre-stored information release request identical to the information release request exists or not is searched in a block chain, if not, the information release request is released to a block chain network, the block chain network is waited to write the information release request into the block chain, whether pre-stored information release content identical to the information release content exists or not is searched in the block chain, if not, whether the information release request matched with the information release content exists or not is searched in the block chain, if yes, the information release content is released to the block chain network, the block chain network is waited to write the information release content into the block chain, and information release is completed. The information issuing method avoids tampering of the information issuing content, avoids participation of a third-party organization in the whole information issuing process, relieves the problem of dependence of traditional information security issuing on the third-party organization, and reduces the problems of high cost and low efficiency caused by dependence of the Internet of things on a centralized server.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
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 embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic diagram illustrating interaction between a first device and a second device according to an embodiment of the present invention;
fig. 2 is a block diagram of a first device according to an embodiment of the present invention;
fig. 3 is a flowchart of an information distribution method according to a first embodiment of the present invention;
fig. 4 is a flowchart of another information distribution method according to the first embodiment of the present invention;
fig. 5 is a block diagram of an information distribution apparatus according to a second embodiment of the present invention;
fig. 6 is a block diagram of another information distribution apparatus according to a second embodiment of the present invention.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 is a schematic diagram illustrating interaction between a first device 100 and a second device 200 according to an embodiment of the present invention. The first device 100 is communicatively coupled to one or more second devices 200 via a network 300 for data communication or interaction. First equipment 100 and second equipment 200 can be server, client, the first equipment that can regard as the node in the thing networking, and wherein, the client can be APP, webpage etc. and user terminal can be Personal Computer (PC), panel computer, smart mobile phone, Personal Digital Assistant (PDA) etc.. The first device 100 and the second device 200 may be the same or different.
Fig. 2 is a block diagram of the first device 100. The first device 100 includes: the information distribution device, the memory 110, the memory controller 120, the processor 130, the peripheral interface 140, the input/output unit 150, the audio unit 160, and the display unit 170.
The memory 110, the memory controller 120, the processor 130, the peripheral interface 140, the input/output unit 150, the audio unit 160, and the display unit 170 are electrically connected to each other directly or indirectly, so as to implement data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The information issuing apparatus includes at least one software functional module which may be stored in the memory 110 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the client device. The processor 130 is used to execute executable modules stored in the memory 110, such as software functional modules or computer programs included in the information distribution apparatus.
The Memory 110 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 110 is configured to store a program, and the processor 130 executes the program after receiving an execution instruction, and the method executed by the first apparatus 100 defined by the process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 130, or implemented by the processor 130.
The processor 130 may be an integrated circuit chip having signal processing capabilities. The Processor 130 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The peripheral interface 140 couples various input/output devices to the processor 130 and to the memory 110. In some embodiments, peripheral interface 140, processor 130, and memory controller 120 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The input and output unit 150 is used for providing input data to the user to realize the interaction of the user with the first device 100. The input/output unit 150 may be, but is not limited to, a mouse, a keyboard, and the like.
Audio unit 160 provides an audio interface to a user that may include one or more microphones, one or more speakers, and audio circuitry.
The display unit 170 provides an interactive interface (e.g., a user operation interface) between the first device 100 and a user or for displaying image data to a user reference. In this embodiment, the display unit 170 may be a liquid crystal display or a touch display. In the case of a touch display, the display can be a capacitive touch screen or a resistive touch screen, which supports single-point and multi-point touch operations. Supporting single-point and multi-point touch operations means that the touch display can sense touch operations from one or more locations on the touch display at the same time, and the sensed touch operations are sent to the processor 130 for calculation and processing.
First embodiment
Referring to fig. 3, fig. 3 is a flowchart of an information publishing method according to a first embodiment of the present invention, where the method is applied to a first device. The flow shown in fig. 3 will be described in detail below, and the method includes:
step S101: first equipment in the Internet of things generates an information release request and information release content corresponding to the information release request. Further, the first device may perform a hash operation on the first device public key and the first device ID (each device in the internet of things has a unique ID (e.g., a globally unique serial number, UUID)) that are pre-stored locally, so as to obtain a digest value. After the digest value is obtained, digital signature operation is carried out on the digest value based on the first device private key which is stored locally in advance, and a signature result is obtained. The first device may further combine the digest value and the signature result according to a first preset format to generate an information release request, and combine the first device ID and the first device public key according to a second preset format to generate information release content. The purpose that the first preset format and the second preset format can be adjusted and set to be uniform according to actual conditions is to ensure that data can be conveniently viewed and processed.
Step S102: the first device searches a block chain, when a pre-stored information release request which is the same as the information release request does not exist in the block chain, the first device releases the information release request to the block chain network, and waits for the block chain network to write the information release request into the block chain.
And the first equipment searches the block chain and judges whether a pre-stored information release request with the same abstract value as the information release request exists in the pre-stored information release request or not. If yes, canceling information writing; if not, the first device continues to judge whether a pre-stored information release request with the same signature result as the information release request exists in the pre-stored information release request. If yes, canceling information writing; and if the information distribution request does not exist, the first equipment distributes the information distribution request to the block chain network and waits for the block chain network to write the information distribution request into the block chain.
Step S103: and the first equipment searches the block chain, and when the pre-stored information release content which is the same as the information release content does not exist in the block chain, the first equipment searches whether the information release request matched with the information release content exists in the block chain.
The first device searches the block chain, and judges whether pre-stored information release content identical to the first device ID or the first device public key included in the information release content exists in the pre-stored information release content. If yes, canceling the writing; and if not, the first equipment performs Hash operation on the basis of the information release content to obtain an abstract value of the information release content, and judges whether a target information release request with the same abstract value as the information release content exists in the prestored information release requests stored in the block chain. If not, canceling the writing; if so, judging whether the first device private key included in the signature result of the target information publishing request is matched with the first device public key included in the information publishing content.
Step S104: if the information release content exists, the first device releases the information release content to the block chain network, and waits for the block chain network to write the information release content into the block chain.
When the first device private key included in the signature result of the target information publishing request is judged to be matched with the first device public key included in the information publishing content, the first device publishes the information publishing content to the block chain network, and the block chain network is waited to write the information publishing content into the block chain. The information release content is the first information.
Once written into the block chain, the information cannot be tampered and cannot be revoked. Therefore, the first device for issuing the data record can be identified as the issuer of the information issuing content according to the writing record of the information. The publisher of the information release content has the time advantage of knowing the specific content of the information in advance, and by utilizing the time advantage and the non-tamper property of the block chain, the information is safely released and the safety binding of various logic relationships is realized in a mode of firstly releasing the hash value of the information on the block chain and then releasing the specific content of the information after confirmation.
It should be noted that the information distribution request and the information distribution content writing process of the second device are similar to the above process, and are not described herein again.
In addition, referring to fig. 4, as an embodiment, the method may further include:
step S110: and the first equipment in the Internet of things receives the second equipment ID sent by the second equipment in the Internet of things.
Each device in the internet of things has a unique ID (e.g., a globally unique serial number, UUID), wherein the first device ID and the second device ID may both be stored in a device local storage area.
Step S120: based on the second device ID, the first device searches the block chain to obtain second information comprising the second device ID and a second device public key.
As an implementation manner, the first device may perform lookup in a pre-stored blockchain based on the received second device ID, and obtain second information matched with the second device from the lookup, where the second information includes the second device ID and a second device public key, that is, content issued by the second device in the blockchain. Of course, the second information may be issued in advance by the second device and stored in the blockchain.
Step S130: the first device obtains authentication information from the second device.
The identity verification information is calculated by the second device based on the first information and the third information. Wherein the first information includes the first device ID and a first device public key, and the third information includes the second device ID and a second device private key. The first information may be obtained by the second device by looking up in the blockchain based on a first device ID obtained in advance, and the second information may be generated by the second device based on a parameter saved in the second device in advance and saved in the second device.
Further, the second device may calculate a value as the authentication information through a cryptographic algorithm based on the first information and the third information.
It is worth pointing out that there are also parameters pre-stored locally in the first device. The parameters pre-stored locally may be configured by a programming method when the manufacturer manufactures the device. Wherein the parameters may include: device ID, cryptographic algorithm, security parameters, and configuration information. Both the first device and the second device may calculate a public key and a private key belonging to the devices based on the security parameters and the cryptographic algorithm. Since the calculation is performed by the same cryptographic algorithm, the private key and the public key of the same device match each other.
Of course, before the first device obtains the authentication information from the second device, the first device may send the first device ID to the second device in advance, so that the second device may search for the first information corresponding to the first device in the blockchain based on the first device ID.
Step S140: and the first equipment judges whether the identity authentication information meets a preset condition or not.
Wherein the preset condition may be: and when the first device authenticates the identity authentication information based on the first device ID, the first device private key, the second device ID and the second device public key, the authentication is passed.
Step S150: if so, the first device determines that the authentication between the first device and the second device is successful.
Of course, if the result is negative, the first device determines that the authentication fails, and may actively close the secure communication with the second device.
Further, after the first device obtains second information including the second device ID and the second device public key based on the second device ID sent by the second device, the first device may also generate authentication information based on the first device ID stored locally and the first device private key (i.e., fourth information), and send the authentication information to the second device, so that the second device may also perform authentication.
As an implementation manner, on the premise that the first device successfully verifies the second device, if the second device also successfully verifies the first device, that is, if the two-way verification is successfully achieved through the two devices, it may be determined that the reliable binding relationship is established between the first device and the second device. Further, after the reliable binding relationship between the first device and the second device is determined, the first device and the second device can perform session key agreement through cryptographic operation on the basis of binding, and encrypt data interaction between the second device and the second device by using the session key.
As another embodiment, on the premise that the first device successfully verifies the second device, if the second device fails to verify the first device, that is, the mutual authentication fails, the first device determines that the binding between the first device and the second device fails.
The information issuing method provided by the first embodiment of the invention has the beneficial effects that: the method comprises the steps that a first device in the Internet of things generates an information release request and information release contents corresponding to the information release request in advance, whether a pre-stored information release request identical to the information release request exists or not is searched in a block chain, if the pre-stored information release request does not exist, the information release request is released to a block chain network to be stored, whether pre-stored information release contents identical to the information release contents exist or not is searched in the block chain, if the pre-stored information release contents do not exist, whether the information release request matched with the information release contents exists or not is searched in the block chain, if the pre-stored information release contents exist, the information release contents are released to the block chain network, the block chain network is waited to write the information release contents into the block chain, and information release is completed. The information issuing method avoids tampering of the information issuing content, avoids participation of a third-party organization in the whole information issuing process, relieves the problem of dependence of traditional information security issuing on the third-party organization, and reduces the problems of high cost and low efficiency caused by dependence of the Internet of things on a centralized server.
Second embodiment
Referring to fig. 5, fig. 5 is a block diagram of an information distribution apparatus 400 according to a second embodiment of the present invention. The block diagram of fig. 5 will be explained, and the apparatus shown comprises: a generating module 410, a judging module 420 and an executing module 430.
A generating module 410, configured to generate an information publishing request and information publishing contents corresponding to the information publishing request; the searching module is used for searching a block chain, issuing the information issuing request to the block chain network when the block chain does not have a pre-stored information issuing request which is the same as the information issuing request, and waiting for the block chain network to write the information issuing request into the block chain;
a determining module 420, configured to search the block chain, and when there is no pre-stored information release content that is the same as the information release content in the block chain, search whether there is the information release request matching the information release content in the block chain;
an executing module 430, configured to, when the determining module 420 determines that the information distribution content exists, distribute the information distribution content to the blockchain network, and wait for the blockchain network to write the information distribution content into the blockchain.
Further, referring to fig. 6, the apparatus may further include:
the receiving module 440 is configured to receive a second device ID sent by a second device in the internet of things.
A searching module 450, configured to search for and obtain second information including the second device ID and a second device public key in the blockchain based on the second device ID.
The receiving module 440 is further configured to obtain authentication information, where the authentication information is obtained by the second device through calculation based on first information and third information, the first information includes the first device ID and a first device public key, and the third information includes the second device ID and a second device private key. The determining module 420 is further configured to determine whether the identity information meets a preset condition.
The determining module 450 is further configured to determine that the information verification between the first device and the second device is successful when the determining module 420 determines yes.
In this embodiment, please refer to the contents described in the embodiments shown in fig. 1 to fig. 4 for the process of implementing each function of each functional module of the information distribution apparatus 400, which is not described herein again.
To sum up, in the information publishing method and apparatus provided in the embodiments of the present invention, a first device in an internet of things generates an information publishing request and information publishing contents corresponding to the information publishing request in advance, searches whether there is a pre-stored information publishing request identical to the information publishing request in a block chain, if not, publishes the information publishing request to a block chain network, waits for the block chain network to write the information publishing request into the block chain for storage, then searches whether there is pre-stored information publishing contents identical to the information publishing contents in the block chain, if not, searches whether there is the information publishing request matching the information publishing contents in the block chain, if so, publishes the information publishing contents to the block chain network, waits for the block chain network to write the information publishing contents into the block chain, and finishing information release. The information issuing method avoids tampering of the information issuing content, avoids participation of a third-party organization in the whole information issuing process, relieves the problem of dependence of traditional information security issuing on the third-party organization, and reduces the problems of high cost and low efficiency caused by dependence of the Internet of things on a centralized server.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (7)

1. An information distribution method, characterized in that the method comprises:
a first device in the Internet of things performs hash operation on a first device public key and a first device ID which are pre-stored locally to obtain an abstract value; performing digital signature operation on the digest value based on a first device private key which is pre-stored locally to obtain a signature result; combining the digest value and the signature result according to a first preset format to generate an information release request; combining the first equipment ID and the first equipment public key according to a second preset format to generate information release content;
the first device searches a block chain, when a pre-stored information release request which is the same as the information release request does not exist in the block chain, the first device releases the information release request to a block chain network, and waits for the block chain network to write the information release request into the block chain;
the first device searches the block chain, and judges whether prestored information release content which is the same as the first device ID or the first device public key included in the information release content exists in prestored information release content;
if the same pre-stored information release content does not exist, the first equipment carries out Hash operation based on the information release content to obtain an abstract value of the information release content; the first equipment judges whether a target information release request with the same abstract value as the information release content exists in prestored information release requests stored in the block chain;
if the target information release request exists, when the first device private key included in the signature result of the target information release request is judged to be matched with the first device public key included in the information release content, the first device releases the information release content to the block chain network, and the block chain network is waited to write the information release content into the block chain.
2. The method according to claim 1, wherein the first device searches for a blockchain, and issues the information issue request to the blockchain network when there is no pre-stored information issue request in the blockchain that is the same as the information issue request, including:
the first device searches the block chain, judges whether a pre-stored information release request with the same abstract value as the information release request exists in the pre-stored information release request,
if not, the first device judges whether a pre-stored information release request with the same signature result as the information release request exists in the pre-stored information release request or not,
and if the information distribution request does not exist, the first equipment distributes the information distribution request to the block chain network and waits for the block chain network to write the information distribution request into the block chain.
3. The method of claim 1, further comprising:
the first equipment receives a second equipment ID sent by second equipment in the Internet of things;
based on the second device ID, the first device searches the block chain to obtain second information comprising the second device ID and a second device public key;
the first device obtains authentication information from the second device, the authentication information is calculated by the second device based on first information and third information, the first information comprises the first device ID and a first device public key, and the third information comprises the second device ID and a second device private key;
the first equipment judges whether the identity authentication information meets a preset condition or not;
if so, the first device determines that the information verification between the first device and the second device is successful.
4. The method according to claim 3, wherein the determining, by the first device, whether the authentication information satisfies the preset condition includes:
the first device verifies whether the authentication information is correct based on the information including the first device ID, the first device private key, the second device ID, and the second device public key.
5. The method of claim 3, wherein before the first device obtains authentication information from the second device, the method further comprises:
the first device sends the first device ID to the second device;
the first device obtains the first information, which is obtained by the second device through searching in the block chain based on the first device ID, from the second device, where the first information is the information release content released by the first device.
6. The method according to any of claims 4-5, wherein the first information and the second information are pre-stored in the blockchain and the third information is pre-stored locally to the second device.
7. An information distribution apparatus, characterized in that the apparatus comprises:
the generating module is used for generating an information release request and information release content corresponding to the information release request, and specifically used for performing hash operation on a first device public key and a first device ID which are pre-stored locally to obtain a digest value; performing digital signature operation on the digest value based on a first device private key which is pre-stored locally to obtain a signature result; combining the digest value and the signature result according to a first preset format to generate an information release request; combining the first equipment ID and the first equipment public key according to a second preset format to generate information release content;
the searching module is used for searching a block chain, when a pre-stored information release request which is the same as the information release request does not exist in the block chain, the information release request is released to a block chain network, and the block chain network is waited to write the information release request into the block chain;
a first judging module, configured to search the block chain, and judge whether a pre-stored information distribution content identical to the first device ID or the first device public key included in the information distribution content exists in the pre-stored information distribution content;
the second judgment module is used for performing hash operation based on the information release content to obtain an abstract value of the information release content and judging whether a target information release request with the same abstract value as the information release content exists in prestored information release requests stored in the block chain or not when the first judgment module judges that the information release content does not exist;
and the execution module is configured to, when the second determination module determines that the first device private key included in the signature result of the target information distribution request matches the first device public key included in the information distribution content, distribute the information distribution content to the block chain network, and wait for the block chain network to write the information distribution content into the block chain.
CN201710738360.5A 2017-08-24 2017-08-24 Information distribution method and device Active CN107517256B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710738360.5A CN107517256B (en) 2017-08-24 2017-08-24 Information distribution method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710738360.5A CN107517256B (en) 2017-08-24 2017-08-24 Information distribution method and device

Publications (2)

Publication Number Publication Date
CN107517256A CN107517256A (en) 2017-12-26
CN107517256B true CN107517256B (en) 2020-08-07

Family

ID=60724182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710738360.5A Active CN107517256B (en) 2017-08-24 2017-08-24 Information distribution method and device

Country Status (1)

Country Link
CN (1) CN107517256B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510315B (en) * 2018-03-16 2019-12-06 深圳慧通商务有限公司 Resource publishing method and related equipment
CN109600441B (en) * 2018-12-14 2022-04-29 深圳壹账通智能科技有限公司 Alliance link information publishing control method and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100981A (en) * 2016-08-22 2016-11-09 布比(北京)网络技术有限公司 Social network data exchange method and device
CN107077557A (en) * 2016-12-29 2017-08-18 深圳前海达闼云端智能科技有限公司 The method and device that software application is issued and verified
CN107070644A (en) * 2016-12-26 2017-08-18 北京科技大学 A kind of decentralization public key management method and management system based on trust network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106921645B (en) * 2016-06-28 2021-04-20 创新先进技术有限公司 Information publishing method, client and server
CN106991607B (en) * 2017-03-29 2020-04-10 杭州溪塔科技有限公司 Disordered transaction control method based on block chain account model

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100981A (en) * 2016-08-22 2016-11-09 布比(北京)网络技术有限公司 Social network data exchange method and device
CN107070644A (en) * 2016-12-26 2017-08-18 北京科技大学 A kind of decentralization public key management method and management system based on trust network
CN107077557A (en) * 2016-12-29 2017-08-18 深圳前海达闼云端智能科技有限公司 The method and device that software application is issued and verified

Also Published As

Publication number Publication date
CN107517256A (en) 2017-12-26

Similar Documents

Publication Publication Date Title
JP6859506B2 (en) Digital certificate management methods, devices, and systems
CN109951489B (en) Digital identity authentication method, equipment, device, system and storage medium
CN109862041B (en) Digital identity authentication method, equipment, device, system and storage medium
US10587413B1 (en) Decentralized identities for cross-enterprise authentication and/or authorization
CN110768968B (en) Authorization method, device, equipment and system based on verifiable statement
EP3864551B1 (en) Distributed ledger-based profile verification
CN111092737B (en) Digital certificate management method and device and block link points
JP6072305B2 (en) Keychain synchronization
CN107431924B (en) Device theft protection associating device identifiers with user identifiers
US9769153B1 (en) Validation for requests
KR20210041404A (en) Electronic device and method for blockchain address management thereof
US9401911B2 (en) One-time password certificate renewal
TWI629658B (en) Know your customer (kyc) data sharing system based on smart contract on blockchain and method thereof
US20140157368A1 (en) Software authentication
US20180218364A1 (en) Managing distributed content using layered permissions
US20180004934A1 (en) Systems and methods to enable automatic password management in a proximity based authentication
CN107517256B (en) Information distribution method and device
CN109818965B (en) Personal identity verification device and method
EP4163856A1 (en) Generating a tokenized reputation score
CN107230080B (en) Service processing method and device and intelligent terminal
CN115482132A (en) Data processing method and device for electronic contract based on block chain and server
US20170373842A1 (en) System and Method for Authenticating Public Artworks and Providing Associated Information
US9288060B1 (en) System and method for decentralized authentication of supplicant devices
CN114117388A (en) Device registration method, device registration apparatus, electronic device, and storage medium
US10491391B1 (en) Feedback-based data security

Legal Events

Date Code Title Description
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