CN110708371A - Data processing method, device and system based on block chain and electronic equipment - Google Patents
Data processing method, device and system based on block chain and electronic equipment Download PDFInfo
- Publication number
- CN110708371A CN110708371A CN201910927156.7A CN201910927156A CN110708371A CN 110708371 A CN110708371 A CN 110708371A CN 201910927156 A CN201910927156 A CN 201910927156A CN 110708371 A CN110708371 A CN 110708371A
- Authority
- CN
- China
- Prior art keywords
- block chain
- service
- specified data
- internet
- platform
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 19
- 238000000034 method Methods 0.000 claims abstract description 59
- 230000008569 process Effects 0.000 claims abstract description 30
- 238000004590 computer program Methods 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000002265 prevention Effects 0.000 description 3
- 206010039203 Road traffic accident Diseases 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/50—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The embodiment of the application provides a data processing method, a device and a system based on a block chain and an electronic device. The data processing method comprises the following steps: the method comprises the steps that a block chain platform receives a block chain service containing specified data submitted by an Internet of things device through a block chain interface; the block chain platform triggers a specified intelligent contract which is pre-deployed in a block chain based on the block chain service, and processes specified data in the block chain service; and the block chain platform calls an application programming interface of a service server of the Internet of things equipment to feed back the processing result of the specified data to the service server.
Description
Technical Field
The embodiment of the application relates to the technical field of block chains, in particular to a data processing method, a data processing device, a data processing system and electronic equipment based on a block chain.
Background
The Internet of things (IoT) is an information carrier such as the Internet and a traditional telecommunication network, and enables all common objects capable of performing independent functions to realize an interconnected network. On the internet of things, everyone can use the electronic tag to link the real object to the internet, and the specific position of the real object can be found on the internet of things. The Internet of things can be used for carrying out centralized management and control on machines, equipment and personnel and also can be used for carrying out remote control on household equipment and automobiles, searching positions, preventing articles from being stolen and the like, is similar to an automatic control system, and meanwhile, through collecting data of the facts, the data can be finally gathered into big data, including major social changes such as road redesign to reduce traffic accidents, urban updating, disaster prediction and crime prevention and control, epidemic control and the like, and object association is achieved.
The existing internet of things system provides centralized service, and the process requires that internet of things equipment uploads data to a cloud platform, the cloud platform is responsible for processing the data, and corresponding service is provided. This method is developed with the cloud platform as the center, as the name implies, and thus objectivity of the processing result cannot be guaranteed. In view of this, how to implement decentralized services in an internet of things system is a technical problem that needs to be solved at present.
Disclosure of Invention
The embodiment of the application aims to provide a data processing method, a data processing device, a data processing system and electronic equipment based on a block chain, and decentralized service can be realized in an internet of things system.
In order to achieve the above purpose, the embodiments of the present application are implemented as follows:
in a first aspect, a data processing method based on a block chain is provided, including:
the method comprises the steps that a block chain platform receives a block chain service containing specified data submitted by an Internet of things device through a block chain interface;
the block chain platform triggers a specified intelligent contract which is pre-deployed in a block chain based on the block chain service, and processes specified data in the block chain service;
and the block chain platform calls an application programming interface of a service server of the Internet of things equipment to feed back the processing result of the specified data to the service server.
In a second aspect, a block chain-based data processing apparatus is provided, including:
the block chain platform receives a block chain service containing specified data submitted by the Internet of things equipment through a block chain interface;
the processing module is used for triggering a specified intelligent contract which is pre-deployed in a block chain by the block chain platform based on the block chain service and processing specified data in the block chain service;
and the feedback module is used for calling an application programming interface of a service server of the Internet of things equipment by the block chain platform so as to feed back the processing result of the specified data to the service server.
In a third aspect of the invention, an internet of things system is provided, including: the system comprises the Internet of things equipment, a service server and a block chain platform;
the Internet of things equipment submits the blockchain service containing the specified data to the blockchain platform through the blockchain interface;
the block chain platform triggers a specified intelligent contract which is pre-deployed in a block chain based on the block chain service, and processes specified data in the block chain service; feeding back a processing result of the specified data to the service server;
and the business server executes relevant business logic based on the processing result of the specified data.
In a fourth aspect, an electronic device is provided comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor to:
the method comprises the steps that a block chain platform receives a block chain service containing specified data submitted by an Internet of things device through a block chain interface;
the block chain platform triggers a specified intelligent contract which is pre-deployed in a block chain based on the block chain service, and processes specified data in the block chain service;
and the block chain platform calls an application programming interface of a service server of the Internet of things equipment to feed back the processing result of the specified data to the service server.
In a fifth aspect, a computer-readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, performs the steps of:
the method comprises the steps that a block chain platform receives a block chain service containing specified data submitted by an Internet of things device through a block chain interface;
the block chain platform triggers a specified intelligent contract which is pre-deployed in a block chain based on the block chain service, and processes specified data in the block chain service;
and the block chain platform calls an application programming interface of a service server of the Internet of things equipment to feed back the processing result of the specified data to the service server.
In the scheme of the embodiment of the application, the service server deploys the service processing logic of the specified data in the blockchain platform in an intelligent contract mode. And the Internet of things equipment uploads specified data generated when the Internet of things service is executed to the block chain platform through the block chain service, so that the block chain platform calls an intelligent contract based on the block chain service to process the specified data, and a processing result is fed back to the service processor. Because the processing process of the specified data is executed on the block chain platform, the objectivity of the processing result is ensured, and the decentralized service is realized.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative efforts.
Fig. 1 is a schematic flowchart of a data processing method according to an embodiment of the present application.
Fig. 2 is a schematic flowchart of a second data processing method according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of an internet of things system provided in an embodiment of the present application.
Fig. 5 is an execution flow diagram of an internet of things system provided in an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, 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 a part of the embodiments of the present application, and not all of the 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.
As previously mentioned, current internet of things systems provide centralized services. In this way, the recording and processing of data are all completed on the cloud platform, so that the security and objectivity are not reliable, and the method cannot be applied to application scenes requiring monopoly removal, tamper resistance and loss resistance.
In view of this, the present application aims to provide a technical solution for implementing decentralized services in the internet of things.
Fig. 1 is a flowchart of a data processing method based on a block chain according to an embodiment of the present application. The method shown in fig. 1 may be performed by a corresponding apparatus, comprising:
step S102, the block chain platform receives a block chain service containing specified data submitted by the Internet of things equipment through a block chain interface.
The designated data may include data generated by the internet of things device, such as service data and log data generated by the internet of things device executing a service, and environment data corresponding to the internet of things device executing the service.
Specifically, if the internet of things device has the capability of accessing the blockchain interface, the specified data can be directly uploaded to the blockchain platform. Or, the internet of things equipment can also send the designated data to a service server in the internet of things system, and the service server further uploads the designated data to the blockchain platform through the blockchain interface.
And step S104, triggering a specified intelligent contract which is pre-deployed in the block chain by the block chain platform based on the block chain service, and processing specified data in the block chain service.
The specific intelligent contract can be pre-deployed into the block chain by the service server and comprises processing logic of specific data. In this step, the block chain platform calculates the specified data according to the processing logic indicated by the specified intelligent contract to obtain the corresponding processing result.
Step S106, the block chain platform calls an application programming interface of a service server of the Internet of things equipment to feed back a processing result of the specified data to the service server.
It should be understood that the business server, upon receiving the processing result of the specified data, further executes the logic of the relevant business based on the processing result.
Based on the data processing method shown in fig. 1, it can be known that: in the scheme of the embodiment of the application, the service server deploys the service processing logic of the specified data in the blockchain platform in an intelligent contract mode. And the Internet of things equipment uploads specified data generated when the Internet of things service is executed to the block chain platform through the block chain service, so that the block chain platform calls an intelligent contract based on the block chain service to process the specified data, and a processing result is fed back to the service processor. Because the processing process of the specified data is executed on the block chain platform, the objectivity of the processing result is ensured, and the decentralized service is realized.
The following provides an exemplary description of the method of embodiments of the present application.
The method mainly utilizes a distributed data storage technology of block chain decentralized, loss prevention and tamper prevention to record designated data of the Internet of things equipment during execution of the Internet of things service, and a designated intelligent contract with designated data processing logic is deployed in the block chain, the Internet of things equipment needs to upload the designated data to a decentralized block chain platform through block chain service, and the block chain platform calls the designated intelligent contract to perform logic processing.
Wherein, the process comprises:
step S201, a business server in the Internet of things accesses a block chain platform, and assigns a designated intelligent contract to the block chain based on the block chain platform.
It should be understood that the specific processing logic of the designated intelligent contract is determined by the actual business requirements of the internet of things, and the embodiment of the present application is not particularly limited as the manner is not unique.
In this step, the service server may deploy a specific intelligent contract related to the blockchain service to the blockchain, so that the blockchain triggers the specific intelligent contract after receiving the blockchain service, so as to process data in the blockchain service.
Step S202, the Internet of things equipment is connected with the block chain interface, block chain service containing specified data is submitted to the block chain platform, or the Internet of things equipment submits the block chain service containing the specified data to the business server, and the business server is connected with the block chain interface and submits the block chain service through the block chain platform.
The specific data may be data required by the service server to execute the relevant service logic, and may include, but is not limited to, at least one of the following:
and the equipment of the Internet of things executes the service data generated by the service.
And the equipment of the Internet of things executes log data generated by the service.
And the corresponding environment data when the equipment of the Internet of things executes the service.
In step S203, the block chain platform initiates a multi-party consensus for the designated data to the block chain nodes in the block chain.
It should be understood that the manner in which the multiple parties of the block chain are commonly known is not exclusive, and the embodiments of the present application are not limited thereto.
By way of exemplary presentation: the block chain may specifically be a federation chain, and a plurality of accounting nodes are specified in the federation chain. This step may specifically initiate a multi-party consensus for the specified data to at least two accounting nodes in the federation chain.
In step S204, after the multi-party consensus successfully passes, the block chain platform adds a block in which the specified data is recorded in the block chain.
Obviously, through a multi-party consensus mode, the reliability of the designated data and/or the source of the designated data can be verified, and the fact that the true and objective data are linked up is guaranteed. Once the designated data is linked up, more than half of the block chain nodes need to be damaged to be tampered, and all the block chain nodes are damaged to be completely deleted from the block chain, which can not be realized theoretically, so that the designated data of the internet of things equipment is recorded through the block chain, and the safety and the objectivity of the designated data can be effectively guaranteed.
Step S205, the block chain platform triggers a specified intelligent contract which is pre-deployed in the block chain based on the block chain service submitted by the Internet of things equipment, and processes specified data.
It should be understood that the processing flow is set according to actual service requirements, and the method is not described herein since it is not unique.
Step S206, the block chain platform calls an application programming interface of a service server of the Internet of things equipment, and the processing result of the specified data is fed back to the service server.
On the basis, the block chain platform can also feed back the processing result of the specified data to the Internet of things equipment.
Step S207, the service server executes the relevant service logic according to the processing result of the received designated data.
The method of the embodiment of the present application is described in detail below with reference to an actual application scenario.
In the application scenario, the business server provides movie ticket ordering service for the user. For the user, the movie ticket can be purchased from the business server through own personal equipment (namely, the internet of things equipment).
Any user has the right to purchase movie tickets for the same seat in the same session. In order to ensure that the users can fairly purchase, the business server deploys the purchase processing logic of the movie tickets to the block chain in an intelligent contract mode, and the objectivity of the intelligent contract is ensured by utilizing the characteristics of decentralization and tamper resistance of the block chain.
Assuming that user a wishes to purchase a movie ticket for 16:00, 6 th and 14 th seats, a purchase request for the movie ticket for 16:00, 6 th and 14 th seats (i.e., blockchain service) may be initiated to the service server through the personal device. And the service server forwards the purchase request to a block chain platform through a block chain interface, and the block chain platform records the purchase request.
And then, the blockchain platform calls an intelligent contract which is deployed for ticket buying service in advance to process the purchase request initiated by the user A.
Assuming that the intelligent contract indicates processing logic that the movie tickets are bought first, if the movie tickets of the 14 th row 6 in the 16:00 field are bought by other users, the blockchain platform generates a processing result rejecting the purchase request of the user A; if the 16:00 field, 6 row, 14 movie tickets are not purchased by other users, the blockchain platform generates a process result that accepts the user a purchase request.
Or,
assuming that the intelligent contract indicates the processing logic of the random drawing purchase of the movie tickets, the blockchain platform draws lots of all users who initiate the purchase request of the 16:00 field 6 row 14 movie tickets, which are recorded in the blockchain, after a certain time condition is met. If the user A signs, the block chain platform generates a processing result for receiving the purchase request of the user A; and if the user A does not check the label, the block chain platform generates a processing result of rejecting the purchase request of the user A.
After generating a processing result of the purchase request initiated by the user A, the blockchain platform calls an application programming interface of the service server to send the processing result to the service server, and the service server determines whether to initiate a subsequent ticket purchasing process to the user A according to the processing result.
The above is a description of the method of the embodiments of the present application. It will be appreciated that appropriate modifications may be made without departing from the principles outlined herein, and such modifications are intended to be included within the scope of the embodiments herein.
Corresponding to the above data processing method, as shown in fig. 3, an embodiment of the present application further provides a data processing apparatus 300 based on a block chain, including:
the receiving module 310 receives a blockchain service containing specified data, which is submitted by the internet of things device through a blockchain interface.
The designated data may include data generated by the internet of things device, such as service data and log data generated by the internet of things device executing a service, and environment data corresponding to the internet of things device executing the service.
Optionally, in this step, if the internet of things device has the capability of accessing the blockchain interface, the specified data may be directly uploaded to the blockchain platform. Or, the internet of things device may also send the designated data to the service server, and the service server accesses the blockchain interface and further uploads the blockchain service to the blockchain platform.
The processing module 320 triggers a specific intelligent contract pre-deployed in a blockchain based on the blockchain service, and processes the specific intelligent contract on specific data in the blockchain service.
The specific intelligent contract can be pre-deployed into the block chain by the service server and comprises processing logic of specific data. In this step, the block chain platform calculates the specified data according to the processing logic indicated by the specified intelligent contract to obtain the corresponding processing result.
The feedback module 330 is configured to call an application programming interface of a service server of the internet of things device, so as to feed back a processing result of the specified data to the service server.
Based on the data processing method shown in fig. 3, the apparatus can know that: in the scheme of the embodiment of the application, the service server deploys the service processing logic of the specified data in the blockchain platform in an intelligent contract mode. And the Internet of things equipment uploads specified data generated when the Internet of things service is executed to the block chain platform through the block chain service, so that the block chain platform calls an intelligent contract based on the block chain service to process the specified data, and a processing result is fed back to the service processor. Because the processing process of the specified data is executed on the block chain platform, the objectivity of the processing result is ensured, and the decentralized service is realized.
Optionally, the apparatus in this embodiment of the present application further includes:
and the uplink module is used for recording the designated data into the block chain after acquiring the designated data uploaded by the Internet of things equipment.
Optionally, when the uplink module is executed, a multi-party consensus for the specified data is specifically initiated to a block link point in a block chain, and if the multi-party consensus successfully passes, the block chain platform adds a block in which the specified data is recorded in the block chain.
In practical applications, the blockchain may be a federation chain, and the federation chain is designated with a plurality of accounting nodes. The uplink module, when executed, may initiate a multi-party consensus for the specified data to at least two accounting nodes in the federation chain. If the approval of half accounting nodes is exceeded, the multi-party consensus is passed, and the uplink module further records the designated data into the alliance chain.
It should be understood that each module in the apparatus of the embodiment of the present application may perform the corresponding step through the blockchain platform. Such as: the obtaining module 310 can control the blockchain platform to receive a blockchain service containing specified data submitted by the internet of things device through the blockchain interface. The processing module 320 controls the blockchain platform to trigger a specific intelligent contract pre-deployed in the blockchain based on the blockchain service, and processes the specific intelligent contract for the specific data in the blockchain service. The feedback module 330 controls the blockchain platform to call an application programming interface of a service server of the internet of things device, so as to feed back a processing result of the specified data to the service server.
Obviously, the apparatus according to the embodiment of the present application may be an execution subject of the data processing method shown in fig. 1, and thus can implement the functions of the data processing method implemented in fig. 1 and fig. 2. Since the principle is the same, the detailed description is omitted here.
In addition, as shown in fig. 4, an internet of things system 400 is further provided in the embodiment of the present application, including: an internet of things device 410, a blockchain platform 420, and a business server 430.
Wherein:
the internet of things device 410 is used for providing a blockchain service containing specified data to the blockchain platform through the blockchain interface.
The block chain platform 420 is used for triggering a specified intelligent contract which is pre-deployed in a block chain based on the block chain service and processing specified data in the block chain service; and feeding back the processing result of the specified data to a specified intelligent contract of the service server.
And the business server 430 executes relevant business logic based on the processing result of the specified data.
Based on the internet of things system shown in fig. 4, it can be known that: in the scheme of the embodiment of the application, the service server deploys the service processing logic of the specified data in the blockchain platform in an intelligent contract mode. And the Internet of things equipment uploads specified data generated when the Internet of things service is executed to the block chain platform through the block chain service, so that the block chain platform calls an intelligent contract based on the block chain service to process the specified data, and a processing result is fed back to the service processor. Because the processing process of the specified data is executed on the block chain platform, the objectivity of the processing result is ensured, and the decentralized service is realized.
Fig. 5 is an execution flowchart of an internet of things system according to an embodiment of the present application, including:
step S501, the business server accesses the block chain platform and deploys the appointed intelligent contract related to the target block chain service to the block chain.
Step S502, the Internet of things equipment sends a target block chain service carrying designated data to a service server.
Step S503, the service server forwards the target blockchain service to the blockchain platform through the blockchain interface.
Step S504, the block chain platform records the specified data in the target block chain service to the block chain, and triggers a specified intelligent contract based on the target block chain service to process the specified data.
In step S505, the blockchain platform calls an application programming interface of the service server to feed back a processing result of the specified data to the service server.
Step S506, the service server executes the relevant service logic according to the processing result of the specified data.
Similarly, the apparatus according to the embodiment of the present application may be an execution subject of the data processing method shown in fig. 1, and thus may be capable of implementing the functions of the data processing method implemented in fig. 1 and fig. 2. Since the principle is the same, the detailed description is omitted here.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Referring to fig. 6, at a hardware level, the electronic device includes a processor, and optionally further includes an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, the network interface, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (peripheral component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 6, but that does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads a corresponding computer program from the non-volatile memory into the memory and then runs the computer program, thereby forming the data processing device on a logic level. The processor is used for executing the program stored in the memory and is specifically used for executing the following operations:
and the block chain platform receives a block chain service containing specified data submitted by the Internet of things equipment through a block chain interface.
And triggering a specified intelligent contract which is pre-deployed in a block chain by the block chain platform based on the block chain service, and processing specified data in the block chain service.
And the block chain platform calls an application programming interface of a service server of the Internet of things equipment to feed back the processing result of the specified data to the service server.
Based on the electronic device shown in fig. 6, it can be known that: in the scheme of the embodiment of the application, the service server deploys the service processing logic of the specified data in the blockchain platform in an intelligent contract mode. And the Internet of things equipment uploads specified data generated when the Internet of things service is executed to the block chain platform through the block chain service, so that the block chain platform calls an intelligent contract based on the block chain service to process the specified data, and a processing result is fed back to the service processor. Because the processing process of the specified data is executed on the block chain platform, the objectivity of the processing result is ensured, and the decentralized service is realized.
The data processing method disclosed in the embodiment of fig. 1 of the present application may be applied to a processor, or may be implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application 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 steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
It should be understood that the electronic device according to the embodiment of the present application may implement the functions of the data processing apparatus in the embodiments shown in fig. 1 and fig. 2, and details are not described herein again.
Of course, besides the software implementation, the electronic device of the present application does not exclude other implementations, such as a logic device or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or a logic device.
Furthermore, an embodiment of the present application also provides a computer-readable storage medium storing one or more programs, where the one or more programs include instructions, which when executed by a portable electronic device including a plurality of application programs, can cause the portable electronic device to perform the method of the embodiment shown in fig. 1, and specifically to perform the following method:
and the block chain platform receives a block chain service containing specified data submitted by the Internet of things equipment through a block chain interface.
And triggering a specified intelligent contract which is pre-deployed in a block chain by the block chain platform based on the block chain service, and processing specified data in the block chain service.
And the block chain platform calls an application programming interface of a service server of the Internet of things equipment to feed back the processing result of the specified data to the service server.
It should be understood that the above-mentioned instructions, when executed by a portable electronic device comprising a plurality of application programs, can enable the data processing apparatus described above to implement the functions of the embodiments shown in fig. 1 and 2, which are not described in detail herein.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification should be included in the scope of the claims of the present specification.
Claims (10)
1. A data processing method based on a block chain comprises the following steps:
the method comprises the steps that a block chain platform receives a block chain service containing specified data submitted by an Internet of things device through a block chain interface;
the block chain platform triggers a specified intelligent contract which is pre-deployed in a block chain based on the block chain service, and processes specified data in the block chain service;
and the block chain platform calls an application programming interface of a service server of the Internet of things equipment to feed back the processing result of the specified data to the service server.
2. The method of claim 1, wherein the first and second light sources are selected from the group consisting of,
the specified intelligent contracts are pre-deployed into the blockchain by the business server.
3. The method of claim 1, wherein the first and second light sources are selected from the group consisting of,
after the blockchain platform receives blockchain service containing specified data submitted by the internet of things device through a blockchain interface, the method further comprises the following steps:
and the block chain platform records the specified data into a block chain.
4. The method of claim 3, wherein the first and second light sources are selected from the group consisting of,
the block chain platform records the specified data into a block chain, and comprises the following steps:
the block chain platform initiates multi-party consensus aiming at the specified data to block chain nodes in a block chain;
and if the multi-party consensus successfully passes, adding the block recorded with the specified data in the block chain by the block chain platform.
5. The method of claim 4, wherein the first and second light sources are selected from the group consisting of,
the block chain is a federation chain, at least two block link points in the federation chain being designated as accounting nodes;
the block chain platform initiates multi-party consensus aiming at the specified data to block chain nodes in the block chain, and the method comprises the following steps:
and the blockchain platform initiates multi-party consensus on the specified data to at least two accounting nodes in the alliance chain.
6. The method of any one of claims 1-5,
the specified data includes at least one of:
the Internet of things equipment executes service data generated by the service;
the Internet of things equipment executes log data generated by the service;
and the corresponding environment data is obtained when the Internet of things equipment executes the service.
7. A blockchain-based traffic processing apparatus, comprising:
the receiving module is used for receiving the block chain service containing the specified data submitted by the equipment of the Internet of things through the block chain interface;
the processing module is used for triggering a specified intelligent contract which is pre-deployed in a block chain based on the block chain service and processing specified data in the block chain service;
and the feedback module calls an application programming interface of a service server of the Internet of things equipment to feed back the processing result of the specified data to the service server.
8. An internet of things system, comprising: the system comprises the Internet of things equipment, a service server and a block chain platform;
the Internet of things equipment submits the blockchain service containing the specified data to the blockchain platform through the blockchain interface;
the block chain platform triggers a specified intelligent contract which is pre-deployed in a block chain based on the block chain service, and processes specified data in the block chain service; feeding back a processing result of the specified data to the service server;
and the business server executes relevant business logic based on the processing result of the specified data.
9. An electronic device includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor to:
the method comprises the steps that a block chain platform receives a block chain service containing specified data submitted by an Internet of things device through a block chain interface;
the block chain platform triggers a specified intelligent contract which is pre-deployed in a block chain based on the block chain service, and processes specified data in the block chain service;
and the block chain platform calls an application programming interface of a service server of the Internet of things equipment to feed back the processing result of the specified data to the service server.
10. A computer-readable storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of:
the method comprises the steps that a block chain platform receives a block chain service containing specified data submitted by an Internet of things device through a block chain interface;
the block chain platform triggers a specified intelligent contract which is pre-deployed in a block chain based on the block chain service, and processes specified data in the block chain service;
and the block chain platform calls an application programming interface of a service server of the Internet of things equipment to feed back the processing result of the specified data to the service server.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910927156.7A CN110708371A (en) | 2019-09-27 | 2019-09-27 | Data processing method, device and system based on block chain and electronic equipment |
TW109116687A TW202113722A (en) | 2019-09-27 | 2020-05-20 | Data processing method, device and system based on block chain and electronic equipment |
PCT/CN2020/094537 WO2021057084A1 (en) | 2019-09-27 | 2020-06-05 | Blockchain-based data processing method and apparatus, system, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910927156.7A CN110708371A (en) | 2019-09-27 | 2019-09-27 | Data processing method, device and system based on block chain and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110708371A true CN110708371A (en) | 2020-01-17 |
Family
ID=69197123
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910927156.7A Pending CN110708371A (en) | 2019-09-27 | 2019-09-27 | Data processing method, device and system based on block chain and electronic equipment |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN110708371A (en) |
TW (1) | TW202113722A (en) |
WO (1) | WO2021057084A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111275385A (en) * | 2020-01-20 | 2020-06-12 | 山东爱城市网信息技术有限公司 | Method, equipment, storage medium and platform for realizing balance analysis of purchase, sales and storage platform based on block chain |
CN111403046A (en) * | 2020-03-16 | 2020-07-10 | 湖北亲缘互联传承网络有限公司 | Monitoring tracking and grading adaptation system and method for early public health discovery |
CN111475567A (en) * | 2020-03-09 | 2020-07-31 | 上海能链众合科技有限公司 | Internet of things data sequential recording method |
CN111930443A (en) * | 2020-10-15 | 2020-11-13 | 杭州云链趣链数字科技有限公司 | Operation and maintenance method, system, computer equipment and storage medium based on block chain |
WO2021057084A1 (en) * | 2019-09-27 | 2021-04-01 | 支付宝(杭州)信息技术有限公司 | Blockchain-based data processing method and apparatus, system, and electronic device |
CN115086394A (en) * | 2022-06-15 | 2022-09-20 | 亚信科技(中国)有限公司 | Service information processing method and device and electronic equipment |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113259376A (en) * | 2021-06-10 | 2021-08-13 | 永旗(北京)科技有限公司 | Control method of Internet of things equipment based on block chain |
CN113766346A (en) * | 2021-09-10 | 2021-12-07 | 杭州链城数字科技有限公司 | Block chain Internet of things equipment for unmanned aerial vehicle |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109167822A (en) * | 2018-08-14 | 2019-01-08 | 众安信息技术服务有限公司 | A kind of internet of things equipment control method and system based on block chain |
CN109493194A (en) * | 2018-12-22 | 2019-03-19 | 复旦大学 | A kind of cinema ticketselling system and implementation method based on block chain |
CN109886694A (en) * | 2019-03-26 | 2019-06-14 | 阿里巴巴集团控股有限公司 | Data processing method and device and electronic equipment based on block chain |
CN110266807A (en) * | 2019-06-28 | 2019-09-20 | 中兴通讯股份有限公司 | Internet of things data processing method and processing device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107682331B (en) * | 2017-09-28 | 2020-05-12 | 复旦大学 | Block chain-based Internet of things identity authentication method |
WO2019161555A1 (en) * | 2018-02-24 | 2019-08-29 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods and peer node in an emergency event broadcasting system |
CN108537549A (en) * | 2018-04-18 | 2018-09-14 | 四川众之金科技有限公司 | A kind of purview certification method and device |
CN110708371A (en) * | 2019-09-27 | 2020-01-17 | 支付宝(杭州)信息技术有限公司 | Data processing method, device and system based on block chain and electronic equipment |
-
2019
- 2019-09-27 CN CN201910927156.7A patent/CN110708371A/en active Pending
-
2020
- 2020-05-20 TW TW109116687A patent/TW202113722A/en unknown
- 2020-06-05 WO PCT/CN2020/094537 patent/WO2021057084A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109167822A (en) * | 2018-08-14 | 2019-01-08 | 众安信息技术服务有限公司 | A kind of internet of things equipment control method and system based on block chain |
CN109493194A (en) * | 2018-12-22 | 2019-03-19 | 复旦大学 | A kind of cinema ticketselling system and implementation method based on block chain |
CN109886694A (en) * | 2019-03-26 | 2019-06-14 | 阿里巴巴集团控股有限公司 | Data processing method and device and electronic equipment based on block chain |
CN110266807A (en) * | 2019-06-28 | 2019-09-20 | 中兴通讯股份有限公司 | Internet of things data processing method and processing device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021057084A1 (en) * | 2019-09-27 | 2021-04-01 | 支付宝(杭州)信息技术有限公司 | Blockchain-based data processing method and apparatus, system, and electronic device |
CN111275385A (en) * | 2020-01-20 | 2020-06-12 | 山东爱城市网信息技术有限公司 | Method, equipment, storage medium and platform for realizing balance analysis of purchase, sales and storage platform based on block chain |
CN111475567A (en) * | 2020-03-09 | 2020-07-31 | 上海能链众合科技有限公司 | Internet of things data sequential recording method |
CN111475567B (en) * | 2020-03-09 | 2021-07-23 | 上海能链众合科技有限公司 | Internet of things data sequential recording method |
CN111403046A (en) * | 2020-03-16 | 2020-07-10 | 湖北亲缘互联传承网络有限公司 | Monitoring tracking and grading adaptation system and method for early public health discovery |
CN111403046B (en) * | 2020-03-16 | 2024-05-14 | 湖北亲缘互联传承网络有限公司 | Monitoring tracking and hierarchical adaptation system and method for early-stage public health discovery |
CN111930443A (en) * | 2020-10-15 | 2020-11-13 | 杭州云链趣链数字科技有限公司 | Operation and maintenance method, system, computer equipment and storage medium based on block chain |
CN115086394A (en) * | 2022-06-15 | 2022-09-20 | 亚信科技(中国)有限公司 | Service information processing method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2021057084A1 (en) | 2021-04-01 |
TW202113722A (en) | 2021-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110708371A (en) | Data processing method, device and system based on block chain and electronic equipment | |
CN110032880B (en) | Screen recording evidence obtaining method and system based on block chain and electronic equipment | |
CN110035105B (en) | Screen recording evidence obtaining method and system based on block chain and electronic equipment | |
CN110222533A (en) | Distributed data security application method, system and electronic equipment | |
CN109639636B (en) | Service data forwarding method, service data processing method, service data forwarding device, service data processing device and electronic equipment | |
CN109359147B (en) | Business component processing method, component server and system | |
CN110830735A (en) | Video generation method and device, computer equipment and storage medium | |
CN110400217B (en) | Rule change processing method and device for intelligent contract | |
CN111211911B (en) | Collaborative signature method, device, equipment and system | |
CN110659441A (en) | Information release management method and device based on block chain | |
CN111985007A (en) | Contract signing and executing method and device based on block chain | |
US9665732B2 (en) | Secure Download from internet marketplace | |
CN110675213B (en) | Method and device for putting credit service product and electronic equipment | |
CN110309669A (en) | A kind of data mask method, device and equipment | |
CN110688410B (en) | Suggestion processing method and device based on block chain and electronic equipment | |
CN109710692B (en) | User information processing method and device in block chain network and storage medium | |
CN105512208B (en) | Information publishing method, device and system | |
CN111832862B (en) | Flow management method and system based on block chain | |
CN111694970A (en) | Data processing method, device and system | |
CN113761581A (en) | Authority control method and device in block chain and electronic equipment | |
CN116233851A (en) | Verification method, device, equipment and medium based on SIM card | |
CN114115918A (en) | Algorithm model deployment method, system and related equipment | |
CN114040223A (en) | Image processing method and system | |
CN107704557B (en) | Processing method and device for operating mutually exclusive data, computer equipment and storage medium | |
CN114637776B (en) | Data management method and device based on rule engine |
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 | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40020999 Country of ref document: HK |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200117 |