CN112671689B - Data uplink method, device, electronic equipment and computer storage medium - Google Patents

Data uplink method, device, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN112671689B
CN112671689B CN201910976913.XA CN201910976913A CN112671689B CN 112671689 B CN112671689 B CN 112671689B CN 201910976913 A CN201910976913 A CN 201910976913A CN 112671689 B CN112671689 B CN 112671689B
Authority
CN
China
Prior art keywords
data
uplink
target
candidate
directional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910976913.XA
Other languages
Chinese (zh)
Other versions
CN112671689A (en
Inventor
李博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xintang Sichuang Educational Technology Co Ltd
Original Assignee
Beijing Xintang Sichuang Educational Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xintang Sichuang Educational Technology Co Ltd filed Critical Beijing Xintang Sichuang Educational Technology Co Ltd
Priority to CN201910976913.XA priority Critical patent/CN112671689B/en
Publication of CN112671689A publication Critical patent/CN112671689A/en
Application granted granted Critical
Publication of CN112671689B publication Critical patent/CN112671689B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the application provides a data uplink method, a device and a computer storage medium, wherein the data uplink method comprises the following steps: receiving at least one piece of orientation data transmitted by at least one target block chain node, wherein the at least one piece of orientation data comprises data related to at least one candidate data, and one target block chain node corresponds to one piece of orientation data; determining a consensus result of at least one blockchain node according to at least one piece of directional data transmitted by at least one target blockchain node; and taking the candidate data matched with the identification result in the at least one candidate data as the data to be uplink for uplink. Because the data to be uplink is approved by at least one target node, the source of the data to be uplink is ensured to be real and effective, and the confidence of block chain data storage is improved.

Description

Data uplink method, device, electronic equipment and computer storage medium
Technical Field
The present invention relates to the field of block chain technologies, and in particular, to a data chaining method, apparatus, and computer storage medium.
Background
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, encryption algorithm and the like. After a certain node in the block chain links data, other nodes can also store the data, so that distributed data storage is realized. The blockchain is widely applied to the field of information technology because distributed storage makes data on the chain difficult to be tampered. Although data on the chain is difficult to be tampered, if data to be uplinked is not truly valid in the process of implementing data uplink in the blockchain, the data to be uplinked is stored on the blockchain with the difficulty of being tampered with, and the confidence of data storage of the blockchain is reduced.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a data uplink method, apparatus and computer storage medium for overcoming the above-mentioned drawbacks.
In a first aspect, an embodiment of the present application provides a data uplink method, where the method includes:
receiving at least one piece of orientation data transmitted by at least one target block link node, wherein the at least one piece of orientation data comprises data related to at least one candidate data, and one target block link node corresponds to one piece of orientation data;
determining a consensus result of at least one blockchain node according to at least one piece of directional data transmitted by at least one target blockchain node;
and taking the candidate data matched with the common identification result in the at least one candidate data as the data to be uplink transmitted for uplink transmission.
Optionally, in an embodiment of the present application, at least one piece of orientation data is used to indicate a response to the question to be verified, and the method further includes:
determining at least one target blockchain node related to at least one candidate data in at least one blockchain node according to a preset rule;
and sending a problem to be verified to at least one target block link point.
Optionally, in an embodiment of the present application, the receiving at least one piece of directional data transmitted by at least one target blockchain node includes:
receiving at least one data transmitted by at least one block chain node, wherein one block chain node corresponds to one data; determining a data tag of each of the at least one data; and determining the data of which the data label is matched with the problem to be verified as the directional data.
Optionally, in an embodiment of the present application, determining a consensus result of at least one blockchain node according to at least one directional data transmitted by at least one target blockchain node includes:
determining a confidence level of each candidate data in the at least one candidate data according to the at least one orientation data; and determining the candidate data with the confidence coefficient within a preset range as the data to be uplink.
Optionally, in an embodiment of the present application, determining a consensus result of at least one blockchain node according to at least one directional data transmitted by at least one target blockchain node includes:
and determining the target candidate data as the data to be uplink transmitted when the directional data larger than or equal to the preset number in the at least one directional data indicate that the target candidate data accords with the uplink transmission condition, wherein the target candidate data belongs to the at least one candidate data.
In a second aspect, an embodiment of the present application provides a data uplink apparatus, including: the device comprises a receiving module, a common identification module and an uplink module;
the receiving module is used for receiving at least one piece of directional data transmitted by at least one target block chain node, wherein the at least one piece of directional data comprises data related to at least one candidate data, and one target block chain node corresponds to one piece of directional data;
the consensus module is used for determining a consensus result of at least one block chain node according to at least one piece of directional data transmitted by at least one target block chain node;
and the uplink module is used for taking the candidate data matched with the common identification result in the at least one candidate data as the data to be uplink transmitted.
Optionally, in an embodiment of the present application, the at least one piece of directional data is used to indicate a response to the question to be verified, and the data uplink apparatus further includes a sending module;
a sending module, configured to determine, according to a preset rule, at least one target blockchain node related to at least one candidate data in at least one blockchain node; and sending a problem to be verified to at least one target block link point.
Optionally, in an embodiment of the present application, the receiving module is further configured to receive at least one data transmitted by at least one block link point, where one block link point corresponds to one data; determining a data tag of each of the at least one data; and determining the data of the data label matched with the problem to be verified as the directional data.
Optionally, in an embodiment of the present application, the consensus module is further configured to determine a confidence of each candidate data of the at least one candidate data according to the at least one orientation data; and determining the candidate data with the confidence coefficient within a preset range as the data to be uplink.
Optionally, in an embodiment of the application, the consensus module is further configured to determine the target candidate data as the data to be uplink transmitted when, in the at least one piece of directional data, the directional data greater than or equal to the preset number indicates that the target candidate data meets the uplink condition, where the target candidate data belongs to the at least one piece of candidate data.
In a third aspect, an embodiment of the present application provides an electronic device, where the electronic device includes: at least one processor, a memory, a bus, and a communication interface; the processor, the communication interface and the memory complete mutual communication through a bus;
a communication interface for communicating with other devices;
the memory stores a computer program that, when executed by the at least one processor, implements a data uplink method as described in the first aspect or any one of the embodiments of the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement a data uplink method as described in the first aspect or any one of the embodiments of the first aspect.
In the embodiment of the application, a consensus result of at least one block chain node is determined according to at least one piece of directional data transmitted by at least one target block chain node; and taking the candidate data matched with the identification result in the at least one candidate data as the data to be uplink for uplink. In the embodiment of the present application, first, the directional data is data set for a certain problem or a certain range, and not only is the initial screening performed on the data to be uplink, but also the evaluation on whether the data to be uplink can be uplink is more accurate. Secondly, the data to be uplink is determined according to a consensus result of at least one target node, and the consensus result ensures that the data to be uplink is approved directional data, and data irrelevant to the directional data cannot be approved and further cannot be uplink, so that the source of the data to be uplink is ensured to be real and effective, and the confidence coefficient of block chain data storage is improved.
Drawings
Some specific embodiments of the present application will be described in detail hereinafter by way of illustration and not limitation with reference to the accompanying drawings. The same reference numbers in the drawings identify the same or similar elements or components. Those skilled in the art will appreciate that the drawings are not necessarily drawn to scale. In the drawings:
fig. 1 is a flowchart of a data uplink method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a block chain system according to an embodiment of the present application;
fig. 3 is a block diagram of a data uplink apparatus according to an embodiment of the present application;
fig. 4 is a structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following further describes specific implementation of the embodiments of the present invention with reference to the drawings.
Example one
An embodiment of the present application provides a data uplink method, as shown in fig. 1, fig. 1 is a flowchart of the data uplink method provided in the embodiment of the present application. The data uplink method comprises the following steps:
step 101, at least one directional data transmitted by at least one target block chain node is received.
In the present application, the data uplink method can be applied to a data uplink device, which can be a blockchain node, and the target blockchain node refers to a blockchain node that transmits directional data to the data uplink device. The directional data is data set for a problem or a range, for example, at least one directional data includes data related to at least one candidate data, and one target block link point corresponds to one directional data, which is data sent to the data uplink device.
For example, the orientation data of a target blockchain node may indicate a determination that the target blockchain node is valid for at least one candidate data source; also, for example, the targeting data of a target blockchain node may indicate a result of the determination of the validity of at least one candidate data content by the target blockchain node. Of course, this is merely an example and does not represent a limitation of the present application.
Optionally, in an embodiment of the present application, at least one piece of directional data is used to indicate a response to the question to be verified, and two specific examples are listed here to illustrate how the uplink data receives the directional data, which is, of course, only an exemplary illustration and does not represent that the present application is limited thereto.
Optionally, in the first example, the method further comprises:
determining at least one target blockchain node related to at least one candidate data in at least one blockchain node according to a preset rule; and sending a problem to be verified to at least one target block link point.
In the first example, since the uplink data device sends the target blk node a pending verification problem, it receives a reply to the pending verification problem from the target blk node, and the targeting is stronger.
Optionally, in a second example, receiving at least one directional data transmitted by at least one target blockchain node includes:
receiving at least one data transmitted by at least one block chain node, wherein one block chain node corresponds to one data; determining a data tag of each of the at least one data; and determining the data of which the data label is matched with the problem to be verified as the directional data.
In a second example, the data tag may be used to indicate whether a data is a reply to the problem to be verified, the data uplink data receives at least one data transmitted by at least one blockchain node, the data uplink data determines which data is a reply to the problem to be verified according to the data tag carried on each data, and determines the data belonging to the reply to the problem to be verified as the directional data.
Step 102, determining a consensus result of at least one blockchain node according to at least one piece of directional data transmitted by at least one target blockchain node.
There are many ways to determine the consensus result, which may vary according to the content contained in the orientation data, and two specific examples are presented here for illustration:
optionally, in a first example, determining a consensus result of at least one blockchain node according to at least one directional data transmitted by at least one target blockchain node includes:
determining a confidence level of each candidate data in the at least one candidate data according to the at least one orientation data; and determining the candidate data with the confidence coefficient within a preset range as the data to be uplink.
For example, each target block node determines the source validity of at least one candidate data, and the data uplink apparatus determines the confidence level of the candidate data according to the determination result of the source validity of each target block node for one candidate data, so that each candidate data determines a confidence level, the common determination result may include the confidence level of each candidate data, and the candidate data with the confidence level within a predetermined range may be determined as the data to be uplink. For example, the confidence may be an integer within [0,10], the preset range may be [6,10], or the preset range may be [6,8], which is only exemplary and not meant to limit the present application.
Optionally, in a second example, determining a consensus result of at least one blockchain node according to at least one directional data transmitted by at least one target blockchain node includes:
and determining the target candidate data as the data to be uplink transmitted when the directional data larger than or equal to the preset number in the at least one directional data indicate that the target candidate data accords with the uplink transmission condition, wherein the target candidate data belongs to the at least one candidate data.
For example, each target block link node determines the source validity of at least one candidate data, and the determination result is valid or invalid, and for a candidate data, if the source of the candidate data is determined to be valid by more than or equal to a predetermined number of target block link nodes, and the common identification result may indicate whether the source of each candidate data is valid, the candidate data is determined to be the data to be uplink. If the number of target blockchain nodes is n, the preset number may be
Figure BDA0002233938660000051
Meaning taking an integer up to 0.5n, i.e.If more than half of the target block chain nodes determine that a candidate data is legal, the candidate data is determined as the data to be uplink. Of course, the preset number may be
Figure BDA0002233938660000052
The present application is not limited to these.
Taking a four-person PBFT (English: practical Byzantine failure Tolerance) model as an example, except for a data uplink device, only 2/3 of the remaining three target block chain nodes exist, namely two target block chain nodes vote the same, so that a final consensus result of at least 3/4 is achieved, and the result is considered to be reliable.
In particular practice, this confidence threshold (i.e., the predetermined number) may be set by itself. For example, 50% +1 may be used, i.e., more than half, and here, the mathematical principle behind setting more than half is explained in detail: a plurality of people are arranged to answer the same question, the questions are answered independently and do not influence each other, and the probability of answering each person is assumed to be 1/2. In this case, the model is a two-term independent homodistributed probabilistic model, which results in a normal distribution. According to the normal distribution, the statistical probability of the occurrence of simple majority is 1/2 (namely, the right half part of the normal distribution function graph), and the higher the confidence threshold value is designed, the smaller the occurrence probability. The threshold confidence value is therefore suitably designed. Of course, the probability model is established on the premise that the answer probability of each person in the independent same distribution is 1/2, and if the answer probability of each person is higher than 1/2, the confidence threshold value can be increased relative to 1/2; if the probability of each individual answering pair is lower than 1/2, the confidence threshold value can be lowered relative to 1/2. Of course, this is merely an example and does not represent a limitation of the present application.
Step 103, taking the candidate data matched with the common identification result in the at least one candidate data as the data to be uplink for uplink.
The candidate data matched with the consensus result may be data satisfying the uplink condition, for example, the candidate data matched with the consensus result may be candidate data indicating that the source is legal, or the candidate data matched with the consensus result may be candidate data with a confidence within a predetermined range.
Based on the data uplink method described in the foregoing steps 101 to 103, a specific application scenario is enumerated herein for explanation, and the method is applied to a block chain system, as shown in fig. 2, fig. 2 is a schematic block chain system structure provided in an embodiment of the present application, and in fig. 2, the block chain system includes a first block chain node, a second block chain node, and a third block chain node, of course, fig. 2 is only an exemplary illustration, and three block chain nodes are taken as an example for explanation, a data uplink apparatus may be a first block chain node, a second block chain node, and a third block chain node may be target block chain nodes, the first block chain node sends a problem to be verified to the second block chain node and the third block chain node, the second block chain node and the second block chain node judge the problem to be verified, and send a judgment result (i.e., directional data) to the first block chain node, and the first block chain node sends a result of the judgment result of the problem to be verified (i.e., directional data) to be a candidate for uplink.
Here, two specific application scenarios are listed for explanation:
in the first application scenario, the application scenario can be used for block chain storage, and an auditor checks a document on the system and then uploads a checking result to the block chain for storage. The examiner is likely to upload the result with the wrong information because some small problems are missed by careless negligence. At the moment, by using the data chaining method, a document flow is forwarded to three verification personnel for operation respectively, then the verification results of the three personnel are counted, the follow-up chain verification workflow is executed by using a simple majority, namely at least two same results are regarded as credible results, and the influence of artificial omission on the confidence coefficient of data on the chain is reduced.
In a second application scenario, which may be used to implement the functionality of a chain contract, if a first attends a meeting, then the second account in the contract should pay the first account for the departure charge, and if either of the first or second parties confirms that the first attends the meeting, then the other party must be held at risk. By using the data chaining method, the problem of verifying whether the first is in the field or not can be dispatched to a sensor terminal in the field or a terminal used by other participants, the terminal returns an answer, the result data is input to an intelligent contract on the chain by taking the simple majority as a credible result, and whether a payment work flow is triggered or not is determined by the contract.
Of course, this is merely an example and the present application is not limited thereto.
In the embodiment of the application, a consensus result of at least one block chain node is determined according to at least one piece of directional data transmitted by at least one target block chain node; and taking the candidate data matched with the identification result in the at least one candidate data as the data to be uplink for uplink. In the embodiment of the present application, first, the directional data is data set for a certain problem or a certain range, and not only is the initial screening performed on the data to be uplink, but also the evaluation on whether the data to be uplink can be uplink is more accurate. Secondly, the data to be uplink is determined according to a consensus result of at least one target node, and the consensus result ensures that the data to be uplink is approved directional data, and data irrelevant to the directional data cannot be approved and further cannot be uplink, so that the source of the data to be uplink is ensured to be real and effective, and the confidence coefficient of block chain data storage is improved.
Example II,
Based on the data uplink method described in the first embodiment, the present application provides a data uplink apparatus for performing the data uplink method described in the first embodiment, referring to fig. 3, fig. 3 is a structural diagram of the data uplink apparatus provided in the present application, where the data uplink apparatus 30 includes: a receiving module 301, a common identification module 302 and an uplink module 303;
the receiving module 301 is configured to receive at least one piece of directional data transmitted by at least one target block link node, where the at least one piece of directional data includes data related to at least one candidate data, and one target block link node corresponds to one piece of directional data;
a consensus module 302, configured to determine a consensus result of at least one blockchain node according to at least one piece of directional data transmitted by at least one target blockchain node;
the uplink module 303 is configured to uplink the candidate data matched with the common identification result in the at least one candidate data as the data to be uplink.
Optionally, in an embodiment of the present application, at least one piece of directional data is used to indicate a response to the question to be verified, and the data uplink apparatus further includes a sending module 304;
a sending module 304, configured to determine, according to a preset rule, at least one target blockchain node related to at least one candidate data in at least one blockchain node; and sending a problem to be verified to at least one target block link point.
Optionally, in an embodiment of the present application, the receiving module 301 is further configured to receive at least one data transmitted by at least one block link point, where one block link point corresponds to one data; determining a data tag of each of the at least one data; and determining the data of the data label matched with the problem to be verified as the directional data.
Optionally, in an embodiment of the present application, the consensus module 302 is further configured to determine a confidence of each candidate data of the at least one candidate data according to the at least one orientation data; and determining the candidate data with the confidence coefficient within a preset range as the data to be uplink.
Optionally, in an embodiment of the present application, the consensus module 302 is further configured to determine the target candidate data as the data to be uplink transmitted when, in the at least one piece of directional data, greater than or equal to the preset number of directional data indicates that the target candidate data meets the uplink transmission condition, where the target candidate data belongs to the at least one piece of candidate data.
Example III,
Based on the data uplink method described in the first embodiment, an embodiment of the present application provides an electronic device, as shown in fig. 4, where fig. 4 is a structural diagram of an electronic device provided in an embodiment of the present application, and the electronic device includes: the electronic device 40 may include: at least one processor (processor) 402, memory 404, bus 406, and communication Interface 408.
Wherein: the processor 402, communication interface 408, and memory 404 communicate with each other via a communication bus 406.
A communication interface 408 for communicating with other devices.
A memory 404 for storing a computer program 4041. The memory 404 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. In particular, the computer program 4041 may comprise program code comprising computer operating instructions.
The processors 402 are configured to execute the computer programs 4041, and when the computer programs 4041 are executed by at least one of the processors 402, the method for uplink data transmission is implemented as described in the first embodiment.
The processor 402 may be a central processing unit CPU or an ASIC specific integrated circuit
(Application Specific Integrated Circuit) or one or more Integrated circuits configured to implement embodiments of the invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
Examples IV,
In a fourth aspect, an embodiment of the present application provides a computer storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the data uplink method as described in the first embodiment.
The electronic device of the embodiments of the present application exists in various forms, including but not limited to:
(1) A mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) And other electronic equipment with data interaction function.
Thus, particular embodiments of the present subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order 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 be advantageous.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD) (e.g., a Field Programmable Gate Array (FPGA)) is an integrated circuit whose Logic functions are determined by a user programming the Device. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as ABEL (Advanced Boolean Expression Language), AHDL (alternate Hardware Description Language), traffic, CUPL (core universal Programming Language), HDCal, jhddl (Java Hardware Description Language), lava, lola, HDL, PALASM, rhyd (Hardware Description Language), and vhigh-Language (Hardware Description Language), which is currently used in most popular applications. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, atmel AT91SAM, microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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 present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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 application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular transactions or implement particular abstract data types. The application may also be practiced in distributed computing environments where transactions are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
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. In particular, as for the system embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for relevant points.
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 or the like made within the spirit and principle of the present application shall be included in the scope of the claims of the present application.

