CN109474701B - Block chain prediction machine, internet of things equipment and information processing method - Google Patents

Block chain prediction machine, internet of things equipment and information processing method Download PDF

Info

Publication number
CN109474701B
CN109474701B CN201811550190.9A CN201811550190A CN109474701B CN 109474701 B CN109474701 B CN 109474701B CN 201811550190 A CN201811550190 A CN 201811550190A CN 109474701 B CN109474701 B CN 109474701B
Authority
CN
China
Prior art keywords
block chain
internet
information
prediction machine
things
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
CN201811550190.9A
Other languages
Chinese (zh)
Other versions
CN109474701A (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.)
Beijing Aster Era Technology Co ltd
Original Assignee
Beijing Aster Era 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 Aster Era Technology Co ltd filed Critical Beijing Aster Era Technology Co ltd
Priority to CN201811550190.9A priority Critical patent/CN109474701B/en
Publication of CN109474701A publication Critical patent/CN109474701A/en
Application granted granted Critical
Publication of CN109474701B publication Critical patent/CN109474701B/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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The application discloses a block chain prediction machine, an internet of things device and an information processing method. The method comprises the following steps: receiving first equipment information sent by the Internet of things equipment and second equipment information sent by each appointed block chain prediction machine in a block chain prediction machine system, wherein the second equipment information is the equipment information sent to the appointed block chain prediction machine by the Internet of things equipment; processing the first equipment information and each piece of second equipment information based on a consensus algorithm to obtain trusted equipment information; determining whether a block chain prediction machine used for sending the trusted device information to a specified intelligent contract in a block chain is a local terminal; and if so, sending the trusted device information to a specified callback interface of a specified intelligent contract in the blockchain. The method and the device for acquiring the information of the Internet of things can solve the technical problem that the block chain cannot accurately acquire the credible information of the Internet of things in the related technology.

Description

