CN112053240A - Method for realizing predictive speech machine function on block chain - Google Patents
Method for realizing predictive speech machine function on block chain Download PDFInfo
- Publication number
- CN112053240A CN112053240A CN202010791026.8A CN202010791026A CN112053240A CN 112053240 A CN112053240 A CN 112053240A CN 202010791026 A CN202010791026 A CN 202010791026A CN 112053240 A CN112053240 A CN 112053240A
- Authority
- CN
- China
- Prior art keywords
- data
- result
- providers
- prediction machine
- time response
- 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
- 238000000034 method Methods 0.000 title claims abstract description 11
- 230000004044 response Effects 0.000 claims abstract description 15
- 230000001174 ascending effect Effects 0.000 claims description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Computer Security & Cryptography (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Technology Law (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention belongs to the technical field of block chains, and particularly relates to a method for realizing a predictive phone function on a block chain, which comprises the following steps of setting a plurality of data interface providers to provide data service for a predictive phone, wherein all the data providers have a time response request and push data, if the data is not pushed to the predictive phone in a time response, the data is regarded as invalid data, when the predictive phone obtains a result, at least 14 data providers are required to be ensured to be successfully pushed, otherwise, the next round of data request is carried out again after waiting for a time response.
Description
Technical Field
The invention belongs to the technical field of block chains, and particularly relates to a method for realizing a predictive speech machine function on a block chain.
Background
The decentralized account book and the intelligent contract of the block chain solve the trust problem of P2P interaction for the current society, and no centralized mechanism is needed for trust endorsement, which is a great innovation of a human social trust system, but the current intelligent contract can not actively acquire information outside the chain, so that the current intelligent contract can only execute tasks in a closed and isolated environment and can not be intercommunicated and interconnected with the external world.
The reason for this is that since all data from the original block is recorded in the blockchain, there is an inherent link between the data, and since the data at a certain moment is more often a continuation of the previous information, the blockchain can be said to be deterministic, which guarantees that the data is not tampered, but it also reduces flexibility.
Disclosure of Invention
To solve the problems set forth in the background art described above. The invention provides a method for realizing the function of a speaker on a block chain, which has the characteristics of solving the loophole phenomena of network congestion, denial of service attack and the like by taking a forest spot as a design theoretical basis and a Byzantine consensus algorithm, greatly improving the reliability of data and solving the problem of incredibility of an intelligent contract external network data source from the source.
In order to achieve the purpose, the invention provides the following technical scheme: a method for implementing a predictive function on a blockchain, comprising the steps of,
step S1, setting a plurality of data interface providers to provide data service for the prediction machine;
step S2, all data providers have a time response request and push data, and if the data is not pushed to the prediction machine in a time response, the data is regarded as invalid data;
step S3, when the prediction machine obtains the result, it is required to ensure that at least 14 data providers successfully push, otherwise, after waiting for a time response, the next round of data request is carried out again;
step S4, the prediction machine judges the data to be divided into two types, one type is result type data, and the data with the highest ticket obtaining in 21 results is taken as a final result; one is digital data, the data are arranged according to an ascending order, the first and last 3 data are removed, and the rest 15 data are averaged to be regarded as a final result;
step S5, when the result of successful pushing is between 18 and 20, eliminating the top and the last 2 data, eliminating the top and the last 1 data when 14 to 17, and when the result is less than 14, determining that the data request fails, and waiting for the result of the next round;
and step S6, after the prediction machine result is generated, the result is pushed to the network node in a transaction form, and the intelligent contract is executed according to the result.
Preferably, the number of data interfaces in step S1 is 21.
Preferably, one of the time responses of S2 and S3 is 10 minutes.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention leads the data outside the block chain into the intelligent contract, provides feasibility for more application scenes of the block chain, ensures the truth and reliability of the data to the maximum extent, stops the possibility of cooperation badness of a data provider and avoids data acquisition loopholes caused by network congestion or denial of service attack.
2. The invention provides a solution with higher reliability and higher difficulty in association and cooperation of data providers for data acquisition of the external world by a blockchain network, solves the loophole phenomena of network congestion, denial of service attack and the like by taking the Xielin as a design theoretical basis and a Byzantine consensus algorithm, greatly improves the reliability of data, and solves the problem of incredibility of an intelligent contract external network data source from the source.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart illustrating the implementation of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
Referring to fig. 1, the present invention provides the following technical solutions: a method for implementing a predictive function on a blockchain, comprising the steps of,
step S1, setting a plurality of data interface providers to provide data service for the prediction machine;
step S2, all data providers have a time response request and push data, and if the data is not pushed to the prediction machine in a time response, the data is regarded as invalid data;
step S3, when the prediction machine obtains the result, it is required to ensure that at least 14 data providers successfully push, otherwise, after waiting for a time response, the next round of data request is carried out again;
step S4, the prediction machine judges the data to be divided into two types, one type is result type data, and the data with the highest ticket obtaining in 21 results is taken as a final result; one is digital data, the data are arranged according to an ascending order, the first and last 3 data are removed, and the rest 15 data are averaged to be regarded as a final result;
step S5, when the result of successful pushing is between 18 and 20, eliminating the top and the last 2 data, eliminating the top and the last 1 data when 14 to 17, and when the result is less than 14, determining that the data request fails, and waiting for the result of the next round;
and step S6, after the prediction machine result is generated, the result is pushed to the network node in a transaction form, and the intelligent contract is executed according to the result.
Specifically, the number of data interfaces in step S1 is 21.
Specifically, one of the time responses of S2 and S3 is 10 minutes.
In the embodiment, the invention aims to write external information into the block chain to complete data intercommunication between the block chain and the real world, allows a determined intelligent contract to react to an uncertain external world, is the only way for data interaction between the intelligent contract and the outside, and is also an interface for data interaction between the block chain and the real world.
In the process of rapid development of the block chain technology, how the block chain is communicated with data of an external network, and the data is ensured to be real and credible, which becomes a big pain point for landing of block chain application.
The invention provides a solution with higher reliability and higher difficulty in association and cooperation of data providers for data acquisition of the external world by a blockchain network, solves the loophole phenomena of network congestion, denial of service attack and the like by taking the Xielin as a design theoretical basis and a Byzantine consensus algorithm, greatly improves the reliability of data, and solves the problem of incredibility of an intelligent contract external network data source from the source.
The invention is applied to a judgment mechanism of financial derivative transaction:
1. the prediction machine can acquire the variation conditions of factors such as interest rate, exchange rate, stock price and the like;
2. intelligent contracts specify that transactions are triggered under certain conditions;
3. compared with a centralized platform, the judgment result of the intelligent contract is more persuasive.
Example 2
Unlike embodiment 1, the present invention is applied to intelligent contract development of insurance agreements:
1. in the insurance agreement, the judgment of claim settlement conditions and amount is one of the main pain points in the industry;
2. the prediction machine can determine the claim amount through a plurality of data sources (arbitration mechanisms) to obtain a more credible result;
3. the characteristics of automatic program execution and non-tampering in the intelligent contract effectively solve the pain point of the compensated person in the insurance dispute case in a passive position due to the delay.
Example 3
Different from the embodiments 1 and 2, the invention is applied to express logistics tracking and result judgment:
1. chaining the receiving and sending information, and converting the express protocol into a corresponding intelligent contract;
2. the intelligent contract collects information fed back by the express tracking site through a prediction machine;
3. according to the contents of the express agreement agreed in advance, the intelligent contract automatically judges the express condition, such as automatic prompt for users when time delay arrives, automatic trigger of various compensation schemes and the like.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (3)
1. A method for implementing a predictive feature on a blockchain, comprising: comprises the following steps of (a) carrying out,
step S1, setting a plurality of data interface providers to provide data service for the prediction machine;
step S2, all data providers have a time response request and push data, and if the data is not pushed to the prediction machine in a time response, the data is regarded as invalid data;
step S3, when the prediction machine obtains the result, it is required to ensure that at least 14 data providers successfully push, otherwise, after waiting for a time response, the next round of data request is carried out again;
step S4, the prediction machine judges the data to be divided into two types, one type is result type data, and the data with the highest ticket obtaining in 21 results is taken as a final result; one is digital data, the data are arranged according to an ascending order, the first and last 3 data are removed, and the rest 15 data are averaged to be regarded as a final result;
step S5, when the result of successful pushing is between 18 and 20, eliminating the top and the last 2 data, eliminating the top and the last 1 data when 14 to 17, and when the result is less than 14, determining that the data request fails, and waiting for the result of the next round;
and step S6, after the prediction machine result is generated, the result is pushed to the network node in a transaction form, and the intelligent contract is executed according to the result.
2. A method for implementing a predictive feature on a blockchain as claimed in claim 1 wherein: the number of data interfaces in step S1 is 21.
3. A method for implementing a predictive feature on a blockchain as claimed in claim 1 wherein: one of the time responses of S2, S3 was 10 minutes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010791026.8A CN112053240A (en) | 2020-08-07 | 2020-08-07 | Method for realizing predictive speech machine function on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010791026.8A CN112053240A (en) | 2020-08-07 | 2020-08-07 | Method for realizing predictive speech machine function on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112053240A true CN112053240A (en) | 2020-12-08 |
Family
ID=73602558
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010791026.8A Pending CN112053240A (en) | 2020-08-07 | 2020-08-07 | Method for realizing predictive speech machine function on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112053240A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113065167A (en) * | 2021-04-06 | 2021-07-02 | 北京瑞卓喜投科技发展有限公司 | Method and device for updating downlink data authorization prediction machine and electronic equipment |
CN113676498A (en) * | 2021-10-25 | 2021-11-19 | 江苏荣泽信息科技股份有限公司 | Prediction machine management system for accessing third-party information based on distributed network technology |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106452785A (en) * | 2016-09-29 | 2017-02-22 | 财付通支付科技有限公司 | Block chain network, branch node and block chain network application method |
CN106682520A (en) * | 2016-11-17 | 2017-05-17 | 精硕科技(北京)股份有限公司 | Data exchange method and system |
CN108280628A (en) * | 2018-02-01 | 2018-07-13 | 泰康保险集团股份有限公司 | Core based on block chain technology pays for method, apparatus, medium and electronic equipment |
CN108492071A (en) * | 2018-03-27 | 2018-09-04 | 深圳市元征科技股份有限公司 | A kind of express delivery information processing method and device based on block chain |
CN108986468A (en) * | 2018-08-01 | 2018-12-11 | 平安科技(深圳)有限公司 | Processing method, device, computer equipment and the computer storage medium of traffic accident |
CN109325830A (en) * | 2018-09-18 | 2019-02-12 | 中国科学院重庆绿色智能技术研究院 | A method of it is established based on block chain technology and abroad buys platform on behalf |
CN109726597A (en) * | 2018-12-29 | 2019-05-07 | 杭州趣链科技有限公司 | Trusted timestamp system based on block chain |
CN110633286A (en) * | 2019-09-29 | 2019-12-31 | 山东爱城市网信息技术有限公司 | Block chain-based time service prediction machine implementation method |
CN111145019A (en) * | 2018-11-05 | 2020-05-12 | 北京彩球世纪科技有限公司 | Method and system for acquiring data outside block chain |
-
2020
- 2020-08-07 CN CN202010791026.8A patent/CN112053240A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106452785A (en) * | 2016-09-29 | 2017-02-22 | 财付通支付科技有限公司 | Block chain network, branch node and block chain network application method |
CN106682520A (en) * | 2016-11-17 | 2017-05-17 | 精硕科技(北京)股份有限公司 | Data exchange method and system |
CN108280628A (en) * | 2018-02-01 | 2018-07-13 | 泰康保险集团股份有限公司 | Core based on block chain technology pays for method, apparatus, medium and electronic equipment |
CN108492071A (en) * | 2018-03-27 | 2018-09-04 | 深圳市元征科技股份有限公司 | A kind of express delivery information processing method and device based on block chain |
CN108986468A (en) * | 2018-08-01 | 2018-12-11 | 平安科技(深圳)有限公司 | Processing method, device, computer equipment and the computer storage medium of traffic accident |
CN109325830A (en) * | 2018-09-18 | 2019-02-12 | 中国科学院重庆绿色智能技术研究院 | A method of it is established based on block chain technology and abroad buys platform on behalf |
CN111145019A (en) * | 2018-11-05 | 2020-05-12 | 北京彩球世纪科技有限公司 | Method and system for acquiring data outside block chain |
CN109726597A (en) * | 2018-12-29 | 2019-05-07 | 杭州趣链科技有限公司 | Trusted timestamp system based on block chain |
CN110633286A (en) * | 2019-09-29 | 2019-12-31 | 山东爱城市网信息技术有限公司 | Block chain-based time service prediction machine implementation method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113065167A (en) * | 2021-04-06 | 2021-07-02 | 北京瑞卓喜投科技发展有限公司 | Method and device for updating downlink data authorization prediction machine and electronic equipment |
CN113676498A (en) * | 2021-10-25 | 2021-11-19 | 江苏荣泽信息科技股份有限公司 | Prediction machine management system for accessing third-party information based on distributed network technology |
CN113676498B (en) * | 2021-10-25 | 2022-02-11 | 江苏荣泽信息科技股份有限公司 | Prediction machine management system for accessing third-party information based on distributed network technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112862612B (en) | Method and device for transmitting resources across chains | |
CN108848119B (en) | Cross-block-chain interaction method, device, system and electronic equipment | |
CN108665372B (en) | Information processing, inquiring and storing method and device based on block chain | |
US10579424B2 (en) | Prioritization in a permissioned blockchain | |
US11251966B2 (en) | Sending cross-chain authenticatable messages | |
TWI658418B (en) | Business implementation method, device and system of financial information exchange (FIX) protocol | |
CN111861482B (en) | Block chain account checking method and system | |
CN110572457B (en) | Resource application method and device based on block chain, electronic equipment and storage medium | |
CN112053240A (en) | Method for realizing predictive speech machine function on block chain | |
CN110597919A (en) | Data management method, device and equipment based on block chain and storage medium | |
CN108416665A (en) | Data interactive method, device, computer equipment and storage medium | |
CN112613877A (en) | Intelligent contract triggering method and device applied to block chain network and related equipment | |
CN110400217A (en) | The regular changing process method and device of intelligent contract | |
CN110287266A (en) | A kind of distributed system and data processing method | |
CN109117609A (en) | A kind of request hold-up interception method and device | |
CN111506932A (en) | Block chain calculation uplink implementation method | |
CN114567643A (en) | Cross-block-chain data transfer method, device and related equipment | |
CN111861481A (en) | Block chain account checking method and system | |
CN111145019A (en) | Method and system for acquiring data outside block chain | |
CN112269838B (en) | Blockchain-based supervision method and device, electronic equipment and storage medium | |
US20230259930A1 (en) | Cross-chain transaction processing method and apparatus, electronic device, and storage medium | |
KR102107454B1 (en) | System for multiplication of financial payment networks, method for financial services using the same and computer program for the same | |
CN108737133A (en) | Method and device for CDN static network reparations | |
CN110336847A (en) | Pay message transfer system and method | |
CN111222991A (en) | Method and system for crossing chains between block chains |
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 |