Claims (8)

1. A method for data uplink, comprising:
receiving a plurality of directional data transmitted by a plurality of target block link points, wherein the plurality of directional data comprises data related to a plurality of candidate data, one target block link point corresponds to one directional data, and the directional data is used for uplink screening and evaluation of the plurality of candidate data;
determining a consensus result of the target blockchain nodes according to the directional data transmitted by the target blockchain nodes;
taking the candidate data matched with the consensus result in the plurality of candidate data as the data to be uplink linked for uplink;
wherein:
when the plurality of targeted data is indicative of a response to a question to be validated, the method further comprises: determining the target blockchain nodes related to the candidate data in a plurality of blockchain nodes according to a preset rule; sending the problem to be verified to the target block chain nodes;
the receiving a plurality of directional data transmitted by a plurality of target block link points comprises:
receiving a plurality of data transmitted by a plurality of block chain nodes, wherein one block chain node corresponds to one data;
determining a data tag for each of the plurality of data;
and determining data of which the data tag is matched with the problem to be verified as the oriented data, wherein the data tag is used for indicating whether one piece of data is a reply of the problem to be verified.
2. The method of claim 1, wherein determining a consensus result for the plurality of blockchain nodes based on the plurality of directional data transmitted by the plurality of target blockchain nodes comprises:
determining a confidence level for each of the plurality of candidate data based on the plurality of orientation data;
and determining the candidate data with the confidence coefficient within a preset range as the data to be uplink.
3. The method of claim 1, wherein determining the consensus of the plurality of blockchain nodes from the plurality of directional data transmitted by the plurality of target blockchain nodes comprises:
and when the directional data in the plurality of directional data is larger than or equal to the preset number and indicates that target candidate data accords with uplink conditions, determining the target candidate data as the data to be uplink, wherein the target candidate data belongs to the plurality of candidate data.
4. An apparatus for data uplink, comprising: the device comprises a receiving module, a common identification module and an uplink module;
the receiving module is configured to receive multiple pieces of directional data transmitted by multiple target block link points, where the multiple pieces of directional data include data related to multiple candidate data, and one target block link point corresponds to one piece of directional data, where the directional data is used for performing uplink screening and evaluation on the multiple candidate data;
the consensus module is configured to determine a consensus result of the target blockchain nodes according to the directional data transmitted by the target blockchain nodes;
the uplink module is configured to uplink, as to-be-uplink data, a candidate data that matches the consensus result among the multiple candidate data;
wherein the content of the first and second substances,
when the plurality of directional data are answers indicating a question to be verified, the data uplink apparatus further includes a sending module, configured to determine, according to a preset rule, the plurality of target blockchain nodes related to the plurality of candidate data among a plurality of blockchain nodes; sending the problem to be verified to the target block chain nodes;
the receiving module is further configured to receive multiple data transmitted by multiple block link nodes, where one block link node corresponds to one data; determining a data tag for each of the plurality of data; and determining data of which the data tag is matched with the problem to be verified as the oriented data, wherein the data tag is used for indicating whether one piece of data is a reply of the problem to be verified.
5. The apparatus of claim 4,
the consensus module is further configured to determine a confidence level for each of the plurality of candidate data based on the plurality of orientation data; and determining the candidate data with the confidence coefficient within a preset range as the data to be uplink.
6. The apparatus of claim 4,
the consensus module is further configured to determine a target candidate data as the to-be-uplink data when, of the plurality of directional data, directional data greater than or equal to a preset number indicates that the target candidate data meets uplink conditions, where the target candidate data belongs to the plurality of candidate data.
7. An electronic device, characterized in that the electronic device comprises: a plurality of processors, memory, buses, and communication interfaces;
wherein: the processor, the communication interface and the memory complete mutual communication through the bus;
the communication interface is used for communicating with other equipment;
the memory stores a computer program that, when executed by the processors, implements the method for data uplink according to any of claims 1-3.
8. A computer storage medium having a computer program stored thereon, which when executed by a processor, performs a data uplink method according to any of claims 1-3.
CN201910976913.XA 2019-10-15 2019-10-15 Data uplink method, device, electronic equipment and computer storage medium Active CN112671689B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910976913.XA CN112671689B (en) 2019-10-15 2019-10-15 Data uplink method, device, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910976913.XA CN112671689B (en) 2019-10-15 2019-10-15 Data uplink method, device, electronic equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN112671689A CN112671689A (en) 2021-04-16
CN112671689B true CN112671689B (en) 2022-10-14