Block chain prediction machine, internet of things equipment and information processing method
Technical Field
The application relates to the technical field of block chains, in particular to a block chain prediction machine, an internet of things device and an information processing method.
Background
At present, the core components of the internet of things architecture mainly include an internet of things device, a gateway (not necessarily) and a cloud server. The Internet of things equipment is divided into two types, one type is equipment which naturally supports TCP/IP and can be directly accessed to the Internet of things, such as wifi equipment, GPRS/3G/4G (of course, upcoming 5G) equipment and the like; the other is that it fails to support IP protocol and requires gateway (protocol conversion) to access internet of things, such as Zigbee, bluetooth, etc. For a block chain application needing to communicate with the Internet of things, a method for communicating between a block chain and an Internet of things device in the Internet of things mainly adopts a block chain node or an intelligent contract as a special client of the Internet of things application, and a cloud server in the Internet of things obtains information of the Internet of things device.
Aiming at the problem that a block chain in the related technology cannot accurately acquire credible information of the equipment in the internet of things, an effective solution is not provided at present.
Disclosure of Invention
The present application mainly aims to provide a block chain prediction machine, an internet of things device, and an information processing method, so as to solve the problem in the related art that a block chain cannot accurately acquire trusted information of an internet of things device.
In order to achieve the above object, in a first aspect, an embodiment of the present application provides an information processing method, which is applied in a blockchain predictor of a blockchain predictor system, where the blockchain predictor system includes a plurality of blockchain predictors, the method including:
receiving first equipment information sent by the Internet of things equipment and second equipment information sent by each appointed block chain prediction machine in a block chain prediction machine system, wherein the second equipment information is the equipment information sent to the appointed block chain prediction machine by the Internet of things equipment;
processing the first equipment information and each piece of second equipment information based on a consensus algorithm to obtain trusted equipment information;
determining whether a block chain prediction machine used for sending the trusted device information to a specified intelligent contract in a block chain is a local terminal;
and if so, sending the trusted device information to a specified callback interface of a specified intelligent contract in the blockchain.
Optionally, the method further comprises:
and sending a second request for acquiring the equipment information of the equipment in the Internet of things to the equipment in the Internet of things, so that the equipment in the Internet of things feeds back the first equipment information in response to the second request.
Optionally, the method further comprises:
receiving a first request for acquiring equipment information of the internet of things equipment, which is sent based on a specified intelligent contract in a block chain, wherein the first request corresponds to a specified callback interface;
and responding to the first request, and executing the step of sending a second request for acquiring the equipment information of the equipment in the Internet of things to the equipment in the Internet of things.
In a second aspect, an embodiment of the present application further provides an information processing method, where the method is applied to an internet of things device, and the internet of things device is pre-registered in a plurality of blockchain prediction machines, and the method includes:
acquiring equipment information used for sending the equipment information to each block chain prediction machine;
and sending corresponding equipment information to each block chain prediction machine so that each block chain prediction machine in the plurality of block chain prediction machines based on the consensus algorithm processes the received equipment information to obtain trusted equipment information, and determining that one block chain prediction machine sends the trusted equipment information to a specified callback interface of a specified intelligent contract in the block chain.
Optionally, the method further comprises:
receiving a request sent by each block chain prediction machine for acquiring equipment information;
the step of obtaining device information for transmission to each blockchain predictive machine is performed in response to a request transmitted by each blockchain predictive machine.
In a third aspect, an embodiment of the present application further provides a blockchain prediction machine, where the blockchain prediction machine is applied in a blockchain prediction machine system, and the blockchain prediction machine includes:
the receiving module is used for receiving first equipment information sent by the internet of things equipment and receiving second equipment information sent by each appointed block chain prediction machine in the block chain prediction machine system, wherein the second equipment information is the equipment information sent to the appointed block chain prediction machine by the internet of things equipment;
the processing module is used for processing the first equipment information and each piece of second equipment information based on a consensus algorithm to obtain trusted equipment information;
the determining module is used for determining whether a block chain prediction machine used for sending the trusted device information to a specified intelligent contract in a block chain is a local terminal;
and the first sending module is used for sending the information of the trusted device to a specified callback interface of a specified intelligent contract in the block chain if the information of the trusted device is positive.
Optionally, the blockchain prediction machine further includes:
and the second sending module is used for sending a second request for acquiring the equipment information of the equipment in the internet of things to the equipment in the internet of things so that the equipment in the internet of things can feed back the first equipment information in response to the second request.
In a fourth aspect, an embodiment of the present application further provides an internet of things device, where the internet of things device is pre-registered in a plurality of blockchain prediction machines, and the internet of things device includes:
the acquisition module is used for acquiring equipment information used for sending the equipment information to each block chain prediction machine;
and the sending module is used for sending corresponding equipment information to each block chain prediction machine so that each block chain prediction machine in the plurality of block chain prediction machines based on the consensus algorithm processes the received equipment information to obtain trusted equipment information, and determining that one block chain prediction machine sends the trusted equipment information to a specified callback interface of a specified intelligent contract in the block chain.
Optionally, the internet of things device further includes:
the receiving module is used for receiving a request sent by each block chain prediction machine for acquiring equipment information;
and the response module is used for responding to the request sent by each blockchain prediction machine so as to enable the acquisition module to acquire the equipment information sent to each blockchain prediction machine.
In a fifth aspect, the present application further provides a computer-readable storage medium storing computer code, and when the computer code is executed, the information processing method is executed.
In the information processing method provided by the application, first equipment information sent by an internet of things equipment is received, and second equipment information sent by each appointed block chain prediction machine in a block chain prediction machine system is received, wherein the second equipment information is the equipment information sent to the appointed block chain prediction machine by the internet of things equipment; processing the first equipment information and each piece of second equipment information based on a consensus algorithm to obtain trusted equipment information; determining whether a block chain prediction machine used for sending the trusted device information to a specified intelligent contract in a block chain is a local terminal; and if so, sending the trusted device information to a specified callback interface of a specified intelligent contract in the blockchain. By the method, the internet of things equipment can establish communication connection with a plurality of block chain prediction machines, and then the plurality of block chain prediction machines can play a role of a cloud server in the communication process of the internet of things equipment (the function of the cloud server is arranged in each decentralized block chain prediction machine in a prediction machine system, and further the decentralized function is realized), the internet of things equipment sends equipment information to the plurality of block chain prediction machines belonging to the same block chain prediction machine system, the plurality of block chain prediction machines determine trusted equipment information through a preset consensus algorithm, and select a proper block chain prediction machine to transmit trusted data of the trusted internet of things equipment to an intelligent contract on a block chain, so that the purposes that the plurality of block chain prediction machines receive the equipment information of the internet of things equipment and determine the trusted equipment information through the consensus algorithm are realized, the method and the device have the advantages that the device information of the equipment of the Internet of things can be stably and accurately transmitted to the block chain, so that the communication between the Internet of things system and the block chain is realized, and the technical problem that the block chain cannot accurately acquire credible equipment information of the Internet of things due to relative centralization in the information communication scheme of the Internet of things and the block chain in the related technology is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
fig. 1 is a schematic flowchart of an information processing method provided in an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram of another information processing method provided in the embodiments of the present application;
FIG. 3 is a schematic flow chart diagram of another information processing method provided in the embodiments of the present application;
FIG. 4 is a schematic flow chart diagram of another information processing method provided in the embodiments of the present application;
FIG. 5 is a schematic flow chart diagram of another information processing method provided in the embodiments of the present application;
fig. 6 is a schematic structural diagram of a block chain prediction machine according to an embodiment of the present application;
FIG. 7 is a schematic structural diagram of another block chain prediction machine according to an embodiment of the present disclosure;
FIG. 8 is a schematic structural diagram of another block chain prediction machine according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an internet of things device provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of another internet of things device provided in the embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. 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 application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
According to an aspect of the present application, an embodiment of the present application provides an information processing method, which is applied to a blockchain predictor of a blockchain predictor system, where the blockchain predictor system includes a plurality of blockchain predictors, and fig. 1 is a schematic flowchart of an information processing method provided in the embodiment of the present application, as shown in fig. 1, where the method includes steps S110 to S140 as follows:
and S110, receiving first device information sent by the Internet of things device and receiving second device information sent by each appointed block chain prediction machine in the block chain prediction machine system, wherein the second device information is the device information sent by the Internet of things device to the appointed block chain prediction machine.
The first device information and the second device information may be device information that the internet of things device simultaneously sends to different block chain prediction machines, or may be device information that the internet of things device feeds back to each block chain prediction machine that sends a request after receiving the request of each block chain prediction machine. In addition, the internet of things device should register in advance in the block chain prediction machine and each designated block chain prediction machine applied by the method, and communication can be performed between the internet of things device and each block chain prediction machine according to a communication protocol, so that the block chain prediction machine and each designated block chain prediction machine applied by the method can replace the function of the internet of things cloud server in the related technology. That is to say, each of the devices of the internet of things will be respectively registered as a message sending source (publisher) in each of the block chain prediction machines, and after the registration is completed, the device information will be respectively sent to each of the block chain prediction machines (the block chain prediction machine and each of the designated block chain prediction machines applied in the method) by the device of the internet of things.
Specifically, the internet of things device sends first device information to the block chain prediction machine applied by the method, and the block chain prediction machine applied by the method receives the first device information; and the Internet of things equipment sends second equipment information to each appointed block chain prediction machine in the block chain prediction machine system, and then the block chain prediction machine applied by the method and each appointed block chain prediction machine broadcast the received equipment information between the block chain prediction machine applied by the method and each appointed block chain prediction machine so that each block chain prediction machine acquires the equipment information received by each block chain prediction machine. Thus, the blockchain prediction machine applied by the method can receive the first equipment information and each appointed blockchain prediction machine sends the second equipment information.
It should be noted that a plurality of blockchain prediction machines (including the blockchain prediction machine applied by the method and each designated blockchain prediction machine) included in the blockchain prediction machine system may belong to different organizations, so that decentralization is realized, and tampering on the device information of the received internet of things device can be effectively prevented.
And S120, processing the first equipment information and each piece of second equipment information based on a consensus algorithm to obtain trusted equipment information.
Wherein, the consensus algorithm is a preset network consensus in a blockchain predictor system (blockchain predictor network), based on the preselected consensus algorithm (for example, the consensus algorithm may be a consensus algorithm based on the theory of forest points), the blockchain predictor and each appointed blockchain predictor applied by the method process the first device information and each second device information to achieve the result of consensus, that is, one device information is selected from the first device information and each of the second device information as trusted device information, and determines a blockchain predictor (specifically one of the blockchain predictor applied by the method and each of the assigned blockchain predictors) for sending the trusted device information, and thereafter, and the block chain prediction machine used for sending the trusted device information sends the trusted device information to the block chain.
And S130, determining whether the block chain prediction machine used for sending the trusted device information to the specified intelligent contract in the block chain is the local terminal.
Specifically, a block chain prediction machine which sends the trusted device information to a specified intelligent contract in the block chain can be determined through the consensus algorithm, and then whether the block chain prediction machine which sends the trusted device information to the specified intelligent contract in the block chain is determined to be the block chain prediction machine applied by the method is determined,
and S140, if so, sending the trusted device information to a specified callback interface of a specified intelligent contract in the block chain.
Specifically, when it is determined that a block chain prediction machine used for sending the trusted device information to a specified intelligent contract in a block chain is a local terminal, sending the trusted device information to a specified callback interface of the specified intelligent contract in the block chain, where the specified callback interface is a callback interface preset by the specified intelligent contract, and the specified callback interface is used for receiving the trusted device information. Therefore, the purposes that the plurality of block chain prediction machines receive the equipment information of the equipment of the Internet of things and determine the credible equipment information through the consensus algorithm are achieved, and the purpose that the equipment information of the equipment of the Internet of things can be stably and accurately transmitted to the block chain so as to realize the communication between the Internet of things system and the block chain is achieved.
In this embodiment, the information processing method may be supported by a communication system that includes a blockchain network (including a plurality of intelligent contracts), a predictive machine network (i.e., a blockchain predictive machine system that includes a plurality of blockchain predictive machines), and an internet of things (including a plurality of intelligent hardware, which is an internet of things device).
In a possible implementation manner, fig. 2 is a schematic flowchart of another information processing method provided in an embodiment of the present application, and as shown in fig. 2, the method further includes the following step S101:
and S101, sending a second request for acquiring the equipment information of the equipment of the Internet of things to the equipment of the Internet of things, so that the equipment of the Internet of things feeds back the first equipment information in response to the second request.
Specifically, the block chain prediction machine applied in the method may first send a second request for obtaining the device information of the internet of things device to the internet of things device, so that the internet of things device feeds back the first device information in response to the second request, and then performs step S110.
It should be noted that each designated block chain prediction machine may first send a second request for obtaining the device information of the internet of things device to the internet of things device, so that the internet of things device responds to the second request of each designated block chain prediction machine and independently feeds back the second device information to each designated block chain prediction machine, and differences in query time, communication faults, and the like when the block chain prediction machine and each designated block chain prediction machine applied in the method send the second request to the internet of things device may cause differences in respective received feedback results, and therefore, it is further necessary to perform step S120 to send the commonly-identified result (trusted device information) to the block chain.
In a possible implementation manner, fig. 3 is a schematic flowchart of another message processing method provided in an embodiment of the present application, and as shown in fig. 3, the method further includes the following step S100:
s100, receiving a first request for acquiring equipment information of the internet of things equipment, which is sent based on a specified intelligent contract in a block chain, wherein the first request corresponds to a specified callback interface;
in response to the first request, step S101 is executed to send a second request for acquiring device information of the equipment in the internet of things to the equipment in the internet of things.
Specifically, after receiving a first request for acquiring device information of an equipment of an internet of things sent based on a specified intelligent contract in a block chain, a block chain prediction machine applied in the method performs step S101; when a first request is sent based on a specified intelligent contract in a block chain, a specified callback interface is set and used for receiving trusted device information responding to the first request.
It should be noted that, after each designated blockchain prediction machine sends a first request for obtaining the device information of the equipment of the internet of things based on the designated intelligent contract in the receiving blockchain, each designated blockchain prediction machine separately sends a second request to the equipment of the internet of things in response to the first request.
In the information processing method provided by the application, through S110, first device information sent by an internet of things device is received, and second device information sent by each designated block chain prediction machine in a block chain prediction machine system is received, where the second device information is device information sent by the internet of things device to the designated block chain prediction machine; s120, processing the first equipment information and each piece of second equipment information based on a consensus algorithm to obtain trusted equipment information; s130, determining whether a block chain prediction machine used for sending the trusted device information to a specified intelligent contract in a block chain is a local terminal; and S140, if so, sending the trusted device information to a specified callback interface of a specified intelligent contract in the block chain. By the method, the internet of things equipment can establish communication connection with a plurality of block chain prediction machines, and then the plurality of block chain prediction machines can function as a cloud server in the communication process of the internet of things equipment (the function of the cloud server is arranged in each decentralized block chain prediction machine in a prediction machine system, and further the decentralized function is realized), the internet of things equipment sends equipment information to the plurality of block chain prediction machines belonging to the same block chain prediction machine system, the plurality of block chain prediction machines determine trusted equipment information through a preset consensus algorithm, and select a proper block chain prediction machine to transmit trusted data of the trusted internet of things equipment to an intelligent contract on a block chain, so that the purposes that the plurality of block chain prediction machines receive the equipment information of the internet of things equipment and determine the trusted equipment information through the consensus algorithm are realized, the method and the device have the advantages that the device information of the equipment of the Internet of things can be stably and accurately transmitted to the block chain, so that the communication between the Internet of things system and the block chain is realized, and the technical problem that the block chain cannot accurately acquire credible equipment information of the Internet of things due to relative centralization in the information communication scheme of the Internet of things and the block chain in the related technology is solved.
Based on the same technical concept, an embodiment of the present application further provides an information processing method, where the method is applied to an internet of things device, the internet of things device is pre-registered in a plurality of block chain prediction machines, fig. 4 is a schematic flow diagram of another information processing method provided in the embodiment of the present application, and as shown in fig. 4, the method includes the following steps S210 and S220:
s210, acquiring equipment information used for sending the equipment information to each block chain prediction machine;
and S220, sending corresponding equipment information to each block chain prediction machine so that each block chain prediction machine in the plurality of block chain prediction machines based on the consensus algorithm processes the received equipment information to obtain trusted equipment information, and determining that one block chain prediction machine sends the trusted equipment information to a specified callback interface of a specified intelligent contract in the block chain.
Specifically, the internet of things device first acquires device information used for being sent to each block chain prediction machine, and then sends corresponding device information to each block chain prediction machine, wherein the internet of things device is pre-registered in a plurality of block chain prediction machines, so that each block chain prediction machine can receive the device information sent by the internet of things device, and each received device information is processed in the plurality of block chain prediction machines based on a consensus algorithm, so as to obtain trusted device information, and it is determined that one block chain prediction machine sends the trusted device information to a designated callback interface of a designated intelligent contract in a block chain. Therefore, the internet of things device can establish communication connection with the plurality of block chain prediction machines, and then the plurality of block chain prediction machines can serve as the cloud server of the internet of things device, so that the purposes that the plurality of block chain prediction machines receive the device information of the internet of things device and determine the trusted device information through the consensus algorithm are achieved, the purpose that the device information of the internet of things device can be stably and accurately transmitted to the block chain is achieved, and communication between the internet of things system and the block chain is achieved.
In a possible implementation manner, fig. 5 is a schematic flowchart of another information processing method provided in an embodiment of the present application, and as shown in fig. 5, the method further includes the following step S200:
s200, receiving a request sent by each block chain prediction machine for acquiring equipment information;
in response to the request sent by each blockchain prediction machine, step S210 is performed to obtain device information for sending to each blockchain prediction machine.
Specifically, the internet of things device receives a request sent by a block chain prediction machine for obtaining device information, obtains current device information in response to the request sent by the block chain prediction machine, and then feeds back the device information to the block chain prediction machine.
In the information processing method provided by the application, through S210, device information for sending to each blockchain prediction machine is acquired; and S220, sending corresponding equipment information to each block chain prediction machine so that each block chain prediction machine in the plurality of block chain prediction machines based on the consensus algorithm processes the received equipment information to obtain trusted equipment information, and determining that one block chain prediction machine sends the trusted equipment information to a specified callback interface of a specified intelligent contract in the block chain. By the method, the internet of things equipment can establish communication connection with a plurality of block chain prediction machines, and then the plurality of block chain prediction machines can play a role of a cloud server in the communication process of the internet of things equipment (the function of the cloud server is arranged in each decentralized block chain prediction machine in a prediction machine system, and further the decentralized function is realized), the internet of things equipment sends equipment information to the plurality of block chain prediction machines belonging to the same block chain prediction machine system, the plurality of block chain prediction machines determine trusted equipment information through a preset consensus algorithm, and select a proper block chain prediction machine to transmit trusted data of the trusted internet of things equipment to an intelligent contract on a block chain, so that the purposes that the plurality of block chain prediction machines receive the equipment information of the internet of things equipment and determine the trusted equipment information through the consensus algorithm are realized, the method and the device have the advantages that the device information of the equipment of the Internet of things can be stably and accurately transmitted to the block chain, so that the communication between the Internet of things system and the block chain is realized, and the technical problem that the block chain cannot accurately acquire credible equipment information of the Internet of things due to relative centralization in the information communication scheme of the Internet of things and the block chain in the related technology is solved.
Based on the same technical concept, an embodiment of the present invention further provides a blockchain prediction machine, where the blockchain prediction machine is applied in a blockchain prediction machine system, and fig. 6 is a schematic structural diagram of the blockchain prediction machine provided in the embodiment of the present invention, and as shown in fig. 6, the blockchain prediction machine includes:
the first receiving module 11 is configured to receive first device information sent by an internet of things device and receive second device information sent by each designated block chain prediction machine in a block chain prediction machine system, where the second device information is device information sent by the internet of things device to the designated block chain prediction machine;
the processing module 12 is configured to process the first device information and each piece of second device information based on a consensus algorithm to obtain trusted device information;
a determining module 13, configured to determine whether a blockchain prediction machine used for sending the trusted device information to a specified intelligent contract in a blockchain is a local terminal;
and a first sending module 14, configured to send the trusted device information to a specified callback interface of a specified intelligent contract in the blockchain if the trusted device information is received from the first sending module.
Optionally, fig. 7 is a schematic structural diagram of another block chain prediction machine provided in the embodiment of the present application, and as shown in fig. 7, the block chain prediction machine further includes:
and a second sending module 15, configured to send a second request for obtaining the device information of the internet of things device to the internet of things device, so that the internet of things device feeds back the first device information in response to the second request.
Optionally, fig. 8 is a schematic structural diagram of another block chain prediction machine provided in the embodiment of the present application, and as shown in fig. 8, the block chain prediction machine further includes:
the second receiving module 16 is configured to receive a first request for obtaining device information of the internet of things device, where the first request is sent based on a specified intelligent contract in the blockchain, and the first request corresponds to a specified callback interface;
and in response to the first request, the second sending module 15 is configured to send a second request for obtaining the device information of the internet of things device to the internet of things device.
Based on the same technical concept, an embodiment of the present application further provides an internet of things device, where the internet of things device is pre-registered in a plurality of block chain prediction machines, and fig. 9 is a schematic structural diagram of the internet of things device provided in the embodiment of the present application, and as shown in fig. 9, the internet of things device includes:
an obtaining module 31, configured to obtain device information used for sending to each blockchain predictor;
the sending module 32 is configured to send corresponding device information to each block chain prediction machine, so that each block chain prediction machine in the multiple block chain prediction machines based on the consensus algorithm processes the received device information to obtain trusted device information, and determines that one block chain prediction machine sends the trusted device information to a specified callback interface of a specified intelligent contract in the block chain.
Optionally, fig. 10 is a schematic structural diagram of another internet of things device provided in the embodiment of the present application, and as shown in fig. 10, the internet of things device further includes:
a receiving module 33, configured to receive a request sent by each blockchain predictor for obtaining device information;
a response module 34, configured to respond to the request sent by each blockchain prediction machine, so as to enable the obtaining module 31 to obtain the device information used for sending to each blockchain prediction machine.
Based on the same technical concept, embodiments of the present application also provide a computer-readable storage medium storing computer code, and when the computer code is executed, the above-mentioned information processing method is executed.
Based on the same technical concept, the embodiment of the present application also provides a computer program product, and when the computer program product is executed by a computer device, the information processing method described above is executed.
Based on the same technical concept, an embodiment of the present application further provides a computer device, including:
one or more processors;
a memory for storing one or more computer programs;
the one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the information processing method described above.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
The computer program to which the present application relates may be stored in a computer-readable storage medium, which may include: any physical device capable of carrying computer program code, virtual device, flash disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-only computer Memory (ROM), Random Access computer Memory (RAM), electrical carrier wave signal, telecommunications signal, and other software distribution media, and the like.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. An information processing method applied in a blockchain predictor of a blockchain predictor system, the blockchain predictor system comprising a plurality of blockchain predictors, the method comprising:
receiving first device information sent by an internet of things device, and receiving second device information sent by each appointed block chain prediction machine in the block chain prediction machine system, wherein the second device information is the device information sent to the appointed block chain prediction machine by the internet of things device;
processing the first equipment information and each piece of second equipment information based on a consensus algorithm to obtain trusted equipment information;
determining whether a block chain prediction machine used for sending the trusted device information to a specified intelligent contract in a block chain is a local terminal;
and if so, sending the trusted device information to a specified callback interface of a specified intelligent contract in the block chain.
2. The information processing method according to claim 1, characterized by further comprising:
and sending a second request for acquiring the equipment information of the equipment in the Internet of things to the equipment in the Internet of things, so that the equipment in the Internet of things feeds back the first equipment information in response to the second request.
3. The information processing method according to claim 2, characterized by further comprising:
receiving a first request for acquiring equipment information of the internet of things equipment, which is sent based on a specified intelligent contract in the block chain, wherein the first request corresponds to the specified callback interface;
and responding to the first request, and executing the step of sending a second request for acquiring the equipment information of the equipment in the Internet of things to the equipment in the Internet of things.
4. An information processing method is applied to an internet of things device, the internet of things device is registered in a plurality of block chain prediction machines in advance, and the method comprises the following steps:
acquiring equipment information used for sending to each block chain prediction machine;
and sending corresponding equipment information to each block chain prediction machine so that each block chain prediction machine in the plurality of block chain prediction machines processes the received equipment information based on a consensus algorithm to obtain trusted equipment information, and determining that one block chain prediction machine sends the trusted equipment information to a specified callback interface of a specified intelligent contract in a block chain.
5. The information processing method according to claim 4, characterized by further comprising:
receiving a request sent by each block chain prediction machine for acquiring the equipment information;
in response to a request sent by each blockchain prediction machine, the step of obtaining device information for sending to each blockchain prediction machine is performed.
6. A block chain prediction machine, which is applied in a block chain prediction machine system, the block chain prediction machine comprising:
the receiving module is used for receiving first device information sent by an internet of things device and receiving second device information sent by each appointed block chain prediction machine in the block chain prediction machine system, wherein the second device information is the device information sent to the appointed block chain prediction machine by the internet of things device;
the processing module is used for processing the first equipment information and each piece of second equipment information based on a consensus algorithm to obtain trusted equipment information;
the determining module is used for determining whether a block chain prediction machine used for sending the trusted device information to a specified intelligent contract in a block chain is a local terminal;
and the first sending module is used for sending the trusted device information to a specified callback interface of a specified intelligent contract in the block chain if the trusted device information is received by the first sending module.
7. The blockchain prediction machine of claim 6, further comprising:
the second sending module is configured to send a second request for obtaining the device information of the internet of things device to the internet of things device, so that the internet of things device feeds back the first device information in response to the second request.
8. An internet of things device, wherein the internet of things device is pre-registered in a plurality of blockchain prediction machines, the internet of things device comprising:
the acquisition module is used for acquiring equipment information used for sending the equipment information to each block chain prediction machine;
and the sending module is used for sending corresponding equipment information to each block chain prediction machine so that each block chain prediction machine in the plurality of block chain prediction machines processes the received equipment information based on a consensus algorithm to obtain trusted equipment information, and determining that one block chain prediction machine sends the trusted equipment information to a specified callback interface of a specified intelligent contract in a block chain.
9. The internet of things device of claim 8, further comprising:
a receiving module, configured to receive a request sent by each block chain prediction machine to obtain the device information;
a response module, configured to respond to the request sent by each blockchain prediction machine, so that the obtaining module obtains the device information used for sending to each blockchain prediction machine.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, carries out the steps of the information processing method of any one of claims 1 to 5.
CN201811550190.9A 2018-12-18 2018-12-18 Block chain prediction machine, internet of things equipment and information processing method Active CN109474701B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811550190.9A CN109474701B (en) 2018-12-18 2018-12-18 Block chain prediction machine, internet of things equipment and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811550190.9A CN109474701B (en) 2018-12-18 2018-12-18 Block chain prediction machine, internet of things equipment and information processing method

