CN113052697A - Reliability-based cross-chain task execution method and device and electronic equipment - Google Patents

Reliability-based cross-chain task execution method and device and electronic equipment Download PDF

Info

Publication number
CN113052697A
CN113052697A CN202110262528.6A CN202110262528A CN113052697A CN 113052697 A CN113052697 A CN 113052697A CN 202110262528 A CN202110262528 A CN 202110262528A CN 113052697 A CN113052697 A CN 113052697A
Authority
CN
China
Prior art keywords
data
chain
cross
reliability
sub
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.)
Granted
Application number
CN202110262528.6A
Other languages
Chinese (zh)
Other versions
CN113052697B (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.)
Congfa Information Technology Co ltd
Original Assignee
Congfa Information 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 Congfa Information Technology Co ltd filed Critical Congfa Information Technology Co ltd
Priority to CN202110262528.6A priority Critical patent/CN113052697B/en
Publication of CN113052697A publication Critical patent/CN113052697A/en
Application granted granted Critical
Publication of CN113052697B publication Critical patent/CN113052697B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the specification provides a reliability-based cross-link task execution method, which includes the steps of providing a cross-link interface, enabling a main chain to be in butt joint with a sub-chain through the cross-link interface, obtaining stability index class data, data quantity index class data, block falling effect data of the sub-chain, static reliability indexes and feedback data provided by a third party when the main chain executes a cross-link task, evaluating reliability data of the sub-chain by combining the stability index class data, the data quantity index class data, the block falling effect data of the sub-chain, the static reliability indexes and the feedback data provided by the third party, and executing the cross-link task based on the reliability data of the sub-chain. According to the method, the accuracy of reliability evaluation on the sub-chain is improved by considering stability index data, data quantity index data, block falling effect data, static reliability index provided by a third party and feedback data, and the reliability of executing the cross-chain task is improved by executing the cross-chain task based on the reliability data.

Description