Family

ID=75399798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910976913.XA Active CN112671689B (en) 2019-10-15 2019-10-15 Data uplink method, device, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN112671689B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450981A (en) * 2017-05-31 2017-12-08 阿里巴巴集团控股有限公司 A kind of block chain common recognition method and apparatus
CN108921556A (en) * 2018-07-02 2018-11-30 上海达家迎信息科技有限公司 A kind of verification method, device, equipment and the storage medium of block chain
CN108985772A (en) * 2018-07-02 2018-12-11 上海达家迎信息科技有限公司 A kind of verification method, device, equipment and the storage medium of block chain
CN110246017A (en) * 2019-05-21 2019-09-17 平安普惠企业管理有限公司 Data capture method, terminal device and computer storage medium based on alliance's chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11249977B2 (en) * 2017-03-03 2022-02-15 Mastercard International Incorporated Method and system for storage and transfer of verified data via blockchain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450981A (en) * 2017-05-31 2017-12-08 阿里巴巴集团控股有限公司 A kind of block chain common recognition method and apparatus
CN108921556A (en) * 2018-07-02 2018-11-30 上海达家迎信息科技有限公司 A kind of verification method, device, equipment and the storage medium of block chain
CN108985772A (en) * 2018-07-02 2018-12-11 上海达家迎信息科技有限公司 A kind of verification method, device, equipment and the storage medium of block chain
CN110246017A (en) * 2019-05-21 2019-09-17 平安普惠企业管理有限公司 Data capture method, terminal device and computer storage medium based on alliance's chain