Publications (2)

Publication Number Publication Date
CN109474701A CN109474701A (en) 2019-03-15
CN109474701B true CN109474701B (en) 2021-12-03

Family

ID=65676657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811550190.9A Active CN109474701B (en) 2018-12-18 2018-12-18 Block chain prediction machine, internet of things equipment and information processing method

Country Status (1)

Country Link
CN (1) CN109474701B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981679B (en) * 2019-04-08 2021-08-10 上海点融信息科技有限责任公司 Method and apparatus for performing transactions in a blockchain network
CN110335151B (en) * 2019-07-09 2022-12-20 郭小川 Centralized language prediction machine matched with intelligent contract application, information output method and system
CN110474903B (en) * 2019-08-15 2022-04-01 广州蚁比特区块链科技有限公司 Trusted data acquisition method and device and block link point
CN111258725B (en) * 2020-01-17 2023-07-25 北京百度网讯科技有限公司 Data processing method, device, equipment and medium based on block chain
CN111324672A (en) * 2020-03-25 2020-06-23 中国工商银行股份有限公司 Block chain safety processing system and method
CN111930852B (en) * 2020-09-29 2022-03-25 北京百度网讯科技有限公司 Data processing method, device and equipment based on block chain and storage medium
CN112417035A (en) * 2020-10-19 2021-02-26 易联众信息技术股份有限公司 Bidding method and system for dialer service based on block chain
CN112417034A (en) * 2020-10-19 2021-02-26 易联众信息技术股份有限公司 Block chain-based method and system for selecting predictive speech machine service
CN112837157A (en) * 2021-02-10 2021-05-25 中国人民银行数字货币研究所 Method, device and system for registering and executing timing intelligent contract in block chain
CN112948900A (en) * 2021-03-31 2021-06-11 工银科技有限公司 Method and device for acquiring data under link applied to block chain system
CN113472547B (en) * 2021-09-06 2021-11-16 湖南和信安华区块链科技有限公司 Safety monitoring system based on block chain

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296359A (en) * 2016-08-13 2017-01-04 深圳市樊溪电子有限公司 Credible electric power networks transaction platform based on block chain technology
WO2017011601A1 (en) * 2015-07-14 2017-01-19 Fmr Llc Computationally efficient transfer processing, auditing, and search apparatuses, methods and systems
CN107222303A (en) * 2017-05-11 2017-09-29 暨南大学 Digital publishing rights traceability system building method based on block chain and cloud platform
CN107819848A (en) * 2017-11-08 2018-03-20 济南浪潮高新科技投资发展有限公司 A kind of internet of things equipment autonomy interconnected method based on block chain
CN108320160A (en) * 2018-02-02 2018-07-24 张超 Block catenary system, block common recognition method and apparatus
CN108830714A (en) * 2018-05-28 2018-11-16 拜迪网络科技(上海)有限公司 Block chain foretells machine

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017011601A1 (en) * 2015-07-14 2017-01-19 Fmr Llc Computationally efficient transfer processing, auditing, and search apparatuses, methods and systems
CN106296359A (en) * 2016-08-13 2017-01-04 深圳市樊溪电子有限公司 Credible electric power networks transaction platform based on block chain technology
CN107222303A (en) * 2017-05-11 2017-09-29 暨南大学 Digital publishing rights traceability system building method based on block chain and cloud platform
CN107819848A (en) * 2017-11-08 2018-03-20 济南浪潮高新科技投资发展有限公司 A kind of internet of things equipment autonomy interconnected method based on block chain
CN108320160A (en) * 2018-02-02 2018-07-24 张超 Block catenary system, block common recognition method and apparatus
CN108830714A (en) * 2018-05-28 2018-11-16 拜迪网络科技(上海)有限公司 Block chain foretells machine