Reliability-based cross-chain task execution method and device and electronic equipment
Technical Field
The application relates to the field of internet, in particular to a reliability-based cross-chain task execution method and device and electronic equipment.
Background
At present, with the development of blockchain system services, more blockchain systems are developed, most services are still implemented in their own blockchain systems when performing tasks, and although some cross-chain systems exist, because the butted blockchain systems do not participate in voting, mutual trust and reliability are difficult to be realized, and the cross-chain systems are difficult to be applied.
Therefore, it is necessary to provide a task execution method with high reliability.
Disclosure of Invention
The embodiment of the specification provides a reliability-based cross-chain task execution method and device and electronic equipment, and is used for improving the reliability of a cross-chain system execution service.
An embodiment of the present specification provides a reliability-based cross-chain task execution method, including:
providing a cross-link interface, and butting the main chain with the sub-chain through the cross-link interface;
when a main chain executes a cross-link task, acquiring stability index class data, data quantity index class data, block falling effect data of a sub-chain, and static reliability indexes and feedback data provided by a third party;
evaluating the reliability data of the subchain by combining the stability index class data, the data volume index class data, the block falling effect data, the static reliability index provided by a third party and the feedback data of the subchain;
performing a cross-chain task based on the confidence data of the child chain.
Optionally, the feedback data is reliability feedback data of the main chain user on the child chain.
Optionally, the performing a cross-chain task based on the confidence data of the child chain includes:
and judging whether the child chain reliability data meet a preset judgment rule or not, and if so, executing a notarization task by using the data provided by the child chain.
Optionally, the executing a notarization task by using the data provided by the child chain includes:
and carrying out notarization judgment by utilizing the pre-notarization result data provided by the sub-chain.
Optionally, the method further comprises:
generating a random factor, determining a random supervision time according to the factor, acquiring credibility data of the adjacent time at the random supervision time, and performing risk identification and prompting.
Optionally, the stability index class data, the data volume index class data, and the block falling effect data are dynamic data periodically collected and calculated according to a preset period.
Optionally, the feedback data further includes credibility feedback data of the third party child chain to the current child chain.
Optionally, the method further comprises:
and sending a plurality of random numbers to the sub-chain in each period according to a preset period, storing the random numbers in the sub-chain, and recording the block dropping rate, wherein the block dropping effect data is fluctuation data of the block dropping rate.
An embodiment of the present specification further provides a reliability-based cross-chain task execution device, including:
the docking module provides a cross-chain interface and docks the main chain with the sub-chain through the cross-chain interface;
the data acquisition module is used for acquiring stability index class data, data quantity index class data, block falling effect data, static credibility indexes and feedback data provided by a third party of the sub-chain when the main chain executes a cross-chain task;
the weighing module is used for evaluating the reliability data of the subchain by combining the stability index class data, the data volume index class data, the block falling effect data, the static reliability index provided by a third party and the feedback data of the subchain;
and the task module executes a cross-chain task based on the credibility data of the sub-chain.
Optionally, the feedback data is reliability feedback data of the main chain user on the child chain.
Optionally, the performing a cross-chain task based on the confidence data of the child chain includes:
and judging whether the child chain reliability data meet a preset judgment rule or not, and if so, executing a notarization task by using the data provided by the child chain.
Optionally, the executing a notarization task by using the data provided by the child chain includes:
and carrying out notarization judgment by utilizing the pre-notarization result data provided by the sub-chain.
Optionally, the method further comprises:
generating a random factor, determining a random supervision time according to the factor, acquiring credibility data of the adjacent time at the random supervision time, and performing risk identification and prompting.
Optionally, the stability index class data, the data volume index class data, and the block falling effect data are dynamic data periodically collected and calculated according to a preset period.
Optionally, the feedback data further includes credibility feedback data of the third party child chain to the current child chain.
Optionally, the method further comprises:
and sending a plurality of random numbers to the sub-chain in each period according to a preset period, storing the random numbers in the sub-chain, and recording the block dropping rate, wherein the block dropping effect data is fluctuation data of the block dropping rate.
An embodiment of the present specification further provides an electronic device, where the electronic device includes:
a processor; and the number of the first and second groups,
a memory storing computer-executable instructions that, when executed, cause the processor to perform any of the methods described above.
The present specification also provides a computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement any of the above methods.
In various technical solutions provided in the embodiments of the present description, a chain crossing interface is provided, a main chain is in butt joint with a sub-chain through the chain crossing interface, when the main chain executes a chain crossing task, the main chain acquires stability index class data, data amount index class data, block falling effect data, a static reliability index and feedback data provided by a third party, the reliability data of the sub-chain is evaluated by combining the stability index class data, the data amount index class data, the block falling effect data, the static reliability index and the feedback data provided by the third party, and the chain crossing task is executed based on the reliability data of the sub-chain. According to the method, the accuracy of reliability evaluation on the sub-chain is improved by considering stability index data, data quantity index data, block falling effect data, static reliability index provided by a third party and feedback data, and the reliability of executing the cross-chain task is improved by executing the cross-chain task based on the reliability data.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic diagram illustrating a trust-based method for performing a cross-chain task according to an embodiment of the present disclosure;
FIG. 2 is a schematic structural diagram of a cross-chain task execution device based on trust provided in an embodiment of the present specification;
fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a computer-readable medium provided in an embodiment of the present specification.
Detailed Description
Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. The exemplary embodiments, however, may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art. The same reference numerals denote the same or similar elements, components, or parts in the drawings, and thus their repetitive description will be omitted.
Features, structures, characteristics or other details described in a particular embodiment do not preclude the fact that the features, structures, characteristics or other details may be combined in a suitable manner in one or more other embodiments in accordance with the technical idea of the invention.
In describing particular embodiments, the present invention has been described with reference to features, structures, characteristics or other details that are within the purview of one skilled in the art to provide a thorough understanding of the embodiments. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific features, structures, characteristics, or other details.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The term "and/or" and/or "includes all combinations of any one or more of the associated listed items.
Fig. 1 is a schematic diagram of a principle of a reliability-based cross-chain task execution method provided by an embodiment of the present specification, where the method may include:
s101: and providing a cross-chain interface, and butting the main chain with the sub-chain through the cross-chain interface.
In an actual scenario, the main chain and the sub-chain may be block chains constructed by judicial organizations in different areas, and as there is often handover or cooperation of judicial services between different areas, a demand for cross-chain services may arise.
The main chain is a block chain for acquiring data, the sub-chain is a block chain for providing data, and the identities of the main chain and the sub-chain can be changed along with the change of the data sending direction, which is not limited herein.
In a specific application, the main chain is a block chain for acquiring the judicial service data, and the sub-chain is a block chain for transferring the judicial service data to the main chain.
The judicial business can comprise a judicial link and a pre-judicial link, such as a notary link, and the judicial business data is considered as long as the judicial link can be used.
In one application, the judicial business data is notarization data, and can comprise notarized content and notarization results.
Of course, it is also possible that a plurality of sub-chains are connected to one blockchain, and then the blockchain having interfaces with the plurality of sub-chains is the main chain.
S102: when the main chain executes a cross-link task, the stability index class data, the data volume index class data, the block falling effect data of the sub-chain, and the static reliability index and the feedback data provided by a third party are acquired.
In the embodiment of the present specification, the stability index class data, the data amount index class data, and the block falling effect data are dynamic data that are collected and calculated periodically according to a preset period.
In this embodiment, the feedback data may be reliability feedback data of the main chain user on the child chain.
In this embodiment, the feedback data may further include credibility feedback data of the third-party child chain on the current child chain.
In the embodiment of this specification, still include:
and sending a plurality of random numbers to the sub-chain in each period according to a preset period, storing the random numbers in the sub-chain, and recording the block dropping rate, wherein the block dropping effect data is fluctuation data of the block dropping rate.
S103: and evaluating the reliability data of the sub-chains by combining the stability index class data, the data volume index class data, the block falling effect data, the static reliability index provided by a third party and the feedback data of the sub-chains.
In the examples of the present specification, the confidence Θ ═ ii (P + V + C) + M-R;
wherein the content of the first and second substances,
Figure BDA0002969205000000061
Figure BDA0002969205000000062
TPS is the number of transactions per second, CTPS is the number of confirmation transactions per second,
Figure BDA0002969205000000063
the up _ time is the running time of the child chain, which is the average confirmation time of the transaction;
Figure BDA0002969205000000064
Figure BDA0002969205000000065
structure _ Data is the total amount of structured Data, File _ Data is the total amount of unstructured Data,
Figure BDA0002969205000000066
for each transaction, the maximum byte size, block _ max _ size, is the byte size of each block; where a + b + c + d is 100, a factor;
Figure BDA0002969205000000067
Citime spent in landings;
Figure BDA0002969205000000068
100=∑k;mia static credibility index provided for the ith third party;
Figure BDA0002969205000000069
rifeedback data fed back for each user.
S104: performing a cross-chain task based on the confidence data of the child chain.
Providing a cross-link interface, butting a main chain with a sub-chain through the cross-link interface, acquiring stability index class data, data quantity index class data, block falling effect data of the sub-chain and static reliability index and feedback data provided by a third party when the main chain executes a cross-link task, evaluating the reliability data of the sub-chain by combining the stability index class data, the data quantity index class data, the block falling effect data of the sub-chain and the static reliability index and feedback data provided by the third party, and executing the cross-link task based on the reliability data of the sub-chain. According to the method, the accuracy of reliability evaluation on the sub-chain is improved by considering stability index data, data quantity index data, block falling effect data, static reliability index provided by a third party and feedback data, and the reliability of executing the cross-chain task is improved by executing the cross-chain task based on the reliability data.
In an embodiment of the present specification, the performing a cross-chain task based on the confidence data of the child chain includes:
and judging whether the child chain reliability data meet a preset judgment rule or not, and if so, executing a notarization task by using the data provided by the child chain.
In an embodiment of this specification, the executing a notarization task by using the data provided by the sub-chain includes:
and carrying out notarization judgment by utilizing the pre-notarization result data provided by the sub-chain.
In an embodiment of the present specification, the method may further include:
generating a random factor, determining a random supervision time according to the factor, acquiring credibility data of the adjacent time at the random supervision time, and performing risk identification and prompting.
In an embodiment of the present specification, the method may further include: the trustworthiness of the data provided by the child chain is verified.
Fig. 2 is a schematic structural diagram of a trust-based cross-chain task execution device according to an embodiment of the present specification, where the device may include:
the docking module 201 provides a cross-chain interface, and docks the main chain with the sub-chain through the cross-chain interface;
the data acquisition module 202 is used for acquiring stability index class data, data quantity index class data, block falling effect data, static reliability index provided by a third party and feedback data of the sub-chain when the main chain executes a cross-chain task;
the weighing module 203 evaluates the reliability data of the subchain by combining the stability index class data, the data volume index class data, the block falling effect data, the static reliability index provided by a third party and the feedback data of the subchain;
a task module 204, which executes a cross-chain task based on the confidence data of the child chain.
In an embodiment of the present specification, the feedback data is reliability feedback data of the main chain user on the child chain.
In an embodiment of the present specification, the performing a cross-chain task based on the confidence data of the child chain includes:
and judging whether the child chain reliability data meet a preset judgment rule or not, and if so, executing a notarization task by using the data provided by the child chain.
In an embodiment of this specification, the executing a notarization task by using the data provided by the sub-chain includes:
and carrying out notarization judgment by utilizing the pre-notarization result data provided by the sub-chain.
In the embodiment of this specification, still include:
generating a random factor, determining a random supervision time according to the factor, acquiring credibility data of the adjacent time at the random supervision time, and performing risk identification and prompting.
In the embodiment of the present specification, the stability index class data, the data amount index class data, and the block falling effect data are dynamic data that are collected and calculated periodically according to a preset period.
In an embodiment of the present specification, the feedback data further includes credibility feedback data of the third-party child chain on the current child chain.
In the embodiment of this specification, still include:
and sending a plurality of random numbers to the sub-chain in each period according to a preset period, storing the random numbers in the sub-chain, and recording the block dropping rate, wherein the block dropping effect data is fluctuation data of the block dropping rate.
In the examples of the present specification, the confidence Θ ═ ii (P + V + C) + M-R;
wherein the content of the first and second substances,
Figure BDA0002969205000000081
Figure BDA0002969205000000082
TPS is the number of transactions per second, CTPS is the number of confirmation transactions per second,
Figure BDA0002969205000000083
the up _ time is the running time of the child chain, which is the average confirmation time of the transaction;
Figure BDA0002969205000000084
Figure BDA0002969205000000085
structure _ Data is the total amount of structured Data, File _ Data is the total amount of unstructured Data,
Figure BDA0002969205000000086
for each transaction, the maximum byte size, block _ max _ size, is the byte size of each block; where a + b + c + d is 100, a factor;
Figure BDA0002969205000000091
Citime spent in landings;
Figure BDA0002969205000000092
100=∑k;mia static credibility index provided for the ith third party;
Figure BDA0002969205000000093
rifeedback data fed back for each user.
The device provides a cross-link interface, a main chain is in butt joint with the sub-chain through the cross-link interface, when the main chain executes a cross-link task, stability index class data, data quantity index class data, block falling effect data, static reliability index and feedback data provided by a third party of the sub-chain are obtained, the reliability data of the sub-chain are evaluated by combining the stability index class data, the data quantity index class data, the block falling effect data, the static reliability index and the feedback data provided by the third party of the sub-chain, and the cross-link task is executed based on the reliability data of the sub-chain. According to the method, the accuracy of reliability evaluation on the sub-chain is improved by considering stability index data, data quantity index data, block falling effect data, static reliability index provided by a third party and feedback data, and the reliability of executing the cross-chain task is improved by executing the cross-chain task based on the reliability data.
Based on the same inventive concept, the embodiment of the specification further provides the electronic equipment.
In the following, embodiments of the electronic device of the present invention are described, which may be regarded as specific physical implementations for the above-described embodiments of the method and apparatus of the present invention. Details described in the embodiments of the electronic device of the invention should be considered supplementary to the embodiments of the method or apparatus described above; for details which are not disclosed in embodiments of the electronic device of the invention, reference may be made to the above-described embodiments of the method or the apparatus.
Fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure. An electronic device 300 according to this embodiment of the invention is described below with reference to fig. 3. The electronic device 300 shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 3, electronic device 300 is embodied in the form of a general purpose computing device. The components of electronic device 300 may include, but are not limited to: at least one processing unit 310, at least one memory unit 320, a bus 330 connecting the various system components (including the memory unit 320 and the processing unit 310), a display unit 340, and the like.
Wherein the storage unit stores program code executable by the processing unit 310 to cause the processing unit 310 to perform the steps according to various exemplary embodiments of the present invention described in the above-mentioned processing method section of the present specification. For example, the processing unit 310 may perform the steps as shown in fig. 1.
The storage unit 320 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)3201 and/or a cache storage unit 3202, and may further include a read only memory unit (ROM) 3203.
The storage unit 320 may also include a program/utility 3204 having a set (at least one) of program modules 3205, such program modules 3205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 330 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 300 may also communicate with one or more external devices 400 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 300, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 300 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 350. Also, the electronic device 300 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 360. Network adapter 360 may communicate with other modules of electronic device 300 via bus 330. It should be appreciated that although not shown in FIG. 3, other hardware and/or software modules may be used in conjunction with electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments of the present invention described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a computing device (which can be a personal computer, a server, or a network device, etc.) execute the above-mentioned method according to the present invention. The computer program, when executed by a data processing apparatus, enables the computer readable medium to implement the above-described method of the invention, namely: such as the method shown in fig. 1.
Fig. 4 is a schematic diagram of a computer-readable medium provided in an embodiment of the present specification.
A computer program implementing the method shown in fig. 1 may be stored on one or more computer readable media. The computer readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In summary, the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functionality of some or all of the components in embodiments in accordance with the invention may be implemented in practice using a general purpose data processing device such as a microprocessor or a Digital Signal Processor (DSP). The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
While the foregoing embodiments have described the objects, aspects and advantages of the present invention in further detail, it should be understood that the present invention is not inherently related to any particular computer, virtual machine or electronic device, and various general-purpose machines may be used to implement the present invention. The invention is not to be considered as limited to the specific embodiments thereof, but is to be understood as being modified in all respects, all changes and equivalents that come within the spirit and scope of the invention.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (11)

1. A reliability-based cross-chain task execution method is characterized by comprising the following steps:
providing a cross-link interface, and butting the main chain with the sub-chain through the cross-link interface;
when a main chain executes a cross-link task, acquiring stability index class data, data quantity index class data, block falling effect data of a sub-chain, and static reliability indexes and feedback data provided by a third party;
evaluating the reliability data of the subchain by combining the stability index class data, the data volume index class data, the block falling effect data, the static reliability index provided by a third party and the feedback data of the subchain;
performing a cross-chain task based on the confidence data of the child chain.
2. The method of claim 1, wherein the feedback data is reliability feedback data of the child chain from a main chain user.
3. The method of any of claims 1-2, wherein performing the cross-chain task based on the confidence data of the child chain comprises:
and judging whether the child chain reliability data meet a preset judgment rule or not, and if so, executing a notarization task by using the data provided by the child chain.
4. The method of claim 3, wherein performing a notarization task using the data provided by the child chain comprises:
and carrying out notarization judgment by utilizing the pre-notarization result data provided by the sub-chain.
5. The method of claim 1, further comprising:
generating a random factor, determining a random supervision time according to the factor, acquiring credibility data of the adjacent time at the random supervision time, and performing risk identification and prompting.
6. The method of claim 1, wherein the stability index class data, the data volume index class data, and the landing effect data are dynamic data collected and calculated periodically according to a preset period.
7. The method of claim 1, wherein the feedback data further comprises third party child chain trustworthiness feedback data for the current child chain.
8. The method of claim 1, further comprising:
and sending a plurality of random numbers to the sub-chain in each period according to a preset period, storing the random numbers in the sub-chain, and recording the block dropping rate, wherein the block dropping effect data is fluctuation data of the block dropping rate.
9. A trust-based cross-chain task execution apparatus, comprising:
the docking module provides a cross-chain interface and docks the main chain with the sub-chain through the cross-chain interface;
the data acquisition module is used for acquiring stability index class data, data quantity index class data, block falling effect data, static credibility indexes and feedback data provided by a third party of the sub-chain when the main chain executes a cross-chain task;
the weighing module is used for evaluating the reliability data of the subchain by combining the stability index class data, the data volume index class data, the block falling effect data, the static reliability index provided by a third party and the feedback data of the subchain;
and the task module executes a cross-chain task based on the credibility data of the sub-chain.
10. An electronic device, wherein the electronic device comprises:
a processor; and the number of the first and second groups,
a memory storing computer-executable instructions that, when executed, cause the processor to perform the method of any of claims 1-8.
11. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of claims 1-8.
CN202110262528.6A 2021-03-10 2021-03-10 Credibility-based cross-chain task execution method and device and electronic equipment Active CN113052697B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110262528.6A CN113052697B (en) 2021-03-10 2021-03-10 Credibility-based cross-chain task execution method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110262528.6A CN113052697B (en) 2021-03-10 2021-03-10 Credibility-based cross-chain task execution method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113052697A true CN113052697A (en) 2021-06-29
CN113052697B CN113052697B (en) 2023-08-01

Family

ID=76511273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110262528.6A Active CN113052697B (en) 2021-03-10 2021-03-10 Credibility-based cross-chain task execution method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113052697B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109325870A (en) * 2018-10-10 2019-02-12 上海保险交易所股份有限公司 The method and system of shared private data
US20190279206A1 (en) * 2018-12-13 2019-09-12 Alibaba Group Holding Limited Off-chain smart contract service based on trusted execution environment
CN110310204A (en) * 2019-06-21 2019-10-08 成都积微物联集团股份有限公司 Based on the financing by accounts receivable management system and method for block chain in supply chain industry
CN110557420A (en) * 2018-06-01 2019-12-10 厦门本能管家科技有限公司 operation method and system of independent sub-chains
CN111181968A (en) * 2019-12-30 2020-05-19 北京金山云网络技术有限公司 Cross-block chain communication method and device, cross-chain service system and cross-chain transaction system
CN111431903A (en) * 2020-03-25 2020-07-17 北京创世智链信息技术研究院 Cross-link relay method, device and computer readable storage medium
CN111507694A (en) * 2020-04-17 2020-08-07 上海哈世科技有限公司 Block chain cross-chain interaction method and system
CN112416263A (en) * 2020-12-10 2021-02-26 从法信息科技有限公司 Space-time certification blocking storage method and device based on random verification and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557420A (en) * 2018-06-01 2019-12-10 厦门本能管家科技有限公司 operation method and system of independent sub-chains
CN109325870A (en) * 2018-10-10 2019-02-12 上海保险交易所股份有限公司 The method and system of shared private data
US20190279206A1 (en) * 2018-12-13 2019-09-12 Alibaba Group Holding Limited Off-chain smart contract service based on trusted execution environment
CN110310204A (en) * 2019-06-21 2019-10-08 成都积微物联集团股份有限公司 Based on the financing by accounts receivable management system and method for block chain in supply chain industry
CN111181968A (en) * 2019-12-30 2020-05-19 北京金山云网络技术有限公司 Cross-block chain communication method and device, cross-chain service system and cross-chain transaction system
CN111431903A (en) * 2020-03-25 2020-07-17 北京创世智链信息技术研究院 Cross-link relay method, device and computer readable storage medium
CN111507694A (en) * 2020-04-17 2020-08-07 上海哈世科技有限公司 Block chain cross-chain interaction method and system
CN112416263A (en) * 2020-12-10 2021-02-26 从法信息科技有限公司 Space-time certification blocking storage method and device based on random verification and electronic equipment

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
ZHANG J, ZHAI J, YANG R, ET AL.: "Research on Enterprise DNS Security Scheme Based on Blockchain Technology", 《INTERNATIONAL CONFERENCE ON BLOCKCHAIN AND TRUSTWORTHY SYSTEMS》 *
ZHANG J, ZHAI J, YANG R, ET AL.: "Research on Enterprise DNS Security Scheme Based on Blockchain Technology", 《INTERNATIONAL CONFERENCE ON BLOCKCHAIN AND TRUSTWORTHY SYSTEMS》, 31 December 2019 (2019-12-31) *
朱志强: "基于区块链的档案数据共享可信度机制构建", 《黑龙江档案》 *
朱志强: "基于区块链的档案数据共享可信度机制构建", 《黑龙江档案》, 30 April 2020 (2020-04-30) *

Also Published As

Publication number Publication date
CN113052697B (en) 2023-08-01

Similar Documents

Publication Publication Date Title
US20200117427A1 (en) Relevance of a source code change to compliance requirements
US20160360009A1 (en) Method for providing software as a service
US9269076B2 (en) Techniques to facilitate collaborative social coding
US10977156B2 (en) Linking source code with compliance requirements
CN113312341B (en) Data quality monitoring method, system and computer equipment
US20100281241A1 (en) Method and system for synchronizing inclusive decision branches
CN114556297A (en) Controlling interaction with scalable applications
US20150254701A1 (en) Bundling Application Programming Interfaces
US9575799B2 (en) Task association analysis in application maintenance service delivery
CN113609008A (en) Test result analysis method and device and electronic equipment
CN111681094B (en) Method and device for monitoring resource policy abnormality and electronic equipment
CN112232856A (en) Traffic processing method and device based on diversion and electronic equipment
CN113052697A (en) Reliability-based cross-chain task execution method and device and electronic equipment
Pane et al. Mapping log data activity using heuristic miner algorithm in manufacture and logistics company
US20200285530A1 (en) Middleware in web framework
CN111681093B (en) Method and device for displaying resource page and electronic equipment
CN114565158A (en) Data prediction method and device, electronic equipment and storage medium
US11119898B1 (en) Automatic code coverage file recommendation
CN110674491B (en) Method and device for real-time evidence obtaining of android application and electronic equipment
CN109377378B (en) Industry relevancy risk determination device and system
CN104011718A (en) Method, computer program, and computer for detecting trends in social medium
CN113689296A (en) Contract scheduling method and device for asynchronous trusted computing and electronic equipment
CN112328473A (en) Code automation integration test method and device and electronic equipment
US20220382875A1 (en) Trusted Repository Review
CN114969059B (en) Method and device for generating order information, electronic equipment and storage medium

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