Also Published As

Publication number Publication date
CN112671689A (en) 2021-04-16

Similar Documents

Publication Publication Date Title
EP3780541B1 (en) Identity information identification method and device
CN102436456B (en) For the method and apparatus of classifying to named entity
CN111880927B (en) Resource allocation method, device and equipment
CN115935428A (en) Information desensitization method, device and system
CN107391545B (en) Method for classifying users, input method and device
CN110032857B (en) Account registration and trusted device identification methods and devices
TW202121268A (en) Risk prediction method and device, risk prediction model training method and device and electronic equipment
CN108764915B (en) Model training method, data type identification method and computer equipment
CN109614414B (en) User information determining method and device
CN111611558B (en) Identity verification method and device
CN111539739A (en) Risk detection method, device and equipment
CN113837638B (en) Method, device and equipment for determining speaking skill
CN113222667B (en) Equity sharing processing method and device
CN112100594A (en) Service processing method, device and equipment based on block chain
CN115712866A (en) Data processing method, device and equipment
CN110516918B (en) Risk identification method and risk identification device
CN111275071B (en) Prediction model training method, prediction device and electronic equipment
CN112671689B (en) Data uplink method, device, electronic equipment and computer storage medium
CN112286968A (en) Service identification method, equipment, medium and electronic equipment
CN116909889A (en) Model risk evaluation method, device and equipment
CN110598112A (en) Topic recommendation method and device, terminal equipment and storage medium
CN112948785B (en) Account authentication method, device and equipment
CN112184074A (en) Prompt message output method and device
CN113221080A (en) Account registration processing method and device
CN112650715A (en) Method, device and related product for storing data in block chain system

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