Also Published As

Publication number Publication date
CN109474701A (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN109474701B (en) Block chain prediction machine, internet of things equipment and information processing method
CN110113381B (en) Method and device for subscribing theme in block chain
CN103516690B (en) A kind of business processing status information query method and device
CN112751826A (en) Calculation force application flow forwarding method and device
CN108632367A (en) Account correlating method and information-pushing method
CN109729115B (en) Method, device, proxy server and terminal equipment for realizing distributed computation
CN106534240A (en) CDN resource scheduling method, server and client
CN111698315B (en) Data processing method and device for block and computer equipment
CN111083187A (en) Industrial application service processing method and system
CN109151025A (en) Load-balancing method, device, computer storage medium and equipment based on URL
CN105164989A (en) Reducing number of server-client sessions
CN114040020A (en) Cross-cluster service calling method and system
CN106817381A (en) Data processing method and device
CN111078238A (en) Centralized processing method and device for application configuration in container environment
CN115562757A (en) Data processing method, configuration center system, electronic device, and storage medium
CN113873005B (en) Node selection method, system, equipment and medium for micro-service cluster
CN112737921B (en) Message interaction method, client and communication system
CN112311899A (en) Session processing method, device and system
US10764724B2 (en) Method and apparatus for implementing member resource processing
CN112165726A (en) Method and system for distributing network to intelligent equipment by WeChat small program
CN112583572B (en) Block chain network, service processing method, device and equipment
CN112866013A (en) Network configuration method, device and system
CN114979128A (en) Cross-region communication method and device and electronic equipment
CN105939227B (en) Service configuration method, system and server based on CMDB
CN113037844B (en) Identification updating method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant